Make menus and hover fills translucent over a background image

With a background image, menus use the surface transparency of Appearance
(82% by default) instead of at least 92%, and they keep the blur.
Hovered rows and controls in the work area, hovered menu rows, and the
workspace button use the new --rs-hover-bg token. With an image, it is a
6% veil of the strong text color. The image stays visible, and the hover
shows over light and dark image areas. Without an image, nothing changes.

Silver Serpent dim text is now #c2c6cc. It keeps 4.5:1 contrast on a
hovered row over a white image.

UI-061 replaces the image rule of UI-043. Card 05b9bfa1.
This commit is contained in:
Knotty Wyvern
2026-10-30 13:38:47 -07:00
parent b2993e81a3
commit 9fc1490988
30 changed files with 90 additions and 46 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
.table-drag-handle[hidden], .table-drop-indicator[hidden] { display: none; }
.table-drag-handle .action-icon { width: 18px; height: 18px; pointer-events: none; }
.table-drag-column .action-icon { transform: rotate(90deg); }
.table-drag-handle:hover, .table-drag-handle:focus-visible:not([data-pointer-focus]) { opacity: 1; color: var(--rs-text); background: var(--rs-bg-active); outline: 2px solid var(--rs-accent); outline-offset: -2px; z-index: 2; }
.table-drag-handle:hover, .table-drag-handle:focus-visible:not([data-pointer-focus]) { opacity: 1; color: var(--rs-text); background: var(--rs-hover-bg); outline: 2px solid var(--rs-accent); outline-offset: -2px; z-index: 2; }
.writer-table.is-table-dragging, .writer-table.is-table-dragging * { cursor: grabbing !important; user-select: none; }
.writer-table.is-table-dragging .table-drag-handle::after { display: none; }
.table-drop-indicator { position: absolute; z-index: 3; border-radius: 2px; background: var(--rs-accent); pointer-events: none; }