|
28 | 28 |
|
29 | 29 | .nav-toggle { |
30 | 30 | .lib-icon-font( |
31 | | - @icon-menu, |
32 | | - @_icon-font-size: 28px, |
33 | | - @_icon-font-color: @header-icons-color, |
34 | | - @_icon-font-color-hover: @header-icons-color-hover |
| 31 | + @icon-menu, |
| 32 | + @_icon-font-size: 28px, |
| 33 | + @_icon-font-color: @header-icons-color, |
| 34 | + @_icon-font-color-hover: @header-icons-color-hover |
35 | 35 | ); |
36 | 36 | .lib-icon-text-hide(); |
37 | 37 | cursor: pointer; |
|
54 | 54 |
|
55 | 55 | .parent { |
56 | 56 | .level-top { |
57 | | - position: relative; |
58 | 57 | .lib-icon-font( |
59 | | - @_icon-font-content: @icon-down, |
60 | | - @_icon-font-size: 42px, |
61 | | - @_icon-font-position: after, |
62 | | - @_icon-font-display: block |
| 58 | + @_icon-font-content: @icon-down, |
| 59 | + @_icon-font-size: 42px, |
| 60 | + @_icon-font-position: after, |
| 61 | + @_icon-font-display: block |
63 | 62 | ); |
| 63 | + position: relative; |
64 | 64 |
|
65 | 65 | &:after { |
66 | 66 | position: absolute; |
|
70 | 70 |
|
71 | 71 | &.ui-state-active { |
72 | 72 | .lib-icon-font-symbol( |
73 | | - @_icon-font-content: @icon-up, |
74 | | - @_icon-font-position: after |
| 73 | + @_icon-font-content: @icon-up, |
| 74 | + @_icon-font-position: after |
75 | 75 | ); |
76 | 76 | } |
77 | 77 | } |
|
82 | 82 | -webkit-overflow-scrolling: touch; |
83 | 83 | .lib-css(transition, left .3s, 1); |
84 | 84 | height: 100%; |
85 | | - left: -80%; |
86 | 85 | left: calc(~'-1 * (100% - @{active-nav-indent})'); |
87 | 86 | overflow: auto; |
88 | 87 | position: fixed; |
89 | 88 | top: 0; |
90 | | - width: 80%; |
91 | 89 | width: calc(~'100% - @{active-nav-indent}'); |
92 | 90 |
|
93 | 91 | .switcher { |
|
109 | 107 |
|
110 | 108 | .switcher-trigger { |
111 | 109 | strong { |
112 | | - position: relative; |
113 | 110 | .lib-icon-font( |
114 | | - @_icon-font-content: @icon-down, |
115 | | - @_icon-font-size: 42px, |
116 | | - @_icon-font-position: after, |
117 | | - @_icon-font-display: block |
| 111 | + @_icon-font-content: @icon-down, |
| 112 | + @_icon-font-size: 42px, |
| 113 | + @_icon-font-position: after, |
| 114 | + @_icon-font-display: block |
118 | 115 | ); |
| 116 | + position: relative; |
119 | 117 |
|
120 | 118 | &:after { |
121 | 119 | position: absolute; |
|
126 | 124 |
|
127 | 125 | &.active strong { |
128 | 126 | .lib-icon-font-symbol( |
129 | | - @_icon-font-content: @icon-up, |
130 | | - @_icon-font-position: after |
| 127 | + @_icon-font-content: @icon-up, |
| 128 | + @_icon-font-position: after |
131 | 129 | ); |
132 | 130 | } |
133 | 131 | } |
| 132 | + |
134 | 133 | .switcher-dropdown { |
135 | 134 | .lib-list-reset-styles(); |
136 | 135 | display: none; |
137 | 136 | padding: @indent__s 0; |
138 | 137 | } |
| 138 | + |
139 | 139 | .switcher-options { |
140 | 140 | &.active { |
141 | 141 | .switcher-dropdown { |
142 | 142 | display: block; |
143 | 143 | } |
144 | 144 | } |
145 | 145 | } |
| 146 | + |
146 | 147 | .header.links { |
147 | 148 | .lib-list-reset-styles(); |
148 | 149 | border-bottom: 1px solid @color-gray82; |
|
200 | 201 |
|
201 | 202 | .nav-open { |
202 | 203 | .page-wrapper { |
203 | | - left: 80%; |
204 | 204 | left: calc(~'100% - @{active-nav-indent}'); |
205 | 205 | } |
206 | 206 |
|
207 | 207 | .nav-sections { |
208 | 208 | @_shadow: 0 0 5px 0 rgba(50, 50, 50, .75); |
209 | | - |
210 | 209 | .lib-css(box-shadow, @_shadow, 1); |
211 | 210 | left: 0; |
212 | 211 | z-index: 99; |
|
293 | 292 | display: none; |
294 | 293 | } |
295 | 294 |
|
296 | | - .nav-sections-item-content { |
297 | | - display: block !important; |
298 | | - } |
299 | | - |
300 | 295 | .nav-sections-item-content > * { |
301 | 296 | display: none; |
302 | 297 | } |
|
0 commit comments