feat: contextmenu deel 2

This commit is contained in:
kodi
2026-03-14 09:31:01 +01:00
parent 0615324607
commit 7bb59a2b65
5 changed files with 155 additions and 1 deletions
+39
View File
@@ -727,6 +727,45 @@ button:disabled {
width: min(440px, calc(100vw - 24px));
}
.context-menu {
position: fixed;
min-width: 220px;
padding: 8px;
border: 1px solid var(--color-border);
border-radius: var(--radius-sm);
background: var(--color-surface-elevated);
box-shadow: var(--shadow-elevated);
z-index: 1100;
}
.context-menu-scope {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--color-text-muted);
}
.context-menu-target {
margin-top: 4px;
font-size: 12px;
color: var(--color-text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.context-menu-separator {
height: 1px;
margin: 8px 0;
background: var(--color-border);
}
.context-menu button {
width: 100%;
justify-content: flex-start;
}
#upload-modal .popup-card {
max-width: 320px;
padding: 12px 14px;