Skip to content

Commit

Permalink
Changes in footer and nav
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Jun 14, 2013
1 parent 890ff39 commit 2d0a09a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/stylesheets/theme/__init.styl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BACKGROUND = #DFDFDF
/* -------------------------- VARIATIONS -------------------------- */
LIST_border = darken(COLOR, 15%)
NAV_LINK = lighten(ASIDE, 25%)
NAV_LINK_ACTIVE = THEME
NAV_LINK_ACTIVE = #fff
/* ------------------------- TRANSITION ------------------------- */
TRANSITION_time = 400ms
TRANSITION_easing = ease
Expand Down
6 changes: 4 additions & 2 deletions src/stylesheets/theme/theme.layout.nav.styl
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ nav
section > footer > & > a, &[data-control=groupbar] > a
color: NAV_LINK
transition box-shadow TRANSITION_time TRANSITION_easing
& .icon
transition color TRANSITION_time TRANSITION_easing
& > .icon
transition text-shadow TRANSITION_time TRANSITION_easing
&.active
color: NAV_LINK_ACTIVE
& > .icon
text-shadow: 0 0 2em NAV_LINK_ACTIVE

section > &[data-control=groupbar] > a.active
box-shadow inset 0 -3px 0 THEME
Expand Down
4 changes: 2 additions & 2 deletions src/stylesheets/theme/theme.layout.styl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ body > section
& > header
background-color: THEME

& nav[data-control=groupbar], & > header
& > nav[data-control=groupbar], & > header
box-shadow inset 0 -1px SHADOW, 0 1px SHADOW

& nav[data-control=groupbar], & > footer
& > nav[data-control=groupbar], & > footer
background-color: ASIDE

& > footer
Expand Down

0 comments on commit 2d0a09a

Please sign in to comment.