File tree Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Original file line number Diff line number Diff line change 270
270
li {
271
271
border-radius : _size (border-radius );
272
272
margin : 5px ;
273
+ display : none ;
273
274
274
275
& :hover {
275
276
background-color : rgba (0 ,0 ,0 ,0.2 );
282
283
}
283
284
}
284
285
285
- & :not (:hover ) {
286
- li {
287
- margin : 0 ;
288
- padding : 0 ;
289
- opacity : 0 ;
290
- font-size : 0 ;
291
- height : 0
292
- }
293
-
294
- & ::before {
295
- top : 4px ;
296
- left : 4px ;
297
- min-width : 32px ;
298
- min-height : 32px ;
299
- position : absolute ;
300
- content : ' ' ;
301
- background-image : url (' /images/burger.svg' );
302
- background-position : center ;
303
- }
286
+ & ::before {
287
+ top : 4px ;
288
+ left : 4px ;
289
+ width : 32px ;
290
+ height : 32px ;
291
+ position : absolute ;
292
+ content : ' ' ;
293
+ background-image : url (' /images/burger.svg' );
294
+ background-position : center ;
304
295
}
305
296
306
297
& :hover {
307
298
& ::before {
308
299
display : block ;
300
+ position : relative ;
309
301
width : 100% ;
310
302
content : ' NAVIGATION' ;
311
303
padding-left : 5% ;
312
304
border-bottom : 1px solid _palette (fg );
305
+ background-image : none ;
313
306
}
314
307
}
315
308
}
You can’t perform that action at this time.
0 commit comments