2026-05-21 12:30:39 -04:00
|
|
|
/* slide-panel.css ─ right-sliding 460px panel with locked flex layout.
|
|
|
|
|
* The min-height:0 on body is the flex-overflow footgun fix from
|
|
|
|
|
* the codec-clipping bug. Don't remove it. */
|
|
|
|
|
|
|
|
|
|
.wd-slide-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: var(--z-overlay);
|
web-ui(wave 2): token cleanups from wave-1 code review
Promoted 14 new tokens (--accent-hover, --signal-{good,bad,warn}-hover,
--accent-bright, --thumb-black, --overlay, --shadow, --ease-out-{quart,expo},
--dur-{fast,normal,slide}, --z-topbar) and substituted every raw oklch /
cubic-bezier / hardcoded z-index occurrence in the 12 primitive files.
cubic-bezier appearances dropped from 8 files to 0 (only in tokens.css).
Bundle byte count: 138 KB -> 139 KB. Visual regression: zero (smoke page
still renders identically).
2026-05-21 13:08:02 -04:00
|
|
|
background: var(--overlay);
|
2026-05-21 12:30:39 -04:00
|
|
|
opacity: 0;
|
|
|
|
|
pointer-events: none;
|
web-ui(wave 2): token cleanups from wave-1 code review
Promoted 14 new tokens (--accent-hover, --signal-{good,bad,warn}-hover,
--accent-bright, --thumb-black, --overlay, --shadow, --ease-out-{quart,expo},
--dur-{fast,normal,slide}, --z-topbar) and substituted every raw oklch /
cubic-bezier / hardcoded z-index occurrence in the 12 primitive files.
cubic-bezier appearances dropped from 8 files to 0 (only in tokens.css).
Bundle byte count: 138 KB -> 139 KB. Visual regression: zero (smoke page
still renders identically).
2026-05-21 13:08:02 -04:00
|
|
|
transition: opacity var(--dur-slide) var(--ease-out-quart);
|
2026-05-21 12:30:39 -04:00
|
|
|
}
|
|
|
|
|
.wd-slide-overlay.is-open {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wd-slide-panel {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0; right: 0; bottom: 0;
|
|
|
|
|
width: 460px;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
z-index: var(--z-panel);
|
|
|
|
|
background: var(--bg-panel);
|
|
|
|
|
border-left: 1px solid var(--border);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
transform: translateX(100%);
|
web-ui(wave 2): token cleanups from wave-1 code review
Promoted 14 new tokens (--accent-hover, --signal-{good,bad,warn}-hover,
--accent-bright, --thumb-black, --overlay, --shadow, --ease-out-{quart,expo},
--dur-{fast,normal,slide}, --z-topbar) and substituted every raw oklch /
cubic-bezier / hardcoded z-index occurrence in the 12 primitive files.
cubic-bezier appearances dropped from 8 files to 0 (only in tokens.css).
Bundle byte count: 138 KB -> 139 KB. Visual regression: zero (smoke page
still renders identically).
2026-05-21 13:08:02 -04:00
|
|
|
transition: transform var(--dur-slide) var(--ease-out-expo);
|
2026-05-21 12:30:39 -04:00
|
|
|
}
|
|
|
|
|
.wd-slide-panel.is-open { transform: translateX(0); }
|
|
|
|
|
|
|
|
|
|
.wd-slide-panel-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
height: 52px;
|
|
|
|
|
padding: 0 18px;
|
|
|
|
|
border-bottom: 1px solid var(--border-faint);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
.wd-slide-panel-title {
|
|
|
|
|
font: 600 14px/1 var(--font);
|
|
|
|
|
letter-spacing: -0.005em;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wd-slide-panel-body {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 0; /* critical for flex overflow */
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
padding: 18px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wd-slide-panel-footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 14px 18px;
|
|
|
|
|
background: var(--bg-deep);
|
|
|
|
|
border-top: 1px solid var(--border-faint);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|