mirror of
https://github.com/lingble/twenty.git
synced 2025-11-03 06:07:56 +00:00
Update backdrop-filter in OverlayBackground.ts (#4436)
* Update backdrop-filter in OverlayBackground.ts * Fix backdrop-filter in OverlayBackground.ts * Update opacity of menu item, to be constantly 0 * Fixes --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@@ -4,8 +4,13 @@ const StyledDropdownMenu = styled.div<{
|
||||
disableBlur?: boolean;
|
||||
width?: `${string}px` | `${number}%` | 'auto' | number;
|
||||
}>`
|
||||
backdrop-filter: ${({ disableBlur }) => (disableBlur ? 'none' : 'blur(8px)')};
|
||||
background: ${({ theme }) => theme.background.transparent.secondary};
|
||||
backdrop-filter: ${({ disableBlur }) =>
|
||||
disableBlur
|
||||
? 'none'
|
||||
: 'blur(12px) saturate(200%) contrast(50%) brightness(130%)'};
|
||||
|
||||
background: ${({ theme }) => theme.background.transparent.forBackdropFilter};
|
||||
|
||||
border: 1px solid ${({ theme }) => theme.border.color.medium};
|
||||
border-radius: ${({ theme }) => theme.border.radius.md};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user