aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-04-30 16:00:47 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-05-02 14:28:23 +0100
commit8f84a7d80236d86428454f4916c285132bb8a6cb (patch)
tree183e474b9f15e4f65804a13cc17162bf4dbfa78b
parent16ccaea6fd30c97f179af18f5e393ef88434f6b4 (diff)
Remove unneeded IE8 things.
-rw-r--r--web/cobrands/bromley/layout.scss49
-rw-r--r--web/cobrands/stevenage/layout.scss6
2 files changed, 3 insertions, 52 deletions
diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss
index 95c1228aa..b54af6df2 100644
--- a/web/cobrands/bromley/layout.scss
+++ b/web/cobrands/bromley/layout.scss
@@ -19,17 +19,6 @@ body.mappage {
}
}
-// We have to specify this again for IE, since FMS overrides it
-.ie8 {
- body.fullwidthpage,
- body.twothirdswidthpage {
- #site-logo {
- width: 159px;
- height: 114px;
- }
- }
-}
-
#main-nav {
display: block; // remove flex so nav touches top of parent
min-height: 0; // no vertical align, so no need for a height
@@ -146,21 +135,16 @@ body.fullwidthpage .container .content footer .tablewrapper {
.additional-links {
float: left;
width: 24%;
- margin-left: 2%;
- margin-right: 2%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
- &:first-child,
- &:last-child {
- margin-left: 0%;
- margin-right: 0%;
- }
li {
padding: 0 1em;
}
}
.footer-list2 {
+ margin-left: 2%;
+ margin-right: 2%;
width: 48%;
ul {
overflow: auto;
@@ -177,32 +161,3 @@ body.fullwidthpage .container .content footer .tablewrapper {
}
}
}
-
-// Fix the footer in Old IE because it doesn't like last-child selectors
-.ie8 {
- .site-footer {
- .column {
- // Old IE won't float the social media links unless we force the width to be
- // smaller and take a more traditional display/float tack.
- .social ul li {
- display: block;
- width: 36px;
- float: left;
- }
- .additional-links {
- margin-left: 0%;
- margin-right: 0%;
- }
- .footer-list2 {
- margin-left: 2%;
- margin-right: 2%;
- }
- .footer-list2 ul li,
- .footer-list1 ul li {
- // Old IE needs to know to float these for some reason
- float: left;
- }
- }
- }
-}
-
diff --git a/web/cobrands/stevenage/layout.scss b/web/cobrands/stevenage/layout.scss
index 5d5be12bf..4d045f00a 100644
--- a/web/cobrands/stevenage/layout.scss
+++ b/web/cobrands/stevenage/layout.scss
@@ -22,14 +22,10 @@
padding-bottom: 0.25em;
background-color: #6b6969;
@include linear-gradient(#6b6969, #555454);
-
- .ie8 & {
- background-color: #6b6969;
- }
}
#main-nav {
- min-height: 0;
+ min-height: 1.9em; // Should be 0, but IE8 shrinks background as if floated, then
margin-top: 0;
float: none;
}