PlotDirector/PlotLine/wwwroot/css/application-context-menu.css
Nick Beckley e48889ac05 Complete desktop workspaces, context menus and plot health
Commit the pending application, help and browser regression work. Pin the patched PKCS dependency for the production release.
2026-10-31 09:27:04 +00:00

23 lines
1.8 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.pd-context-popup {
position: fixed; z-index: 1085; min-width: 205px; max-width: min(310px, calc(100vw - 12px));
max-height: calc(100vh - 12px); overflow-y: auto; padding: 4px; margin: 0;
font: 13px/1.35 var(--pd-font-ui); color: var(--pd-text); background: var(--pd-elevated);
border: 1px solid var(--pd-border); border-radius: var(--pd-radius); box-shadow: 0 6px 22px rgb(0 0 0 / 20%);
}
.pd-context-popup [role="menuitem"] {
display: flex; align-items: center; gap: 9px; width: 100%; min-height: 29px;
padding: 5px 8px; border: 0; border-radius: 3px; text-align: left;
background: transparent; color: inherit; font: inherit; cursor: default;
}
.pd-context-popup [role="menuitem"]:hover:not([aria-disabled="true"]),
.pd-context-popup [role="menuitem"]:focus-visible { background: var(--pd-hover); }
.pd-context-popup [role="menuitem"]:focus-visible { outline: 2px solid var(--pd-focus); outline-offset: -2px; }
.pd-context-popup [aria-disabled="true"] { color: var(--pd-disabled-text); opacity: .65; }
.pd-context-popup [data-destructive="true"] { color: var(--pd-danger); }
.pd-context-popup .pd-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.pd-context-popup .pd-context-item-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pd-context-popup [role="separator"] { height: 1px; background: var(--pd-border-subtle); margin: 4px 5px; }
.pd-context-popup [aria-haspopup="menu"]::after { content: '›'; font-size: 18px; line-height: 1; margin-left: 14px; }
.pd-context-popup [aria-expanded="true"] { background: var(--pd-selected); }
.pd-context-feedback { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 1090; max-width: calc(100vw - 28px); padding: 8px 12px; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); color: var(--pd-text); background: var(--pd-elevated); font: 13px var(--pd-font-ui); }