diff options
author | Jedidiah Broadbent <hello@jedidiah.eu> | 2012-10-02 13:26:39 +0100 |
---|---|---|
committer | Jedidiah Broadbent <hello@jedidiah.eu> | 2012-10-02 13:26:39 +0100 |
commit | 15591af70a0d2c27e40c719930cbdd9484ac993d (patch) | |
tree | 6a296dda95163ec51e0ef724bdbda503ac39dad9 | |
parent | d523b4319dec8eb58e87c7a7f5ec8a29b308f322 (diff) |
Stevenage Map page changes
-rw-r--r-- | web/cobrands/stevenage/_council_header.scss | 24 | ||||
-rw-r--r-- | web/cobrands/stevenage/_layout.scss | 25 |
2 files changed, 43 insertions, 6 deletions
diff --git a/web/cobrands/stevenage/_council_header.scss b/web/cobrands/stevenage/_council_header.scss index c561c0665..f1942a818 100644 --- a/web/cobrands/stevenage/_council_header.scss +++ b/web/cobrands/stevenage/_council_header.scss @@ -15,10 +15,12 @@ /* 2.stv- =BasicSetup and general styles --------------------------------------------------*/ #stevenage_cc_header { + z-index: 2; margin: 0; padding: 0; font-size:62.5%; max-width: 100%; + width: 100%; background-color: #fff; #stv-everything { @@ -727,4 +729,26 @@ display:block; } +} + + +body.mappage{ + #stevenage_cc_header{ + #stv-header .stv-parf { + display: none; + } + #stv-header #stv-logo{ + position: static; + float: left; + height: auto; + img{ + height:50px; + width: auto; + } + } + #stv-pageTools.stv-floatHolder{ + position: static; + z-index: auto; + } + } }
\ No newline at end of file diff --git a/web/cobrands/stevenage/_layout.scss b/web/cobrands/stevenage/_layout.scss index 1c551b88f..22b70a36b 100644 --- a/web/cobrands/stevenage/_layout.scss +++ b/web/cobrands/stevenage/_layout.scss @@ -164,7 +164,7 @@ h1 { padding:0.25em; margin:0.5em; margin-bottom: 0; - color:#333; + color:#fff; @include border-radius(0.25em); &:hover { background:$primary/1.1; @@ -232,12 +232,17 @@ h1 { // map page - has fixed header and different styling body.mappage { + #stevenage_cc_header{ + position: fixed; + } .container { width: auto; } .content { float:left; + margin-top: 6em; } +/* #main-nav ul#main-menu li a, #main-nav ul#main-menu li span { padding: 1.4em 0.75em 1.35em 0.75em; @@ -246,12 +251,13 @@ body.mappage { padding: 0.5em; margin:0.9em 0.25em 0.85em 0.25em; } +*/ .nav-wrapper{ .nav-wrapper-2{ position: fixed; - background: #222; - @include background(linear-gradient(#000, #222 10%, #222 90%, #000)); + top:92px; } + } #site-logo{ position: fixed; @@ -259,6 +265,9 @@ body.mappage { } .ie6, .ie7 { body.mappage { + #stevenage_cc_header { + position:static; + } // The below is *mandatory* to allow pins/zoom to be clickable in IE6/7. Do NOT remove. .container { float: left; @@ -281,12 +290,16 @@ body.mappage { //the z-index base yet again :S .ie8 { body.mappage { + #stevenage_cc_header{ + position:static; + } .nav-wrapper{ position: relative; z-index:0; - .nav-wrapper-2 { + .nav-wrapper-2{ position:static; } + } #site-logo { position: absolute; @@ -484,13 +497,13 @@ body.twothirdswidthpage { height: 29em; width: 29em; right: 1em; - top: 3em; + top: 140px; z-index:1; } // Pull OpenLayers navigation down a bit #fms_pan_zoom { - top: 4.75em !important; + top: 190px !important; } // push zoom back over to right |