mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 19:29:57 +03:00
Merge pull request #243 from filecoin-project/@martinalong/sidebars
Firefox fallback
This commit is contained in:
commit
8a96f2b05d
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user