diff options
-rw-r--r-- | templates/web/barnet/header.html | 19 | ||||
-rw-r--r-- | web/cobrands/barnet/layout.scss | 27 |
2 files changed, 37 insertions, 9 deletions
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html index 661b4633d..63adac036 100644 --- a/templates/web/barnet/header.html +++ b/templates/web/barnet/header.html @@ -69,9 +69,19 @@ <!-- googleon:all --> </div> <div id="content" class="withWidth fullWidth"> + <div id="user-meta"> + [% IF c.user_exists %] + <p> + [% tprintf(loc('Hi %s'), c.user.name || c.user.email) %] + <a href="/auth/sign_out">[% loc('sign out') %]</a> + </p> + [% END %] + </div> + <h1> <span>FixMyStreet</span> </h1> + <div class="wrapper"> <div class="table-cell"> <header id="site-header" role="banner"> @@ -81,15 +91,6 @@ </div> </header> - <div id="user-meta"> - [% IF c.user_exists %] - <p> - [% tprintf(loc('Hi %s'), c.user.name || c.user.email) %] - <a href="/auth/sign_out">[% loc('sign out') %]</a> - </p> - [% END %] - </div> - <div class="container"> <div class="content[% " $mainclass" | html IF mainclass %]" role="main"> diff --git a/web/cobrands/barnet/layout.scss b/web/cobrands/barnet/layout.scss index 6a777708f..78456b101 100644 --- a/web/cobrands/barnet/layout.scss +++ b/web/cobrands/barnet/layout.scss @@ -118,6 +118,33 @@ body.twothirdswidthpage { background: #e1e3e4 url(/cobrands/fixmystreet/images/sprite.png) right -2192px no-repeat } +body.frontpage { + #user-meta { + p { + top: 1em; + color: $primary_text; + a { + background: none; + } + } + } +} +#user-meta { + float: right; + p { + @include box-shadow(none); + color: $primary_text; + position: relative; + background: none; + a { + color: $primary_text; + background: none; + } + a:hover { + background: $primary; + } + } +} /* barnet styles */ .clear { |