aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-02 13:29:36 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-02 13:29:36 +0000
commit7dd734be0ee3efb57199879e6b86fe1605fe23ee (patch)
tree1666e69c4c4ca050ee91f0ee0c2caf92309e61d8
parent7494b18c1dc76d49c61b20c458894d788ef3b2de (diff)
Fix display of navigation icons in IE6 for #246.
-rw-r--r--web/cobrands/fixmystreet/base.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss
index 304066a73..31cd86153 100644
--- a/web/cobrands/fixmystreet/base.scss
+++ b/web/cobrands/fixmystreet/base.scss
@@ -926,9 +926,15 @@ a:hover.button-left {
}
// OpenLayers fix for navigation being top right
+// Left and right so that zoom can be left, pan right.
#fms_pan_zoom {
right: 0.5em !important;
top: 2.75em !important;
+ left: 0.5em !important;
+}
+// The left and right of the above causes the navigation to move off-screen left in IE6.
+// XXX Need to check IE7
+.ie6 #fms_pan_zoom {
left: auto !important;
}
@@ -947,7 +953,9 @@ a:hover.button-left {
&:hover {
opacity:1;
}
+ filter: none !important; // Override OpenLayers PNG handling of the navigation
}
+
#fms_pan_zoom_zoomworld {
display:none !important;
visibility:none !important;