Adds double-click to edit support for rates
Enables quick editing of salary rates by double-clicking card inputs Introduces functionality to: - Open rates drawer on double-click - Automatically focus and select corresponding input - Add temporary highlight to edited row
This commit is contained in:
parent
8b2a630861
commit
5fab58ff6f
5 changed files with 152 additions and 1304 deletions
|
|
@ -814,6 +814,23 @@ swp-simple-item {
|
|||
}
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
FOCUS HIGHLIGHT (double-click to edit)
|
||||
=========================================== */
|
||||
@keyframes focus-blink {
|
||||
0%, 100% { background: transparent; }
|
||||
25%, 75% { background: var(--bg-teal-medium); }
|
||||
}
|
||||
|
||||
swp-data-row.focus-highlight {
|
||||
animation: focus-blink 1s ease-out;
|
||||
|
||||
& input {
|
||||
outline: 2px solid var(--color-teal);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
STATS BOOKINGS TABLE
|
||||
=========================================== */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue