aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_layout.scss
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-06-21 09:24:56 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-06 13:04:13 +0100
commitf4dad7e4982d339f0bf50f647755a4e13a2768c4 (patch)
treef178826d3386da1d93aea540fc9d45bdf739f0f7 /web/cobrands/sass/_layout.scss
parente591e68dae22695c688590d4b866f3158f4f2604 (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/sass/_layout.scss')
-rw-r--r--web/cobrands/sass/_layout.scss13
1 files changed, 1 insertions, 12 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 5ed4ddb97..bdb8e90a7 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -222,12 +222,9 @@ h1 {
padding: 1em 1em 3em;
background: #fff;
color: #222;
- @include box-shadow(0 0 10px rgba(0,0,0,0.5));
}
.iel8 {
.content {
- // If no box-shadow, just want a boring black border to stand it out from the map.
- border: 1px solid #666;
//take off margins so we line up properly
margin: 0 0.5em;
}
@@ -392,7 +389,6 @@ body.twothirdswidthpage,
body.fullwidthpage {
.container {
.content {
- box-shadow: none;
padding: 1em;
margin-bottom: 0em;
footer {
@@ -438,10 +434,6 @@ body.fullwidthpage {
.iel8 {
body.twothirdswidthpage,
body.fullwidthpage {
- .content {
- border: 0px;
- }
-
.container .content footer a.platform-logo {
color: #ffffff;
background: none;
@@ -470,7 +462,6 @@ body.twothirdswidthpage {
z-index: -1;
width:13em;
padding:1em;
- @include box-shadow(0px 0px 6px 1px #000);
h2 {
margin-top: 0;
}
@@ -507,7 +498,6 @@ body.authpage {
margin-#{$left}: auto;
margin-#{$right}: auto;
margin-bottom: 0;
- box-shadow: none;
padding: 1em; // same as .twothirdswidthpage .content
}
}
@@ -556,7 +546,6 @@ body.authpage {
border-#{$right}: 1em solid transparent;
background:none;
padding:0;
- @include box-shadow(inset rgba(0, 0, 0, 0) 0 0 0);
h2 {
color:#222;
margin-top:0;
@@ -720,7 +709,7 @@ body.authpage {
ul#key-tools {
border-top: 0.25em solid $primary;
margin: 0;
- @include box-shadow(-0em 0px 1em 1em #fff);
+ @include box-shadow(0 0 1em 1em #fff);
li {
border:none;
a, input[type=submit] {