aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2019-02-25 16:49:35 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-02-28 09:21:42 +0000
commit4bcdb8ecae32510a412540226d445d4bced7a497 (patch)
tree762ffda63a350fefa82e3042e8bb15266188b677
parent9b218a05b1b06ef4dabd531cb6aad0e92cbf527f (diff)
[Bromley] Fix colour contrast on active segmented control
-rw-r--r--web/cobrands/bromley/_colours.scss2
-rw-r--r--web/cobrands/bromley/base.scss4
-rw-r--r--web/cobrands/sass/_base.scss2
3 files changed, 6 insertions, 2 deletions
diff --git a/web/cobrands/bromley/_colours.scss b/web/cobrands/bromley/_colours.scss
index 4ea842695..1eb0b8bdb 100644
--- a/web/cobrands/bromley/_colours.scss
+++ b/web/cobrands/bromley/_colours.scss
@@ -8,7 +8,7 @@ $bromley_dark_green: #505050;
$primary: $bromley_blue;
$primary_b: #ffffff;
-$primary_text: #000000;
+$primary_text: #ffffff;
$base_bg: #f4f4f4;
$base_fg: #1a1a1a;
diff --git a/web/cobrands/bromley/base.scss b/web/cobrands/bromley/base.scss
index 720dc1099..16ca15e55 100644
--- a/web/cobrands/bromley/base.scss
+++ b/web/cobrands/bromley/base.scss
@@ -59,6 +59,10 @@ body.frontpage.fullwidthpage {
line-height: normal;
}
+#front-main #postcodeForm .form-hint {
+ color: mix($primary, $primary_text, 30%);
+}
+
.bromley-header {
// These are from Bromley's styles, applied here because it's the closest
// analog to their site header.
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index c3cf3cb1b..d54952028 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -2485,7 +2485,7 @@ a#geolocate_link.loading, .btn--geolocate.loading {
}
input:checked + label {
- color: $primary_text;
+ color: $primary_text !important;
background: $primary;
border-color: darken($primary, 5%);
background-image: none; // remove gradient