From d32fe183ad900373dc64ec64a50f7a434fbae1a3 Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Mon, 18 May 2015 15:00:52 +0200 Subject: [PATCH] cleanup some top styles --- app/styles/app/layouts/top.sass | 26 ++++++++++---------------- app/templates/top.hbs | 2 +- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/app/styles/app/layouts/top.sass b/app/styles/app/layouts/top.sass index e1a0078b..fe71dfaf 100644 --- a/app/styles/app/layouts/top.sass +++ b/app/styles/app/layouts/top.sass @@ -80,16 +80,13 @@ $top-height: 55px color: $grey1 .navigation + padding: 0 $column-gutter/2 + margin: 0 height: 0 + list-style: none overflow: hidden &.is-open height: auto - a - padding: .5em 1em - - .navigation, - .navigation-nested - @include resetul .navigation-handle position: relative @@ -98,11 +95,13 @@ $top-height: 55px .navigation-sub position: relative + .navigation-nested + @include resetul + a, - .navigation-handle span:not(.sync-spinner) + .navigation-handle display: block color: #898989 - border-bottom: solid 1px #eff0ec font-size: $font-size-m cursor: pointer height: $top-height @@ -111,7 +110,8 @@ $top-height: 55px &:hover text-decoration: underline - .navigation--profile + .profile + float: right img border-radius: 50%; width: 2.7rem; @@ -124,6 +124,7 @@ $top-height: 55px height: $top-height .navigation + padding: 0 height: $top-height overflow: visible > li @@ -138,13 +139,6 @@ $top-height: 55px .navigation-handle span:not(.sync-spinner) padding: 0 .2em - .navigation--profile - float: right - - .navigation--profile.signed-out, - .navigation--profile.signing-in - line-height: $top-height - 5px - .navigation-nested display: none position: absolute diff --git a/app/templates/top.hbs b/app/templates/top.hbs index 3aaf1c40..f34c80c8 100644 --- a/app/templates/top.hbs +++ b/app/templates/top.hbs @@ -41,7 +41,7 @@ {{/if}} -
  • +