From 7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46 Mon Sep 17 00:00:00 2001 From: rstular Date: Wed, 20 May 2020 21:13:23 +0200 Subject: Styling fix --- assets/css/styles.css | 11 ++++++++++- assets/js/lib/themes.js | 2 +- assets/js/messaging.js | 4 ++-- dist/css/styles.css | 11 ++++++++++- dist/js/app.js | 2 +- dist/js/lib/themes.js | 2 +- dist/js/messaging.js | 4 ++-- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- 9 files changed, 30 insertions(+), 12 deletions(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index 1e2d1d6..4e6050b 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -47,6 +47,10 @@ body { background-color: var(--color-primary); } +.color-card { + color: var(--color-primary-light); +} + nav { background: var(--color-primary); border-bottom: 10px solid var(--color-accent); @@ -92,6 +96,10 @@ nav { } a { + color: var(--color-accent); +} + +.card-action > a { color: var(--color-accent) !important; } @@ -109,11 +117,12 @@ a.collection-item { .datepicker-table td.is-selected { background-color: var(--color-primary); + color: var(--background-color) !important; } .datepicker-table td.is-selected.is-today { background-color: var(--color-primary); - color: var(--background-color); + color: var(--background-color) !important; } .datepicker-cancel { diff --git a/assets/js/lib/themes.js b/assets/js/lib/themes.js index 8f24d06..c021e26 100644 --- a/assets/js/lib/themes.js +++ b/assets/js/lib/themes.js @@ -115,7 +115,7 @@ const THEME_COLOR_SCHEMES = { right: { "color-primary": "rgba(7, 0, 105, 1)", "color-secondary": "rgba(0, 94, 156, 1)", - "color-accent": "rgba(160, 168, 50, 1)", + "color-accent": "rgba(217, 214, 80, 1)", "color-primary-light": "rgba(195, 191, 255, 1)", "color-invalid": "rgba(192, 0, 0, 1)", "color-primary-transparent": "rgba(7, 0, 105, 0.3)", diff --git a/assets/js/messaging.js b/assets/js/messaging.js index 305b355..890da18 100644 --- a/assets/js/messaging.js +++ b/assets/js/messaging.js @@ -356,8 +356,8 @@ function displayData(messageType) { msg_list.append(`
-
-
+
+
${filterXSS(element["zadeva"])} diff --git a/dist/css/styles.css b/dist/css/styles.css index 1e2d1d6..4e6050b 100755 --- a/dist/css/styles.css +++ b/dist/css/styles.css @@ -47,6 +47,10 @@ body { background-color: var(--color-primary); } +.color-card { + color: var(--color-primary-light); +} + nav { background: var(--color-primary); border-bottom: 10px solid var(--color-accent); @@ -92,6 +96,10 @@ nav { } a { + color: var(--color-accent); +} + +.card-action > a { color: var(--color-accent) !important; } @@ -109,11 +117,12 @@ a.collection-item { .datepicker-table td.is-selected { background-color: var(--color-primary); + color: var(--background-color) !important; } .datepicker-table td.is-selected.is-today { background-color: var(--color-primary); - color: var(--background-color); + color: var(--background-color) !important; } .datepicker-cancel { diff --git a/dist/js/app.js b/dist/js/app.js index 858414e..567524a 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -3,7 +3,7 @@ const app_version = "1.0.13-beta"; -const previous_commit = "1925324995b4c8795529f795811ef0ae0676b695"; +const previous_commit = "29b013b7591c0ee674bb8c2cf8cc660f67cdd9f7"; if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") diff --git a/dist/js/lib/themes.js b/dist/js/lib/themes.js index 8f24d06..c021e26 100644 --- a/dist/js/lib/themes.js +++ b/dist/js/lib/themes.js @@ -115,7 +115,7 @@ const THEME_COLOR_SCHEMES = { right: { "color-primary": "rgba(7, 0, 105, 1)", "color-secondary": "rgba(0, 94, 156, 1)", - "color-accent": "rgba(160, 168, 50, 1)", + "color-accent": "rgba(217, 214, 80, 1)", "color-primary-light": "rgba(195, 191, 255, 1)", "color-invalid": "rgba(192, 0, 0, 1)", "color-primary-transparent": "rgba(7, 0, 105, 0.3)", diff --git a/dist/js/messaging.js b/dist/js/messaging.js index 305b355..890da18 100644 --- a/dist/js/messaging.js +++ b/dist/js/messaging.js @@ -356,8 +356,8 @@ function displayData(messageType) { msg_list.append(`
-
-
+
+
${filterXSS(element["zadeva"])} diff --git a/dist/pages/about.html b/dist/pages/about.html index 25de306..86bb50b 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -142,7 +142,7 @@

- ^HEAD 1925324995b4c8795529f795811ef0ae0676b695 + ^HEAD 29b013b7591c0ee674bb8c2cf8cc660f67cdd9f7

diff --git a/dist/sw.js b/dist/sw.js index 4cd1a0d..0dfc638 100755 --- a/dist/sw.js +++ b/dist/sw.js @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.13-beta-1925324"; -// commit before the latest is 1925324995b4c8795529f795811ef0ae0676b695 +const static_cache_name = "site-static-1.0.13-beta-29b013b"; +// commit before the latest is 29b013b7591c0ee674bb8c2cf8cc660f67cdd9f7 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3