Skip to content

Commit

Permalink
New style for data-menu
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Jun 5, 2013
1 parent 399c897 commit 73e8539
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/stylesheets/theme/theme.layout.nav.styl
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,19 @@ nav
box-shadow inset 0 2px THEME

&[data-control=menu]
background: COLOR
background-color: rgba(0,0,0,0.8)
box-shadow 0 2px 0 SHADOW
&.icons
background: rgba(0,0,0,0.8)
& > a
color: lighten(COLOR, 35%)
color: lighten(COLOR, 40%)
&:active > .icon
text-shadow: 0 0 32px #fff
text-shadow: 0 0 2em #fff
& > .icon
color: #fff
&:not(.icons)
& > a
color: #fff
// text-shadow 0 1px 0 #111
border-bottom: 1px solid darken(COLOR, 20%)
border-top: 1px solid lighten(COLOR, 5%)
&:active
background: darken(COLOR, 15%)
border-color: transparent
& > .icon
color: lighten(COLOR, 25%)
& > a
font-weight: 600
color: lighten(COLOR, 40%)
&:active, &:hover
background-color: rgba(255,255,255,0.2)

0 comments on commit 73e8539

Please sign in to comment.