summaryrefslogtreecommitdiffstats
path: root/assets
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 /assets
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
Diffstat (limited to 'assets')
-rw-r--r--assets/css/styles.css11
-rw-r--r--assets/js/lib/themes.js2
-rw-r--r--assets/js/messaging.js4
3 files changed, 13 insertions, 4 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>