web: motion across panes and rows, and the last polish
- Panes fade in on a destination/tab/selection change only; list rows FLIP when they move (sort, star, filter) and fade in when they appear; removals close the gap through the same move. Reduced-motion users get none of it. - Modal panels (audit, viewers, diff, tool calls, confirmations) arrive with a short scale/fade. - A collapsed list hides its filter/sort toolbars; the Refresh tooltip is stamped as soon as a populated list first paints. - The smoke settles after a sort before measuring a row for a click.
This commit is contained in:
@@ -336,3 +336,32 @@ code {
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Motion: a pane change and newly appearing rows arrive; moved rows FLIP in JS.
|
||||
Everything is disabled for a reader who asks for reduced motion. */
|
||||
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } }
|
||||
@keyframes row-in { from { opacity: 0; transform: translateY(3px); } }
|
||||
@keyframes modal-in { from { opacity: 0; transform: translateY(6px) scale(0.995); } }
|
||||
.view-enter { animation: view-in 180ms ease-out; }
|
||||
.row-enter { animation: row-in 160ms ease-out; }
|
||||
.audit-panel,
|
||||
.viewer-panel,
|
||||
.change-viewer-panel,
|
||||
.chat-tools-modal-panel,
|
||||
.stage-pane-sheet,
|
||||
.confirm-dialog,
|
||||
.attention-sheet-panel { animation: modal-in 150ms ease-out; }
|
||||
.row,
|
||||
.rail-tab,
|
||||
.strip-tab,
|
||||
.dock-item,
|
||||
.chat-star,
|
||||
.chat-menu-button,
|
||||
button { transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.view-enter, .row-enter,
|
||||
.audit-panel, .viewer-panel, .change-viewer-panel, .chat-tools-modal-panel,
|
||||
.stage-pane-sheet, .confirm-dialog, .attention-sheet-panel { animation: none; }
|
||||
.row, .rail-tab, .strip-tab, .dock-item, .chat-star, .chat-menu-button, button { transition: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user