diff options
author | Struan Donald <struan@exo.org.uk> | 2014-06-09 18:04:34 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-07-01 17:42:58 +0100 |
commit | cea2096f8da052d56bf124975978c767e9d1287c (patch) | |
tree | ba8a259023f046bfc40947633adba8e510f6f797 /web | |
parent | e9d85112d74b9fd84250c47fb56afe7c688bf4d3 (diff) |
sort out display on mobile
hide footer menu on mobile
add privacy link to main menu, hide on desktop
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/layout.scss | 65 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 3 | ||||
-rw-r--r-- | web/cobrands/sass/_layout.scss | 4 |
3 files changed, 42 insertions, 30 deletions
diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index d106fc64f..4b7d8db84 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -240,33 +240,44 @@ body.twothirdswidthpage { border-image: url(images/tile-y.jpg) 30 0 repeat; .tablewrapper { - width: 60em; - margin: 0 auto; - background: $base_bg; - ul { - list-style: none; - padding: 0px; - margin: 0px; - float:left; - li { - list-style: none; - display: inline; - margin: 0px; - padding: 0px; - float:left; - a, - span { - display: block; - color: $nav_fg; - background: none; - border-bottom: none; - padding: 0.75em; - font-size: 0.9em; - } - } - } - #footer-help-nav { - float: right; + width: 60em; + margin: 0 auto; + background: $base_bg; + ul { + list-style: none; + padding: 0px; + margin: 0px; + float:left; + li { + list-style: none; + display: inline; + margin: 0px; + padding: 0px; + float:left; + a, + span { + display: block; + color: $nav_fg; + background: none; + border-bottom: none; + padding: 0.75em; + font-size: 0.9em; + } } + } + #footer-main-nav { + display: block; + } + #footer-help-nav { + float: right; + } } } + +/* hide the footer on the alert page as the interaction with the + * photo sidebar is awkward to fix */ +body.alertindex { + #footer-nav { + display: none; + } +} diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index c9d8e19d7..eb4901c1c 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -678,14 +678,13 @@ footer { } p { font-size:0.75em; - margin-bottom: 0; + margin-bottom: 0; } } } } - /*BUTTONS*/ // Default style set for buttons, inputs and .btn class. Red and green class available. diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index 64b3f7848..d214b0804 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -141,6 +141,9 @@ h1 { background: none; border-bottom: none; } + &#top-nav-privacy { + display: none; + } } &#main-menu{ li{ @@ -432,7 +435,6 @@ body.twothirdswidthpage { } } - // map box (fallback for non js really as most users // will have fullscreen map) #map_box{ |