Merge pull request #243 from filecoin-project/@martinalong/sidebars

Firefox fallback
This commit is contained in:
martinalong 2020-09-09 20:41:01 -07:00 committed by GitHub
commit 8a96f2b05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,15 +112,22 @@ const STYLES_SIDEBAR_WEB = css`
padding: 0;
flex-shrink: 0;
position: absolute;
background-color: rgba(247, 247, 247, 0.75);
-webkit-backdrop-filter: blur(75px);
backdrop-filter: blur(25px);
background-color: rgba(247, 247, 247, 1);
top: 0;
right: 0;
${STYLES_SCROLL}
@media (max-width: ${Constants.sizes.mobile}px) {
display: none;
}
@supports (
(-webkit-backdrop-filter: blur(25px)) or (backdrop-filter: blur(25px))
) {
-webkit-backdrop-filter: blur(75px);
backdrop-filter: blur(25px);
background-color: rgba(247, 247, 247, 0.75);
}
`;
const STYLES_SIDEBAR_HEADER = css`