10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-24 13:23:40 +01:00

Fallback when backdrop-filter or -webkit-backdrop-filter not exist like in FireFox

This commit is contained in:
Mickaël Véril 2020-01-24 17:15:38 +01:00
parent 3d92e97ffb
commit 7d5d38a1e9

View File

@ -4,6 +4,9 @@
for themselves. Background we set to 80% white with
our animation centered, and no-repeating */
.modal {
background-color: rgba(255, 255, 255, .9);
@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
display : none;
position : fixed;
z-index : 1000;
@ -15,6 +18,7 @@
backdrop-filter : blur(20px);
background-color : rgba(255, 255, 255, .3);
}
}
/* When the body has the loading class, we turn
the scrollbar off with overflow:hidden */
@ -28,6 +32,7 @@ body.loading .modal {
display: block;
cursor : wait
}
.modal .content {
position : absolute;
left : 50%;