A web-based drawing app
git clone git://soophie.de/outline
blob: 9885c4881b7be6f859cae344d9ae5f5ac9a1ed45 (5053 bytes)[doc][blame][raw]
1
@media(prefers-color-scheme: light) {3
@brand-dark: #2D3842;4
@brand-grey: #9FA2AD;5
@brand-light: #F5F5F5;7
/* ### Home ### */9
body.home {10
background: white;12
header {13
background-image: url('../asset/img/background.png');15
.brand-logo {17
a {18
background-image: url('../asset/img/brand-logo.png');19
}20
}22
.logo {23
background-image: url('../asset/img/logo.png');24
background-position: center;25
}27
h1.headline {28
color: @brand-dark;29
}31
p.description {32
color: @brand-grey;34
b {35
color: @brand-blue;36
}37
}38
}40
main {41
background: white;42
}44
footer {45
background: @brand-light;47
.footer-item {48
color: darken(@brand-grey-2, 2%);49
}50
}52
button.button {54
&.button-prime {55
background: @brand-blue;56
color: white;58
&:hover {59
background: darken(@brand-blue, 2%);60
}61
}63
&.button-default {64
background: white;65
color: darken(@brand-grey, 18%);66
}68
&.button-prime-light {69
background: rgba(@brand-blue, 0.1);70
color: lighten(@brand-blue, 8%);72
&:hover {73
background: rgba(@brand-blue, 0.13);74
color: @brand-blue;75
}76
}77
}79
.badge-version {80
background: lighten(@brand-grey, 25%);81
color: @brand-dark;82
}83
}85
/* ### App ### */87
.wrapper {88
background: white;89
}91
.header-list {92
background: white;93
border-bottom: 1px solid @brand-grey-5;95
.mainbar,96
.sidebar {98
.tool,99
.action,100
.option {102
ul {104
li {106
&:not(.inactive):not(.active):hover {107
background: rgba(@brand-grey-7, 0.95);109
&.ripple {111
&.ripple-active {112
background: lighten(rgba(@brand-grey-7, 0.95), -2%);113
}114
}115
}117
&.active {118
background: rgba(@brand-bright, 0.95);120
&.ripple {122
&.ripple-active {123
background: lighten(rgba(@brand-bright, 0.95), -2%);124
}125
}126
}128
&.inactive {130
i.ico {131
color: @brand-grey-4;132
}133
}135
i.ico {136
color: @brand-grey-1;137
}139
&.caption {141
label {142
color: @brand-grey-1;143
}144
}145
}146
}147
}148
}149
}151
.badge {153
&.prime {154
background: @brand-blue;155
}157
&.beta {158
background: @brand-green;159
}160
}162
.key {163
color: @brand-grey-2;164
background: @brand-grey-7;165
border: 1px solid @brand-grey-4;166
}168
.button {169
background: @brand-grey-6;170
color: @brand-black;172
&:hover {174
&.ripple-active {175
background: lighten(@brand-grey-6, -2%);176
}177
}179
&.outline {180
border: 1px solid @brand-grey-5;182
&:hover {184
&.ripple-active {185
background: lighten(white, -2%);186
}187
}188
}190
&.prime {191
background: @brand-blue;192
color: white;194
&:hover {196
&.ripple-active {197
background: lighten(@brand-blue, -2%);198
}199
}200
}202
&.danger {203
background: @brand-red;204
color: white;206
&:hover {208
&.ripple-active {209
background: lighten(@brand-red, -2%);210
}211
}212
}213
}215
.notification {217
p {218
background: @brand-black;219
color: white;220
}221
}223
.controls {225
.hotbar {227
.color {228
background: @brand-bright;229
}230
}232
.scale-modal {234
input[type="range"] {235
background: @brand-bright;237
&::-webkit-slider-thumb {238
background: @brand-grey-3;240
&:hover {241
background: @brand-grey-2;242
}243
}244
}245
}247
.clear-modal {249
.info {250
color: @brand-black;251
}253
.align {255
.btn-apply {256
border-color: grey;257
}258
}259
}261
.colors-modal {263
&::-webkit-scrollbar-thumb {264
background: @brand-grey-5;266
&:hover,267
&:active {268
background: @brand-grey-4;269
}270
}272
.color {273
background: @brand-bright;274
}275
}276
}278
.modal {279
background: white;280
border: 1px solid @brand-grey-5;282
.header {284
.back {286
i.ico {287
color: @brand-grey-0;288
}290
&:hover {291
background: @brand-grey-7;292
}294
&.ripple {296
&.ripple-active {297
background: lighten(@brand-grey-7, -2%);298
}299
}300
}302
.info {304
p {305
color: @brand-grey-1;306
}308
span {309
color: @brand-grey-3;310
}311
}312
}314
ul.item-list {316
.separator {317
background: @brand-grey-5;318
}320
li.caption {322
p {323
color: @brand-grey-3;324
}325
}327
li.item {329
&.empty {331
p {332
color: @brand-grey-3;333
}334
}336
&:not(.active):not(.inactive) {338
&:hover {339
background: @brand-grey-7;340
}342
&.ripple {344
&.ripple-active {345
background: lighten(@brand-grey-7, -2%);346
}347
}348
}350
i.ico {351
color: @brand-grey-1;352
}354
i.lang {355
color: @brand-grey-1;356
}358
.info {360
p {361
color: @brand-grey-1;362
}364
span {365
color: @brand-grey-3;366
}367
}369
&.active {370
background: @brand-bright;372
&.ripple {374
&.ripple-active {375
background: lighten(@brand-bright, -2%);376
}377
}378
}380
&.inactive {382
i.ico {383
color: @brand-grey-4;384
}386
.info {388
p {389
color: @brand-grey-3;390
}392
span {393
color: @brand-grey-3;394
}395
}396
}397
}398
}399
}400
}