From 2171317bad1cf9addf86f4cc0ec59f3b48327ce1 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Fri, 31 Mar 2023 17:40:53 +0200 Subject: move local.css to sass --- sass/src/common/local.scss | 60 ++++++++++++++++++++++++++++++++++++++++++++++ sass/src/dark/index.scss | 1 + sass/src/light/index.scss | 1 + 3 files changed, 62 insertions(+) create mode 100644 sass/src/common/local.scss (limited to 'sass') diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss new file mode 100644 index 0000000..32f66da --- /dev/null +++ b/sass/src/common/local.scss @@ -0,0 +1,60 @@ +.action-checkin, +.action-checkout, +.action-undo, +.action-cancelled-from, +.action-cancelled-to, +.action-share { + cursor: pointer; +} + +.brand-logo span { + transition: color 1s; +} + +.brand-logo:hover .ca, +.brand-logo:hover .ce { + color: #a8e3fa !important; +} + +.brand-logo:hover .cb, +.brand-logo:hover .cd { + color: #f5c4ce !important; +} + +td.cancelled { + text-decoration: line-through; +} + +.wagons span { + margin-right: 0.5ex; + color: #808080; +} + +.wagons .wagonclass { + font-weight: bold; + color: inherit; +} + +.wagons .wagonnum { + margin-right: 0; + color: inherit; +} + +.wagons .checksum:before { + content: "-"; +} + +h1 { + font-size: 2.92rem; + margin: 1.9466666667rem 0 1.168rem 0; +} + +h2 { + font-size: 2.28rem; + margin: 1.52rem 0 .912rem 0; +} + +h3 { + font-size: 1.64rem; + margin: 1.0933333333rem 0 .656rem 0; +} diff --git a/sass/src/dark/index.scss b/sass/src/dark/index.scss index f46aefb..28c615b 100644 --- a/sass/src/dark/index.scss +++ b/sass/src/dark/index.scss @@ -2,6 +2,7 @@ @import 'variables.scss'; @import '../../materialize.scss'; @import '../common/index.scss'; +@import '../common/local.scss'; .progress { background-color: color('grey', 'darken-3'); diff --git a/sass/src/light/index.scss b/sass/src/light/index.scss index 170b750..531c346 100644 --- a/sass/src/light/index.scss +++ b/sass/src/light/index.scss @@ -2,6 +2,7 @@ @import 'variables.scss'; @import '../../materialize.scss'; @import '../common/index.scss'; +@import '../common/local.scss'; .progress { background-color: color('grey', 'lighten-2'); -- cgit v1.2.3