aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-03-29 17:23:57 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-03-29 17:23:57 +0100
commit742d7dcc95a131c6ccbd195491a826aafe9ea575 (patch)
treed24b92bb1a05b514bbfc6f9a051c27c7bbbe72e5 /web
parent775e3cf0521d8de279826b34f570a5fa0859dad2 (diff)
Allow override of front page statistics' colour.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet.com/_colours.scss4
-rw-r--r--web/cobrands/sass/_layout.scss5
2 files changed, 6 insertions, 3 deletions
diff --git a/web/cobrands/fixmystreet.com/_colours.scss b/web/cobrands/fixmystreet.com/_colours.scss
index a6d9c2c07..17447c86e 100644
--- a/web/cobrands/fixmystreet.com/_colours.scss
+++ b/web/cobrands/fixmystreet.com/_colours.scss
@@ -21,4 +21,6 @@ $col_fixed_label: #00BD08;
$col_fixed_label_dark: #4B8304;
$itemlist_item_background: #f6f6f6;
-$itemlist_item_background_hover: mix(#fff, $primary, 50%); \ No newline at end of file
+$itemlist_item_background_hover: mix(#fff, $primary, 50%);
+
+$layout_front_stats_color: #222;
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 96b3d2aec..2f601775b 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -2,6 +2,7 @@
@import "_mixins";
$image-sprite: '/cobrands/fixmystreet/images/sprite.png' !default;
+$layout_front_stats_color: $primary !default;
.internal-link-fixed-header {
display: block;
@@ -1063,8 +1064,8 @@ body.frontpage {
padding-top:1em;
div {
big {
- color:$primary;
- font-size:3.2308em;
+ color: $layout_front_stats_color;
+ font-size: 3.2308em;
}
}
}