Repository navigation
Expand file tree
/
Copy path_menu.styl
More file actions
100 lines (92 loc) · 1.83 KB
/
Copy path_menu.styl
File metadata and controls
100 lines (92 loc) · 1.83 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
*, *:before, *:after
-moz-box-sizing border-box
-webkit-box-sizing border-box
box-sizing border-box
body
left 0
right 0
margin auto
a, aside, .overlay, body
transition all .25s ease
a.slideButton, .dosearch
position fixed
display block
width 40px
height 40px
top 10px
z-index 17
.slideButton
right 60px
.dosearch
right 10px
border-radius rem(3px)
padding rem(2px) rem(3px)
.icon-menu
cursor pointer
padding rem(5px)
border-radius rem(3px)
width rem(40px)
height rem(40px)
fill main
.icon-search
width rem(35px)
height rem(35px)
.overlay
cursor pointer
#close
display none
fill sec
aside
position fixed
height 100%
width rem(240px)
padding rem(40px) 0 0
top 0
right rem(-240px)
background-color main
z-index 20
box-shadow inset -10px -1px 15px -9px rgba(0,0,0,0.5)
h2
text-align center
margin 0 0 rem(10px)
mainFont(800)
font-size rem(20px)
color sec
nav
ul
padding 0
li
margin 0
list-style-type none
a
width 100%
display block
padding rem(20px)
text-decoration none
mainFont(300)
color sec
border-top 1px solid sec
&:hover
color main
background sec
.feed
border-bottom 1px solid sec
&.slide
right 0
.slide #close
right rem(250px)
position fixed
pointer-events none
.overlay
position fixed
width 100%
height 100%
top 0
right 0
pointer-events none
background transparent
z-index 17
&.slide
pointer-events auto
right 240px
background rgba(0,0,0,.6)