From b5198b2fc01a73cff3c291856d8e4a8d9fea05f9 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:08:06 +0100 Subject: [PATCH] Moved legend colors to css file --- application/views/dayswithqso/index.php | 8 ++++---- assets/css/general.css | 13 +++++++++++++ assets/css/superhero_wide/overrides.css | 13 +++++++++++++ 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/application/views/dayswithqso/index.php b/application/views/dayswithqso/index.php index 8b0d6ca90..3b0e71a9d 100644 --- a/application/views/dayswithqso/index.php +++ b/application/views/dayswithqso/index.php @@ -92,10 +92,10 @@
- - - - + + + +

diff --git a/assets/css/general.css b/assets/css/general.css index 8c4c567a8..81462de5f 100644 --- a/assets/css/general.css +++ b/assets/css/general.css @@ -1166,3 +1166,16 @@ svg text.month { fill: #AAA; } position: absolute; width: 0; } + +.glanceyear-legend-1 { + background-color: #eee; +} +.glanceyear-legend-2 { + background-color: #c3dbda; +} +.glanceyear-legend-3 { + background-color: #5caeaa; +} +.glanceyear-legend-4 { + background-color: #277672; +} \ No newline at end of file diff --git a/assets/css/superhero_wide/overrides.css b/assets/css/superhero_wide/overrides.css index d99016ecc..32b94703d 100644 --- a/assets/css/superhero_wide/overrides.css +++ b/assets/css/superhero_wide/overrides.css @@ -360,6 +360,19 @@ svg rect.day[data-col='48'] { fill: #237fb4; } +.glanceyear-legend-1 { + background-color: #73e2ff; +} +.glanceyear-legend-2 { + background-color: #4ab4f5; +} +.glanceyear-legend-3 { + background-color: #349cd8; +} +.glanceyear-legend-4 { + background-color: #237fb4; +} + svg text { fill: #9fc7e1; font-size: 9px;