-
Notifications
You must be signed in to change notification settings - Fork 975
/
style.styl
28 lines (26 loc) · 1.04 KB
/
style.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
@import "../constants.styl"
[data-component-navigation="horizontal"]
> *
display : inline-block
margin-right : SPACE
color : WHITE
font-size : FONT_SIZE_SMALL
font-weight : FONT_WEIGHT_NORMAL !important
> small
margin-left : SIZE = (SPACE / 5)
padding : 0 SIZE
font-weight : FONT_WEIGHT_BOLD
color : BACKGROUND_DARK
background-color : WHITE
border-radius : SIZE
[data-component-navigation="vertical"]
> *
display : block
padding : 0 SPACE
line-height : UNIT
transition-property box-shadow, opacity
&.active
box-shadow inset MENU_WIDTH 0 BACKGROUND
> small
float : right
opacity : 0.5