aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_layout.scss
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2014-09-09 17:07:50 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-09-24 22:06:41 +0100
commit68a36aa14bfd9e236fc2cdf77b370bdc0cc9cf4d (patch)
tree4706d21a176d54c641c0aef7bfdfefd4ca17b840 /web/cobrands/sass/_layout.scss
parent37d38399a961476e2a8fc595282810f374f32802 (diff)
Fix display of user menu on map page.
Diffstat (limited to 'web/cobrands/sass/_layout.scss')
-rw-r--r--web/cobrands/sass/_layout.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index f03fa85ae..5a35d989b 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -271,6 +271,34 @@ body.mappage {
#user-meta {
max-width: none;
+ p {
+ display: block;
+ height: auto;
+ width: 22.2em; // 27em (.content width) - 2em (.content padding) - 6em - 0.8em
+ padding: 0.5em 6em 0.5em 0.8em;
+ top: 0;
+ left: 0;
+ z-index: 1;
+ box-shadow: none;
+ background: #FCEA9A;
+ border-bottom: 1px solid #ffd000;
+
+ a {
+ // move the "Sign out" link in and down a bit, because of extra padding on parent
+ top: 0.8em;
+ right: 0.8em;
+ }
+ }
+
+ & + .container .content {
+ padding-top: 3.5em; // make room for user menu!
+ }
+ }
+
+ .banner {
+ p {
+ top: -2.1em; // a few pixels lower than default
+ }
}
}