mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -05:00
feat(contextmenu): glass effect on context menu
This commit is contained in:
parent
a4155a1153
commit
45762e4bf6
1 changed files with 11 additions and 2 deletions
|
@ -6,7 +6,12 @@
|
|||
font-size: 0.875rem;
|
||||
color: var(--secondary-foreground);
|
||||
border-radius: var(--border-radius);
|
||||
background: var(--primary-background) !important;
|
||||
//background: var(--primary-background) !important;
|
||||
background-color: rgba(
|
||||
var(--primary-background-rgb),
|
||||
max(var(--min-opacity), 0.8)
|
||||
);
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.05);
|
||||
|
||||
> span,
|
||||
|
@ -23,7 +28,11 @@
|
|||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background: var(--secondary-background);
|
||||
background-color: rgba(
|
||||
var(--secondary-background-rgb),
|
||||
max(var(--min-opacity), 0.75)
|
||||
);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue