diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-06-14 16:57:36 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-06-14 16:57:36 +0100 |
commit | 428cb2d49326bf08e4fd2b3dc8690f53d4b7bcc7 (patch) | |
tree | 184db2edf84ab8cf8929045baf352a2e96f80625 /web/cobrands/sass/_base.scss | |
parent | 586f8ee0e0cd629c9b7a24463775e30fd0b77e8a (diff) | |
parent | 6b628fd35f5a2e79f546d45d0d3469dc2d27c1dd (diff) |
Merge remote-tracking branch 'origin/2366-access-map-filters-on-mobile'
Diffstat (limited to 'web/cobrands/sass/_base.scss')
-rw-r--r-- | web/cobrands/sass/_base.scss | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index e193553be..b410649a8 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -1673,7 +1673,7 @@ html.js #map .noscript { height: 12px; margin-#{$left}: 8px; vertical-align: -0.1em; - background-size: 96px 12px; + background-size: 108px 12px; @include svg-background-image('/cobrands/fixmystreet/images/map-tools'); } @@ -1743,6 +1743,11 @@ html.js #map .noscript { @extend %sub-map-link-icon; background-position: -84px 0; } + + #map_filter:after { + @extend %sub-map-link-icon; + background-position: -96px 0; + } } // Want some visual consistency between the top and bottom bars on mobile. @@ -1753,6 +1758,11 @@ html.js #map .noscript { color: #fff; } +// "Selected" styling for the report-list-filter toggle when selected. +.mobile-filters-active #map_filter { + background: #000; +} + // On mobile, once #mob_ok has been pressed, the new report form is shown, // and .sub-map-links transforms into a completely different-looking set // of buttons for return back to the map. |