diff options
author | Chris Mytton <self@hecticjeff.net> | 2013-08-12 18:55:28 +0100 |
---|---|---|
committer | Chris Mytton <self@hecticjeff.net> | 2013-08-12 18:55:28 +0100 |
commit | 22c6242033cd2d7128710754bc53549160f12696 (patch) | |
tree | 051ac7f8520b78e05474004918bcb235fd867251 | |
parent | 54457e8e29d37c9b0b24e61caa527df5f3d7fbb3 (diff) |
Simplify styles for OCC map instructions
-rw-r--r-- | web/cobrands/oxfordshire/layout.scss | 11 | ||||
-rw-r--r-- | web/cobrands/oxfordshire/position_map.js | 8 |
2 files changed, 3 insertions, 16 deletions
diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss index a6a422db3..b5f88db1b 100644 --- a/web/cobrands/oxfordshire/layout.scss +++ b/web/cobrands/oxfordshire/layout.scss @@ -219,16 +219,11 @@ input.green-btn{ // map instructions (click on 'details' to see details) are a specific requirement from OCC management // populated dynamically by position_map.js #occ-map-instructions { - display: none; position: absolute; color: #666; - margin: 0 0 0 400px; - .ie6 &, .ie7 & { - margin: 0; - } - p { - padding: 0.5em; - } + margin: 0 0 0 430px; + width: 540px; + bottom: 0; } .big-green-banner { diff --git a/web/cobrands/oxfordshire/position_map.js b/web/cobrands/oxfordshire/position_map.js index 64ad857fc..143f07f7c 100644 --- a/web/cobrands/oxfordshire/position_map.js +++ b/web/cobrands/oxfordshire/position_map.js @@ -27,14 +27,6 @@ function position_map_box() { $('#map_box').after("<div id='occ-map-instructions'><p>" + "Click on a pin and then on the “details” link to see an individual report detail.</p></div>"); } - var mb_y = $('#map_box').position().top + parseInt(map_box_height, 10) ; - $('#occ-map-instructions').show().css({ - left: '', - right: oxfordshire_right, - bottom: '', - top: mb_y +'px', - width: '525px' - }); } } |