diff --git a/public/service-worker.js b/public/service-worker.js index df524a740986965b5e0abed0591d24ef6149bf9c..dadb6a424ccc357cfd05db0a749d42d9fda9e5b0 100644 --- a/public/service-worker.js +++ b/public/service-worker.js @@ -5,7 +5,6 @@ const FILES_TO_CACHE = [ '/static/v51/css/light.min.css', '/static/v51/css/dark.min.css', '/static/v51/css/material-icons.css', - '/static/v51/css/local.css', '/static/v51/fonts/MaterialIcons-Regular.woff2', '/static/v51/fonts/MaterialIcons-Regular.woff', '/static/v51/fonts/MaterialIcons-Regular.ttf', diff --git a/public/static/css/local.css b/sass/src/common/local.scss similarity index 86% rename from public/static/css/local.css rename to sass/src/common/local.scss index 5449a23ce99ad24168bc2f98acfce610fd40c89d..32f66da4f48afca6123173b5fcdf7f3a3bbb1c31 100644 --- a/public/static/css/local.css +++ b/sass/src/common/local.scss @@ -1,8 +1,3 @@ -/* - * Copyright (C) 2020 Daniel Friesel - * - * SPDX-License-Identifier: MIT - */ .action-checkin, .action-checkout, .action-undo, @@ -18,12 +13,12 @@ .brand-logo:hover .ca, .brand-logo:hover .ce { - color: #a8e3fa; + color: #a8e3fa !important; } .brand-logo:hover .cb, .brand-logo:hover .cd { - color: #f5c4ce; + color: #f5c4ce !important; } td.cancelled { diff --git a/sass/src/dark/index.scss b/sass/src/dark/index.scss index f46aefb119cf33edc884a52be37b8836ef467d49..28c615bbe12efa5c1544f0a55e0df96fdbb23032 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 170b75090c46e19d4fa38bfcad163b91a106a432..531c346621f826040249324e545b14f45f9253a5 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'); diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 66dc9db24abbbef1e0fa0ab467ca458266a4f301..66c0e6b07c5e68887a3277b59e332231cb623b70 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -54,7 +54,6 @@ } %= stylesheet "/static/${av}/css/material-icons.css" - %= stylesheet "/static/${av}/css/local.css" % if (stash('with_map')) { %= stylesheet "/static/${av}/leaflet/leaflet.css" % }