Skip to content

Commit

Permalink
fix(core): 馃悰 add webkit prefix to backdrop filter rules
Browse files Browse the repository at this point in the history
Safari needs the -webkit- prefix
  • Loading branch information
alistair3149 committed Jul 8, 2024
1 parent 7178f6d commit 6dfc62b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
content: '';
background-color: var( --color-surface-0 );
filter: opacity( 0.9 );
-webkit-backdrop-filter: saturate( 50% ) blur( 16px );
backdrop-filter: saturate( 50% ) blur( 16px );
}
}
Expand Down
1 change: 1 addition & 0 deletions resources/skins.citizen.styles/components/Dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
z-index: -1;
content: '';
background: var( --background-color-backdrop-light );
-webkit-backdrop-filter: blur( 2px );
backdrop-filter: blur( 2px );
opacity: 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
content: '';
background-color: var( --color-surface-0 );
filter: opacity( 0.9 );
-webkit-backdrop-filter: saturate( 50% ) blur( 16px );
backdrop-filter: saturate( 50% ) blur( 16px );
opacity: 0;
transition: var( --transition-hover );
Expand Down
1 change: 1 addition & 0 deletions skinStyles/extensions/Echo/ext.echo.special.less
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
overflow-x: auto;
background-color: var( --color-surface-0 );
filter: opacity( 0.9 );
-webkit-backdrop-filter: saturate( 50% ) blur( 16px );
backdrop-filter: saturate( 50% ) blur( 16px );
border-bottom: 1px solid var( --border-color-base );
box-shadow: none;
Expand Down

0 comments on commit 6dfc62b

Please sign in to comment.