aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_layout.scss
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-06-08 17:42:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-06-08 17:50:35 +0100
commit1f4827717e1ef85bfdcc423bedf790e98de5b8c4 (patch)
tree95489bd5c498cc5a5895f799965fb0a9b98fb4ab /web/cobrands/sass/_layout.scss
parent2d1561e126bc1bdf5898f2b09e1ba7acd1686267 (diff)
Fix display of close arrow/cross when drawer open.
The 'cross' at mobile widths was not displaying, and the icon was not changing to a down arrow at larger widths.
Diffstat (limited to 'web/cobrands/sass/_layout.scss')
-rw-r--r--web/cobrands/sass/_layout.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 53d827f05..d7bef87fa 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -744,8 +744,14 @@ body.authpage {
background-position: $right 50%;
background-size: 12px 15px;
}
+ &.chevron.hover {
+ // Reset things that changed
+ border-#{$right}: none;
+ padding-#{$right}: 1.5em;
+ background-size: auto auto;
+ }
&.hover {
- background-image:url($image-sprite);
+ background-image: url($image-sprite);
background-position: flip(right, -337px) -1876px;
}
}