diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-06-15 17:50:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-06-15 17:54:25 +0100 |
commit | a6d72e5057e161273e0b7ead7da990fc5b8500e1 (patch) | |
tree | d35c6b154db1c9638a672140199089b8ee9208e5 | |
parent | 0ef98f0a25bd120c0ac935345d0b7bb17ca2cd97 (diff) |
Remove all IE6 special cases.
42 files changed, 23 insertions, 180 deletions
diff --git a/templates/web/angus/header.html b/templates/web/angus/header.html index 19e9e7f68..8364461e6 100644 --- a/templates/web/angus/header.html +++ b/templates/web/angus/header.html @@ -4,7 +4,6 @@ # SET html_att = html_att _ ' dir="rtl"'; -%] <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8"[% html_att %]><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8"[% html_att %]><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8"[% html_att %]><![endif]--> <!--[if IE 9]> <html class="no-js ie9"[% html_att %]><![endif]--> diff --git a/templates/web/angus/maps/fms.html b/templates/web/angus/maps/fms.html index d76d9329d..3fce8222a 100644 --- a/templates/web/angus/maps/fms.html +++ b/templates/web/angus/maps/fms.html @@ -5,9 +5,6 @@ <script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-fms.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> -<![endif]--> [% END %] [% map_html = INCLUDE maps/openlayers.html include_key = 1 %] diff --git a/templates/web/base/header.html b/templates/web/base/header.html index 8e5cb3c73..edb921feb 100644 --- a/templates/web/base/header.html +++ b/templates/web/base/header.html @@ -4,7 +4,6 @@ # SET html_att = html_att _ ' dir="rtl"'; -%] <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8"[% html_att %]><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8"[% html_att %]><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8"[% html_att %]><![endif]--> <!--[if IE 9]> <html class="no-js ie9"[% html_att %]><![endif]--> diff --git a/templates/web/base/maps/bing.html b/templates/web/base/maps/bing.html index 1747f1bbe..7c1942d0d 100644 --- a/templates/web/base/maps/bing.html +++ b/templates/web/base/maps/bing.html @@ -4,9 +4,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> -<![endif]--> [% END %] [% map_html = INCLUDE maps/openlayers.html %] diff --git a/templates/web/base/maps/fms.html b/templates/web/base/maps/fms.html index 31e050ba1..ed5547227 100644 --- a/templates/web/base/maps/fms.html +++ b/templates/web/base/maps/fms.html @@ -5,9 +5,6 @@ <script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-fms.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> -<![endif]--> [% END %] [% map_html = INCLUDE maps/openlayers.html include_key = 1 %] diff --git a/templates/web/base/maps/google-ol.html b/templates/web/base/maps/google-ol.html index a87c87afb..543918692 100644 --- a/templates/web/base/maps/google-ol.html +++ b/templates/web/base/maps/google-ol.html @@ -4,9 +4,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-google-ol.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" /> -<![endif]--> [% END %] [% map_sub_links = BLOCK %] diff --git a/templates/web/base/maps/mapquest-attribution.html b/templates/web/base/maps/mapquest-attribution.html index 804710ad1..58f872527 100644 --- a/templates/web/base/maps/mapquest-attribution.html +++ b/templates/web/base/maps/mapquest-attribution.html @@ -3,9 +3,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-OpenStreetMap.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" /> -<![endif]--> [% END %] [% map_html = BLOCK %] diff --git a/templates/web/base/maps/osm-streetview.html b/templates/web/base/maps/osm-streetview.html index dff6a0c0f..7840884bd 100644 --- a/templates/web/base/maps/osm-streetview.html +++ b/templates/web/base/maps/osm-streetview.html @@ -3,9 +3,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-streetview.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> -<![endif]--> [% END %] [% map_html = BLOCK %] diff --git a/templates/web/base/maps/osm-toner-lite.html b/templates/web/base/maps/osm-toner-lite.html index 64fa91937..d6d395c22 100644 --- a/templates/web/base/maps/osm-toner-lite.html +++ b/templates/web/base/maps/osm-toner-lite.html @@ -4,9 +4,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-toner-lite.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> -<![endif]--> [% END %] [% map_html = BLOCK %] diff --git a/templates/web/base/maps/osm.html b/templates/web/base/maps/osm.html index 0b2db1a53..58f872527 100644 --- a/templates/web/base/maps/osm.html +++ b/templates/web/base/maps/osm.html @@ -3,9 +3,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-OpenStreetMap.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> -<![endif]--> [% END %] [% map_html = BLOCK %] diff --git a/templates/web/fiksgatami/header.html b/templates/web/fiksgatami/header.html index 3e77e89ca..f22e97fef 100644 --- a/templates/web/fiksgatami/header.html +++ b/templates/web/fiksgatami/header.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/harrogate/header.html b/templates/web/harrogate/header.html index 8612cb3f8..4c188f552 100644 --- a/templates/web/harrogate/header.html +++ b/templates/web/harrogate/header.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/hart/header.html b/templates/web/hart/header.html index ed5d2fed4..23264066c 100644 --- a/templates/web/hart/header.html +++ b/templates/web/hart/header.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/oxfordshire/header.html b/templates/web/oxfordshire/header.html index 6c4427414..0e4281df4 100644 --- a/templates/web/oxfordshire/header.html +++ b/templates/web/oxfordshire/header.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/stevenage/header.html b/templates/web/stevenage/header.html index fb6f2ae5b..3b6761b5c 100644 --- a/templates/web/stevenage/header.html +++ b/templates/web/stevenage/header.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/warwickshire/header.html b/templates/web/warwickshire/header.html index b76ecc2ae..cb6917234 100644 --- a/templates/web/warwickshire/header.html +++ b/templates/web/warwickshire/header.html @@ -1,5 +1,4 @@ <!DOCTYPE html><!-- 3P header begins --> -<!--[if lt IE 7]> <html class="no-js iel8 lt-ie9 lt-ie8 lt-ie7 ie6" lang="[% lang_code %]"> <![endif]--> <!--[if IE 7]> <html class="no-js iel8 lt-ie9 lt-ie8" ie7 lang="[% lang_code %]"> <![endif]--> <!--[if IE 8]> <html class="no-js iel8 lt-ie9 ie8" lang="[% lang_code %]"> <![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/zurich/header.html b/templates/web/zurich/header.html index b87dd913b..071e4fad8 100644 --- a/templates/web/zurich/header.html +++ b/templates/web/zurich/header.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> diff --git a/templates/web/zurich/maps/zurich.html b/templates/web/zurich/maps/zurich.html index 46b003530..e0c258223 100644 --- a/templates/web/zurich/maps/zurich.html +++ b/templates/web/zurich/maps/zurich.html @@ -4,9 +4,6 @@ <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-wmts-zurich.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> -<!--[if lte IE 6]> - <link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" /> -<![endif]--> [% END %] [% map_sub_links = BLOCK %] diff --git a/web/cobrands/angus/base.scss b/web/cobrands/angus/base.scss index 50f207058..25cb08b2b 100644 --- a/web/cobrands/angus/base.scss +++ b/web/cobrands/angus/base.scss @@ -6,7 +6,6 @@ @import "../sass/base"; body.frontpage #site-logo, -.ie6 body.frontpage #site-logo, #site-logo { background: url("/cobrands/angus/third_party/css_img/angus-logo-header.png") 0 0 no-repeat; diff --git a/web/cobrands/angus/layout.scss b/web/cobrands/angus/layout.scss index 35d629400..4fb9bd0d1 100644 --- a/web/cobrands/angus/layout.scss +++ b/web/cobrands/angus/layout.scss @@ -5,11 +5,8 @@ $max_page_width: 1200px; #site-logo, -.ie6 #site-logo, body.frontpage #site-logo, -.ie6 body.frontpage #site-logo, -body.twothirdswidthpage #site-logo, -.ie6 body.twothirdswidthpage #site-logo +body.twothirdswidthpage #site-logo { position: relative; top: 13px; @@ -250,13 +247,14 @@ footer p.social a:active,footer p.social a:focus,footer p.social a:hover text-decoration:none; } -.ie6, .ie7, .ie8 { +.ie7, .ie8 { footer p.social a { font-size:2.25em; } } -.ie6, .ie7 { +// No :before support in IE7, reset things back +.ie7 { footer p.social a { font-size:1.2em!important; height:1.5em; diff --git a/web/cobrands/bromley/base.scss b/web/cobrands/bromley/base.scss index 9f7c0e9ae..5661632a3 100644 --- a/web/cobrands/bromley/base.scss +++ b/web/cobrands/bromley/base.scss @@ -17,10 +17,6 @@ position: absolute; z-index:2; } -// Override in IE too -.ie6 #site-logo { - background: url('/cobrands/bromley/bromley-logo.s.png') 0 0 no-repeat; -} // Change the colour and size of the site header to suit #site-header { @@ -344,8 +340,8 @@ input.field, input.text, border-bottom: none!important; } -// Fix the A-Z menu in IE 6/7 -.ie6, .ie7 { +// Fix the A-Z menu in IE7 +.ie7 { .main-a-z ul li { display:block; float:left; diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss index 27bd45889..a8c1f35ce 100644 --- a/web/cobrands/bromley/layout.scss +++ b/web/cobrands/bromley/layout.scss @@ -40,9 +40,6 @@ body.mappage { } } } -.ie6 body.frontpage #site-logo { - background:url(/cobrands/bromley/bromley-logo.png) 0 0 no-repeat; -} // Override the container width to match Bromley' site, which is wider .container { diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss index 4ed5cac42..d855e67a4 100644 --- a/web/cobrands/eastsussex/base.scss +++ b/web/cobrands/eastsussex/base.scss @@ -205,7 +205,7 @@ styling, but this doesn't dtrt with span, so adding ourselves */ font-size: 1.0em; } -.ie6, .ie7 { +.ie7 { body { z-index: 1; } diff --git a/web/cobrands/fixamingata/layout.scss b/web/cobrands/fixamingata/layout.scss index 442874360..db035e2c6 100644 --- a/web/cobrands/fixamingata/layout.scss +++ b/web/cobrands/fixamingata/layout.scss @@ -84,7 +84,7 @@ h3, h4, width: auto; } } -.ie6, .ie7 { +.ie7 { .tablewrapper { div { width: auto; @@ -103,7 +103,7 @@ h3, h4, } } } -.ie6, .ie7 { +.ie7 { #footer-help { ul { li { diff --git a/web/cobrands/fixmystreet/images/ie_fixed.gif b/web/cobrands/fixmystreet/images/ie_fixed.gif Binary files differdeleted file mode 100644 index 438bd6894..000000000 --- a/web/cobrands/fixmystreet/images/ie_fixed.gif +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/ie_front_logo.gif b/web/cobrands/fixmystreet/images/ie_front_logo.gif Binary files differdeleted file mode 100644 index 71225283f..000000000 --- a/web/cobrands/fixmystreet/images/ie_front_logo.gif +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/ie_key_tools_sprite_dark.gif b/web/cobrands/fixmystreet/images/ie_key_tools_sprite_dark.gif Binary files differdeleted file mode 100644 index 0b2fd5741..000000000 --- a/web/cobrands/fixmystreet/images/ie_key_tools_sprite_dark.gif +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/ie_logo.gif b/web/cobrands/fixmystreet/images/ie_logo.gif Binary files differdeleted file mode 100644 index cfcbd258b..000000000 --- a/web/cobrands/fixmystreet/images/ie_logo.gif +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/ie_mobileapps.gif b/web/cobrands/fixmystreet/images/ie_mobileapps.gif Binary files differdeleted file mode 100644 index 604efc101..000000000 --- a/web/cobrands/fixmystreet/images/ie_mobileapps.gif +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/ie_mysoc_logo.gif b/web/cobrands/fixmystreet/images/ie_mysoc_logo.gif Binary files differdeleted file mode 100644 index e00fd955a..000000000 --- a/web/cobrands/fixmystreet/images/ie_mysoc_logo.gif +++ /dev/null diff --git a/web/cobrands/greenwich/base.scss b/web/cobrands/greenwich/base.scss index 517b16471..756b2d60a 100644 --- a/web/cobrands/greenwich/base.scss +++ b/web/cobrands/greenwich/base.scss @@ -6,7 +6,6 @@ @import "../sass/base"; body.frontpage #site-logo, -.ie6 body.frontpage #site-logo, #site-logo { background: url("/cobrands/greenwich/logo.gif") 0 0 no-repeat; diff --git a/web/cobrands/greenwich/layout.scss b/web/cobrands/greenwich/layout.scss index ad31941f6..54150cfd4 100644 --- a/web/cobrands/greenwich/layout.scss +++ b/web/cobrands/greenwich/layout.scss @@ -6,11 +6,8 @@ $fixed_page_width: 990px; #site-logo, -.ie6 #site-logo, body.frontpage #site-logo, -.ie6 body.frontpage #site-logo, -body.twothirdswidthpage #site-logo, -.ie6 body.twothirdswidthpage #site-logo +body.twothirdswidthpage #site-logo { position: relative; top: 14px; diff --git a/web/cobrands/harrogate/base.scss b/web/cobrands/harrogate/base.scss index 6c4a906f7..4c3278241 100644 --- a/web/cobrands/harrogate/base.scss +++ b/web/cobrands/harrogate/base.scss @@ -5,7 +5,6 @@ @import "../sass/base"; body.frontpage #site-logo, -.ie6 body.frontpage #site-logo, #site-logo { display: block; diff --git a/web/cobrands/harrogate/layout.scss b/web/cobrands/harrogate/layout.scss index 287fd85f4..197892c8f 100644 --- a/web/cobrands/harrogate/layout.scss +++ b/web/cobrands/harrogate/layout.scss @@ -5,7 +5,6 @@ $mappage-header-height: 10em; @import "../sass/layout"; #site-logo, -.ie6 #site-logo, body.frontpage #site-logo { position: relative; @@ -19,7 +18,6 @@ body.frontpage #site-logo #site-header, body.frontpage #site-header, -.ie6 body.frontpage #site-header, .ie7 body.frontpage #site-header, .nav-wrapper-2 { diff --git a/web/cobrands/hart/hart.scss b/web/cobrands/hart/hart.scss index 95607242c..00b23cdfb 100644 --- a/web/cobrands/hart/hart.scss +++ b/web/cobrands/hart/hart.scss @@ -373,14 +373,6 @@ body.frontpage .table-cell .content { } // IE specific CSS -.ie6 { - div { zoom: 1; } - .hart-wrapper { padding: 0; } - #hart-footer { margin: 0; } - //#search input { padding: 8px 5px 2px; } - //#search input.button { padding: 0; width: 68px; line-height: 24px; } - input.button { overflow: visible; width: 1%; } -} .ie7 { div { zoom: 1; } //#search input { padding: 8px 5px 2px; } diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index ad3bb5e16..f81d969ab 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -335,13 +335,7 @@ label{ } } } -// IE6 doesn't extend the grey box back with the above negative margins, and -// the password box falls off screen for some reason. Just have boring margins, -// it looks okay. -.ie6 .form-box { - margin: 0 0 0.25em; - padding: 1em; -} + // Prevent grey displaying oddly by giving it a width, and stop odd left margin issue .ie7 .form-box { width: 100%; @@ -460,9 +454,6 @@ p.label-valid { position: absolute; z-index:2; } -.ie6 #site-logo { - background: url('/cobrands/fixmystreet/images/ie_logo.gif') 0 -5px no-repeat; -} // this is a skip to nav for mobile users only #nav-link { @@ -532,9 +523,6 @@ p.label-valid { background-repeat: no-repeat; text-indent: -999999px; } -.ie6 #mysoc-logo { - background: url('/cobrands/fixmystreet/images/ie_mysoc_logo.gif') center no-repeat; -} .ie7 #mysoc-logo { background: url($image-sprite) -240px -38px no-repeat; } @@ -621,7 +609,7 @@ body.mappage .wrapper { } //because display:table doesn't work we float -.ie6, .ie7 { +.ie7 { .shadow-wrap { ul#key-tools{ background:#f5f5f5; @@ -635,19 +623,6 @@ body.mappage .wrapper { } } } -.ie6 .shadow-wrap ul#key-tools li a { - &.abuse { - background-image:url('/cobrands/fixmystreet/images/ie_key_tools_sprite.gif'); - background-position: $right 0px; - } - &.feed { - background-image:url('/cobrands/fixmystreet/images/ie_key_tools_sprite.gif'); - background-position: $right -58px; - } - &:hover { - background-image:url('/cobrands/fixmystreet/images/ie_key_tools_sprite_dark.gif'); - } -} .iel8 { .shadow-wrap ul#key-tools li a.chevron { background-image:url('/cobrands/fixmystreet/images/ie_key_tools_sprite.gif'); @@ -939,15 +914,6 @@ input.final-submit { border-bottom: none; } -.ie6 .item-list--reports__item { - a { - height: 5.5em; - } - .img { - height: 60px; - } -} - .problem-header .update-img, .item-list .update-img { float: $right; @@ -1069,10 +1035,6 @@ html.js #map .noscript { #{$left}: 0.5em; #{$right}: 0.5em; } -// The left and right of the above causes the navigation to move off-screen left in IE6. -.ie6 #fms_pan_zoom { - #{$left}: auto !important; -} // Openlayers map controls (overrides) #fms_pan_zoom_panup, @@ -1170,21 +1132,6 @@ html.js #map .noscript { } } -.ie6 #sub_map_links a { - &#hide_pins_link { - background-image:url('/cobrands/fixmystreet/images/ie_sub_map_links_sprite.gif'); - background-position: $right 1px; - } - &#all_pins_link { - background-image:url('/cobrands/fixmystreet/images/ie_sub_map_links_sprite.gif'); - background-position: $right -45px; - } - &#map_permalink { - background-image:url('/cobrands/fixmystreet/images/ie_sub_map_links_sprite.gif'); - background-position: $right -93px; - } -} - #mob_sub_map_links { position: absolute; bottom:0; diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index d7bef87fa..a3bb9fd43 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -60,7 +60,7 @@ h1 { //pad the top of the wrapper to allow space for the menu to fit in //when its positioned absolute below -.ie6, .ie7 { +.ie7 { .wrapper { padding-top:4em; } @@ -79,7 +79,7 @@ h1 { } //position absolute the menu as ie doesn't like display:table -.ie6, .ie7 { +.ie7 { .nav-wrapper { position: absolute; top:0; @@ -103,7 +103,6 @@ h1 { position: static;//reset position so the nav links become clickable } - .ie6 &, .ie7 & { height: 3em; // Without this, the #site-logo is unclickable. @@ -307,7 +306,7 @@ body.mappage { } } -.ie6, .ie7 { +.ie7 { body.mappage { // The below is *mandatory* to allow pins/zoom to be clickable in IE6/7. Do NOT remove. .container { @@ -538,15 +537,6 @@ body.twothirdswidthpage { } } } -//as ie6 doesn't like 'fixed' we will make it absolute again -.ie6 body.twothirdswidthpage .content .sticky-sidebar { - position:static; - aside { - position:absolute; - #{$left}: 42em; - top:0; - } -} // Centre the login and password change pages, // but keep them narrow to match the report sidebar @@ -578,10 +568,10 @@ body.authpage { } //fix table to be a block for ie, float the children -.ie6, .ie7 { +.ie7 { .tablewrapper { display:block; - div {//ie6 doesn't support '>div', so we'll go with the somewhat risker 'div' + >div { width:48%; display:block; float: $left; @@ -612,7 +602,7 @@ body.authpage { border-bottom:none; } } -.ie6, .ie7 { +.ie7 { #footer-mobileapps { margin:0 0.5em; margin-#{$right}: 2%; @@ -632,7 +622,7 @@ body.authpage { } } } -.ie6, .ie7 { +.ie7 { #footer-help { margin-#{$left}: 2%; ul { @@ -772,11 +762,6 @@ body.authpage { } } -// The padding is for the fading out when it's fixed positioned, which it isn't in IE6. -.ie6 .shadow-wrap { - padding-top: 0; -} - // Old versions of IE don't have box-sixing, so negative margins leave a 2em gap. // We can set a fixed width instead, which might result in a horizontal scrollbar // while the drawer is opening. Quel dommage. @@ -843,13 +828,6 @@ body.authpage { } } } -.ie6 .banner p { - top:-1.5em; - &#fixed { - background-image:url(/cobrands/fixmystreet/images/ie_fixed.gif); - background-position:center 0.75em; - } -} /*FORMS*/ input[type=text], @@ -935,7 +913,7 @@ body.frontpage { } } } -.ie6, .ie7 { +.ie7 { body.frontpage { #site-header { height:4em; @@ -945,9 +923,6 @@ body.frontpage { } } } -.ie6 body.frontpage #site-logo { - background:url(/cobrands/fixmystreet/images/ie_front_logo.gif) 0 0 no-repeat; -} // big yellow bit full screen width #front-main { @@ -1038,7 +1013,7 @@ body.frontpage { } } } -.ie6, .ie7 { +.ie7 { #front_stats { div { width:8em; @@ -1056,8 +1031,7 @@ body.frontpage { margin-top:0; } - -.ie6, .ie7 { +.ie7 { .tablewrapper { #front-howto { margin-#{$right}: 2%; diff --git a/web/cobrands/stevenage/layout.scss b/web/cobrands/stevenage/layout.scss index 63de06652..16d29f9e2 100644 --- a/web/cobrands/stevenage/layout.scss +++ b/web/cobrands/stevenage/layout.scss @@ -23,7 +23,7 @@ // because IE7 doesn't support the table-caption styles. // This means, we need to make sure page content doesn't // disappear behind the header. -.ie6, .ie7 { +.ie7 { .content { margin-top: 10em; } diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index 7bb44c231..79c374c67 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -231,11 +231,6 @@ body.twothirdswidthpage { } } } -.ie6 .banner p { - &#fixed { - background-image: none; - } -} #fms_pan_zoom { top: 2em; diff --git a/web/down.default.html b/web/down.default.html index d3403d76c..760004cc1 100644 --- a/web/down.default.html +++ b/web/down.default.html @@ -1,5 +1,4 @@ <!doctype html> -<!--[if lt IE 7]><html class="no-js ie6 iel8" lang="en-gb"><![endif]--> <!--[if IE 7]> <html class="no-js ie7 iel8" lang="en-gb"><![endif]--> <!--[if IE 8]> <html class="no-js ie8 iel8" lang="en-gb"><![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="en-gb"><![endif]--> diff --git a/web/js/OpenLayers-2.13.1/theme/default/ie6-style.css b/web/js/OpenLayers-2.13.1/theme/default/ie6-style.css deleted file mode 100644 index a0fd7c639..000000000 --- a/web/js/OpenLayers-2.13.1/theme/default/ie6-style.css +++ /dev/null @@ -1,10 +0,0 @@ -.olControlZoomPanel div { - background-image: url(img/zoom-panel-NOALPHA.png); -} -.olControlPanPanel div { - background-image: url(img/pan-panel-NOALPHA.png); -} -.olControlEditingToolbar { - width: 200px; -} - diff --git a/web/js/OpenLayers-2.13.1/theme/default/ie6-style.tidy.css b/web/js/OpenLayers-2.13.1/theme/default/ie6-style.tidy.css deleted file mode 100644 index 7a23bbc78..000000000 --- a/web/js/OpenLayers-2.13.1/theme/default/ie6-style.tidy.css +++ /dev/null @@ -1 +0,0 @@ -.olControlZoomPanel div{background-image:url(img/zoom-panel-NOALPHA.png);}.olControlPanPanel div{background-image:url(img/pan-panel-NOALPHA.png);}.olControlEditingToolbar{width:200px;}
\ No newline at end of file |