diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-03 11:08:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-03 11:08:05 +0100 |
commit | 1a84ff9e9c0675f9487da08e7f5d11088a5d79f8 (patch) | |
tree | 93940979281a13e2e05c41a7a27ae55791bfec49 /web/cobrands/stevenage | |
parent | 85cdf1d51ad06836f824a1053924185b7bc8f236 (diff) | |
parent | 536fdcd39d0d6bd76954d6baa672a3b7f266d155 (diff) |
Merge branch 'drop-ie7'
Diffstat (limited to 'web/cobrands/stevenage')
-rw-r--r-- | web/cobrands/stevenage/_council_header_responsive.scss | 7 | ||||
-rw-r--r-- | web/cobrands/stevenage/layout.scss | 44 |
2 files changed, 1 insertions, 50 deletions
diff --git a/web/cobrands/stevenage/_council_header_responsive.scss b/web/cobrands/stevenage/_council_header_responsive.scss index e65f097d9..b0d1a774d 100644 --- a/web/cobrands/stevenage/_council_header_responsive.scss +++ b/web/cobrands/stevenage/_council_header_responsive.scss @@ -53,13 +53,6 @@ float: none; height: auto; - // IE7 doesn't support table-cell - .ie7 & { - display: inline; - float: left; - width: 16.65%; - } - a { width: auto; padding: 6px 12px; diff --git a/web/cobrands/stevenage/layout.scss b/web/cobrands/stevenage/layout.scss index 93ab23268..4d045f00a 100644 --- a/web/cobrands/stevenage/layout.scss +++ b/web/cobrands/stevenage/layout.scss @@ -22,38 +22,14 @@ padding-bottom: 0.25em; background-color: #6b6969; @include linear-gradient(#6b6969, #555454); - - .iel8 & { - 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; } -// We use absolute positioning for the header on IE7, -// because IE7 doesn't support the table-caption styles. -// This means, we need to make sure page content doesn't -// disappear behind the header. -.ie7 { - .content { - margin-top: 10em; - } - - .frontpage { - #front-main { - margin-top: 15em; - } - - .content { - margin-top: 0; - } - } -} - .nav-menu { float: none; } @@ -156,22 +132,4 @@ body.mappage { a.report-a-problem-btn { color: #fff; } - - // _layout.scss adds 4em of padding to leave space for - // an absolutely positioned menu, but I can't tell what - // that means. Stevenage, at least, doesn't need it. - .wrapper { - .ie7 & { - padding-top: 0; - } - } - - // Not sure why IE7 has the old style of "inset" or "floating" - // sidebar on the map page, but this makes it stop! - .container { - .ie7 & { - margin-left: 0; - } - } - } |