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
committerZarino Zappia <mail@zarino.co.uk>2016-06-24 15:00:12 +0100
commit36d4ecb8fbacfc285797664e5824dae01b3ea35f (patch)
treec8633d1016180b0df3144e80c42b5e2b6f6d76f0 /web/cobrands/sass/_layout.scss
parentd20e84acc2beadad9a3f8fbfc55b5a3c8b06c9ba (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 cd90b74ed..2b594e5cc 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -214,12 +214,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;
}
@@ -420,7 +417,6 @@ body.twothirdswidthpage,
body.fullwidthpage {
.container {
.content {
- box-shadow: none;
padding: 1em;
margin-bottom: 0em;
footer {
@@ -466,10 +462,6 @@ body.fullwidthpage {
.iel8 {
body.twothirdswidthpage,
body.fullwidthpage {
- .content {
- border: 0px;
- }
-
.container .content footer a.platform-logo {
color: #ffffff;
background: none;
@@ -498,7 +490,6 @@ body.twothirdswidthpage {
z-index: -1;
width:13em;
padding:1em;
- @include box-shadow(0px 0px 6px 1px #000);
h2 {
margin-top: 0;
}
@@ -526,7 +517,6 @@ body.authpage {
margin-#{$left}: auto;
margin-#{$right}: auto;
margin-bottom: 0;
- box-shadow: none;
padding: 1em; // same as .twothirdswidthpage .content
}
}
@@ -575,7 +565,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;
@@ -689,7 +678,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] {