cleanup some top styles

This commit is contained in:
Lisa Passing 2015-05-18 15:00:52 +02:00
parent d398f468b8
commit d32fe183ad
2 changed files with 11 additions and 17 deletions

View File

@ -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

View File

@ -41,7 +41,7 @@
</li>
{{/if}}
<li {{bind-attr class="view.classProfile :navigation-sub :navigation--profile"}}>
<li {{bind-attr class="view.classProfile :navigation-sub"}}>
<p class="handle navigation-handle">
{{#if auth.signedOut}}
<button class="signed-out button--signin" {{action "signIn" target="auth"}}>Sign in with GitHub</button>