2026-07-28 22:22:14 +08:00
|
|
|
|
/* Directory-browser dialog (figma 813-23126 family). The shared Modal renders
|
|
|
|
|
|
* headless here — mask, card, Escape only — and this module owns the figma
|
2026-07-29 13:29:17 +08:00
|
|
|
|
* frame: 680×500 card (viewport-clamped; upsized from the figma 600×420),
|
|
|
|
|
|
* header (title + crumbs, l3 separator),
|
2026-07-28 22:22:14 +08:00
|
|
|
|
* the one-or-two-column Miller content, and the bordered footer. */
|
|
|
|
|
|
|
|
|
|
|
|
/* Doubled class beats Modal's own .dialog regardless of stylesheet order. */
|
2026-07-29 04:46:49 +08:00
|
|
|
|
/* Short viewports clamp the card: header/footer are flex-none and the
|
|
|
|
|
|
* columns scroll, so shrinking the height keeps Open/Cancel reachable
|
|
|
|
|
|
* instead of clipping them below a fixed overlay. */
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.dialog.dialog {
|
2026-07-29 13:29:17 +08:00
|
|
|
|
width: min(680px, 100%);
|
|
|
|
|
|
height: min(500px, calc(100dvh - 32px));
|
2026-07-28 22:22:14 +08:00
|
|
|
|
padding: 0;
|
|
|
|
|
|
gap: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-29 13:29:17 +08:00
|
|
|
|
/* Header block: pl24 pr14 pt16 pb8, 8px between title row and crumb row. */
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
flex: none;
|
2026-07-29 13:29:17 +08:00
|
|
|
|
padding: 16px 14px 8px 24px;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
border-bottom: 1px solid var(--dsw-alias-border-l3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
min-height: 28px;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
font-weight: 510;
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crumbBar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
min-height: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-28 23:21:27 +08:00
|
|
|
|
/* Deep chains scroll inside the trail (the effect pins the tail into view)
|
|
|
|
|
|
* so the edit zone to the right never leaves the bar. */
|
2026-07-29 00:15:30 +08:00
|
|
|
|
/* The Miller columns keep their own row so a status/error line below never
|
|
|
|
|
|
* competes with the fixed column widths for horizontal space. */
|
2026-07-29 03:53:48 +08:00
|
|
|
|
/* A narrow viewport shrinks the dialog below two fixed panes; the row
|
|
|
|
|
|
* scrolls horizontally (the effect pins the child pane into view) so
|
|
|
|
|
|
* descent never hides behind the Modal's clipping. */
|
2026-07-29 00:15:30 +08:00
|
|
|
|
.millerRow {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
gap: 20px;
|
2026-07-29 03:53:48 +08:00
|
|
|
|
overflow-x: auto;
|
2026-07-29 13:29:17 +08:00
|
|
|
|
scrollbar-width: none;
|
2026-07-29 00:15:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-28 23:21:27 +08:00
|
|
|
|
.crumbTrail {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
flex: 0 1 auto;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.crumbSeat {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crumb {
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
max-width: 160px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--dsw-alias-label-tertiary);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crumb:hover {
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crumbChevron {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
color: var(--dsw-alias-label-tertiary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* The empty remainder of the bar: invisible, but a real click target that
|
|
|
|
|
|
* flips the bar into path-edit mode. */
|
|
|
|
|
|
.crumbEditZone {
|
2026-07-28 23:21:27 +08:00
|
|
|
|
flex: 1 0 34px;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
min-width: 34px;
|
|
|
|
|
|
align-self: stretch;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
cursor: text;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pathInput {
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
border: 1px solid var(--dsw-alias-border-l2);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-29 13:29:17 +08:00
|
|
|
|
/* Miller content: symmetric 16px vertical padding so the divider clears the
|
|
|
|
|
|
* header and footer rules evenly; columns are 256 wide (or full width solo)
|
|
|
|
|
|
* with the hairline divider centered between them; each column scrolls alone. */
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.content {
|
|
|
|
|
|
display: flex;
|
2026-07-29 00:15:30 +08:00
|
|
|
|
flex-direction: column;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
min-height: 0;
|
2026-07-29 13:29:17 +08:00
|
|
|
|
padding: 16px 24px;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-29 13:29:17 +08:00
|
|
|
|
/* Two-pane columns split the row evenly around the divider; 256px is the
|
|
|
|
|
|
* floor below which the row scrolls (scrollbar hidden, the effect pins the
|
|
|
|
|
|
* child pane into view) instead of squeezing the panes. */
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.column {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 2px;
|
2026-07-29 13:29:17 +08:00
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
min-width: 256px;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.columnWide {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
width: 1px;
|
|
|
|
|
|
background: var(--dsw-alias-border-l3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-28 23:50:05 +08:00
|
|
|
|
.rowSeat {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.row {
|
2026-07-28 23:50:05 +08:00
|
|
|
|
width: 100%;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
height: 28px;
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row:hover {
|
|
|
|
|
|
background: var(--dsw-alias-interactive-bg-hover);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Selection: pill fill + the open-folder glyph in the info accent. */
|
|
|
|
|
|
.rowSelected,
|
|
|
|
|
|
.rowSelected:hover {
|
|
|
|
|
|
background: var(--dsw-alias-interactive-bg-active, var(--dsw-alias-interactive-bg-hover));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rowIcon {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
color: var(--dsw-alias-label-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rowIconSelected {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
color: var(--dsw-alias-button-info-fill);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rowName {
|
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rowChevron {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
color: var(--dsw-alias-label-tertiary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status,
|
|
|
|
|
|
.error {
|
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
|
color: var(--dsw-alias-label-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.error {
|
|
|
|
|
|
color: var(--dsw-alias-state-error-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-29 13:29:17 +08:00
|
|
|
|
/* Footer: l3 separator on top, symmetric padding so the row sits vertically
|
|
|
|
|
|
* centered in the bar; New-folder and the show-hidden toggle pin left. */
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.footerBar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-07-29 05:16:11 +08:00
|
|
|
|
/* Narrow viewports wrap the confirm/cancel pair onto their own row
|
|
|
|
|
|
* instead of clipping Open past the card's hidden overflow. */
|
|
|
|
|
|
flex-wrap: wrap;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
gap: 8px;
|
|
|
|
|
|
flex: none;
|
2026-07-29 13:29:17 +08:00
|
|
|
|
padding: 16px 24px;
|
2026-07-28 22:22:14 +08:00
|
|
|
|
border-top: 1px solid var(--dsw-alias-border-l3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-29 13:29:17 +08:00
|
|
|
|
/* Show-hidden toggle: a subtle fixed-label text button left of the gap;
|
|
|
|
|
|
* the pressed state seats a check glyph before the label (Menu's selected
|
|
|
|
|
|
* vocabulary) instead of flipping the wording. */
|
2026-07-29 12:52:59 +08:00
|
|
|
|
.showHiddenToggle {
|
2026-07-29 13:29:17 +08:00
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
2026-07-29 12:52:59 +08:00
|
|
|
|
border: none;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--dsw-alias-label-secondary);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.showHiddenToggle:hover {
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.showHiddenToggle:disabled {
|
|
|
|
|
|
color: var(--dsw-alias-label-caption);
|
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.showHiddenToggleActive {
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-28 22:22:14 +08:00
|
|
|
|
.footerGap {
|
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footerAction {
|
|
|
|
|
|
min-width: 72px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Nested create dialog (figma 813:23278): a small centered card. */
|
|
|
|
|
|
.createDialog.createDialog {
|
|
|
|
|
|
width: min(380px, 100%);
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
gap: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.createBody {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
padding: 22px 24px 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.createTitle {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
font-weight: 510;
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.createIn {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.createInput {
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 44px;
|
|
|
|
|
|
padding: 7px 14px;
|
|
|
|
|
|
border: 1px solid var(--dsw-alias-border-l2);
|
|
|
|
|
|
border-radius: 22px;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
|
color: var(--dsw-alias-label-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.createInput::placeholder {
|
|
|
|
|
|
color: var(--dsw-alias-label-caption);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.createActions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
}
|