Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 1 | #nav__top-level { |
2 | background: $black; | ||||
3 | height: 100%; | ||||
4 | position: fixed; | ||||
5 | left: 0; | ||||
6 | top: 0; | ||||
7 | bottom: 0; | ||||
8 | z-index: 99; | ||||
9 | list-style-type: none; | ||||
10 | margin: 0; | ||||
11 | li { margin: 0; } | ||||
12 | .button, button, a { | ||||
13 | background: transparent; | ||||
14 | height: auto; | ||||
15 | border: 0; | ||||
16 | color: $white; | ||||
17 | fill: $white; | ||||
18 | width: 100%; | ||||
19 | padding: 1em; | ||||
20 | display: block; | ||||
21 | text-align: center; | ||||
22 | margin-bottom: 0; | ||||
23 | white-space: normal; | ||||
24 | .nav__icon { | ||||
25 | color: $white; | ||||
26 | max-height: 40px; | ||||
27 | stroke-width: .5; | ||||
28 | margin-bottom: -.5em; | ||||
29 | } | ||||
30 | a { | ||||
31 | margin-bottom: 5px; | ||||
32 | } | ||||
33 | p { | ||||
34 | margin: 0; | ||||
35 | font-size: .9em; | ||||
36 | line-height:1.2rem; | ||||
37 | } | ||||
38 | |||||
39 | .nav__icon-help__outer { | ||||
40 | fill: transparent; | ||||
41 | stroke: $white; | ||||
42 | stroke-miterlimit: 10; | ||||
43 | stroke-width: 1px; | ||||
44 | } | ||||
45 | .nav__icon-help__Inner { | ||||
46 | fill: $white; | ||||
47 | } | ||||
48 | &:hover { | ||||
49 | background: $white; | ||||
50 | fill: $black; | ||||
51 | color: $black; | ||||
52 | padding: 1em; | ||||
53 | border-radius: 0; | ||||
54 | .nav__icon-help__outer { | ||||
55 | stroke: $black; | ||||
56 | } | ||||
57 | .nav__icon-help__inner { | ||||
58 | fill: $black; | ||||
59 | } | ||||
60 | } | ||||
61 | } | ||||
62 | .opened { | ||||
63 | background: $white; | ||||
64 | fill: $black; | ||||
65 | color: $black; | ||||
66 | } | ||||
67 | } | ||||
68 | |||||
69 | .nav__second-level { | ||||
70 | position: fixed; | ||||
71 | top: 0; | ||||
72 | bottom: 0; | ||||
73 | left: 0; | ||||
74 | z-index: 97; | ||||
75 | display: block; | ||||
76 | background: $white; | ||||
77 | padding: 10px .6em; | ||||
78 | margin: 0; | ||||
79 | list-style-type: none; | ||||
80 | transition: all ease-out 0.5s; | ||||
81 | box-shadow: 0 2px 5px 0 $black; | ||||
82 | &.opened { | ||||
83 | transition: all ease-out .8s; | ||||
84 | |||||
85 | } | ||||
86 | } |