|
97 | 97 | }
|
98 | 98 |
|
99 | 99 | &:last-child {
|
100 |
| - border-bottom: 1px solid @color-gray82; |
| 100 | + border-bottom: 1px solid @color-gray82; |
101 | 101 | }
|
| 102 | + } |
102 | 103 |
|
103 |
| - &-trigger { |
104 |
| - strong { |
105 |
| - position: relative; |
106 |
| - .lib-icon-font( |
107 |
| - @_icon-font-content: @icon-down, |
108 |
| - @_icon-font-size: 42px, |
109 |
| - @_icon-font-position: after, |
110 |
| - @_icon-font-display: block |
111 |
| - ); |
112 |
| - |
113 |
| - &:after { |
114 |
| - position: absolute; |
115 |
| - right: -40px; |
116 |
| - top: -16px; |
117 |
| - } |
118 |
| - } |
| 104 | + .switcher-trigger { |
| 105 | + strong { |
| 106 | + position: relative; |
| 107 | + .lib-icon-font( |
| 108 | + @_icon-font-content: @icon-down, |
| 109 | + @_icon-font-size: 42px, |
| 110 | + @_icon-font-position: after, |
| 111 | + @_icon-font-display: block |
| 112 | + ); |
119 | 113 |
|
120 |
| - &.active strong { |
121 |
| - .lib-icon-font-symbol( |
122 |
| - @_icon-font-content: @icon-up, |
123 |
| - @_icon-font-position: after |
124 |
| - ); |
| 114 | + &:after { |
| 115 | + position: absolute; |
| 116 | + right: -40px; |
| 117 | + top: -16px; |
125 | 118 | }
|
126 | 119 | }
|
127 | 120 |
|
128 |
| - &-dropdown { |
129 |
| - .lib-list-reset-styles(); |
130 |
| - padding: @indent__s 0; |
| 121 | + &.active strong { |
| 122 | + .lib-icon-font-symbol( |
| 123 | + @_icon-font-content: @icon-up, |
| 124 | + @_icon-font-position: after |
| 125 | + ); |
131 | 126 | }
|
132 | 127 | }
|
133 | 128 |
|
| 129 | + .switcher-dropdown { |
| 130 | + .lib-list-reset-styles(); |
| 131 | + padding: @indent__s 0; |
| 132 | + } |
| 133 | + |
134 | 134 | .header.links {
|
135 | 135 | .lib-list-reset-styles();
|
136 | 136 | border-bottom: 1px solid @color-gray82;
|
|
215 | 215 | }
|
216 | 216 | }
|
217 | 217 |
|
218 |
| - .nav-sections { |
219 |
| - &-items { |
220 |
| - .lib-clearfix(); |
221 |
| - position: relative; |
222 |
| - z-index: 1; |
223 |
| - } |
| 218 | + .nav-sections-items { |
| 219 | + .lib-clearfix(); |
| 220 | + position: relative; |
| 221 | + z-index: 1; |
| 222 | + } |
224 | 223 |
|
225 |
| - &-item-title { |
226 |
| - background: darken(@navigation__background,5%); |
227 |
| - border: solid darken(@navigation__background,10%); |
228 |
| - border-width: 0 0 1px 1px; |
229 |
| - box-sizing: border-box; |
230 |
| - float: left; |
231 |
| - height: 71px; |
232 |
| - padding-top: 24px; |
233 |
| - text-align: center; |
234 |
| - width: 33.33%; |
235 |
| - |
236 |
| - &.active { |
237 |
| - background: transparent; |
238 |
| - border-bottom: 0; |
239 |
| - } |
| 224 | + .nav-sections-item-title { |
| 225 | + background: darken(@navigation__background, 5%); |
| 226 | + border: solid darken(@navigation__background, 10%); |
| 227 | + border-width: 0 0 1px 1px; |
| 228 | + box-sizing: border-box; |
| 229 | + float: left; |
| 230 | + height: 71px; |
| 231 | + padding-top: 24px; |
| 232 | + text-align: center; |
| 233 | + width: 33.33%; |
| 234 | + |
| 235 | + &.active { |
| 236 | + background: transparent; |
| 237 | + border-bottom: 0; |
| 238 | + } |
240 | 239 |
|
241 |
| - .nav-sections-item-switch { |
242 |
| - &:hover { |
243 |
| - text-decoration: none; |
244 |
| - } |
| 240 | + .nav-sections-item-switch { |
| 241 | + &:hover { |
| 242 | + text-decoration: none; |
245 | 243 | }
|
246 | 244 | }
|
| 245 | + } |
247 | 246 |
|
248 |
| - &-item-content { |
249 |
| - .lib-clearfix(); |
250 |
| - box-sizing: border-box; |
251 |
| - float: right; |
252 |
| - margin-left: -100%; |
253 |
| - margin-top: 71px; |
254 |
| - width: 100%; |
255 |
| - |
256 |
| - &.active { |
257 |
| - display: block; |
258 |
| - } |
| 247 | + .nav-sections-item-content { |
| 248 | + .lib-clearfix(); |
| 249 | + box-sizing: border-box; |
| 250 | + float: right; |
| 251 | + margin-left: -100%; |
| 252 | + margin-top: 71px; |
| 253 | + width: 100%; |
259 | 254 |
|
260 |
| - padding: @indent__m 0; |
| 255 | + &.active { |
| 256 | + display: block; |
261 | 257 | }
|
| 258 | + |
| 259 | + padding: @indent__m 0; |
262 | 260 | }
|
263 | 261 |
|
264 | 262 | .lib-main-navigation();
|
|
277 | 275 | .lib-vendor-prefix-flex-shrink(0);
|
278 | 276 | .lib-vendor-prefix-flex-basis(auto);
|
279 | 277 | margin-bottom: @indent__m;
|
| 278 | + } |
280 | 279 |
|
281 |
| - &-item-title { |
282 |
| - display: none; |
283 |
| - } |
| 280 | + .nav-sections-item-title { |
| 281 | + display: none; |
| 282 | + } |
284 | 283 |
|
285 |
| - &-item-content { |
286 |
| - display: block !important; |
287 |
| - } |
| 284 | + .nav-sections-item-content { |
| 285 | + display: block !important; |
| 286 | + } |
288 | 287 |
|
289 |
| - &-item-content > * { |
290 |
| - display: none; |
291 |
| - } |
| 288 | + .nav-sections-item-content > * { |
| 289 | + display: none; |
| 290 | + } |
292 | 291 |
|
293 |
| - &-item-content > .navigation { |
| 292 | + .nav-sections-item-content { |
| 293 | + > .navigation { |
294 | 294 | display: block;
|
295 | 295 | }
|
296 | 296 | }
|
|
0 commit comments