File tree 3 files changed +60
-9
lines changed
3 files changed +60
-9
lines changed Original file line number Diff line number Diff line change 50
50
-ms-flex-item-align : center ;
51
51
align-self : center ;
52
52
font-weight : bold ;
53
- z-index : 20 ;
53
+ // z-index: 20;
54
54
}
55
55
56
56
.site-subtitle {
Original file line number Diff line number Diff line change 8
8
9
9
.sidebar {
10
10
@include clearfix ();
11
- @include breakpoint (max-width $large ) {
12
- /* fix z-index order of follow links */
13
- position : relative ;
14
- z-index : 10 ;
15
- -webkit-transform : translate3d (0 , 0 , 0 );
16
- transform : translate3d (0 , 0 , 0 );
17
- }
11
+ // @include breakpoint(max-width $large) {
12
+ // /* fix z-index order of follow links */
13
+ // position: relative;
14
+ // z-index: 10;
15
+ // -webkit-transform: translate3d(0, 0, 0);
16
+ // transform: translate3d(0, 0, 0);
17
+ // }
18
18
19
19
@include breakpoint ($large ) {
20
20
float : left ;
63
63
64
64
img {
65
65
width : 100% ;
66
-
66
+
67
67
& .emoji {
68
68
width : 20px ;
69
69
height : 20px ;
199
199
}
200
200
201
201
button {
202
+ position : relative ;
202
203
margin-bottom : 0 ;
203
204
205
+ & :before {
206
+ @supports (pointer-events : none ) {
207
+ content : ' ' ;
208
+ position : fixed ;
209
+ top : 0 ;
210
+ left : 0 ;
211
+ width : 100% ;
212
+ height : 100% ;
213
+ pointer-events : none ;
214
+ }
215
+ }
216
+
217
+ & .open {
218
+ & :before {
219
+ pointer-events : auto ;
220
+ }
221
+ }
222
+
204
223
@include breakpoint ($large ) {
205
224
display : none ;
206
225
}
269
288
}
270
289
}
271
290
291
+ ul {
292
+ padding : 10px ;
293
+ list-style-type : none ;
294
+ }
295
+
272
296
li {
273
297
white-space : nowrap ;
274
298
}
Original file line number Diff line number Diff line change @@ -385,6 +385,33 @@ body:hover .visually-hidden button {
385
385
}
386
386
}
387
387
388
+ .greedy-nav__toggle {
389
+ & :before {
390
+ @supports (pointer-events : none ) {
391
+ content : ' ' ;
392
+ position : fixed ;
393
+ top : 0 ;
394
+ left : 0 ;
395
+ width : 100% ;
396
+ height : 100% ;
397
+ opacity : 0 ;
398
+ background-color : $background-color ;
399
+ -webkit-transition : $global-transition ;
400
+ transition : $global-transition ;
401
+ pointer-events : none ;
402
+ }
403
+ }
404
+
405
+ & .close {
406
+ & :before {
407
+ opacity : 0.9 ;
408
+ -webkit-transition : $global-transition ;
409
+ transition : $global-transition ;
410
+ pointer-events : auto ;
411
+ }
412
+ }
413
+ }
414
+
388
415
.greedy-nav__toggle :hover {
389
416
.navicon ,
390
417
.navicon :before ,
You can’t perform that action at this time.
0 commit comments