summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-20 21:13:23 +0200
committerrstular <rok@stular.eu>2020-05-20 21:17:58 +0200
commit7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46 (patch)
treee734ac7f517607570b019743949d1b21cd5338b9
parentPersist state (diff)
downloadbeziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.tar
beziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.tar.gz
beziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.tar.bz2
beziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.tar.lz
beziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.tar.xz
beziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.tar.zst
beziapp-7ef93dbc7e6f82e7fc4a765cf0f979b6f52e7a46.zip
-rw-r--r--assets/css/styles.css11
-rw-r--r--assets/js/lib/themes.js2
-rw-r--r--assets/js/messaging.js4
-rwxr-xr-xdist/css/styles.css11
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/lib/themes.js2
-rw-r--r--dist/js/messaging.js4
-rwxr-xr-xdist/pages/about.html2
-rwxr-xr-xdist/sw.js4
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(`
<div class="col s12 m12" id="msg_box-${filterXSS(element["id"])}">
- <div class="card blue-grey darken-1">
- <div class="card-content white-text">
+ <div class="card color-card">
+ <div class="card-content general-text">
<span class="card-title">
${filterXSS(element["zadeva"])}
</span>
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(`
<div class="col s12 m12" id="msg_box-${filterXSS(element["id"])}">
- <div class="card blue-grey darken-1">
- <div class="card-content white-text">
+ <div class="card color-card">
+ <div class="card-content general-text">
<span class="card-title">
${filterXSS(element["zadeva"])}
</span>
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 @@
<div class="row">
<p>
<small>
- ^HEAD 1925324995b4c8795529f795811ef0ae0676b695
+ ^HEAD 29b013b7591c0ee674bb8c2cf8cc660f67cdd9f7
</small>
</p>
</div>
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!