@@ -6,11 +6,9 @@ export const backdrop = css`
6
6
position : fixed;
7
7
inset : 0 ;
8
8
height : 100dvh ;
9
-
10
9
transition-duration : 600ms ;
11
10
transition-property : -webkit-backdrop-filter, backdrop-filter, opacity;
12
11
transition-timing-function : ${ t ( '$ease.out.fast' ) } ;
13
- -webkit-backdrop-filter : blur (1.5px );
14
12
backdrop-filter : blur (1.5px );
15
13
background-image : linear-gradient (to bottom, transparent 2rem , rgb (0 0 0 / 5% ) 50% );
16
14
@@ -20,8 +18,7 @@ export const backdrop = css`
20
18
21
19
& [data-starting-style ],
22
20
& [data-ending-style ] {
23
- -webkit-backdrop-filter : blur (0px );
24
- backdrop-filter : blur (0px );
21
+ backdrop-filter : blur (0 );
25
22
opacity : 0 ;
26
23
}
27
24
@@ -96,6 +93,7 @@ export const viewport = css(({ theme }) => ({
96
93
97
94
export const viewportInner = css `
98
95
position : relative;
96
+
99
97
/* Prevent children's margin collapse */
100
98
display : flex;
101
99
flex-direction : column;
@@ -174,7 +172,6 @@ export const navClose = css`
174
172
background-color : ${ t ( '$color.gray.200' ) } ;
175
173
176
174
/* Blur the dividers behind */
177
- -webkit-backdrop-filter : blur (1rem );
178
175
backdrop-filter : blur (1rem );
179
176
180
177
& : focus-visible {
@@ -228,6 +225,7 @@ export const navLink = css`
228
225
display : flex;
229
226
gap : 0.675rem ;
230
227
align-items : center;
228
+
231
229
/* @TODO - Fix the css processor so that you can use local css variables through t() */
232
230
height : var (--mobileNavItemHeight );
233
231
padding-inline : var (--mobileNavItemPaddingX );
@@ -244,7 +242,10 @@ export const navLink = css`
244
242
}
245
243
246
244
@supports (-webkit-tap-highlight-color : black) {
245
+ ---var : 1 ;
246
+
247
247
/* Applying background-color on :active shows it when touching items while scrolling */
248
+
248
249
/* This activates only on real link taps */
249
250
-webkit-tap-highlight-color : ${ t ( '$color.gray.300' ) } ;
250
251
}
0 commit comments