From 64eaa886da2778536d3c503c50b1f8bd8bd94854 Mon Sep 17 00:00:00 2001 From: jovana Date: Thu, 21 Dec 2023 09:30:42 +0100 Subject: [PATCH 1/4] Use correct color for labeling --- ckanext/kepa/assets/css/kepa.css | 7 ++++++- ckanext/kepa/assets/css/kepa.css.map | 2 +- ckanext/kepa/assets/scss/kepa.scss | 9 +++++++-- ckanext/kepa/templates/footer.html | 2 -- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ckanext/kepa/assets/css/kepa.css b/ckanext/kepa/assets/css/kepa.css index 861b01e..5909a9b 100644 --- a/ckanext/kepa/assets/css/kepa.css +++ b/ckanext/kepa/assets/css/kepa.css @@ -72,7 +72,7 @@ max-height: 150px; } } -.heading { +.search-form .heading { color: white; font-size: xx-large; text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); @@ -217,4 +217,9 @@ background-color: #FA991C !important; } +.heading { + color: black; + text-shadow: none; +} + /*# sourceMappingURL=kepa.css.map */ diff --git a/ckanext/kepa/assets/css/kepa.css.map b/ckanext/kepa/assets/css/kepa.css.map index 7a333bb..d5d31db 100644 --- a/ckanext/kepa/assets/css/kepa.css.map +++ b/ckanext/kepa/assets/css/kepa.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/kepa.scss","../scss/_variables.scss"],"names":[],"mappings":"AAEA;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA,kBCnBY;;;ADsBhB;EACI,OClBI;EDmBJ,aCjBG;EDkBH,WCjBQ;;;ADoBZ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAEJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;IACI;;;AAIR;EACI,OCxEI;EDyEJ,WCrEO;EDsEP;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI,kBC3GI;ED4GJ;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA,kBCpIc;;;ADuIlB;EACI,OCpII;EDqIJ;EACA;EACA;EACA;EACA;;;AAGJ;EACI,WCxIQ;EDyIR;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;IACI;IACA;;;EAGJ;IACI;;;AAIR;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI,OC5KI;ED6KJ;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA,OC1LI;ED2LJ,aCzLG;;;AD4LP;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI,kBC5Mc;ED6Md;EACA;;;AAGJ;EACI,OClNc;;;ADqNlB;EACI;;;AAGJ;EACI","file":"kepa.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/kepa.scss","../scss/_variables.scss"],"names":[],"mappings":"AAEA;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA,kBCnBY;;;ADsBhB;EACI,OClBI;EDmBJ,aCjBG;EDkBH,WCjBQ;;;ADoBZ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAEJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;IACI;;;AAIR;EACI,OCxEI;EDyEJ,WCrEO;EDsEP;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI,kBC3GI;ED4GJ;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA,kBCpIc;;;ADuIlB;EACI,OCpII;EDqIJ;EACA;EACA;EACA;EACA;;;AAGJ;EACI,WCxIQ;EDyIR;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;IACI;IACA;;;EAGJ;IACI;;;AAIR;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI,OC5KI;ED6KJ;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA,OC1LI;ED2LJ,aCzLG;;;AD4LP;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI,kBC5Mc;ED6Md;EACA;;;AAGJ;EACI,OClNc;;;ADqNlB;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA","file":"kepa.css"} \ No newline at end of file diff --git a/ckanext/kepa/assets/scss/kepa.scss b/ckanext/kepa/assets/scss/kepa.scss index f0ca031..5f9895f 100644 --- a/ckanext/kepa/assets/scss/kepa.scss +++ b/ckanext/kepa/assets/scss/kepa.scss @@ -74,7 +74,7 @@ } } -.heading { +.search-form .heading { color: $white; font-size: $xxl-size; text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); @@ -157,7 +157,7 @@ @media screen and (max-width: 650px) { .module-stats-center-flex { flex-direction: column; - align-items: center; + align-items: center; } .module-feeds { @@ -219,3 +219,8 @@ .item-count { background-color: $secondary-color !important; } + +.heading { + color: black; + text-shadow: none; +} diff --git a/ckanext/kepa/templates/footer.html b/ckanext/kepa/templates/footer.html index d7acbcd..9c0b5fe 100644 --- a/ckanext/kepa/templates/footer.html +++ b/ckanext/kepa/templates/footer.html @@ -41,8 +41,6 @@

{{_('Social')}}