A web-based drawing app
git clone git://soophie.de/outline
blob: 311baaac8ca6a6ad92d8bd820f0adfc41dd2ce61 (5572 bytes)[doc][blame][raw]
1
@media(prefers-color-scheme: dark) {3
@brand-dark: #333C41;4
@brand-light: #E0E0E0;5
@brand-night: #2D353A;6
@brand-grey: #828282;8
/* ### Home ### */10
body.home {11
background: @brand-dark;13
header {14
background-image: url('../asset/img/background-dark.png');16
.brand-logo {18
a {19
background-image: url('../asset/img/brand-logo-dark.png');20
}21
}23
.logo {24
background-image: url('../asset/img/logo-dark.png');25
background-position: center;26
}28
h1.headline {29
color: white;30
}32
p.description {33
color: @brand-light;35
b {36
color: @brand-blue;37
}38
}39
}41
main {42
background: @brand-dark;43
}45
footer {46
background: @brand-night;48
.footer-item {49
color: darken(@brand-light, 20%);50
}51
}53
button.button {55
&.button-prime {56
background: @brand-blue;57
color: white;59
&:hover {60
background: darken(@brand-blue, 2%);61
}62
}64
&.button-default {65
background: darken(@brand-night, 7%);66
color: @brand-light;68
&:hover {69
background: darken(@brand-night, 8%);70
color: lighten(@brand-light, 10%);71
}72
}74
&.button-prime-light {75
background: rgba(@brand-blue, 0.1);76
color: lighten(@brand-blue, 8%);78
&:hover {79
background: rgba(@brand-blue, 0.13);80
color: lighten(@brand-blue, 12%);81
}82
}83
}85
.badge-version {86
background: @brand-night;87
color: @brand-light;88
}90
.caption {92
h2.caption-headline {93
color: white;95
b {96
color: @brand-blue;97
}98
}100
.caption-info {102
p {103
color: @brand-light;104
}105
}106
}107
}109
/* ### App ### */111
.wrapper {112
background: white;113
}115
.header-list {116
background: @brand-dark;117
border-bottom: 1px solid @brand-dark;119
.mainbar,120
.sidebar {122
.tool,123
.action,124
.option {126
ul {128
li {130
&:not(.inactive):not(.active):hover {131
background: rgba(@brand-night, 0.95);133
&.ripple {135
&.ripple-active {136
background: lighten(rgba(@brand-night, 0.95), -2%);137
}138
}139
}141
&.active {142
background: rgba(@brand-night, 0.95);144
&.ripple {146
&.ripple-active {147
background: lighten(rgba(@brand-night, 0.95), -2%);148
}149
}150
}152
&.inactive {154
i.ico {155
color: @brand-grey;157
svg {159
path {160
fill: @brand-grey;161
}162
}163
}164
}166
i.ico {167
color: @brand-light;169
svg {171
path {172
fill: @brand-light;173
}174
}175
}176
}177
}178
}179
}180
}182
.badge {184
&.prime {185
background: @brand-blue;186
}188
&.beta {189
background: @brand-green;190
}191
}193
.key {194
color: @brand-grey-2;195
background: @brand-grey-7;196
border: 1px solid @brand-grey-4;197
}199
.button {200
background: darken(@brand-night, 4%);201
color: @brand-light;203
&:hover {205
&.ripple-active {206
background: darken(@brand-night, 5%);207
}208
}210
&.outline {211
border: 1px solid @brand-grey-5;213
&:hover {215
&.ripple-active {216
background: lighten(white, -2%);217
}218
}219
}221
&.prime {222
background: @brand-blue;223
color: white;225
&:hover {227
&.ripple-active {228
background: lighten(@brand-blue, -2%);229
}230
}231
}233
&.danger {234
background: @brand-red;235
color: white;237
&:hover {239
&.ripple-active {240
background: lighten(@brand-red, -2%);241
}242
}243
}244
}246
.notification {248
p {249
background: @brand-black;250
color: white;251
}252
}254
.controls {256
.hotbar {258
.color {259
background: @brand-bright;260
}261
}263
.scale-modal {265
input[type="range"] {266
background: @brand-grey-1;268
&::-webkit-slider-thumb {269
background: @brand-grey-3;271
&:hover {272
background: darken(@brand-grey-3, 2%);273
}274
}275
}276
}278
.clear-modal {280
.info {281
color: @brand-light;282
}284
.align {286
.btn-apply {287
border-color: grey;288
}289
}290
}292
.colors-modal {294
&::-webkit-scrollbar-thumb {295
background: @brand-night;297
&:hover,298
&:active {299
background: darken(@brand-night, 2%);300
}301
}303
.color {304
background: @brand-bright;305
}306
}307
}309
.modal {310
background: @brand-dark;311
border: 1px solid @brand-dark;313
.header {315
.back {317
i.ico {318
color: @brand-light;319
}321
&:hover {322
background: @brand-night;323
}325
&.ripple {327
&.ripple-active {328
background: lighten(@brand-night, -2%);329
}330
}331
}333
.info {335
p {336
color: @brand-light;337
}339
span {340
color: @brand-grey-3;341
}342
}343
}345
ul.item-list {347
.separator {348
background: lighten(@brand-dark, 5%);349
}351
li.caption {353
p {354
color: @brand-grey-3;355
}356
}358
li.item {360
&.empty {362
p {363
color: @brand-light;364
}365
}367
&:not(.active):not(.inactive) {369
&:hover {370
background: lighten(@brand-dark, -2%);371
}373
&.ripple {375
&.ripple-active {376
background: lighten(@brand-dark, -2%);377
}378
}379
}381
i.ico {382
color: @brand-light;384
svg {386
path {387
fill: @brand-light;388
}389
}390
}392
i.lang {393
color: @brand-light;394
}396
.info {398
p {399
color: @brand-light;400
}402
span {403
color: @brand-grey-3;404
}405
}407
&.active {408
background: @brand-night;410
&.ripple {412
&.ripple-active {413
background: lighten(@brand-night, -2%);414
}415
}416
}418
&.inactive {420
i.ico {421
color: @brand-grey-3;422
}424
.info {426
p {427
color: @brand-grey-3;428
}430
span {431
color: @brand-grey-3;432
}433
}434
}435
}436
}437
}438
}