aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-06-01 15:48:02 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 18:39:03 +0100
commit90d6c6ed2ce1f4535377b14ce6e93e3849a2f1a7 (patch)
tree1520bc41e9cb26381a63863110038aec9120db3a
parentd04fbb80a9bf5d62dae669468c2c13045e8de5c1 (diff)
[UK] Remove some unnecessary CSS.
-rw-r--r--templates/web/hart/header.html2
-rw-r--r--web/cobrands/eastsussex/base.scss5
-rw-r--r--web/cobrands/eastsussex/layout.scss8
-rw-r--r--web/cobrands/fixmystreet.com/layout.scss4
-rw-r--r--web/cobrands/harrogate/layout.scss64
-rw-r--r--web/cobrands/hart/layout.scss29
-rw-r--r--web/cobrands/stevenage/layout.scss5
-rw-r--r--web/cobrands/warwickshire/layout.scss21
8 files changed, 37 insertions, 101 deletions
diff --git a/templates/web/hart/header.html b/templates/web/hart/header.html
index c52ec0af7..ed5d2fed4 100644
--- a/templates/web/hart/header.html
+++ b/templates/web/hart/header.html
@@ -44,7 +44,7 @@
<li> <a href="#main-nav"><div class="menu-icon">&nbsp;</div></a>
</ul>
</div>
- <div class="header-container">
+ <div class="container">
<a id="site-logo" href="http://www.hart.gov.uk">Hart District Council</a>
</div>
</header>
diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss
index 1394d397f..dcf335824 100644
--- a/web/cobrands/eastsussex/base.scss
+++ b/web/cobrands/eastsussex/base.scss
@@ -94,11 +94,6 @@ h1.main {
}
}
-#report-a-problem-sidebar .sidebar-notes a {
- color: #fff;
- text-decoration: underline;
-}
-
.big-green-banner {
text-transform: none;
z-index: 5000;
diff --git a/web/cobrands/eastsussex/layout.scss b/web/cobrands/eastsussex/layout.scss
index 6ac4bcbad..ec35f0082 100644
--- a/web/cobrands/eastsussex/layout.scss
+++ b/web/cobrands/eastsussex/layout.scss
@@ -100,7 +100,7 @@ body.mappage {
}
}
-.general-notes, #report-a-problem-sidebar p, #report-a-problem-sidebar .sidebar-notes .plain-list li {
+.general-notes {
font-size: 13px;
line-height: 14px;
}
@@ -215,9 +215,7 @@ body.twothirdswidthpage .content aside {
}
}
-@media only screen and (min-width: 48em) {
- footer {
- display: block;
- }
+footer {
+ display: block;
}
diff --git a/web/cobrands/fixmystreet.com/layout.scss b/web/cobrands/fixmystreet.com/layout.scss
index 3802d96d7..0ee21ecc7 100644
--- a/web/cobrands/fixmystreet.com/layout.scss
+++ b/web/cobrands/fixmystreet.com/layout.scss
@@ -195,10 +195,6 @@ body.twothirdswidthpage {
.container {
.content {
footer {
- max-width: 48em;
- @media only screen and (min-width: 61em) {
- max-width: 60em;
- }
.tablewrapper {
border: 0px;
}
diff --git a/web/cobrands/harrogate/layout.scss b/web/cobrands/harrogate/layout.scss
index 82be53820..287fd85f4 100644
--- a/web/cobrands/harrogate/layout.scss
+++ b/web/cobrands/harrogate/layout.scss
@@ -4,41 +4,33 @@ $mappage-header-height: 10em;
@import "_colours";
@import "../sass/layout";
-@media only screen and (min-width: 48em) {
- #site-logo,
- .ie6 #site-logo,
-
- body.frontpage #site-logo,
- .ie6 body.frontpage #site-logo,
-
- body.twothirdswidthpage #site-logo,
- .ie6 body.twothirdswidthpage #site-logo
- {
- position: relative;
- top: 1.2em;
- margin: 0;
- padding: 0;
- background: url("/cobrands/harrogate/HBCLogo.png") 0 0 no-repeat;
- width: 227px;
- height: 122px;
- }
-
- body.frontpage #site-header,
- .ie6 body.frontpage #site-header,
- body.twothirdswidthpage #site-header,
- .ie6 body.twothirdswidthpage #site-header
- {
- height: 10em;
- }
+#site-logo,
+.ie6 #site-logo,
+body.frontpage #site-logo
+{
+ position: relative;
+ top: 1.2em;
+ margin: 0;
+ padding: 0;
+ background: url("/cobrands/harrogate/HBCLogo.png") 0 0 no-repeat;
+ width: 227px;
+ height: 122px;
+}
+
+#site-header,
+body.frontpage #site-header,
+.ie6 body.frontpage #site-header,
+.ie7 body.frontpage #site-header,
+.nav-wrapper-2
+{
+ height: 10em;
}
-@media only screen and (min-width: 48em) {
- body.twothirdswidthpage .container .content footer .tablewrapper a:link,
- body.twothirdswidthpage .container .content footer .tablewrapper a:visited,
- body.fullwidthpage .container .content footer .tablewrapper a:link,
- body.fullwidthpage .container .content footer .tablewrapper a:visited {
- color: white;
- }
+body.twothirdswidthpage .container .content footer .tablewrapper a:link,
+body.twothirdswidthpage .container .content footer .tablewrapper a:visited,
+body.fullwidthpage .container .content footer .tablewrapper a:link,
+body.fullwidthpage .container .content footer .tablewrapper a:visited {
+ color: white;
}
#main-nav {
@@ -58,10 +50,8 @@ body.twothirdswidthpage .container .content {
padding-right: 0;
}
-@media only screen and (min-width: 48em) {
- body.fullwidthpage .container .content {
- margin-top: 3em; // push far enough for the sign-out link to also be visible
- }
+body.fullwidthpage .container .content {
+ margin-top: 3em; // push far enough for the sign-out link to also be visible
}
body.twothirdswidthpage .content aside {
diff --git a/web/cobrands/hart/layout.scss b/web/cobrands/hart/layout.scss
index d277ab76f..f17614cc1 100644
--- a/web/cobrands/hart/layout.scss
+++ b/web/cobrands/hart/layout.scss
@@ -1,41 +1,20 @@
@import "_colours";
@import "../sass/layout";
-@media only screen and (min-width: 48em) {
- .content {
- margin-top: 8em;
- }
- .header-container {
- max-width: 60em;
- margin: 0 auto;
- padding: 0em;
- position: relative;
- }
-
- #front-main-container {
- background-color: $hart_primary;
- }
- .hart-footer-wrapper {
- display: block;
- }
+.content {
+ margin-top: 8em;
}
-#report-a-problem-sidebar {
- top: 14em;
+#front-main-container {
+ background-color: $hart_primary;
}
body.twothirdswidthpage .content {
- width: 30em;
aside {
- left: 672px;
- width: 208px;
- padding: 16px;
@include box-shadow(none);
}
.sticky-sidebar {
- left: 672px;
aside {
- position: fixed;
top: 14em;
}
}
diff --git a/web/cobrands/stevenage/layout.scss b/web/cobrands/stevenage/layout.scss
index 76e2f92b8..a2170f214 100644
--- a/web/cobrands/stevenage/layout.scss
+++ b/web/cobrands/stevenage/layout.scss
@@ -96,11 +96,6 @@ body.twothirdswidthpage {
}
}
-// 2a23e09f - Moved menu on map page and reverted to full header.
-#report-a-problem-sidebar {
- top: 9em;
-}
-
// d523b431
body.frontpage {
.nav-wrapper-2 {
diff --git a/web/cobrands/warwickshire/layout.scss b/web/cobrands/warwickshire/layout.scss
index 1318e1a11..177d5773e 100644
--- a/web/cobrands/warwickshire/layout.scss
+++ b/web/cobrands/warwickshire/layout.scss
@@ -6,15 +6,9 @@ $mappage-header-height: 41px + 100px + 37px; // .navbar-inverse + #top-header +
#site-header {
position: relative;
- border-top-width: 0;
-
.navbar {
margin-bottom: 0;
}
-
- .container {
- min-height: 0;
- }
}
// Needs to be within body.frontpage to override an existing rule in _layout.scss
@@ -24,12 +18,6 @@ body.frontpage {
}
}
-@media (max-width: 61em) and (min-width: 48em) {
- #site-header {
- height: auto;
- }
-}
-
body.mappage {
footer, .footer-container, #footer-container, #footer-logos-bottom {
display: none;
@@ -75,16 +63,11 @@ body.twothirdswidthpage .content .sticky-sidebar {
// default FMS style.
// http://www.warwickshire.gov.uk/wp-content/themes/gamma/style.css
-.container,
-.navbar-static-top .container,
-.navbar-fixed-top .container,
-.navbar-fixed-bottom .container,
-body.mappage .container {
+.container {
width: 940px;
}
-.navbar .container,
-body.mappage .container {
+.navbar .container {
width: auto;
}