diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/barnet/layout.scss | 2 | ||||
-rw-r--r-- | web/cobrands/bromley/layout.scss | 4 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 2 | ||||
-rw-r--r-- | web/cobrands/oxfordshire/layout.scss | 2 | ||||
-rw-r--r-- | web/cobrands/sass/_layout.scss | 12 | ||||
-rw-r--r-- | web/cobrands/stevenage/layout.scss | 2 | ||||
-rw-r--r-- | web/cobrands/zurich/layout.scss | 4 | ||||
-rw-r--r-- | web/down.default.html | 6 |
8 files changed, 15 insertions, 19 deletions
diff --git a/web/cobrands/barnet/layout.scss b/web/cobrands/barnet/layout.scss index a80a1958e..d9f7bf4e6 100644 --- a/web/cobrands/barnet/layout.scss +++ b/web/cobrands/barnet/layout.scss @@ -97,7 +97,7 @@ body.twothirdswidthpage { .frontpage .content { margin: 0; } -.ie6, .ie7, .ie8 { +.iel8 { .frontpage .content { border: none; } diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss index c845fe75c..55d9a7f40 100644 --- a/web/cobrands/bromley/layout.scss +++ b/web/cobrands/bromley/layout.scss @@ -29,7 +29,7 @@ body.mappage { } // We have to specify this again for IE, since FMS overrides it -.ie6, .ie7, .ie8 { +.iel8 { body.fullwidthpage, body.twothirdswidthpage { #site-header { @@ -228,7 +228,7 @@ body.frontpage #site-logo { } // Fix the footer in Old IE because it doesn't like last-child selectors -.ie6, .ie7, .ie8 { +.iel8 { .site-footer { .column { // Old IE won't float the social media links unless we force the width to be diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 9bd8c5fd5..fc09ea84a 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -58,7 +58,7 @@ $(function(){ // Deal with switching between mobile and desktop versions on resize var last_type; $(window).resize(function(){ - var type = Modernizr.mq('(min-width: 48em)') || $('html.ie6, html.ie7, html.ie8').length ? 'desktop' : 'mobile'; + var type = Modernizr.mq('(min-width: 48em)') || $('html.iel8').length ? 'desktop' : 'mobile'; if (last_type == type) { return; } if (type == 'mobile') { $html.addClass('mobile'); diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss index 195c5342f..75a31e461 100644 --- a/web/cobrands/oxfordshire/layout.scss +++ b/web/cobrands/oxfordshire/layout.scss @@ -39,7 +39,7 @@ body, body a { margin: 0; @include box-shadow(none); } -.ie6, .ie7, .ie8 { +.iel8 { .content { margin: 0; border: none; diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index d7a2a3fc1..c04d9f1c1 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -221,7 +221,7 @@ h1 { color: #222; @include box-shadow(0 0 10px rgba(0,0,0,0.5)); } -.ie6, .ie7, .ie8 { +.iel8 { .content { // If no box-shadow, just want a boring black border to stand it out from the map. border: 1px solid #666; @@ -433,17 +433,13 @@ body.fullwidthpage { } } -.ie6, .ie7, .ie8 { +.iel8 { body.twothirdswidthpage, body.fullwidthpage { .content { border: 0px; } - } -} -.ie6, .ie7, .ie8 { - body.twothirdswidthpage, - body.fullwidthpage { + .container .content footer a.platform-logo { color: #ffffff; background: none; @@ -943,7 +939,7 @@ body.frontpage { } } //logo fix -.ie6, .ie7, .ie8 { +.iel8 { body.frontpage { #site-logo { position:relative; diff --git a/web/cobrands/stevenage/layout.scss b/web/cobrands/stevenage/layout.scss index b6f154298..eb62cf7c4 100644 --- a/web/cobrands/stevenage/layout.scss +++ b/web/cobrands/stevenage/layout.scss @@ -72,7 +72,7 @@ // 452ce6a0 - "Added IE6/7 position change to front page header too" - // turned off border for ie6-8 .content - why, as box-shadow still on? -.ie6, .ie7, .ie8 { +.iel8 { .content { border: none; } diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index 39bbb20b4..f25870a48 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -9,7 +9,7 @@ color: #3c3c3c; @include box-shadow(none); } -.ie6, .ie7, .ie8 { +.iel8 { .content { border: none; } @@ -18,7 +18,7 @@ body.mappage .content, body.frontpage .content { @include box-shadow(0 0 6px 1px #000); } -.ie6, .ie7, .ie8 { +.iel8 { body.mappage .content, body.frontpage .content { border: 1px solid #666; } diff --git a/web/down.default.html b/web/down.default.html index c109ece36..f86ca504f 100644 --- a/web/down.default.html +++ b/web/down.default.html @@ -1,7 +1,7 @@ <!doctype html> -<!--[if lt IE 7]><html class="ie6 oldie" lang="en-gb"><![endif]--> -<!--[if IE 7]> <html class="ie7 oldie" lang="en-gb"><![endif]--> -<!--[if IE 8]> <html class="ie8 oldie" lang="en-gb"><![endif]--> +<!--[if lt IE 7]><html class="ie6 iel8" lang="en-gb"><![endif]--> +<!--[if IE 7]> <html class="ie7 iel8" lang="en-gb"><![endif]--> +<!--[if IE 8]> <html class="ie8 iel8" lang="en-gb"><![endif]--> <!--[if gt IE 8]><!--><html lang="en-gb"><!--<![endif]--> <head> <title>FixMyStreet</title> |