fix(manager): UI review pass 5 small fixes (fee tabs, category actions and drop line, card buttons, floor plan chips, staff buttons)

- Tabs inset: no line under the strip, the labels level with the end button.
- Products: a chosen category's actions share the width equally, toned (quiet,
  coloured on hover); the drop line shows above / below the row by the pointer's
  half and the category lands exactly there (moveIdTo); grid cards' edit and
  archive centred.
- Floor plans: the plan chips as tall as "New floor plan".
- Staff: PIN and password toned like the other row buttons; toned buttons light
  up (soft background) under the pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 19:22:46 +02:00
co-authored by Claude Opus 5.5
parent 15413dea1b
commit abab158b7c
8 changed files with 48 additions and 17 deletions
+3 -2
View File
@@ -60,7 +60,7 @@
.x-btn--icon.x-btn--tone { background: var(--x-surface-2); }
/* a toned toggle that is on (a favourite's heart) keeps its colour */
.x-btn--tone[aria-pressed="true"] { color: rgb(var(--x-tone-ink)); }
.x-btn--icon.x-btn--tone:hover:not(:disabled) { background: var(--x-surface-3); }
.x-btn--icon.x-btn--tone:hover:not(:disabled) { background: rgb(var(--x-tone-soft)); } /* brighter under the pointer */
.x-btn--tone-danger { --x-tone: var(--x-danger-rgb); --x-tone-soft: var(--x-danger-soft-rgb); --x-tone-ink: var(--x-danger-ink-rgb); }
.x-btn--tone-warning { --x-tone: var(--x-warning-rgb); --x-tone-soft: var(--x-warning-soft-rgb); --x-tone-ink: var(--x-warning-ink-rgb); }
.x-btn--tone-info { --x-tone: var(--x-info-rgb); --x-tone-soft: var(--x-info-soft-rgb); --x-tone-ink: var(--x-info-ink-rgb); }
@@ -543,7 +543,8 @@
.x-tabs__badge--warn { background: var(--x-danger-soft); color: var(--x-danger-ink); }
.x-tabs__end { flex-shrink: 0; display: flex; align-items: center; gap: var(--x-space-2); }
.x-tabs--inset { align-items: stretch; padding-inline: var(--x-pad-card); min-height: calc(var(--x-control-sm) + 2 * var(--x-pad-card)); }
.x-tabs--inset .x-tabs__list { align-items: flex-end; }
.x-tabs--inset { box-shadow: none; } /* a card's header: no line under it (2026-11-21) */
.x-tabs--inset .x-tabs__list { align-items: center; } /* the labels level with the end button */
.x-tabs--inset .x-tabs__end { padding-block: var(--x-pad-card); }
.x-tabs--fill .x-tabs__tab { flex: 1 1 0; justify-content: center; }