@bigpixelrocket/uiok 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/LICENSE +21 -0
- package/NOTICE +569 -0
- package/README.md +44 -2
- package/dist/VisuallyHidden.d.ts +13 -0
- package/dist/VisuallyHidden.js +13 -0
- package/dist/activity/ActivityBar.d.ts +29 -0
- package/dist/activity/ActivityBar.js +21 -0
- package/dist/activity/activity.css +43 -0
- package/dist/activity/index.d.ts +2 -0
- package/dist/activity/index.js +2 -0
- package/dist/button/Button.d.ts +26 -0
- package/dist/button/Button.js +14 -0
- package/dist/button/IconButton.d.ts +18 -0
- package/dist/button/IconButton.js +14 -0
- package/dist/button/button.css +95 -0
- package/dist/button/index.d.ts +3 -0
- package/dist/button/index.js +3 -0
- package/dist/charts/Drawing.d.ts +27 -0
- package/dist/charts/Drawing.js +117 -0
- package/dist/charts/Drawing.logic.d.ts +2 -0
- package/dist/charts/Drawing.logic.js +22 -0
- package/dist/charts/Line.logic.d.ts +33 -0
- package/dist/charts/Line.logic.js +72 -0
- package/dist/charts/LineChart.d.ts +34 -0
- package/dist/charts/LineChart.js +100 -0
- package/dist/charts/Pie.logic.d.ts +16 -0
- package/dist/charts/Pie.logic.js +28 -0
- package/dist/charts/PieChart.d.ts +20 -0
- package/dist/charts/PieChart.js +16 -0
- package/dist/charts/ResultChart.d.ts +47 -0
- package/dist/charts/ResultChart.js +175 -0
- package/dist/charts/ResultChart.logic.d.ts +42 -0
- package/dist/charts/ResultChart.logic.js +165 -0
- package/dist/charts/Scatter.logic.d.ts +55 -0
- package/dist/charts/Scatter.logic.js +134 -0
- package/dist/charts/ScatterChart.d.ts +36 -0
- package/dist/charts/ScatterChart.js +99 -0
- package/dist/charts/charts.css +310 -0
- package/dist/charts/index.d.ts +14 -0
- package/dist/charts/index.js +11 -0
- package/dist/charts/seriesColour.d.ts +2 -0
- package/dist/charts/seriesColour.js +8 -0
- package/dist/clock/index.d.ts +2 -0
- package/dist/clock/index.js +2 -0
- package/dist/clock/useClock.d.ts +14 -0
- package/dist/clock/useClock.js +57 -0
- package/dist/datetime/DateTimePicker.d.ts +50 -0
- package/dist/datetime/DateTimePicker.js +98 -0
- package/dist/datetime/DateTimePicker.logic.d.ts +59 -0
- package/dist/datetime/DateTimePicker.logic.js +103 -0
- package/dist/datetime/datetime.css +115 -0
- package/dist/datetime/index.d.ts +7 -0
- package/dist/datetime/index.js +7 -0
- package/dist/dialog/ConfirmDialog.d.ts +73 -0
- package/dist/dialog/ConfirmDialog.js +30 -0
- package/dist/dialog/DialogLegend.d.ts +21 -0
- package/dist/dialog/DialogLegend.js +28 -0
- package/dist/dialog/DialogLegend.logic.d.ts +145 -0
- package/dist/dialog/DialogLegend.logic.js +71 -0
- package/dist/dialog/ModalDialog.d.ts +101 -0
- package/dist/dialog/ModalDialog.js +184 -0
- package/dist/dialog/dialog.css +283 -0
- package/dist/dialog/index.d.ts +8 -0
- package/dist/dialog/index.js +8 -0
- package/dist/filter/FilterEscape.d.ts +16 -0
- package/dist/filter/FilterEscape.js +15 -0
- package/dist/filter/FilterIcon.d.ts +8 -0
- package/dist/filter/FilterIcon.js +11 -0
- package/dist/filter/filter.css +42 -0
- package/dist/filter/index.d.ts +3 -0
- package/dist/filter/index.js +3 -0
- package/dist/grid/DataGrid.d.ts +149 -0
- package/dist/grid/DataGrid.js +373 -0
- package/dist/grid/DataGrid.logic.d.ts +57 -0
- package/dist/grid/DataGrid.logic.js +121 -0
- package/dist/grid/grid.css +206 -0
- package/dist/grid/index.d.ts +7 -0
- package/dist/grid/index.js +7 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.js +32 -0
- package/dist/keyboard/BrowserKeys.d.ts +15 -0
- package/dist/keyboard/BrowserKeys.js +28 -0
- package/dist/keyboard/KeyChord.logic.d.ts +25 -0
- package/dist/keyboard/KeyChord.logic.js +50 -0
- package/dist/keyboard/Keyboard.logic.d.ts +84 -0
- package/dist/keyboard/Keyboard.logic.js +137 -0
- package/dist/keyboard/OverlayWatch.d.ts +28 -0
- package/dist/keyboard/OverlayWatch.js +119 -0
- package/dist/keyboard/PageSelectAll.d.ts +14 -0
- package/dist/keyboard/PageSelectAll.js +22 -0
- package/dist/keyboard/index.d.ts +9 -0
- package/dist/keyboard/index.js +9 -0
- package/dist/keychord/KeyChord.d.ts +16 -0
- package/dist/keychord/KeyChord.js +55 -0
- package/dist/keychord/index.d.ts +2 -0
- package/dist/keychord/index.js +2 -0
- package/dist/keychord/keychord.css +41 -0
- package/dist/labels/UiokLabels.d.ts +41 -0
- package/dist/labels/UiokLabels.js +31 -0
- package/dist/labels/UiokProvider.d.ts +44 -0
- package/dist/labels/UiokProvider.js +54 -0
- package/dist/labels/charts.d.ts +34 -0
- package/dist/labels/charts.js +15 -0
- package/dist/labels/dateTime.d.ts +32 -0
- package/dist/labels/dateTime.js +14 -0
- package/dist/labels/dialog.d.ts +18 -0
- package/dist/labels/dialog.js +6 -0
- package/dist/labels/index.d.ts +13 -0
- package/dist/labels/index.js +13 -0
- package/dist/labels/keys.d.ts +28 -0
- package/dist/labels/keys.js +53 -0
- package/dist/labels/legend.d.ts +21 -0
- package/dist/labels/legend.js +7 -0
- package/dist/labels/listing.d.ts +16 -0
- package/dist/labels/listing.js +8 -0
- package/dist/labels/pager.d.ts +32 -0
- package/dist/labels/pager.js +20 -0
- package/dist/labels/palette.d.ts +17 -0
- package/dist/labels/palette.js +6 -0
- package/dist/labels/selectAll.d.ts +15 -0
- package/dist/labels/selectAll.js +6 -0
- package/dist/labels/terminal.d.ts +25 -0
- package/dist/labels/terminal.js +9 -0
- package/dist/legend/KeyLegend.logic.d.ts +84 -0
- package/dist/legend/KeyLegend.logic.js +109 -0
- package/dist/legend/KeyLegendStrip.d.ts +36 -0
- package/dist/legend/KeyLegendStrip.js +82 -0
- package/dist/legend/index.d.ts +3 -0
- package/dist/legend/index.js +3 -0
- package/dist/legend/legend.css +148 -0
- package/dist/listing/CurrentDot.d.ts +15 -0
- package/dist/listing/CurrentDot.js +13 -0
- package/dist/listing/Listing.d.ts +230 -0
- package/dist/listing/Listing.js +265 -0
- package/dist/listing/PathParts.logic.d.ts +17 -0
- package/dist/listing/PathParts.logic.js +18 -0
- package/dist/listing/index.d.ts +10 -0
- package/dist/listing/index.js +10 -0
- package/dist/listing/listing.css +867 -0
- package/dist/menu/MenuQuery.logic.d.ts +69 -0
- package/dist/menu/MenuQuery.logic.js +75 -0
- package/dist/menu/fuzzyMatch.d.ts +31 -0
- package/dist/menu/fuzzyMatch.js +296 -0
- package/dist/menu/index.d.ts +9 -0
- package/dist/menu/index.js +9 -0
- package/dist/menu/menu.css +203 -0
- package/dist/menu/useBellBeat.d.ts +8 -0
- package/dist/menu/useBellBeat.js +26 -0
- package/dist/namecut/NameCut.d.ts +22 -0
- package/dist/namecut/NameCut.js +28 -0
- package/dist/namecut/NameCut.logic.d.ts +51 -0
- package/dist/namecut/NameCut.logic.js +120 -0
- package/dist/namecut/index.d.ts +3 -0
- package/dist/namecut/index.js +3 -0
- package/dist/namecut/namecut.css +67 -0
- package/dist/pager/Pager.d.ts +37 -0
- package/dist/pager/Pager.js +38 -0
- package/dist/pager/Pager.logic.d.ts +13 -0
- package/dist/pager/Pager.logic.js +63 -0
- package/dist/pager/index.d.ts +7 -0
- package/dist/pager/index.js +7 -0
- package/dist/pager/pager.css +62 -0
- package/dist/palette/Palette.d.ts +79 -0
- package/dist/palette/Palette.js +60 -0
- package/dist/palette/index.d.ts +6 -0
- package/dist/palette/index.js +6 -0
- package/dist/palette/palette.css +159 -0
- package/dist/pane/PaneActions.d.ts +104 -0
- package/dist/pane/PaneActions.js +62 -0
- package/dist/pane/PaneFrame.d.ts +51 -0
- package/dist/pane/PaneFrame.js +28 -0
- package/dist/pane/PaneKeys.d.ts +41 -0
- package/dist/pane/PaneKeys.js +104 -0
- package/dist/pane/PaneKeys.logic.d.ts +95 -0
- package/dist/pane/PaneKeys.logic.js +109 -0
- package/dist/pane/index.d.ts +11 -0
- package/dist/pane/index.js +11 -0
- package/dist/pane/usePaneKeys.d.ts +141 -0
- package/dist/pane/usePaneKeys.js +313 -0
- package/dist/run/RunHeader.d.ts +50 -0
- package/dist/run/RunHeader.js +31 -0
- package/dist/run/RunProgress.logic.d.ts +29 -0
- package/dist/run/RunProgress.logic.js +34 -0
- package/dist/run/index.d.ts +3 -0
- package/dist/run/index.js +3 -0
- package/dist/run/run.css +190 -0
- package/dist/segmented/SegmentedChoice.d.ts +22 -0
- package/dist/segmented/SegmentedChoice.js +31 -0
- package/dist/segmented/index.d.ts +2 -0
- package/dist/segmented/index.js +2 -0
- package/dist/segmented/segmented.css +49 -0
- package/dist/selectall/CheckRange.logic.d.ts +8 -0
- package/dist/selectall/CheckRange.logic.js +23 -0
- package/dist/selectall/SelectAllBar.d.ts +25 -0
- package/dist/selectall/SelectAllBar.js +24 -0
- package/dist/selectall/index.d.ts +7 -0
- package/dist/selectall/index.js +7 -0
- package/dist/selectall/selectall.css +31 -0
- package/dist/store/KeepUnchanged.logic.d.ts +19 -0
- package/dist/store/KeepUnchanged.logic.js +33 -0
- package/dist/store/SameProps.d.ts +15 -0
- package/dist/store/SameProps.js +46 -0
- package/dist/store/ValueStore.d.ts +17 -0
- package/dist/store/ValueStore.js +23 -0
- package/dist/store/index.d.ts +8 -0
- package/dist/store/index.js +8 -0
- package/dist/store/useStableHandlers.d.ts +13 -0
- package/dist/store/useStableHandlers.js +22 -0
- package/dist/styles.css +85 -0
- package/dist/tabs/PageTabs.d.ts +38 -0
- package/dist/tabs/PageTabs.js +33 -0
- package/dist/tabs/index.d.ts +2 -0
- package/dist/tabs/index.js +2 -0
- package/dist/tabs/tabs.css +64 -0
- package/dist/terminal/Terminal.d.ts +104 -0
- package/dist/terminal/Terminal.js +309 -0
- package/dist/terminal/Terminal.logic.d.ts +66 -0
- package/dist/terminal/Terminal.logic.js +156 -0
- package/dist/terminal/TerminalMenu.d.ts +36 -0
- package/dist/terminal/TerminalMenu.js +87 -0
- package/dist/terminal/TerminalMenu.logic.d.ts +78 -0
- package/dist/terminal/TerminalMenu.logic.js +68 -0
- package/dist/terminal/TerminalScrollback.d.ts +10 -0
- package/dist/terminal/TerminalScrollback.js +11 -0
- package/dist/terminal/ghostty/LICENSE +21 -0
- package/dist/terminal/ghostty/core.d.ts +315 -0
- package/dist/terminal/ghostty/core.js +1189 -0
- package/dist/terminal/ghostty/fallbackColors.d.ts +12 -0
- package/dist/terminal/ghostty/fallbackColors.js +23 -0
- package/dist/terminal/ghostty/fonts/LICENSE +21 -0
- package/dist/terminal/ghostty/fonts/SymbolsNerdFontMono-Regular.woff2 +0 -0
- package/dist/terminal/ghostty/keyCodes.logic.d.ts +20 -0
- package/dist/terminal/ghostty/keyCodes.logic.js +249 -0
- package/dist/terminal/ghostty/links.logic.d.ts +39 -0
- package/dist/terminal/ghostty/links.logic.js +84 -0
- package/dist/terminal/ghostty/renderer.d.ts +98 -0
- package/dist/terminal/ghostty/renderer.js +481 -0
- package/dist/terminal/ghostty/runtime.d.ts +126 -0
- package/dist/terminal/ghostty/runtime.js +346 -0
- package/dist/terminal/ghostty/spriteGlyphs.logic.d.ts +64 -0
- package/dist/terminal/ghostty/spriteGlyphs.logic.js +546 -0
- package/dist/terminal/ghostty/surface.d.ts +285 -0
- package/dist/terminal/ghostty/surface.js +1565 -0
- package/dist/terminal/ghostty/surface.logic.d.ts +181 -0
- package/dist/terminal/ghostty/surface.logic.js +392 -0
- package/dist/terminal/ghostty/vendor/LICENSE +21 -0
- package/dist/terminal/ghostty/vendor/ghostty-effects.wasm +0 -0
- package/dist/terminal/ghostty/vendor/ghostty-vt.wasm +0 -0
- package/dist/terminal/index.d.ts +12 -0
- package/dist/terminal/index.js +12 -0
- package/dist/terminal/terminal.css +169 -0
- package/dist/text/MarkedText.d.ts +14 -0
- package/dist/text/MarkedText.js +11 -0
- package/dist/text/highlightSegments.d.ts +13 -0
- package/dist/text/highlightSegments.js +29 -0
- package/dist/text/index.d.ts +3 -0
- package/dist/text/index.js +3 -0
- package/dist/text/text.css +11 -0
- package/dist/themes/attributes.d.ts +21 -0
- package/dist/themes/attributes.js +41 -0
- package/dist/themes/catalog.d.ts +125 -0
- package/dist/themes/catalog.js +940 -0
- package/dist/themes/color.d.ts +29 -0
- package/dist/themes/color.js +52 -0
- package/dist/themes/ids.d.ts +139 -0
- package/dist/themes/ids.js +59 -0
- package/dist/themes/index.d.ts +12 -0
- package/dist/themes/index.js +12 -0
- package/dist/themes/themes.generated.css +1830 -0
- package/dist/themes/tokens.d.ts +189 -0
- package/dist/themes/tokens.js +462 -0
- package/dist/tooltip/Tooltip.d.ts +21 -0
- package/dist/tooltip/Tooltip.js +105 -0
- package/dist/tooltip/Tooltip.logic.d.ts +49 -0
- package/dist/tooltip/Tooltip.logic.js +50 -0
- package/dist/tooltip/index.d.ts +3 -0
- package/dist/tooltip/index.js +3 -0
- package/dist/tooltip/tooltip.css +45 -0
- package/package.json +91 -4
|
@@ -0,0 +1,867 @@
|
|
|
1
|
+
/* ---- Listing look ----------------------------------------------------------
|
|
2
|
+
Every pane framed the same way: the pane's frame and its active border
|
|
3
|
+
(PaneFrame), the path bar and its crumbs, compact controls (PaneActions),
|
|
4
|
+
the column strip, 24px rows in the monospace face, and the status line;
|
|
5
|
+
then a page's listings (Listing): section strips, messages, an empty
|
|
6
|
+
pane, states, paths, and terminal wells.
|
|
7
|
+
|
|
8
|
+
An app root carries .listing-root, the listing scope, beside its own
|
|
9
|
+
class. Every rule is scoped by :where(.listing-root), so it weighs one
|
|
10
|
+
class less than an app's own `.my-view .row` and the app adjusts one with
|
|
11
|
+
a single scoped selector whatever order the stylesheets load in. The
|
|
12
|
+
class names carry no prefix. */
|
|
13
|
+
|
|
14
|
+
/* The current one in a list (CurrentDot): one character after its label,
|
|
15
|
+
neutral so it never reads as a status dot. */
|
|
16
|
+
.current-dot {
|
|
17
|
+
display: inline-block;
|
|
18
|
+
flex: none;
|
|
19
|
+
width: 6px;
|
|
20
|
+
height: 6px;
|
|
21
|
+
margin-left: 1ch;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
background: var(--text-dim);
|
|
24
|
+
vertical-align: middle;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.listing-root {
|
|
28
|
+
/* Sticky column-header height; a row's scroll-margin-top must match it so
|
|
29
|
+
scrollIntoView targets clear the header instead of hiding under it. */
|
|
30
|
+
--pane-columns-height: 22px;
|
|
31
|
+
|
|
32
|
+
/* Height of the path bar's row, the first inside the frame. */
|
|
33
|
+
--pane-path-height: 26px;
|
|
34
|
+
|
|
35
|
+
/* The gutter before every listing column after the name, in the listing's
|
|
36
|
+
own characters; the column strip's rules stand in its middle. */
|
|
37
|
+
--pane-column-gap: 1.5ch;
|
|
38
|
+
|
|
39
|
+
/* The space a row and the column strip keep clear at either edge of the
|
|
40
|
+
listing; the strip's first and last headers reach across it. */
|
|
41
|
+
--pane-row-inset: 8px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* A pane is a frame on the window ground: ::before draws the hairline and
|
|
45
|
+
the pane's surface under the content, and isolation keeps that layer
|
|
46
|
+
inside the pane. */
|
|
47
|
+
:where(.listing-root) .pane {
|
|
48
|
+
position: relative;
|
|
49
|
+
isolation: isolate;
|
|
50
|
+
flex: 1 1 0;
|
|
51
|
+
min-width: 0;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
/* The frame's hairline, which the content sits inside. */
|
|
56
|
+
padding: 1px;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:where(.listing-root) .pane::before {
|
|
61
|
+
content: '';
|
|
62
|
+
position: absolute;
|
|
63
|
+
inset: 0;
|
|
64
|
+
z-index: -1;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
background: var(--surface);
|
|
67
|
+
border: 1px solid var(--border-strong);
|
|
68
|
+
border-radius: 6px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* The active pane wears the accent on its frame. */
|
|
72
|
+
:where(.listing-root) .pane.active::before {
|
|
73
|
+
border-color: var(--accent);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* The listing's face: the path bar, the list, and the status line are set
|
|
77
|
+
in the monospace face, whatever the space around them uses. */
|
|
78
|
+
:where(.listing-root) :is(.pane-path-row, .pane-list, .pane-status) {
|
|
79
|
+
font-family: var(--font-mono);
|
|
80
|
+
font-size: 13px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* The path bar's row: the first inside the frame, on the pane's own surface. */
|
|
84
|
+
:where(.listing-root) .pane-path-row {
|
|
85
|
+
flex: 0 0 var(--pane-path-height);
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
border-bottom: 1px solid var(--border);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* The trail fills its row, root first; the slashes between crumbs only
|
|
94
|
+
separate them. */
|
|
95
|
+
:where(.listing-root) .pane-crumbs {
|
|
96
|
+
flex: 1;
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
min-width: 0;
|
|
100
|
+
height: 100%;
|
|
101
|
+
padding: 0 2px 0 8px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* A crumb's menu anchors under it. A crumb that shrinks keeps room for one
|
|
105
|
+
character and its ellipsis. */
|
|
106
|
+
:where(.listing-root) .crumb {
|
|
107
|
+
position: relative;
|
|
108
|
+
flex: 0 1 auto;
|
|
109
|
+
min-width: calc(2ch + 8px);
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
height: 24px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* The ends of the trail never shrink, and a one-character name has nothing to
|
|
116
|
+
give an ellipsis. These keep their own width: the shrinking floor is wider
|
|
117
|
+
than the root's mark or a single character, and would pad the crumb and open
|
|
118
|
+
a gap before the next slash. A home crumb and a brief one (a short fixed
|
|
119
|
+
name) keep their width too. */
|
|
120
|
+
:where(.listing-root) .crumb:is(.root, .home, .here, .brief) {
|
|
121
|
+
flex-shrink: 0;
|
|
122
|
+
min-width: 0;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:where(.listing-root) .crumb-label {
|
|
126
|
+
min-width: 0;
|
|
127
|
+
height: 20px;
|
|
128
|
+
margin: 0;
|
|
129
|
+
padding: 0 4px;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
border: none;
|
|
132
|
+
border-radius: 4px;
|
|
133
|
+
background: transparent;
|
|
134
|
+
color: var(--text-dim);
|
|
135
|
+
font: inherit;
|
|
136
|
+
text-overflow: ellipsis;
|
|
137
|
+
white-space: nowrap;
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:where(.listing-root) .crumb.root .crumb-label {
|
|
142
|
+
display: inline-flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Only a crumb that is a control reacts to the pointer. */
|
|
147
|
+
:where(.listing-root) button.crumb-label:hover {
|
|
148
|
+
background: var(--hover-wash);
|
|
149
|
+
box-shadow: var(--hover-frost);
|
|
150
|
+
color: var(--text);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* The trail's last crumb is where the pane is. */
|
|
154
|
+
:where(.listing-root) .crumb.here .crumb-label {
|
|
155
|
+
color: var(--text);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:where(.listing-root) .crumb-separator {
|
|
159
|
+
flex: none;
|
|
160
|
+
padding: 0 1px;
|
|
161
|
+
/* Catppuccin overlay2. */
|
|
162
|
+
color: var(--syntax-overlay2);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:where(.listing-root) .crumb-label:focus-visible {
|
|
166
|
+
outline: 2px solid var(--accent);
|
|
167
|
+
outline-offset: -2px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* A compact icon control at the path bar's end (`.path-star`: a favourite's
|
|
171
|
+
star, a sidebar's Refresh), drawn as a crumb is. */
|
|
172
|
+
:where(.listing-root) .path-star {
|
|
173
|
+
flex: none;
|
|
174
|
+
display: inline-flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
width: 22px;
|
|
178
|
+
height: 20px;
|
|
179
|
+
margin-right: 4px;
|
|
180
|
+
padding: 0;
|
|
181
|
+
border: none;
|
|
182
|
+
border-radius: 4px;
|
|
183
|
+
background: transparent;
|
|
184
|
+
color: var(--text-dim);
|
|
185
|
+
cursor: pointer;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:where(.listing-root) .path-star:hover:enabled {
|
|
189
|
+
background: var(--hover-wash);
|
|
190
|
+
box-shadow: var(--hover-frost);
|
|
191
|
+
color: var(--text);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
:where(.listing-root) .path-star:focus-visible {
|
|
195
|
+
outline: 2px solid var(--accent);
|
|
196
|
+
outline-offset: -2px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* A crumb is mostly no control (PanePathBar), so a label crumb centres its
|
|
200
|
+
text as a button would and takes no pointer. */
|
|
201
|
+
:where(.listing-root) .crumb-label:not(button) {
|
|
202
|
+
display: inline-flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
cursor: default;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* A page's facts and compact controls at its path bar's end. */
|
|
208
|
+
:where(.listing-root) .path-tools {
|
|
209
|
+
display: flex;
|
|
210
|
+
flex: 0 1 auto;
|
|
211
|
+
align-items: center;
|
|
212
|
+
gap: 8px;
|
|
213
|
+
min-width: 0;
|
|
214
|
+
padding-right: 4px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* A page's state at the path bar's end: its dot and words; a failure reads
|
|
218
|
+
red, a change waiting for the user amber. */
|
|
219
|
+
:where(.listing-root) .path-facts {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
flex: 0 1 auto;
|
|
222
|
+
align-items: center;
|
|
223
|
+
gap: 6px;
|
|
224
|
+
min-width: 0;
|
|
225
|
+
color: var(--text-dim);
|
|
226
|
+
font-size: 12px;
|
|
227
|
+
white-space: nowrap;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
:where(.listing-root) .path-facts.danger {
|
|
231
|
+
color: var(--danger);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
:where(.listing-root) .path-facts.warning {
|
|
235
|
+
color: var(--warning-text, var(--warning));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* One quiet action per row, and a path bar's compact verbs (QuietAction):
|
|
239
|
+
an icon and a verb at the path bar's control
|
|
240
|
+
size, dim until the row is the cursor row or the verb leads its bar. */
|
|
241
|
+
:where(.listing-root) .pane-act {
|
|
242
|
+
display: inline-flex;
|
|
243
|
+
flex: none;
|
|
244
|
+
align-items: center;
|
|
245
|
+
gap: 4px;
|
|
246
|
+
height: 20px;
|
|
247
|
+
padding: 0 6px 0 4px;
|
|
248
|
+
border: none;
|
|
249
|
+
border-radius: 4px;
|
|
250
|
+
background: transparent;
|
|
251
|
+
color: var(--text-dim);
|
|
252
|
+
font: inherit;
|
|
253
|
+
font-size: 12px;
|
|
254
|
+
white-space: nowrap;
|
|
255
|
+
cursor: pointer;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
:where(.listing-root) .row-meta .pane-act {
|
|
259
|
+
margin-right: -6px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* A compact icon control (RowIconAction): a row's hover icon, or Reveal and
|
|
263
|
+
Copy at a status line's end. */
|
|
264
|
+
:where(.listing-root) .pane-icon-act {
|
|
265
|
+
display: inline-flex;
|
|
266
|
+
flex: none;
|
|
267
|
+
align-items: center;
|
|
268
|
+
justify-content: center;
|
|
269
|
+
width: 22px;
|
|
270
|
+
height: 20px;
|
|
271
|
+
padding: 0;
|
|
272
|
+
border: none;
|
|
273
|
+
border-radius: 4px;
|
|
274
|
+
background: transparent;
|
|
275
|
+
color: var(--text-dim);
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* A row link drawn in words, alone or after its icon (RowLinkLookContext). */
|
|
280
|
+
:where(.listing-root) .pane-icon-act.worded {
|
|
281
|
+
width: auto;
|
|
282
|
+
gap: 4px;
|
|
283
|
+
padding: 0 5px;
|
|
284
|
+
font: inherit;
|
|
285
|
+
font-size: 12px;
|
|
286
|
+
white-space: nowrap;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
:where(.listing-root) :is(.pane-act, .pane-icon-act):hover:enabled:not([aria-disabled='true']) {
|
|
290
|
+
background: var(--hover-wash);
|
|
291
|
+
box-shadow: var(--hover-frost);
|
|
292
|
+
color: var(--text);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
:where(.listing-root) :is(.row.cursor .pane-act, .pane-act.lit, .pane-act.lit:hover:enabled) {
|
|
296
|
+
color: var(--accent);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/* The ring sits inside the control, which a row or a bar would clip. It
|
|
300
|
+
keeps .listing-root's weight, which the rest of the look drops in
|
|
301
|
+
:where(), so a host's own button ring (two classes and an element, such
|
|
302
|
+
as `.my-view button:focus-visible`) never replaces it. */
|
|
303
|
+
.listing-root :is(.pane-act, .pane-icon-act):focus-visible {
|
|
304
|
+
outline: 2px solid var(--accent);
|
|
305
|
+
outline-offset: -2px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/* The list takes programmatic focus after a keyboard sort; it is not in the
|
|
309
|
+
Tab order, so no focus ring belongs on it. */
|
|
310
|
+
:where(.listing-root) .pane-list:focus {
|
|
311
|
+
outline: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:where(.listing-root) .pane-list {
|
|
315
|
+
flex: 1;
|
|
316
|
+
min-height: 0;
|
|
317
|
+
overflow-y: auto;
|
|
318
|
+
background: var(--file-list-bg);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
:where(.listing-root) :is(.row, .pane-columns) {
|
|
322
|
+
display: grid;
|
|
323
|
+
/* The icon, the name taking what is left, then the pane's columns, each as
|
|
324
|
+
wide as its widest cell plus the gutter before it. A listing sets the
|
|
325
|
+
template on itself; the column strip shares it so every label sits over
|
|
326
|
+
its column. */
|
|
327
|
+
grid-template-columns: var(--pane-grid, 20px minmax(0, 1fr));
|
|
328
|
+
align-items: center;
|
|
329
|
+
box-sizing: border-box;
|
|
330
|
+
padding: 0 var(--pane-row-inset);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
:where(.listing-root) .row {
|
|
334
|
+
height: 24px;
|
|
335
|
+
/* Keeps a row scrolled into view clear of the band pinned over the list.
|
|
336
|
+
The room is the row's to ask for, not the list's to pad: scroll padding
|
|
337
|
+
would count a filter field standing in that band as out of view, and the
|
|
338
|
+
list would scroll toward its caret on focus and on every keystroke. */
|
|
339
|
+
scroll-margin-top: var(--pane-columns-height);
|
|
340
|
+
cursor: default;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* The column strip, pinned over the scrolling listing: a band a shade under
|
|
344
|
+
the list, labels in the interface font so they read as labels and the rows
|
|
345
|
+
as data, and a short rule in each gutter. */
|
|
346
|
+
:where(.listing-root) .pane-columns {
|
|
347
|
+
position: sticky;
|
|
348
|
+
top: 0;
|
|
349
|
+
z-index: 1;
|
|
350
|
+
height: var(--pane-columns-height);
|
|
351
|
+
background: color-mix(in srgb, var(--surface-header) 40%, var(--surface));
|
|
352
|
+
border-bottom: 1px solid var(--border);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/* A header fills the strip's height, so the whole cell is the handle a drag
|
|
356
|
+
takes, and its sort control reaches past the cell to the rules either side. */
|
|
357
|
+
:where(.listing-root) .pane-columns > :is(.row-name, .row-meta) {
|
|
358
|
+
align-self: stretch;
|
|
359
|
+
display: flex;
|
|
360
|
+
overflow: visible;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/* The name label starts at the strip's edge, over the rows' icons, so its cell
|
|
364
|
+
takes the icon column too. */
|
|
365
|
+
:where(.listing-root) .pane-columns > .row-name {
|
|
366
|
+
grid-column: 1 / span 2;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
:where(.listing-root) .pane-columns > .row-meta {
|
|
370
|
+
position: relative;
|
|
371
|
+
border-radius: 4px;
|
|
372
|
+
touch-action: none;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/* The rule stands in the middle of the gutter, as far from the label before
|
|
376
|
+
it as from the one after. */
|
|
377
|
+
:where(.listing-root) .pane-columns > .row-meta::before {
|
|
378
|
+
content: '';
|
|
379
|
+
position: absolute;
|
|
380
|
+
top: 5px;
|
|
381
|
+
bottom: 5px;
|
|
382
|
+
left: calc(var(--pane-column-gap) / 2 - 0.5px);
|
|
383
|
+
width: 1px;
|
|
384
|
+
background: var(--border-strong);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* A header's sort control is the whole surface of its column in the strip,
|
|
388
|
+
from the rule before it to the rule after, so a press anywhere there sorts;
|
|
389
|
+
the label stays on the column's edge. It reaches half a gutter into the
|
|
390
|
+
next header's cell, which is why it is raised over the cells. The name
|
|
391
|
+
column gives way to a narrow pane, so a label clips inside its control.
|
|
392
|
+
|
|
393
|
+
The control keeps the listing's font, so the gutter it measures in
|
|
394
|
+
characters is the one the cells measure and two controls meet on a rule
|
|
395
|
+
with nothing between them; the label alone is set in the interface font. */
|
|
396
|
+
:where(.listing-root) .pane-sort {
|
|
397
|
+
position: relative;
|
|
398
|
+
z-index: 1;
|
|
399
|
+
flex: 1;
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
402
|
+
gap: 3px;
|
|
403
|
+
min-width: 0;
|
|
404
|
+
margin: 0 calc(var(--pane-column-gap) / -2);
|
|
405
|
+
padding: 0 calc(var(--pane-column-gap) / 2);
|
|
406
|
+
overflow: hidden;
|
|
407
|
+
border: none;
|
|
408
|
+
background: transparent;
|
|
409
|
+
color: var(--text-dim);
|
|
410
|
+
font: inherit;
|
|
411
|
+
white-space: pre;
|
|
412
|
+
cursor: pointer;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/* A label wider than its column ends in an ellipsis on the column's edge,
|
|
416
|
+
never in the half gutter its control reaches over. */
|
|
417
|
+
:where(.listing-root) .pane-sort-label {
|
|
418
|
+
min-width: 0;
|
|
419
|
+
overflow: hidden;
|
|
420
|
+
text-overflow: ellipsis;
|
|
421
|
+
font-family: var(--font-ui);
|
|
422
|
+
font-size: 11.5px;
|
|
423
|
+
font-weight: 500;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/* Numbers line up on their column's right edge, and so does their label. */
|
|
427
|
+
:where(.listing-root) .pane-columns > .align-right .pane-sort {
|
|
428
|
+
justify-content: flex-end;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/* The first and the last control reach the strip's own edges. */
|
|
432
|
+
:where(.listing-root) .pane-columns > .row-name .pane-sort {
|
|
433
|
+
margin-left: calc(-1 * var(--pane-row-inset));
|
|
434
|
+
padding-left: var(--pane-row-inset);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
:where(.listing-root) .pane-columns > :last-child .pane-sort {
|
|
438
|
+
margin-right: calc(-1 * var(--pane-row-inset));
|
|
439
|
+
padding-right: var(--pane-row-inset);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/* The strip is the top of a scrolling list, which would clip a ring drawn
|
|
443
|
+
outside a control as tall as the strip. */
|
|
444
|
+
:where(.listing-root) .pane-sort:focus-visible {
|
|
445
|
+
outline-offset: -2px;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
:where(.listing-root) :is(.pane-sort:hover, .pane-sort.active) {
|
|
449
|
+
color: var(--text);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
:where(.listing-root) .pane-sort svg {
|
|
453
|
+
flex: none;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
:where(.listing-root) .row.cursor {
|
|
457
|
+
background: var(--cursor-row-bg);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/* A sidebar row whose page the main pane shows, while the cursor is on
|
|
461
|
+
another. */
|
|
462
|
+
:where(.listing-root) .row.pane-open-row > .row-name {
|
|
463
|
+
font-weight: 600;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/* Dim row text switches to the on-surface tone over the cursor highlight;
|
|
467
|
+
--text-dim misses 4.5:1 contrast on the cursor row in the light flavor. */
|
|
468
|
+
:where(.listing-root) .row.cursor :is(.row-icon, .row-meta) {
|
|
469
|
+
color: var(--text-on-surface);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
:where(.listing-root) .row-icon {
|
|
473
|
+
display: inline-flex;
|
|
474
|
+
align-items: center;
|
|
475
|
+
color: var(--text-dim);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:where(.listing-root) .row-name {
|
|
479
|
+
overflow: hidden;
|
|
480
|
+
text-overflow: ellipsis;
|
|
481
|
+
white-space: nowrap;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/* Metadata cells read like columns of a terminal listing: the gap character
|
|
485
|
+
sits in the padding, numbers right-align, and whitespace is kept so a value
|
|
486
|
+
padded with spaces ("Aug 1") keeps its alignment. */
|
|
487
|
+
:where(.listing-root) .row-meta {
|
|
488
|
+
padding-left: var(--pane-column-gap);
|
|
489
|
+
overflow: hidden;
|
|
490
|
+
white-space: pre;
|
|
491
|
+
color: var(--row-meta-text);
|
|
492
|
+
font-variant-numeric: tabular-nums;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/* Numbers line up on their column's right edge. */
|
|
496
|
+
:where(.listing-root) .row-meta.align-right {
|
|
497
|
+
text-align: right;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* The status line closes the pane: a summary of what the pane lists. */
|
|
501
|
+
:where(.listing-root) .pane-status {
|
|
502
|
+
height: 26px;
|
|
503
|
+
flex: 0 0 26px;
|
|
504
|
+
display: flex;
|
|
505
|
+
align-items: center;
|
|
506
|
+
box-sizing: border-box;
|
|
507
|
+
padding: 0 10px;
|
|
508
|
+
border-top: 1px solid var(--border);
|
|
509
|
+
color: var(--text-dim);
|
|
510
|
+
font-size: 12px;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
:where(.listing-root) .pane-summary {
|
|
514
|
+
flex: none;
|
|
515
|
+
white-space: nowrap;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/* Compact controls at the status line's end (PaneStatus's tools: Reveal,
|
|
519
|
+
Copy); the summary before them gives way to them. */
|
|
520
|
+
:where(.listing-root) .pane-status-tools {
|
|
521
|
+
display: inline-flex;
|
|
522
|
+
flex: none;
|
|
523
|
+
align-items: center;
|
|
524
|
+
gap: 2px;
|
|
525
|
+
margin-left: auto;
|
|
526
|
+
margin-right: -4px;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
:where(.listing-root) .pane-summary:has(+ .pane-status-tools) {
|
|
530
|
+
flex: 0 1 auto;
|
|
531
|
+
min-width: 0;
|
|
532
|
+
overflow: hidden;
|
|
533
|
+
text-overflow: ellipsis;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/* ---- Page listings (Listing) ----
|
|
537
|
+
A page's sections, each a listing under its own column strip (`Strip`,
|
|
538
|
+
`Listing`), a line that says something about one (`.pane-message`), an
|
|
539
|
+
empty pane, states (`StateMark`), the action and hover cells, paths
|
|
540
|
+
(`PathCell`), and a terminal well under a strip (`WellColumn`). */
|
|
541
|
+
|
|
542
|
+
/* Each section is a listing of its own, so its strip pins only while the
|
|
543
|
+
listing is in view; a rule sets a listing off from the one above. */
|
|
544
|
+
:where(.listing-root) :is(.pane-listing, .pane-message) + .pane-listing > .pane-columns {
|
|
545
|
+
border-top: 1px solid var(--border);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/* A strip label is text, with no pointer and no hover, but where it sorts
|
|
549
|
+
its listing (`.sortable`). */
|
|
550
|
+
:where(.listing-root) .pane-strip .pane-sort:not(.sortable) {
|
|
551
|
+
cursor: default;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
:where(.listing-root) .pane-strip .pane-sort:not(.sortable):hover {
|
|
555
|
+
color: var(--text-dim);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/* A strip label that is a section's heading keeps the label's look. */
|
|
559
|
+
:where(.listing-root) .pane-strip h3.pane-sort-label {
|
|
560
|
+
margin: 0;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/* A strip column that names itself to screen readers only, an action's,
|
|
564
|
+
draws no rule. */
|
|
565
|
+
:where(.listing-root) .pane-columns > .pane-col-blank::before {
|
|
566
|
+
content: none;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
/* A control at a strip's right end: a quiet link (`.pane-strip-link`,
|
|
570
|
+
Update all, Clear). */
|
|
571
|
+
:where(.listing-root) .pane-columns > .pane-col-control {
|
|
572
|
+
align-items: center;
|
|
573
|
+
justify-content: flex-end;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
:where(.listing-root) .pane-strip-link {
|
|
577
|
+
display: inline-flex;
|
|
578
|
+
align-items: center;
|
|
579
|
+
gap: 4px;
|
|
580
|
+
padding: 0;
|
|
581
|
+
border: none;
|
|
582
|
+
background: none;
|
|
583
|
+
color: var(--accent);
|
|
584
|
+
font: 500 11.5px var(--font-ui);
|
|
585
|
+
white-space: nowrap;
|
|
586
|
+
cursor: pointer;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
:where(.listing-root) .pane-strip-link:hover:enabled {
|
|
590
|
+
text-decoration: underline;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
:where(.listing-root) .pane-strip-link.danger {
|
|
594
|
+
color: var(--danger);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/* A line that says something about a listing, or stands in for its rows:
|
|
598
|
+
a quiet "Nothing here yet", a hint, a refusal (`danger`). */
|
|
599
|
+
:where(.listing-root) .pane-message {
|
|
600
|
+
display: flex;
|
|
601
|
+
flex-wrap: wrap;
|
|
602
|
+
align-items: center;
|
|
603
|
+
gap: 0 8px;
|
|
604
|
+
min-height: 24px;
|
|
605
|
+
margin: 0;
|
|
606
|
+
padding: 3px var(--pane-row-inset) 3px calc(var(--pane-row-inset) + 20px);
|
|
607
|
+
box-sizing: border-box;
|
|
608
|
+
color: var(--row-meta-text);
|
|
609
|
+
font-size: 12px;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
:where(.listing-root) .pane-message.danger {
|
|
613
|
+
color: var(--danger);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
:where(.listing-root) .pane-message code {
|
|
617
|
+
font-family: var(--font-mono);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/* A pane with nothing in it yet: one quiet block centred in it, its glyph,
|
|
621
|
+
its title, a sentence on what the pane is for, and its ways on, a lone
|
|
622
|
+
button or a row of them (.pane-empty-actions). */
|
|
623
|
+
:where(.listing-root) .pane-empty {
|
|
624
|
+
display: flex;
|
|
625
|
+
flex: 1;
|
|
626
|
+
flex-direction: column;
|
|
627
|
+
align-items: center;
|
|
628
|
+
justify-content: center;
|
|
629
|
+
gap: 4px;
|
|
630
|
+
padding: 32px;
|
|
631
|
+
color: var(--text-dim);
|
|
632
|
+
font-family: var(--font-ui);
|
|
633
|
+
text-align: center;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
:where(.listing-root) .pane-empty > svg {
|
|
637
|
+
margin-bottom: 8px;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
:where(.listing-root) .pane-empty :is(strong, h2) {
|
|
641
|
+
margin: 0;
|
|
642
|
+
color: var(--text);
|
|
643
|
+
font-size: 14px;
|
|
644
|
+
font-weight: 600;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
:where(.listing-root) .pane-empty p {
|
|
648
|
+
max-width: 420px;
|
|
649
|
+
margin: 0;
|
|
650
|
+
font-size: 12.5px;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
:where(.listing-root) .pane-empty > .button,
|
|
654
|
+
:where(.listing-root) .pane-empty-actions {
|
|
655
|
+
margin-top: 14px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
:where(.listing-root) .pane-empty-actions {
|
|
659
|
+
display: flex;
|
|
660
|
+
flex-wrap: wrap;
|
|
661
|
+
justify-content: center;
|
|
662
|
+
gap: 8px;
|
|
663
|
+
max-width: 620px;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
:where(.listing-root) .pane-empty-actions .button {
|
|
667
|
+
gap: 8px;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/* A state (StateMark): its dot, or its spinner for a transition, and its
|
|
671
|
+
word, in the state's tone. The dot takes the tone everywhere; the word
|
|
672
|
+
inside a row only. A warning's words read in --warning-text where an app
|
|
673
|
+
sets a more legible warning tone for text, --warning otherwise. */
|
|
674
|
+
:where(.listing-root) .pane-state {
|
|
675
|
+
display: inline-flex;
|
|
676
|
+
align-items: center;
|
|
677
|
+
gap: 6px;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
:where(.listing-root) .pane-state-dot {
|
|
681
|
+
flex: none;
|
|
682
|
+
width: 7px;
|
|
683
|
+
height: 7px;
|
|
684
|
+
border-radius: 50%;
|
|
685
|
+
background: var(--border-strong);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
:where(.listing-root) .pane-tone-ready > .pane-state-dot {
|
|
689
|
+
background: var(--success);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
:where(.listing-root) .pane-tone-warning > .pane-state-dot {
|
|
693
|
+
background: var(--warning);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
:where(.listing-root) .pane-tone-danger > .pane-state-dot {
|
|
697
|
+
background: var(--danger);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
:where(.listing-root) .pane-tone-busy > .pane-state-dot {
|
|
701
|
+
background: var(--accent);
|
|
702
|
+
animation: pane-state-pulse 1s ease-in-out infinite;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
@keyframes pane-state-pulse {
|
|
706
|
+
50% {
|
|
707
|
+
opacity: 0.35;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
:where(.listing-root) .pane-state-busy {
|
|
712
|
+
flex: none;
|
|
713
|
+
color: var(--accent);
|
|
714
|
+
animation: pane-state-spin 1s linear infinite;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
@keyframes pane-state-spin {
|
|
718
|
+
to {
|
|
719
|
+
transform: rotate(360deg);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/* Reduced motion: a busy mark stands still, and its accent and word still say
|
|
724
|
+
the work is running. */
|
|
725
|
+
@media (prefers-reduced-motion: reduce) {
|
|
726
|
+
:where(.listing-root) .pane-tone-busy > .pane-state-dot,
|
|
727
|
+
:where(.listing-root) .pane-state-busy {
|
|
728
|
+
animation: none;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
:where(.listing-root) .row .pane-state.pane-tone-ready {
|
|
733
|
+
color: var(--success);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
:where(.listing-root) .row .pane-state.pane-tone-danger {
|
|
737
|
+
color: var(--danger);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
:where(.listing-root) .row .pane-state.pane-tone-warning {
|
|
741
|
+
color: var(--warning-text, var(--warning));
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
:where(.listing-root) .row .pane-state:is(.pane-tone-muted, .pane-tone-busy) {
|
|
745
|
+
color: var(--row-meta-text);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/* A row's name that is the keyboard's way to its page: a button that reads
|
|
749
|
+
as the name. */
|
|
750
|
+
:where(.listing-root) .pane-row-open {
|
|
751
|
+
max-width: 100%;
|
|
752
|
+
overflow: hidden;
|
|
753
|
+
padding: 0;
|
|
754
|
+
border: none;
|
|
755
|
+
background: transparent;
|
|
756
|
+
color: inherit;
|
|
757
|
+
font: inherit;
|
|
758
|
+
text-align: left;
|
|
759
|
+
text-overflow: ellipsis;
|
|
760
|
+
white-space: nowrap;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
:where(.listing-root) .pane-row-open:focus-visible {
|
|
764
|
+
outline: 2px solid var(--accent);
|
|
765
|
+
outline-offset: -2px;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/* The action column and the hover icons before it hold controls, which
|
|
769
|
+
reach past the cell's edge rather than clip. */
|
|
770
|
+
:where(.listing-root) .row .row-meta:is(.pane-action-cell, .pane-hover-cell) {
|
|
771
|
+
display: flex;
|
|
772
|
+
align-items: center;
|
|
773
|
+
justify-content: flex-end;
|
|
774
|
+
overflow: visible;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/* A row's secondary controls show on its hover, its keyboard focus, and the
|
|
778
|
+
cursor, whose keys run them. They fade rather than hide, so a pointer
|
|
779
|
+
finds them where they stand. */
|
|
780
|
+
:where(.listing-root) .row:not(:hover, :focus-within, .cursor) .pane-hover-cell .pane-icon-act {
|
|
781
|
+
opacity: 0;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/* A path (PathCell): its folders in the row-meta tone, giving way in order:
|
|
785
|
+
the head first, down to its ellipsis, so the last folder and the name
|
|
786
|
+
stay whole; then the last folder, down to its own ellipsis and then
|
|
787
|
+
nothing (in the last character's width of that, a sliver of its first
|
|
788
|
+
letter may show), so the name follows the head's ellipsis; and only then
|
|
789
|
+
the name, which ends in its own. The shrink factors are a million apart,
|
|
790
|
+
so each part gives all it can before the next gives any: a part handed
|
|
791
|
+
even a fraction of a pixel would show its ellipsis. The cell's tooltip
|
|
792
|
+
holds the whole path. */
|
|
793
|
+
:where(.listing-root) .row .row-meta.pane-path {
|
|
794
|
+
display: flex;
|
|
795
|
+
min-width: 0;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
:where(.listing-root) .pane-path-head {
|
|
799
|
+
flex: 0 1000000000000 auto;
|
|
800
|
+
/* Room for the ellipsis, whichever face draws it, and no more than the
|
|
801
|
+
head's own width: a head of "/" or none keeps its width, so a path that
|
|
802
|
+
fits reads as it is written. */
|
|
803
|
+
min-width: calc-size(max-content, min(size, 2ch));
|
|
804
|
+
overflow: hidden;
|
|
805
|
+
text-overflow: ellipsis;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
:where(.listing-root) .pane-path-tail {
|
|
809
|
+
flex: 0 1000000 auto;
|
|
810
|
+
min-width: 0;
|
|
811
|
+
overflow: hidden;
|
|
812
|
+
text-overflow: ellipsis;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/* The name in the text tone unless its own class (`nameClassName`) gives
|
|
816
|
+
it a colour from a rule that weighs more than this one. */
|
|
817
|
+
:where(.listing-root) .pane-path :where(.pane-path-name) {
|
|
818
|
+
flex: 0 1 auto;
|
|
819
|
+
min-width: 0;
|
|
820
|
+
overflow: hidden;
|
|
821
|
+
text-overflow: ellipsis;
|
|
822
|
+
color: var(--text);
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/* A terminal well under its strip (WellColumn): the terminal theme's
|
|
826
|
+
colours, filling what the column leaves. Its strip's grid is the
|
|
827
|
+
component's, a column for each of its labels. Plain text sits as the
|
|
828
|
+
terminal's does, 13px on 19px lines, 12px from every edge; a well that
|
|
829
|
+
holds the terminal itself pads 8px, since the terminal adds its own 4px. */
|
|
830
|
+
:where(.listing-root) .pane-well-column {
|
|
831
|
+
display: flex;
|
|
832
|
+
flex-direction: column;
|
|
833
|
+
min-width: 0;
|
|
834
|
+
min-height: 0;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
:where(.listing-root) .pane-well {
|
|
838
|
+
flex: 1;
|
|
839
|
+
min-height: 0;
|
|
840
|
+
margin: 0;
|
|
841
|
+
padding: 12px;
|
|
842
|
+
overflow: auto;
|
|
843
|
+
background: var(--terminal-bg);
|
|
844
|
+
color: var(--terminal-fg);
|
|
845
|
+
font: 13px/19px var(--font-mono);
|
|
846
|
+
white-space: pre-wrap;
|
|
847
|
+
overflow-wrap: anywhere;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/* A well is a Tab stop of its own, where the keys scroll it. */
|
|
851
|
+
:where(.listing-root) .pane-well:focus-visible {
|
|
852
|
+
outline: 2px solid var(--accent);
|
|
853
|
+
outline-offset: -2px;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/* A filter field's far end (`.pane-filter-summary`): the count, or the
|
|
857
|
+
name a jump landed on. */
|
|
858
|
+
.listing-root .pane-filter-summary {
|
|
859
|
+
flex: none;
|
|
860
|
+
margin-left: auto;
|
|
861
|
+
padding-left: 1ch;
|
|
862
|
+
color: var(--text-dim);
|
|
863
|
+
font-family: var(--font-ui);
|
|
864
|
+
font-size: 11px;
|
|
865
|
+
font-variant-numeric: tabular-nums;
|
|
866
|
+
white-space: nowrap;
|
|
867
|
+
}
|