Skip to content

Commit

Permalink
Fix translucency on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Apr 28, 2022
1 parent 84596ee commit dc8ba52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions war/src/main/less/modules/app-bar.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
background: var(--background);
mask-image: linear-gradient(black 70%, transparent);
opacity: 0.55;

@supports not (backdrop-filter: blur(15px)) {
opacity: 1;
}
}

&::after {
Expand Down
4 changes: 4 additions & 0 deletions war/src/main/less/pages/plugin-manager.less
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@

&::before {
backdrop-filter: brightness(1.2) blur(20px);

@supports not (backdrop-filter: blur(20px)) {
background: var(--background);
}
}

&::after {
Expand Down

0 comments on commit dc8ba52

Please sign in to comment.