diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-06-21 09:24:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-06 13:04:13 +0100 |
commit | f4dad7e4982d339f0bf50f647755a4e13a2768c4 (patch) | |
tree | f178826d3386da1d93aea540fc9d45bdf739f0f7 /web/cobrands/zurich/layout.scss | |
parent | e591e68dae22695c688590d4b866f3158f4f2604 (diff) |
Remove default box-shadow from .content and aside
Fixes #1419.
We also standardize on using `@include box-shadow()` where possible,
and clearing out lots of now unnecessary box-shadow resets.
Diffstat (limited to 'web/cobrands/zurich/layout.scss')
-rw-r--r-- | web/cobrands/zurich/layout.scss | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index 3f24b3685..57cae97e9 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -4,35 +4,25 @@ // Things to override from parent stylesheet -// White background, so no shadow or margin needed. .content { color: #3c3c3c; - @include box-shadow(none); -} -.iel8 { - .content { - border: none; - } } -// Except on map pages (which includes the front page) -body.mappage .content, body.frontpage .content { + +// Front page content needs a shadow. +// (Purely decorative: No need for border fallback for IE8) +body.frontpage .content { @include box-shadow(0 0 6px 1px #000); } -.iel8 { - body.mappage .content, body.frontpage .content { - border: 1px solid #666; - } -} -/* The header on a map page needs a shadow too */ -body.mappage .nav-wrapper-2 { +// The header on a map page needs a shadow too +body.mappage .nav-wrapper .nav-wrapper-2 { @include box-shadow(0 0 6px 1px #000); } -/* Except on admin pages where there's an admin nav directly underneath it */ +// Except on admin pages where there's an admin nav directly underneath it body.mappage.admin .nav-wrapper-2 { @include box-shadow(none); } -/* Fix positioning of images in the admin */ +// Fix positioning of images in the admin body.admin .admin-nav-wrapper { z-index: 1; } @@ -191,9 +181,6 @@ body.mappage { body.twothirdswidthpage { .content { - aside { - @include box-shadow(none); - } .sticky-sidebar aside { top: 14em; // overrides default value, due to Zurich nav at top of content } |