-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy paththeme.layout.nav.styl
73 lines (64 loc) · 1.63 KB
/
theme.layout.nav.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/**
* Stylesheet
*
* @namespace Lungo.Theme
* @class Layout
*
* @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
*/
nav
section header > &
&:not(.on-right)
& a, button
color: darken(THEME, 40%)
text-shadow: 0 0.1em lighten(THEME, 10%)
&.on-right
& a, button
color: lighten(THEME, 95%)
text-shadow: 0 0.1em darken(THEME, 10%)
aside header > &
& a, button
color: lighten(ASIDE, 25%)
text-shadow: 0 0.1em darken(ASIDE, 10%)
header > &
a, button
&:active, &.active
color: WHITE !important
text-shadow: 0 0 0.5em WHITE
section > footer > & > a, &[data-control=groupbar] > a
color: NAV_LINK
transition-property color, box-shadow
transition-duration TRANSITION_time
transition-timing-function TRANSITION_easing
& abbr
font-weight: 400
&.active, &:active
color: NAV_LINK_ACTIVE
&[data-control=groupbar] > a
&.active, &:active
box-shadow: inset 0 -0.3em THEME
section > footer > & > a
&.active, &:active
box-shadow: inset 0 0.3em THEME
&[data-control=menu]
background-color: rgba(0,0,0,0.9)
box-shadow 0 2px 0 SHADOW
&.icons
& > a
&, > abbr
color: NAV_LINK
& > .icon
color: NAV_LINK_ACTIVE
&:active, &:hover
& > .icon
text-shadow: 0 0 2em NAV_LINK_ACTIVE
&:not(.icons)
& > a
&, > abbr
color: NAV_LINK_ACTIVE
& > .icon
color: NAV_LINK
&:active, &:hover
background-color: rgba(255,255,255,0.2)
& > .icon
color: THEME