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 color: $grey1
.navigation .navigation
padding: 0 $column-gutter/2
margin: 0
height: 0 height: 0
list-style: none
overflow: hidden overflow: hidden
&.is-open &.is-open
height: auto height: auto
a
padding: .5em 1em
.navigation,
.navigation-nested
@include resetul
.navigation-handle .navigation-handle
position: relative position: relative
@ -98,11 +95,13 @@ $top-height: 55px
.navigation-sub .navigation-sub
position: relative position: relative
.navigation-nested
@include resetul
a, a,
.navigation-handle span:not(.sync-spinner) .navigation-handle
display: block display: block
color: #898989 color: #898989
border-bottom: solid 1px #eff0ec
font-size: $font-size-m font-size: $font-size-m
cursor: pointer cursor: pointer
height: $top-height height: $top-height
@ -111,7 +110,8 @@ $top-height: 55px
&:hover &:hover
text-decoration: underline text-decoration: underline
.navigation--profile .profile
float: right
img img
border-radius: 50%; border-radius: 50%;
width: 2.7rem; width: 2.7rem;
@ -124,6 +124,7 @@ $top-height: 55px
height: $top-height height: $top-height
.navigation .navigation
padding: 0
height: $top-height height: $top-height
overflow: visible overflow: visible
> li > li
@ -138,13 +139,6 @@ $top-height: 55px
.navigation-handle span:not(.sync-spinner) .navigation-handle span:not(.sync-spinner)
padding: 0 .2em padding: 0 .2em
.navigation--profile
float: right
.navigation--profile.signed-out,
.navigation--profile.signing-in
line-height: $top-height - 5px
.navigation-nested .navigation-nested
display: none display: none
position: absolute position: absolute

View File

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