diff --git a/app/assets/stylesheets/components/navigation.scss b/app/assets/stylesheets/components/navigation.scss index 5e462cd03..427eb85d7 100644 --- a/app/assets/stylesheets/components/navigation.scss +++ b/app/assets/stylesheets/components/navigation.scss @@ -1,6 +1,6 @@ .navigation { - padding: $gutter 0 0 0; + padding: $gutter-half 0 0 0; li { @include core-16(); diff --git a/app/assets/stylesheets/components/switcher.scss b/app/assets/stylesheets/components/switcher.scss new file mode 100644 index 000000000..9ee6dc26d --- /dev/null +++ b/app/assets/stylesheets/components/switcher.scss @@ -0,0 +1,43 @@ + +#user-bar { + border-bottom: 1px solid #bfc1c3; + max-width: 960px; + margin: 0 15px; + @include core-19(); + padding: 10px 0 8px 0; + + a:link, + a:visited { + text-decoration: none; + } + + span a:hover { + color: $link-hover-colour; + } + + } + @media (min-width: 641px) { + #user-bar { + margin: 0 30px; + line-height: 1.25; } } + @media (min-width: 1020px) { + #user-bar { + margin: 0 auto; } } + + +#service-switcher { +} + +#user-name { + + margin: 0 20px 0 0; +} + +#user-admin { + +} +@media (min-width: 641px) { + #user-admin { + display: block; + float: right; + } } \ No newline at end of file diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss index bcd47c542..22f9f2f0e 100644 --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -42,6 +42,7 @@ @import 'components/banner'; @import 'components/textbox'; @import 'components/browse-list'; +@import 'components/switcher'; @import 'views/job'; diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index c127da3f7..7681d9d47 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -31,13 +31,6 @@
- {% if current_user.is_authenticated() %} - - {% endif %} {% endblock %} @@ -53,6 +46,9 @@ {% endif %} {% block content %} +{% if current_user.is_authenticated() %} + +{% endif %}