diff options
author | Dave Arter <davea@mysociety.org> | 2017-06-16 15:12:42 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-30 13:13:02 +0100 |
commit | c4dcd37dede1a1736aa391a05c2020815390a79f (patch) | |
tree | 3a573a84f954e8ca508fcf4eb6017e362a586310 /www/css | |
parent | 65cda4b5d7c4dce1e89a2118f2ab8fdb9be2867e (diff) |
Remove iOS status bar height overrides
No need to have rules to avoid overlapping the <iOS 7 status bar any more.
Diffstat (limited to 'www/css')
-rw-r--r-- | www/css/fms.css | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/www/css/fms.css b/www/css/fms.css index c1c7365..dd2411f 100644 --- a/www/css/fms.css +++ b/www/css/fms.css @@ -160,38 +160,37 @@ background-color: rgba(0,0,0,0); } -/* ios 7 tweaks to deal with different status bar behaviour */ - .ios7 .ui-mobile-viewport { +/* ios tweaks to deal with different status bar behaviour */ + .ios .ui-mobile-viewport { background-color: none; background-image: none; } - .ios7 .ui-bar-a, - body.ios7 { + .ios .ui-bar-a, + body.ios { background-color: #F6BE41; background-image: none; } - .ios7 .ui-bar-a { + .ios .ui-bar-a { border-color: #F6BE41; } - .ios7 .ui-header-fixed .ui-btn-left, - .ios7 .ui-header-fixed .ui-btn-right { + .ios .ui-header-fixed .ui-btn-left, + .ios .ui-header-fixed .ui-btn-right { top: 4px; } - .ios7 #map_box { - top: 20px; + .ios #map_box { background-color: #534741; background-image: url('../images/mapbg.png'); } - .ios7 #around-page #locating { - bottom: -22px; + .ios #around-page #locating { + bottom: -2px; } - .ios7 #map_box .olLayerDiv div { + .ios #map_box .olLayerDiv div { display: block !important; } @@ -210,7 +209,7 @@ #drafts, div[data-role='content'] { position: relative; - margin: 20px 10px; + margin: 10px 10px 20px 10px; background-color: rgba(255, 255, 255, 0.9); } |