A web-based drawing app
git clone git://soophie.de/outline
blob: e3d5c0328e2fa60e4060f1eda3026bf9a5efbc5e (5149 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
}84
.caption {86
h2.caption-headline {87
color: @brand-dark;89
b {90
color: @brand-blue;91
}92
}94
.caption-info {96
p {97
color: @brand-grey;98
}99
}100
}101
}103
/* ### App ### */105
.wrapper {106
background: white;107
}109
.header-list {110
background: white;111
border-bottom: 1px solid @brand-grey-5;113
.mainbar,114
.sidebar {116
.tool,117
.action,118
.option {120
ul {122
li {124
&:not(.inactive):not(.active):hover {125
background: rgba(@brand-grey-7, 0.95);127
&.ripple {129
&.ripple-active {130
background: lighten(rgba(@brand-grey-7, 0.95), -2%);131
}132
}133
}135
&.active {136
background: rgba(@brand-bright, 0.95);138
&.ripple {140
&.ripple-active {141
background: lighten(rgba(@brand-bright, 0.95), -2%);142
}143
}144
}146
&.inactive {148
i.ico {149
color: @brand-grey-4;150
}151
}153
i.ico {154
color: @brand-grey-1;155
}156
}157
}158
}159
}160
}162
.badge {164
&.prime {165
background: @brand-blue;166
}168
&.beta {169
background: @brand-green;170
}171
}173
.key {174
color: @brand-grey-2;175
background: @brand-grey-7;176
border: 1px solid @brand-grey-4;177
}179
.button {180
background: @brand-grey-6;181
color: @brand-black;183
&:hover {185
&.ripple-active {186
background: lighten(@brand-grey-6, -2%);187
}188
}190
&.outline {191
border: 1px solid @brand-grey-5;193
&:hover {195
&.ripple-active {196
background: lighten(white, -2%);197
}198
}199
}201
&.prime {202
background: @brand-blue;203
color: white;205
&:hover {207
&.ripple-active {208
background: lighten(@brand-blue, -2%);209
}210
}211
}213
&.danger {214
background: @brand-red;215
color: white;217
&:hover {219
&.ripple-active {220
background: lighten(@brand-red, -2%);221
}222
}223
}224
}226
.notification {228
p {229
background: @brand-black;230
color: white;231
}232
}234
.controls {236
.hotbar {238
.color {239
background: @brand-bright;240
}241
}243
.scale-modal {245
input[type="range"] {246
background: @brand-bright;248
&::-webkit-slider-thumb {249
background: @brand-grey-3;251
&:hover {252
background: @brand-grey-2;253
}254
}255
}256
}258
.clear-modal {260
.info {261
color: @brand-black;262
}264
.align {266
.btn-apply {267
border-color: grey;268
}269
}270
}272
.colors-modal {274
&::-webkit-scrollbar-thumb {275
background: @brand-grey-5;277
&:hover,278
&:active {279
background: @brand-grey-4;280
}281
}283
.color {284
background: @brand-bright;285
}286
}287
}289
.modal {290
background: white;291
border: 1px solid @brand-grey-5;293
.header {295
.back {297
i.ico {298
color: @brand-grey-0;299
}301
&:hover {302
background: @brand-grey-7;303
}305
&.ripple {307
&.ripple-active {308
background: lighten(@brand-grey-7, -2%);309
}310
}311
}313
.info {315
p {316
color: @brand-grey-1;317
}319
span {320
color: @brand-grey-3;321
}322
}323
}325
ul.item-list {327
.separator {328
background: @brand-grey-5;329
}331
li.caption {333
p {334
color: @brand-grey-3;335
}336
}338
li.item {340
&.empty {342
p {343
color: @brand-grey-3;344
}345
}347
&:not(.active):not(.inactive) {349
&:hover {350
background: @brand-grey-7;351
}353
&.ripple {355
&.ripple-active {356
background: lighten(@brand-grey-7, -2%);357
}358
}359
}361
i.ico {362
color: @brand-grey-1;363
}365
i.lang {366
color: @brand-grey-1;367
}369
.info {371
p {372
color: @brand-grey-1;373
}375
span {376
color: @brand-grey-3;377
}378
}380
&.active {381
background: @brand-bright;383
&.ripple {385
&.ripple-active {386
background: lighten(@brand-bright, -2%);387
}388
}389
}391
&.inactive {393
i.ico {394
color: @brand-grey-4;395
}397
.info {399
p {400
color: @brand-grey-3;401
}403
span {404
color: @brand-grey-3;405
}406
}407
}408
}409
}410
}411
}