Commit ac4e64db authored by lynn's avatar lynn Committed by GitHub

fix: Web 1544 filter bar remove transparent bg on nft collection pages (#5034)

* remove blur effect

* init
parent 3a0c9301
...@@ -62,7 +62,6 @@ const rarityStatusCache = new Map<string, boolean>() ...@@ -62,7 +62,6 @@ const rarityStatusCache = new Map<string, boolean>()
const ActionsContainer = styled.div` const ActionsContainer = styled.div`
display: flex; display: flex;
margin-top: 12px;
justify-content: space-between; justify-content: space-between;
` `
...@@ -402,7 +401,7 @@ export const CollectionNfts = ({ contractAddress, collectionStats, rarityVerifie ...@@ -402,7 +401,7 @@ export const CollectionNfts = ({ contractAddress, collectionStats, rarityVerifie
return ( return (
<> <>
<AnimatedBox position="sticky" top="72" width="full" zIndex="3" marginBottom="20"> <AnimatedBox position="sticky" top="72" width="full" zIndex="3" marginBottom="20">
<Box backgroundColor="backgroundFloating" width="full" style={{ backdropFilter: 'blur(24px)' }}> <Box backgroundColor="backgroundBackdrop" width="full" padding="16">
<ActionsContainer> <ActionsContainer>
<Row gap="12"> <Row gap="12">
<TraceEvent <TraceEvent
......
...@@ -18,6 +18,7 @@ const themeContractValues = { ...@@ -18,6 +18,7 @@ const themeContractValues = {
backgroundModule: '', backgroundModule: '',
backgroundOutline: '', backgroundOutline: '',
backgroundSurface: '', backgroundSurface: '',
backgroundBackdrop: '',
modalBackdrop: '', modalBackdrop: '',
......
...@@ -17,6 +17,7 @@ export const darkTheme: Theme = { ...@@ -17,6 +17,7 @@ export const darkTheme: Theme = {
backgroundModule: vars.color.grey800, backgroundModule: vars.color.grey800,
backgroundOutline: `rgba(153,161,189,0.24)`, backgroundOutline: `rgba(153,161,189,0.24)`,
backgroundSurface: vars.color.grey900, backgroundSurface: vars.color.grey900,
backgroundBackdrop: '#000',
modalBackdrop: 'linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7))', modalBackdrop: 'linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7))',
......
...@@ -14,6 +14,7 @@ export const lightTheme: Theme = { ...@@ -14,6 +14,7 @@ export const lightTheme: Theme = {
backgroundModule: vars.color.grey50, backgroundModule: vars.color.grey50,
backgroundOutline: `rgba(94,104,135,0.24)`, backgroundOutline: `rgba(94,104,135,0.24)`,
backgroundSurface: '#FFFFFF', backgroundSurface: '#FFFFFF',
backgroundBackdrop: '#FFF',
modalBackdrop: 'rgba(0, 0, 0, 0.3)', modalBackdrop: 'rgba(0, 0, 0, 0.3)',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment