A web-based drawing app
git clone git://soophie.de/outline
blob: e1907bde93541bb9437a91c340eeaad948d6da69 (5225 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: @brand-grey;49
}50
}52
button.button {54
&.button-prime {55
background: @brand-blue;56
color: darken(white, 2%);58
&:hover {59
background: darken(@brand-blue, 2%);60
color: white;61
}62
}64
&.button-default {65
background: white;66
color: darken(@brand-grey, 10%);68
&:hover {69
color: darken(@brand-grey, 15%);70
}71
}73
&.button-prime-light {74
background: rgba(@brand-blue, 0.1);75
color: lighten(@brand-blue, 8%);77
&:hover {78
background: rgba(@brand-blue, 0.13);79
color: @brand-blue;80
}81
}82
}84
.badge-version {85
background: lighten(@brand-grey, 25%);86
color: @brand-dark;87
}89
.caption {91
h2.caption-headline {92
color: @brand-dark;94
b {95
color: @brand-blue;96
}97
}99
.caption-info {101
p {102
color: @brand-grey;103
}104
}105
}106
}108
/* ### App ### */110
.wrapper {111
background: white;112
}114
.header-list {115
background: white;116
border-bottom: 1px solid @brand-grey-5;118
.mainbar,119
.sidebar {121
.tool,122
.action,123
.option {125
ul {127
li {129
&:not(.inactive):not(.active):hover {130
background: rgba(@brand-grey-7, 0.95);132
&.ripple {134
&.ripple-active {135
background: lighten(rgba(@brand-grey-7, 0.95), -2%);136
}137
}138
}140
&.active {141
background: rgba(@brand-bright, 0.95);143
&.ripple {145
&.ripple-active {146
background: lighten(rgba(@brand-bright, 0.95), -2%);147
}148
}149
}151
&.inactive {153
i.ico {154
color: @brand-grey-4;155
}156
}158
i.ico {159
color: @brand-grey-1;160
}161
}162
}163
}164
}165
}167
.badge {169
&.prime {170
background: @brand-blue;171
}173
&.beta {174
background: @brand-green;175
}176
}178
.key {179
color: @brand-grey-2;180
background: @brand-grey-7;181
border: 1px solid @brand-grey-4;182
}184
.button {185
background: @brand-grey-6;186
color: @brand-black;188
&:hover {190
&.ripple-active {191
background: lighten(@brand-grey-6, -2%);192
}193
}195
&.outline {196
border: 1px solid @brand-grey-5;198
&:hover {200
&.ripple-active {201
background: lighten(white, -2%);202
}203
}204
}206
&.prime {207
background: @brand-blue;208
color: white;210
&:hover {212
&.ripple-active {213
background: lighten(@brand-blue, -2%);214
}215
}216
}218
&.danger {219
background: @brand-red;220
color: white;222
&:hover {224
&.ripple-active {225
background: lighten(@brand-red, -2%);226
}227
}228
}229
}231
.notification {233
p {234
background: @brand-black;235
color: white;236
}237
}239
.controls {241
.hotbar {243
.color {244
background: @brand-bright;245
}246
}248
.scale-modal {250
input[type="range"] {251
background: @brand-bright;253
&::-webkit-slider-thumb {254
background: @brand-grey-3;256
&:hover {257
background: @brand-grey-2;258
}259
}260
}261
}263
.clear-modal {265
.info {266
color: @brand-black;267
}269
.align {271
.btn-apply {272
border-color: grey;273
}274
}275
}277
.colors-modal {279
&::-webkit-scrollbar-thumb {280
background: @brand-grey-5;282
&:hover,283
&:active {284
background: @brand-grey-4;285
}286
}288
.color {289
background: @brand-bright;290
}291
}292
}294
.modal {295
background: white;296
border: 1px solid @brand-grey-5;298
.header {300
.back {302
i.ico {303
color: @brand-grey-0;304
}306
&:hover {307
background: @brand-grey-7;308
}310
&.ripple {312
&.ripple-active {313
background: lighten(@brand-grey-7, -2%);314
}315
}316
}318
.info {320
p {321
color: @brand-grey-1;322
}324
span {325
color: @brand-grey-3;326
}327
}328
}330
ul.item-list {332
.separator {333
background: @brand-grey-5;334
}336
li.caption {338
p {339
color: @brand-grey-3;340
}341
}343
li.item {345
&.empty {347
p {348
color: @brand-grey-3;349
}350
}352
&:not(.active):not(.inactive) {354
&:hover {355
background: @brand-grey-7;356
}358
&.ripple {360
&.ripple-active {361
background: lighten(@brand-grey-7, -2%);362
}363
}364
}366
i.ico {367
color: @brand-grey-1;368
}370
i.lang {371
color: @brand-grey-1;372
}374
.info {376
p {377
color: @brand-grey-1;378
}380
span {381
color: @brand-grey-3;382
}383
}385
&.active {386
background: @brand-bright;388
&.ripple {390
&.ripple-active {391
background: lighten(@brand-bright, -2%);392
}393
}394
}396
&.inactive {398
i.ico {399
color: @brand-grey-4;400
}402
.info {404
p {405
color: @brand-grey-3;406
}408
span {409
color: @brand-grey-3;410
}411
}412
}413
}414
}415
}416
}