mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-03 19:35:28 +00:00
Refactor zap popovers and more menus
This commit is contained in:
1 parent
fe006a59b0
commit
badcfc6944
9 files changed
+282
-176
No files matched your search
+9
-20
@@ -510,26 +510,6 @@ body.modal-open #sidebarOverlay {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
[data-modal-zap-wrapper] .zap-popover,
|
||||
.zap-popover {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.5rem);
|
||||
right: 0;
|
||||
z-index: 80;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.zap-popover__content {
|
||||
width: 18rem;
|
||||
max-width: calc(100vw - 2rem);
|
||||
background: var(--color-overlay-veil);
|
||||
color: var(--color-subtle);
|
||||
border: 1px solid var(--color-border-translucent-stronger);
|
||||
box-shadow: 0 22px 48px -18px var(--color-shadow-intense);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.modal-actions__overflow {
|
||||
position: relative;
|
||||
}
|
||||
@@ -543,6 +523,15 @@ body.modal-open #sidebarOverlay {
|
||||
z-index: 70;
|
||||
}
|
||||
|
||||
.popover__panel[data-variant="zap"] {
|
||||
background: var(--color-overlay-veil);
|
||||
color: var(--color-subtle);
|
||||
border: 1px solid var(--color-border-translucent-stronger);
|
||||
box-shadow: 0 22px 48px -18px var(--color-shadow-intense);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
/* Mobile-specific styles */
|
||||
@media (max-width: 767px) {
|
||||
#playerModal {
|
||||
|
||||
Reference in new issue
Block a user