File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,11 +159,12 @@ $drawer-duotone-secondary-background-color: var(--c-drawer-duotone-secondary-bac
159159 visibility : visible ;
160160 transform : translate (0% );
161161 opacity : 1 ;
162+ filter : $drop-shadow-5 ;
162163}
163164
164165// Overlay
165166.drawer-overlay {
166- background-color : black ;
167+ background-color : rgba ( 0 , 0 , 0 , .2 ) ;
167168 position : fixed ;
168169 top : 0 ;
169170 left : 0 ;
@@ -173,11 +174,12 @@ $drawer-duotone-secondary-background-color: var(--c-drawer-duotone-secondary-bac
173174 transition : visibility 0s linear $drawer-transition-ms , $drawer-transition-ms ease-in opacity ;
174175 visibility : hidden ;
175176 opacity : 0 ;
177+ backdrop-filter : blur (1px );
176178}
177179
178180// Overlay states
179181.c-drawer.is-open + .drawer-overlay {
180- opacity : 0.2 ;
182+ opacity : 1 ;
181183 transition : visibility 0s linear 0s , $drawer-transition-ms ease-out opacity ;
182184 visibility : visible ;
183185}
You can’t perform that action at this time.
0 commit comments