aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorSteven Day <steve@mysociety.org>2015-07-30 14:50:44 +0100
committerSteven Day <steve@mysociety.org>2015-08-13 16:03:24 +0100
commit02ff3daddbedce051fb2534b377020336d43ef5f (patch)
tree2f8ce4654cbea56edcc60f2c107e21040f99cc80 /web
parenta24aa70c37e0ed8de0b1888d0730423f7952a883 (diff)
[East Sussex] Fix the header in place on map pages
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/eastsussex/base.scss6
-rw-r--r--web/cobrands/eastsussex/layout.scss11
2 files changed, 15 insertions, 2 deletions
diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss
index 5a6b5295f..8e4a98566 100644
--- a/web/cobrands/eastsussex/base.scss
+++ b/web/cobrands/eastsussex/base.scss
@@ -253,3 +253,9 @@ styling, but this doesn't dtrt with span, so adding ourselves */
padding: 2px;
cursor: default;
}
+
+// Stop the big green banner (it's not even green) at the top of map pages
+// overriding the header in the z-index
+.big-green-banner {
+ z-index: auto;
+} \ No newline at end of file
diff --git a/web/cobrands/eastsussex/layout.scss b/web/cobrands/eastsussex/layout.scss
index 9e818f0a5..7206c3089 100644
--- a/web/cobrands/eastsussex/layout.scss
+++ b/web/cobrands/eastsussex/layout.scss
@@ -70,12 +70,12 @@ body.mappage {
}
#fms_pan_zoom {
- top: 16em!important;
+ top: 18em!important;
}
#mysociety {
margin-top: 0;
- padding-top: 0;
+ padding-top: 16em;
padding-bottom: 0;
width: auto;
background: transparent;
@@ -101,6 +101,13 @@ body.mappage {
#report-a-problem-sidebar {
top: 1em;
}
+
+ // Keep the headers fixed at the top on the map page
+ #site-header {
+ position: fixed;
+ width: 100%;
+ z-index: 2;
+ }
}
.general-notes, #report-a-problem-sidebar p, #report-a-problem-sidebar .sidebar-notes .plain-list li {