@xoong/ui 0.0.0-stage → 0.0.35
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/LICENSE +21 -0
- package/README.md +30 -2
- package/package.json +51 -4
- package/src/confirm.js +53 -0
- package/src/dialog.js +71 -0
- package/src/form.js +148 -0
- package/src/index.d.ts +33 -0
- package/src/index.js +10 -0
- package/src/mist.css +1774 -0
- package/src/router.js +361 -0
- package/src/table.js +79 -0
- package/src/toast.js +81 -0
- package/src/xoong.css +149 -0
package/src/mist.css
ADDED
|
@@ -0,0 +1,1774 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* xoong Mist: the Rainlet design system as one stylesheet. Generated by tools/build-mist.mjs from design/brand-kit/css (do not edit).
|
|
3
|
+
* Load after xoong.css, controls.css and richtext.css. It sets the tokens (--text, --card, --accent, ..., a dark scheme for
|
|
4
|
+
* prefers-color-scheme or data-theme="dark"), maps the framework's --xo-* tokens from them, and skins the components.
|
|
5
|
+
* The icons are CSS masks made of data: images: a strict CSP needs `img-src 'self' data:`.
|
|
6
|
+
* Everything is in the layer xoong-mist: your own CSS, unlayered or in a later layer, wins.
|
|
7
|
+
*/
|
|
8
|
+
@layer xoong-mist {
|
|
9
|
+
/* ---- tokens ---- */
|
|
10
|
+
:root {
|
|
11
|
+
--text: #1f2a33;
|
|
12
|
+
--text-2: #3f4d5a;
|
|
13
|
+
--text-3: #5a6877;
|
|
14
|
+
--bg: #f5f7f8;
|
|
15
|
+
--card: #fff;
|
|
16
|
+
--sunken: #edf1f3;
|
|
17
|
+
--line: #e2e8ec;
|
|
18
|
+
--line-strong: #7e8c99;
|
|
19
|
+
--scroll-thumb: #b4bfc9;
|
|
20
|
+
--scroll-thumb-hover: #7e8c99;
|
|
21
|
+
--scroll-thumb-active: #5a6877;
|
|
22
|
+
|
|
23
|
+
--accent: #0b63ce;
|
|
24
|
+
--accent-strong: #084c9e;
|
|
25
|
+
--accent-tint: #e8f1fc;
|
|
26
|
+
--accent-tint-2: #d0e3f9;
|
|
27
|
+
|
|
28
|
+
--ok: #1d7648;
|
|
29
|
+
--ok-bg: #e3f4ea;
|
|
30
|
+
--info: var(--accent-strong);
|
|
31
|
+
--info-bg: var(--accent-tint);
|
|
32
|
+
--warn: #8a5a00;
|
|
33
|
+
--warn-bg: #fbf0d5;
|
|
34
|
+
--danger: #b3322b;
|
|
35
|
+
--danger-bg: #fce8e6;
|
|
36
|
+
|
|
37
|
+
--f-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
38
|
+
--f-brand: 'Be Vietnam Pro', var(--f-body);
|
|
39
|
+
--f-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
|
|
40
|
+
|
|
41
|
+
--s1: 4px;
|
|
42
|
+
--s2: 8px;
|
|
43
|
+
--s3: 12px;
|
|
44
|
+
--s4: 16px;
|
|
45
|
+
--s5: 24px;
|
|
46
|
+
--s6: 32px;
|
|
47
|
+
--s7: 48px;
|
|
48
|
+
--r: 8px;
|
|
49
|
+
--r-lg: 12px;
|
|
50
|
+
--h: 40px;
|
|
51
|
+
--shadow-sm: 0 1px 2px rgb(31 42 51 / 6%);
|
|
52
|
+
--shadow-float: 0 12px 32px rgb(31 42 51 / 14%), 0 2px 6px rgb(31 42 51 / 8%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* xoong: Mist dark (docs variant, derived; contrast measured by the Mist owner: text 14.9/12.7, text-2 9.6/8.2, text-3 6.5/5.5, accent 7.0/6.0) */
|
|
56
|
+
@media (prefers-color-scheme: dark) {
|
|
57
|
+
:root:not([data-theme="light"]) {
|
|
58
|
+
color-scheme: dark;
|
|
59
|
+
--text: #e8eef2; --text-2: #b4c2cd; --text-3: #8fa0ad;
|
|
60
|
+
--bg: #121b22; --card: #1b2933; --sunken: #22313c;
|
|
61
|
+
--line: #2a3a46; --line-strong: #6b7d8a;
|
|
62
|
+
--scroll-thumb: #4a5b68; --scroll-thumb-hover: #6b7d8a; --scroll-thumb-active: #8fa0ad;
|
|
63
|
+
--accent: #6aa8f0; --accent-strong: #9cc7f6; --accent-tint: #16293b; --accent-tint-2: #1f3a56;
|
|
64
|
+
--ok: #5fc88f; --ok-bg: #14301f; --warn: #e0b04a; --warn-bg: #3a2f12; --danger: #f08a82; --danger-bg: #3a1c1a;
|
|
65
|
+
--shadow-sm: none; --shadow-float: 0 12px 32px rgb(0 0 0 / 40%), 0 2px 6px rgb(0 0 0 / 30%);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
:root[data-theme="dark"] {
|
|
69
|
+
color-scheme: dark;
|
|
70
|
+
--text: #e8eef2; --text-2: #b4c2cd; --text-3: #8fa0ad;
|
|
71
|
+
--bg: #121b22; --card: #1b2933; --sunken: #22313c;
|
|
72
|
+
--line: #2a3a46; --line-strong: #6b7d8a;
|
|
73
|
+
--accent: #6aa8f0; --accent-strong: #9cc7f6; --accent-tint: #16293b; --accent-tint-2: #1f3a56;
|
|
74
|
+
--ok: #5fc88f; --ok-bg: #14301f; --warn: #e0b04a; --warn-bg: #3a2f12; --danger: #f08a82; --danger-bg: #3a1c1a;
|
|
75
|
+
--shadow-sm: none; --shadow-float: 0 12px 32px rgb(0 0 0 / 40%), 0 2px 6px rgb(0 0 0 / 30%);
|
|
76
|
+
}
|
|
77
|
+
:root { color-scheme: light dark; }
|
|
78
|
+
:root[data-theme="light"] { color-scheme: light; }
|
|
79
|
+
/* xoong: the fill of the primary button stays the Mist blue in dark (white text on it); --accent is the lighter blue for links, focus and text */
|
|
80
|
+
:root { --primary: #0b63ce; --primary-text: #fff; }
|
|
81
|
+
|
|
82
|
+
/* ---- map ---- */
|
|
83
|
+
/* xoong: the framework's --xo-* tokens, mapped straight from the Rainlet tokens above */
|
|
84
|
+
:root {
|
|
85
|
+
--xo-color-bg: var(--bg);
|
|
86
|
+
--xo-color-surface: var(--card);
|
|
87
|
+
--xo-color-text: var(--text);
|
|
88
|
+
--xo-color-text-2: var(--text-2);
|
|
89
|
+
--xo-color-muted: var(--text-3);
|
|
90
|
+
--xo-color-border: var(--line);
|
|
91
|
+
--xo-color-control-border: var(--line-strong);
|
|
92
|
+
--xo-color-accent: var(--accent);
|
|
93
|
+
--xo-color-accent-strong: var(--accent-strong);
|
|
94
|
+
--xo-color-accent-soft: var(--accent-tint);
|
|
95
|
+
--xo-color-accent-text: var(--primary-text);
|
|
96
|
+
--xo-color-primary: var(--primary);
|
|
97
|
+
--xo-color-primary-text: var(--primary-text);
|
|
98
|
+
--xo-color-subtle: var(--sunken);
|
|
99
|
+
--xo-color-success: var(--ok);
|
|
100
|
+
--xo-color-warning: var(--warn);
|
|
101
|
+
--xo-color-danger: var(--danger);
|
|
102
|
+
--xo-color-inverse: light-dark(#1f2a33, #2f4252); /* tooltip and toast: ink in light, a lighter slate than the page in dark */
|
|
103
|
+
--xo-color-inverse-text: #fff;
|
|
104
|
+
--xo-font: var(--f-body);
|
|
105
|
+
--xo-font-mono: var(--f-mono);
|
|
106
|
+
--xo-radius: var(--r);
|
|
107
|
+
/* names the kit's rules use */
|
|
108
|
+
--font: var(--f-body);
|
|
109
|
+
--mono: var(--f-mono);
|
|
110
|
+
--radius: var(--r-lg);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* ---- standard ---- */
|
|
114
|
+
:root {
|
|
115
|
+
--xo-control-height: 2.5rem; /* 40px: the default height of every control */
|
|
116
|
+
--xo-control-height-sm: 2rem; /* 32px: dense toolbars and table rows */
|
|
117
|
+
--xo-control-height-lg: 3rem; /* 48px: touch layouts, primary calls to action */
|
|
118
|
+
--xo-control-padding: 0.9rem; /* horizontal padding */
|
|
119
|
+
--xo-control-gap: 0.5rem; /* between an icon and a label, and between controls in a toolbar */
|
|
120
|
+
/* --xo-color-control-border: 3:1 against the page and surfaces (the palette maps it) */
|
|
121
|
+
--xo-border-width: 1px; /* control borders; themes may use 2px */
|
|
122
|
+
--xo-icon: 1.25rem;
|
|
123
|
+
--xo-field-gap: 0.4rem; /* label, control, hint */
|
|
124
|
+
--xo-focus: 3px solid var(--xo-color-accent); /* proposal: 3px (was 2px); the accent must be >= 3:1 on the page */
|
|
125
|
+
--xo-touch: 2.75rem; /* 44px minimum target: add class="touch" or set --xo-control-height: var(--xo-touch) */
|
|
126
|
+
--xo-shadow-raised: none; /* tables, cards, notices at rest; themes may raise them */
|
|
127
|
+
--xo-shadow-pop: 0 14px 34px -14px color-mix(in srgb, var(--xo-color-text) 55%, transparent), 0 2px 6px color-mix(in srgb, var(--xo-color-text) 10%, transparent);
|
|
128
|
+
}
|
|
129
|
+
.icon { width: var(--xo-icon); height: var(--xo-icon); flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
|
|
130
|
+
.icon .f { fill: currentColor; stroke: none; }
|
|
131
|
+
.icon.sm { --xo-icon: 1rem; }
|
|
132
|
+
.icon.lg { --xo-icon: 1.5rem; }
|
|
133
|
+
button, .button {
|
|
134
|
+
display: inline-flex; align-items: center; justify-content: center; gap: var(--xo-control-gap);
|
|
135
|
+
min-height: var(--xo-control-height); padding: 0 var(--xo-control-padding); box-sizing: border-box;
|
|
136
|
+
font: 600 0.95rem/1 var(--xo-font); color: var(--xo-color-text); text-decoration: none; white-space: nowrap; cursor: pointer;
|
|
137
|
+
background: var(--xo-color-surface); border: var(--xo-border-width, 1px) solid var(--xo-color-control-border); border-radius: var(--xo-radius);
|
|
138
|
+
transition: background .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
|
|
139
|
+
}
|
|
140
|
+
button:hover, button.is-hover, .button:hover { border-color: var(--xo-color-accent); background: color-mix(in srgb, var(--xo-color-accent) 7%, var(--xo-color-surface)); }
|
|
141
|
+
button:active, button.is-active { transform: translateY(1px); background: color-mix(in srgb, var(--xo-color-accent) 14%, var(--xo-color-surface)); }
|
|
142
|
+
button:focus-visible, button.is-focus { outline: var(--xo-focus); outline-offset: 2px; }
|
|
143
|
+
button:disabled, button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; background: var(--xo-color-surface); border-color: var(--xo-color-border); }
|
|
144
|
+
button[aria-busy="true"], button.primary[aria-busy="true"], button.danger[aria-busy="true"] { cursor: progress; position: relative; color: transparent; }
|
|
145
|
+
button[aria-busy="true"]::after { content: ""; position: absolute; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--xo-color-text); border-right-color: transparent; animation: spin .7s linear infinite; }
|
|
146
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
147
|
+
button.primary { color: var(--xo-color-accent-text); background: var(--xo-color-accent); border-color: transparent; }
|
|
148
|
+
button.primary:hover, button.primary.is-hover { background: color-mix(in srgb, var(--xo-color-accent) 88%, var(--xo-color-text)); }
|
|
149
|
+
button.primary:disabled { background: var(--xo-color-accent); border-color: transparent; }
|
|
150
|
+
button.primary[aria-busy="true"]::after { border-color: var(--xo-color-accent-text); border-right-color: transparent; }
|
|
151
|
+
button.danger { color: var(--xo-color-danger); border-color: var(--xo-color-danger); }
|
|
152
|
+
button.danger:hover { background: color-mix(in srgb, var(--xo-color-danger) 10%, var(--xo-color-surface)); border-color: var(--xo-color-danger); }
|
|
153
|
+
button.ghost { background: transparent; border-color: transparent; }
|
|
154
|
+
button.ghost:hover { background: color-mix(in srgb, var(--xo-color-text) 8%, transparent); border-color: transparent; }
|
|
155
|
+
.touch, .touch :is(button, input:not([type="checkbox"], [type="radio"]), select) { --xo-control-height: var(--xo-touch); }
|
|
156
|
+
button.sm { min-height: var(--xo-control-height-sm); padding: 0 .65rem; font-size: .875rem; }
|
|
157
|
+
button.lg { min-height: var(--xo-control-height-lg); padding: 0 1.2rem; font-size: 1rem; }
|
|
158
|
+
button.icon-only { width: var(--xo-control-height); padding: 0; }
|
|
159
|
+
button.icon-only.sm { width: var(--xo-control-height-sm); }
|
|
160
|
+
button.icon-only.lg { width: var(--xo-control-height-lg); }
|
|
161
|
+
.button-group { display: inline-flex; }
|
|
162
|
+
.button-group > button { border-radius: 0; margin-left: -1px; }
|
|
163
|
+
.button-group > button:first-child { border-radius: var(--xo-radius) 0 0 var(--xo-radius); margin: 0; }
|
|
164
|
+
.button-group > button:last-child { border-radius: 0 var(--xo-radius) var(--xo-radius) 0; }
|
|
165
|
+
.button-group > button:hover, .button-group > button:focus-visible { position: relative; z-index: 1; }
|
|
166
|
+
input:not([type="checkbox"], [type="radio"], [type="color"], [type="range"], [type="file"]), select, textarea {
|
|
167
|
+
box-sizing: border-box; width: 100%; min-height: var(--xo-control-height); padding: 0 .75rem; font: 400 1rem/1.4 var(--xo-font); color: var(--xo-color-text);
|
|
168
|
+
background: var(--xo-color-surface); border: var(--xo-border-width, 1px) solid var(--xo-color-control-border); border-radius: var(--xo-radius); transition: border-color .15s ease, box-shadow .15s ease;
|
|
169
|
+
}
|
|
170
|
+
textarea { padding: .6rem .75rem; min-height: 6rem; resize: vertical; }
|
|
171
|
+
input::placeholder, textarea::placeholder { color: var(--xo-color-muted); opacity: 1; }
|
|
172
|
+
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: var(--xo-color-text); }
|
|
173
|
+
input:focus-visible, select:focus-visible, textarea:focus-visible, .is-focus.field-control { outline: none; border-color: var(--xo-color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--xo-color-accent) 30%, transparent); }
|
|
174
|
+
[aria-invalid="true"] { border-color: var(--xo-color-danger) !important; }
|
|
175
|
+
[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--xo-color-danger) 30%, transparent) !important; }
|
|
176
|
+
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; background: var(--xo-color-subtle); }
|
|
177
|
+
input.sm, select.sm { min-height: var(--xo-control-height-sm); font-size: .9rem; }
|
|
178
|
+
input.lg, select.lg { min-height: var(--xo-control-height-lg); }
|
|
179
|
+
select { appearance: none; padding-right: 2.25rem; cursor: pointer;
|
|
180
|
+
background-image: linear-gradient(45deg, transparent 50%, var(--xo-color-muted) 50%), linear-gradient(135deg, var(--xo-color-muted) 50%, transparent 50%);
|
|
181
|
+
background-position: calc(100% - 1.15rem) 50%, calc(100% - .8rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; }
|
|
182
|
+
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--xo-color-accent); cursor: pointer; flex: none; }
|
|
183
|
+
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: var(--xo-focus); outline-offset: 2px; }
|
|
184
|
+
.check { display: inline-flex; align-items: center; gap: .6rem; min-height: var(--xo-control-height-sm); cursor: pointer; }
|
|
185
|
+
.field { display: grid; gap: var(--xo-field-gap); margin: 0 0 1rem; align-content: start; }
|
|
186
|
+
.field > label, .field > .label { font-weight: 600; font-size: .9rem; }
|
|
187
|
+
.field > label .req { color: var(--xo-color-danger); margin-left: .15em; }
|
|
188
|
+
.field .hint { color: var(--xo-color-muted); font-size: .85rem; }
|
|
189
|
+
.field .error { display: flex; align-items: center; gap: .35rem; color: var(--xo-color-danger); font-size: .85rem; font-weight: 600; }
|
|
190
|
+
.field .error .icon { --xo-icon: 1rem; }
|
|
191
|
+
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1.25rem; }
|
|
192
|
+
.form-actions { display: flex; gap: var(--xo-control-gap); align-items: center; margin-top: .5rem; }
|
|
193
|
+
fieldset { margin: 0 0 1rem; padding: 1rem 1.1rem .4rem; border: 1px solid var(--xo-color-border); border-radius: var(--xo-radius); }
|
|
194
|
+
legend { padding: 0 .4rem; font-weight: 600; font-size: .9rem; }
|
|
195
|
+
.row-edit { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
|
|
196
|
+
.row-edit input { flex: 1; min-width: 0; }
|
|
197
|
+
.grip { display: grid; place-items: center; width: 1.5rem; color: var(--xo-color-muted); cursor: grab; touch-action: none; }
|
|
198
|
+
.grip:active { cursor: grabbing; }
|
|
199
|
+
.badge { display: inline-flex; align-items: center; gap: .3rem; min-height: 1.4rem; padding: 0 .6rem; border-radius: 99px; font: 700 .75rem/1 var(--xo-font); letter-spacing: .01em; color: var(--xo-color-accent); background: var(--xo-color-accent-soft); }
|
|
200
|
+
.badge.ok { color: color-mix(in srgb, var(--xo-color-success) 55%, var(--xo-color-text)); background: color-mix(in srgb, var(--xo-color-success) 16%, var(--xo-color-surface)); }
|
|
201
|
+
.badge.warn { color: color-mix(in srgb, var(--xo-color-warning) 35%, var(--xo-color-text)); background: color-mix(in srgb, var(--xo-color-warning) 22%, var(--xo-color-surface)); }
|
|
202
|
+
.badge.danger { color: var(--xo-color-danger); background: color-mix(in srgb, var(--xo-color-danger) 12%, var(--xo-color-surface)); }
|
|
203
|
+
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
|
|
204
|
+
.chip { display: inline-flex; align-items: center; min-height: var(--xo-control-height-sm); padding: 0 .85rem; border-radius: 99px; font: 600 .875rem/1 var(--xo-font); background: var(--xo-color-surface); border: var(--xo-border-width, 1px) solid var(--xo-color-control-border); color: var(--xo-color-text); cursor: pointer; }
|
|
205
|
+
.chip:hover { border-color: var(--xo-color-accent); }
|
|
206
|
+
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--xo-color-accent); border-color: var(--xo-color-accent); color: var(--xo-color-accent-text); }
|
|
207
|
+
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--xo-control-gap); }
|
|
208
|
+
.toolbar .sep { width: 1px; align-self: stretch; margin: .25rem .25rem; background: var(--xo-color-border); }
|
|
209
|
+
.toolbar .grow { flex: 1; min-width: 12rem; }
|
|
210
|
+
.search { position: relative; display: block; }
|
|
211
|
+
.search input { padding-left: 2.2rem; }
|
|
212
|
+
.search .icon { position: absolute; left: .7rem; top: 50%; translate: 0 -50%; color: var(--xo-color-muted); pointer-events: none; }
|
|
213
|
+
[role="tablist"] { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--xo-color-border); scrollbar-width: none; }
|
|
214
|
+
[role="tab"] { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 1rem; font: 600 .92rem/1 var(--xo-font); color: var(--xo-color-muted); background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
|
|
215
|
+
[role="tab"]:hover { color: var(--xo-color-text); background: color-mix(in srgb, var(--xo-color-text) 6%, transparent); }
|
|
216
|
+
[role="tab"][aria-selected="true"] { color: var(--xo-color-text); border-bottom-color: var(--xo-color-accent); }
|
|
217
|
+
[role="tab"]:focus-visible { outline: var(--xo-focus); outline-offset: -3px; }
|
|
218
|
+
[role="tablist"].tabs-pills { gap: .35rem; border: 0; padding: .25rem; width: fit-content; background: var(--xo-color-subtle); border-radius: 99px; }
|
|
219
|
+
.tabs-pills [role="tab"] { min-height: 2rem; padding: 0 .9rem; border: 0; border-radius: 99px; margin: 0; }
|
|
220
|
+
.tabs-pills [role="tab"][aria-selected="true"] { background: var(--xo-color-surface); box-shadow: 0 1px 3px color-mix(in srgb, var(--xo-color-text) 20%, transparent); }
|
|
221
|
+
.menu-panel { min-width: 12rem; padding: .35rem; background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); box-shadow: var(--xo-shadow-pop); }
|
|
222
|
+
.menu-panel [role="menuitem"] { display: flex; align-items: center; justify-content: flex-start; gap: .6rem; width: 100%; min-height: 2.25rem; padding: 0 .65rem; font: 500 .95rem/1 var(--xo-font); color: var(--xo-color-text); background: none; border: 0; border-radius: 8px; text-align: left; text-decoration: none; cursor: pointer; }
|
|
223
|
+
.menu-panel [role="menuitem"]:hover, .menu-panel [role="menuitem"]:focus-visible { background: var(--xo-color-accent-soft); outline: none; }
|
|
224
|
+
.menu-panel [role="menuitem"][aria-current="true"] { font-weight: 700; }
|
|
225
|
+
.menu-panel [role="menuitem"][aria-current="true"]::after { content: ""; margin-left: auto; width: .55rem; height: .3rem; border-left: 2px solid var(--xo-color-accent); border-bottom: 2px solid var(--xo-color-accent); rotate: -45deg; translate: 0 -2px; }
|
|
226
|
+
.menu-panel hr { margin: .3rem .4rem; border: 0; border-top: 1px solid var(--xo-color-border); }
|
|
227
|
+
.menu-panel .danger { color: var(--xo-color-danger); }
|
|
228
|
+
.tooltip { display: inline-block; padding: .35rem .6rem; font: 600 .8rem/1.2 var(--xo-font); color: var(--xo-color-inverse-text); background: var(--xo-color-inverse); border-radius: 8px; box-shadow: var(--xo-shadow-pop); }
|
|
229
|
+
.table-frame { overflow-x: auto; border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); background: var(--xo-color-surface); }
|
|
230
|
+
table.std { width: 100%; border-collapse: collapse; font-size: .95rem; }
|
|
231
|
+
table.std thead th { padding: .7rem 1rem; text-align: left; font: 700 .72rem/1 var(--xo-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--xo-color-muted); background: var(--xo-color-subtle); white-space: nowrap; border-bottom: 1px solid var(--xo-color-border); }
|
|
232
|
+
table.std th button { all: unset; display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
|
|
233
|
+
table.std th button:focus-visible { outline: var(--xo-focus); outline-offset: 3px; }
|
|
234
|
+
table.std th[aria-sort] { color: var(--xo-color-text); }
|
|
235
|
+
table.std td { padding: .65rem 1rem; border-bottom: 1px solid var(--xo-color-border); vertical-align: middle; }
|
|
236
|
+
table.std tbody tr:last-child td { border-bottom: 0; }
|
|
237
|
+
table.std tbody tr:hover { background: color-mix(in srgb, var(--xo-color-accent) 5%, transparent); }
|
|
238
|
+
table.std tbody tr[aria-selected="true"] { background: var(--xo-color-accent-soft); }
|
|
239
|
+
table.std .select { width: 3rem; padding-right: 0; }
|
|
240
|
+
table.std .cell-actions { width: 1%; text-align: right; white-space: nowrap; }
|
|
241
|
+
table.std .primary-cell { font-weight: 600; }
|
|
242
|
+
table.std .muted { color: var(--xo-color-muted); }
|
|
243
|
+
.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; border-top: 1px solid var(--xo-color-border); color: var(--xo-color-muted); font-size: .875rem; flex-wrap: wrap; }
|
|
244
|
+
.table-bulk { display: flex; align-items: center; gap: .75rem; padding: .55rem 1rem; background: var(--xo-color-accent-soft); border-bottom: 1px solid var(--xo-color-border); font-weight: 600; font-size: .9rem; }
|
|
245
|
+
.notice { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--xo-color-border); border-left-width: 4px; border-radius: var(--xo-radius); background: var(--xo-color-surface); }
|
|
246
|
+
.notice .icon { margin-top: .1rem; }
|
|
247
|
+
.notice p { margin: 0; }
|
|
248
|
+
.notice.info { border-left-color: var(--xo-color-accent); }
|
|
249
|
+
.notice.info .icon { color: var(--xo-color-accent); }
|
|
250
|
+
.notice.ok { border-left-color: var(--xo-color-success); }
|
|
251
|
+
.notice.ok .icon { color: var(--xo-color-success); }
|
|
252
|
+
.notice.warn { border-left-color: var(--xo-color-warning); }
|
|
253
|
+
.notice.warn .icon { color: color-mix(in srgb, var(--xo-color-warning) 35%, var(--xo-color-text)); }
|
|
254
|
+
.notice.error { border-left-color: var(--xo-color-danger); }
|
|
255
|
+
.notice.error .icon { color: var(--xo-color-danger); }
|
|
256
|
+
.toast { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: var(--xo-color-inverse); color: var(--xo-color-inverse-text); border-radius: var(--xo-radius); box-shadow: var(--xo-shadow-pop); font-weight: 600; }
|
|
257
|
+
@media (prefers-reduced-motion: reduce) {
|
|
258
|
+
button[aria-busy="true"]::after { animation: none; }
|
|
259
|
+
}
|
|
260
|
+
.xo-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
261
|
+
.table-frame, .xo-table { position: relative; }
|
|
262
|
+
input[type="range"] { width: 100%; min-height: var(--xo-control-height); margin: 0; accent-color: var(--xo-color-accent); cursor: pointer; background: transparent; }
|
|
263
|
+
input[type="range"]:focus-visible { outline: var(--xo-focus); outline-offset: 2px; border-radius: var(--xo-radius); }
|
|
264
|
+
input[type="color"] { width: 3.25rem; height: var(--xo-control-height); padding: 3px; background: var(--xo-color-surface); border: var(--xo-border-width, 1px) solid var(--xo-color-control-border); border-radius: var(--xo-radius); cursor: pointer; }
|
|
265
|
+
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
|
|
266
|
+
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: calc(var(--xo-radius) - 3px); }
|
|
267
|
+
input[type="color"]::-moz-color-swatch { border: 0; border-radius: calc(var(--xo-radius) - 3px); }
|
|
268
|
+
input[type="color"]:hover { border-color: var(--xo-color-text); }
|
|
269
|
+
input[type="color"]:focus-visible { outline: var(--xo-focus); outline-offset: 2px; }
|
|
270
|
+
.setting { display: inline-flex; align-items: center; gap: .6rem; }
|
|
271
|
+
.setting output { min-width: 3ch; font: 600 .85rem var(--xo-font-mono); color: var(--xo-color-muted); }
|
|
272
|
+
button.ghost.is-hover { background: color-mix(in srgb, var(--xo-color-text) 8%, transparent); border-color: transparent; }
|
|
273
|
+
:root { --xo-focus-inverse: 3px solid var(--xo-color-inverse-text); --xo-focus-thin: 2px solid var(--xo-color-accent); }
|
|
274
|
+
.table-frame, .xo-table, .notice, .state, .skeleton, .panel { box-shadow: var(--xo-shadow-raised); }
|
|
275
|
+
|
|
276
|
+
/* ---- icons ---- */
|
|
277
|
+
:root {
|
|
278
|
+
--ic-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
|
|
279
|
+
--ic-chevron-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
|
|
280
|
+
--ic-chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E");
|
|
281
|
+
--ic-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
|
|
282
|
+
--ic-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5m-6 6 6-6 6 6'/%3E%3C/svg%3E");
|
|
283
|
+
--ic-arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14m-6-6 6 6 6-6'/%3E%3C/svg%3E");
|
|
284
|
+
--ic-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%3E%3C/svg%3E");
|
|
285
|
+
--ic-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
|
|
286
|
+
--ic-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='5' width='4' height='14' rx='1'/%3E%3Crect x='14' y='5' width='4' height='14' rx='1'/%3E%3C/svg%3E");
|
|
287
|
+
--ic-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5.5v13L19 12z'/%3E%3C/svg%3E");
|
|
288
|
+
--ic-heading: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5v14M18 5v14M6 12h12'/%3E%3C/svg%3E");
|
|
289
|
+
--ic-paragraph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 4v16M9 4v16M16 4H9a4 4 0 0 0 0 8h4'/%3E%3C/svg%3E");
|
|
290
|
+
--ic-sort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 9 4-4 4 4M8 15l4 4 4-4'/%3E%3C/svg%3E");
|
|
291
|
+
--ic-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
|
|
292
|
+
--ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
|
|
293
|
+
--ic-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
|
|
294
|
+
--ic-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
|
|
295
|
+
--ic-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
|
|
296
|
+
--ic-filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16l-6 7v5l-4 2v-7z'/%3E%3C/svg%3E");
|
|
297
|
+
--ic-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
|
|
298
|
+
--ic-more: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='.8'/%3E%3Ccircle cx='12' cy='12' r='.8'/%3E%3Ccircle cx='19' cy='12' r='.8'/%3E%3C/svg%3E");
|
|
299
|
+
--ic-grip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='6' r='.8'/%3E%3Ccircle cx='15' cy='6' r='.8'/%3E%3Ccircle cx='9' cy='12' r='.8'/%3E%3Ccircle cx='15' cy='12' r='.8'/%3E%3Ccircle cx='9' cy='18' r='.8'/%3E%3Ccircle cx='15' cy='18' r='.8'/%3E%3C/svg%3E");
|
|
300
|
+
--ic-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4.5h6V7M6.5 7l1 12.5h9l1-12.5M10 11v5m4-5v5'/%3E%3C/svg%3E");
|
|
301
|
+
--ic-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19l1-4 10.5-10.5a2 2 0 0 1 2.8 2.8L8.8 17.8 5 19Z'/%3E%3Cpath d='m14.5 6.5 3 3'/%3E%3C/svg%3E");
|
|
302
|
+
--ic-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M15 5H6a1 1 0 0 0-1 1v9'/%3E%3C/svg%3E");
|
|
303
|
+
--ic-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-5-5 5 5 5-5M5 20h14'/%3E%3C/svg%3E");
|
|
304
|
+
--ic-external-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6m0-6-9 9m7 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
|
|
305
|
+
--ic-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3A4 4 0 0 0 13 5.3l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3A4 4 0 0 0 11 18.7l1-1'/%3E%3C/svg%3E");
|
|
306
|
+
--ic-expand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6m16-10-7 7M4 20l7-7'/%3E%3C/svg%3E");
|
|
307
|
+
--ic-undo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7 4 12l5 5M4 12h10a4.5 4.5 0 0 1 0 9h-3'/%3E%3C/svg%3E");
|
|
308
|
+
--ic-redo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 7 5 5-5 5m5-5H10a4.5 4.5 0 0 0 0 9h3'/%3E%3C/svg%3E");
|
|
309
|
+
--ic-bold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 5h6a3.5 3.5 0 0 1 0 7H7zm0 7h7a3.5 3.5 0 0 1 0 7H7z'/%3E%3C/svg%3E");
|
|
310
|
+
--ic-italic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 5h8M6 19h8m1-14L9 19'/%3E%3C/svg%3E");
|
|
311
|
+
--ic-underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v7a5 5 0 0 0 10 0V4M5 20h14'/%3E%3C/svg%3E");
|
|
312
|
+
--ic-list-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7h11M9 12h11M9 17h11'/%3E%3Ccircle cx='4.6' cy='7' r='.8'/%3E%3Ccircle cx='4.6' cy='12' r='.8'/%3E%3Ccircle cx='4.6' cy='17' r='.8'/%3E%3C/svg%3E");
|
|
313
|
+
--ic-list-number: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7h10M10 12h10M10 17h10M4 6l1.6-1v5M3.8 14.8c.6-1 2.6-1 2.6.4 0 1.4-2.6 1.8-2.7 3.3h2.9'/%3E%3C/svg%3E");
|
|
314
|
+
--ic-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8C6 8.5 4.5 11 4.5 14v2h4.5v-4.5H6.5M19 8c-3 .5-4.5 3-4.5 6v2H19v-4.5h-2.5'/%3E%3C/svg%3E");
|
|
315
|
+
--ic-code: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4m8-8 4 4-4 4m-2.5-10.5-3 13'/%3E%3C/svg%3E");
|
|
316
|
+
--ic-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='m4 17 5-5 4 4 3-3 4 4'/%3E%3C/svg%3E");
|
|
317
|
+
--ic-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M8 3v4m8-4v4'/%3E%3C/svg%3E");
|
|
318
|
+
--ic-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c0-3.9 3.1-6 7-6s7 2.1 7 6'/%3E%3C/svg%3E");
|
|
319
|
+
--ic-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 6.1A10 10 0 0 1 12 6c6 0 10 6 10 6a17 17 0 0 1-3.2 3.9M6.6 6.6A17 17 0 0 0 2 12s4 6 10 6a9.7 9.7 0 0 0 4-.9M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
|
|
320
|
+
--ic-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-6 10-6 10 6 10 6-3.6 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E");
|
|
321
|
+
--ic-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E");
|
|
322
|
+
--ic-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 21 20H3z'/%3E%3Cpath d='M12 10v4m0 3h.01'/%3E%3C/svg%3E");
|
|
323
|
+
--ic-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E");
|
|
324
|
+
--ic-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 3 3 5-6'/%3E%3C/svg%3E");
|
|
325
|
+
--ic-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.2 0 2-.8 2-1.8 0-.5-.2-.9-.5-1.2-.3-.3-.5-.7-.5-1.2 0-1 .8-1.8 1.8-1.8H17a4 4 0 0 0 4-4C21 6.5 17 3 12 3Z'/%3E%3Ccircle cx='7.5' cy='11' r='1.1'/%3E%3Ccircle cx='10.5' cy='7.5' r='1.1'/%3E%3Ccircle cx='15' cy='8' r='1.1'/%3E%3C/svg%3E");
|
|
326
|
+
--ic-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v2m0 14v2M3 12h2m14 0h2M5.6 5.6 7 7m10 10 1.4 1.4m0-12.8L17 7M7 17l-1.4 1.4'/%3E%3C/svg%3E");
|
|
327
|
+
--ic-moon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5Z'/%3E%3C/svg%3E");
|
|
328
|
+
}
|
|
329
|
+
.ic { display: inline-block; flex: none; width: var(--xo-icon, 1.25rem); height: var(--xo-icon, 1.25rem); vertical-align: -0.2em; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
|
|
330
|
+
.ic[data-ic="chevron-down"] { --ic: var(--ic-chevron-down); }
|
|
331
|
+
.ic[data-ic="chevron-up"] { --ic: var(--ic-chevron-up); }
|
|
332
|
+
.ic[data-ic="chevron-left"] { --ic: var(--ic-chevron-left); }
|
|
333
|
+
.ic[data-ic="chevron-right"] { --ic: var(--ic-chevron-right); }
|
|
334
|
+
.ic[data-ic="arrow-up"] { --ic: var(--ic-arrow-up); }
|
|
335
|
+
.ic[data-ic="arrow-down"] { --ic: var(--ic-arrow-down); }
|
|
336
|
+
.ic[data-ic="arrow-left"] { --ic: var(--ic-arrow-left); }
|
|
337
|
+
.ic[data-ic="arrow-right"] { --ic: var(--ic-arrow-right); }
|
|
338
|
+
.ic[data-ic="pause"] { --ic: var(--ic-pause); }
|
|
339
|
+
.ic[data-ic="play"] { --ic: var(--ic-play); }
|
|
340
|
+
.ic[data-ic="heading"] { --ic: var(--ic-heading); }
|
|
341
|
+
.ic[data-ic="paragraph"] { --ic: var(--ic-paragraph); }
|
|
342
|
+
.ic[data-ic="sort"] { --ic: var(--ic-sort); }
|
|
343
|
+
.ic[data-ic="close"] { --ic: var(--ic-close); }
|
|
344
|
+
.ic[data-ic="check"] { --ic: var(--ic-check); }
|
|
345
|
+
.ic[data-ic="plus"] { --ic: var(--ic-plus); }
|
|
346
|
+
.ic[data-ic="minus"] { --ic: var(--ic-minus); }
|
|
347
|
+
.ic[data-ic="search"] { --ic: var(--ic-search); }
|
|
348
|
+
.ic[data-ic="filter"] { --ic: var(--ic-filter); }
|
|
349
|
+
.ic[data-ic="menu"] { --ic: var(--ic-menu); }
|
|
350
|
+
.ic[data-ic="more"] { --ic: var(--ic-more); }
|
|
351
|
+
.ic[data-ic="grip"] { --ic: var(--ic-grip); }
|
|
352
|
+
.ic[data-ic="trash"] { --ic: var(--ic-trash); }
|
|
353
|
+
.ic[data-ic="edit"] { --ic: var(--ic-edit); }
|
|
354
|
+
.ic[data-ic="copy"] { --ic: var(--ic-copy); }
|
|
355
|
+
.ic[data-ic="download"] { --ic: var(--ic-download); }
|
|
356
|
+
.ic[data-ic="external-link"] { --ic: var(--ic-external-link); }
|
|
357
|
+
.ic[data-ic="link"] { --ic: var(--ic-link); }
|
|
358
|
+
.ic[data-ic="expand"] { --ic: var(--ic-expand); }
|
|
359
|
+
.ic[data-ic="undo"] { --ic: var(--ic-undo); }
|
|
360
|
+
.ic[data-ic="redo"] { --ic: var(--ic-redo); }
|
|
361
|
+
.ic[data-ic="bold"] { --ic: var(--ic-bold); }
|
|
362
|
+
.ic[data-ic="italic"] { --ic: var(--ic-italic); }
|
|
363
|
+
.ic[data-ic="underline"] { --ic: var(--ic-underline); }
|
|
364
|
+
.ic[data-ic="list-bullet"] { --ic: var(--ic-list-bullet); }
|
|
365
|
+
.ic[data-ic="list-number"] { --ic: var(--ic-list-number); }
|
|
366
|
+
.ic[data-ic="quote"] { --ic: var(--ic-quote); }
|
|
367
|
+
.ic[data-ic="code"] { --ic: var(--ic-code); }
|
|
368
|
+
.ic[data-ic="image"] { --ic: var(--ic-image); }
|
|
369
|
+
.ic[data-ic="calendar"] { --ic: var(--ic-calendar); }
|
|
370
|
+
.ic[data-ic="user"] { --ic: var(--ic-user); }
|
|
371
|
+
.ic[data-ic="eye-off"] { --ic: var(--ic-eye-off); }
|
|
372
|
+
.ic[data-ic="eye"] { --ic: var(--ic-eye); }
|
|
373
|
+
.ic[data-ic="info"] { --ic: var(--ic-info); }
|
|
374
|
+
.ic[data-ic="warning"] { --ic: var(--ic-warning); }
|
|
375
|
+
.ic[data-ic="error"] { --ic: var(--ic-error); }
|
|
376
|
+
.ic[data-ic="success"] { --ic: var(--ic-success); }
|
|
377
|
+
.ic[data-ic="palette"] { --ic: var(--ic-palette); }
|
|
378
|
+
.ic[data-ic="sun"] { --ic: var(--ic-sun); }
|
|
379
|
+
.ic[data-ic="moon"] { --ic: var(--ic-moon); }
|
|
380
|
+
|
|
381
|
+
/* ---- components ---- */
|
|
382
|
+
xo-tabs > [role="tablist"] { gap: .25rem; padding: 0; }
|
|
383
|
+
xo-tabs [role="tab"] { min-height: 2.75rem; padding: 0 1rem; font: 600 .92rem/1 var(--xo-font); color: var(--xo-color-muted); margin-bottom: -1px; border-radius: 0; }
|
|
384
|
+
xo-tabs [role="tab"]:hover { color: var(--xo-color-text); background: color-mix(in srgb, var(--xo-color-text) 6%, transparent); }
|
|
385
|
+
xo-tabs [role="tab"][aria-selected="true"] { color: var(--xo-color-text); border-bottom-color: var(--xo-color-accent); font-weight: 600; }
|
|
386
|
+
xo-tabs [role="tab"]:focus-visible { outline: var(--xo-focus); outline-offset: -3px; }
|
|
387
|
+
xo-tabs [role="tab"][data-invalid]::after { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-left: .4rem; border-radius: 50%; background: var(--xo-color-danger); }
|
|
388
|
+
xo-tabs > [role="tabpanel"] { padding-top: 1rem; }
|
|
389
|
+
xo-tabs.tabs-pills > [role="tablist"] { border: 0; padding: .25rem; width: fit-content; background: var(--xo-color-subtle); border-radius: 99px; }
|
|
390
|
+
xo-tabs.tabs-pills [role="tab"] { min-height: 2rem; padding: 0 .9rem; margin: 0; border: 0; border-radius: 99px; }
|
|
391
|
+
xo-tabs.tabs-pills [role="tab"][aria-selected="true"] { background: var(--xo-color-surface); box-shadow: 0 1px 3px color-mix(in srgb, var(--xo-color-text) 20%, transparent); }
|
|
392
|
+
xo-menu [role="menu"] { min-width: 12rem; padding: .35rem; background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); box-shadow: var(--xo-shadow-pop); }
|
|
393
|
+
xo-menu :is([role="menuitem"], [role="menuitemradio"]) { display: flex; align-items: center; gap: .6rem; min-height: 2.25rem; padding: 0 .65rem; font: 500 .95rem/1 var(--xo-font); border-radius: 8px; color: var(--xo-color-text); }
|
|
394
|
+
xo-menu :is([role="menuitem"], [role="menuitemradio"]):is(:hover, :focus-visible) { background: var(--xo-color-accent-soft); }
|
|
395
|
+
xo-menu [role="menuitemradio"] { padding-inline-start: 2rem; }
|
|
396
|
+
xo-menu [role="menuitemradio"][aria-checked="true"] { font-weight: 700; }
|
|
397
|
+
xo-menu [role="menuitemradio"][aria-checked="true"]::before { content: ""; inset-inline-start: .55rem; width: 1rem; height: 1rem; top: 50%; translate: 0 -50%; background: var(--xo-color-accent); -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat; }
|
|
398
|
+
xo-menu [role="menuitem"][aria-current="true"] { font-weight: 700; }
|
|
399
|
+
xo-menu [role="menuitem"][aria-current="true"]::after { content: ""; margin-left: auto; width: 1rem; height: 1rem; background: var(--xo-color-accent); -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat; }
|
|
400
|
+
xo-menu [role="menu"] hr { margin: .3rem .4rem; border: 0; border-top: 1px solid var(--xo-color-border); }
|
|
401
|
+
.xo-tooltip { padding: .4rem .65rem; font: 600 .8rem/1.25 var(--xo-font); background: var(--xo-color-inverse); color: var(--xo-color-inverse-text); border-radius: 8px; box-shadow: var(--xo-shadow-pop); }
|
|
402
|
+
.xo-combobox-box { gap: .35rem; padding: .25rem .5rem; min-height: var(--xo-control-height); box-sizing: border-box; border-color: var(--xo-color-control-border); border-radius: var(--xo-radius); background: var(--xo-color-surface); transition: border-color .15s ease, box-shadow .15s ease; }
|
|
403
|
+
.xo-combobox-box:hover { border-color: var(--xo-color-text); }
|
|
404
|
+
.xo-combobox-box:focus-within { outline: none; border-color: var(--xo-color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--xo-color-accent) 30%, transparent); }
|
|
405
|
+
.xo-combobox-input { min-height: 0 !important; width: auto !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; font: 400 1rem/1.4 var(--xo-font); }
|
|
406
|
+
.xo-combobox-input:focus-visible { box-shadow: none !important; }
|
|
407
|
+
.xo-chip { gap: .2rem; min-height: 1.6rem; padding: 0 .2rem 0 .65rem; font: 600 .8rem/1 var(--xo-font); color: var(--xo-color-accent); background: var(--xo-color-accent-soft); }
|
|
408
|
+
.xo-chip button { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 0; width: 1.3rem; height: 1.3rem; padding: 0; border: 0; font-size: 0; color: inherit; background: none; border-radius: 50%; }
|
|
409
|
+
.xo-chip button::before { content: ""; width: .85rem; height: .85rem; background: currentColor; -webkit-mask: var(--ic-close) center / contain no-repeat; mask: var(--ic-close) center / contain no-repeat; }
|
|
410
|
+
.xo-chip button:hover { background: color-mix(in srgb, var(--xo-color-accent) 18%, transparent); transform: none; }
|
|
411
|
+
.xo-combobox-list { padding: .35rem; background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); box-shadow: var(--xo-shadow-pop); }
|
|
412
|
+
.xo-combobox-list [role="option"], .xo-combobox-list .xo-empty { display: flex; align-items: center; min-height: 2.25rem; padding: 0 .65rem; border-radius: 8px; font-size: .95rem; }
|
|
413
|
+
.xo-combobox-list [role="option"].xo-active { background: var(--xo-color-accent-soft); }
|
|
414
|
+
.xo-combobox-list [role="option"][aria-selected="true"] { font-weight: 700; }
|
|
415
|
+
.xo-combobox-list [role="option"][aria-selected="true"]::after { content: ""; margin-left: auto; width: 1rem; height: 1rem; background: var(--xo-color-accent); -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat; }
|
|
416
|
+
.xo-combobox-list .xo-empty { color: var(--xo-color-muted); opacity: 1; }
|
|
417
|
+
xo-combobox[data-invalid] .xo-combobox-box, xo-tags[data-invalid] .xo-combobox-box { border-color: var(--xo-color-danger); }
|
|
418
|
+
.xo-carousel-track { padding: .25rem .15rem .5rem; }
|
|
419
|
+
.xo-carousel-track:focus-visible { outline: var(--xo-focus); outline-offset: 3px; }
|
|
420
|
+
.xo-carousel-controls { margin-block-start: .5rem; gap: 12px; }
|
|
421
|
+
.xo-carousel-nav { gap: 8px; }
|
|
422
|
+
.xo-carousel-nav button { width: var(--xo-control-height); height: var(--xo-control-height); min-height: 0; padding: 0; border-radius: var(--xo-radius); font-size: 0; background: var(--xo-color-surface); box-shadow: none; }
|
|
423
|
+
.xo-carousel-nav button:hover:not(:disabled) { background: var(--xo-color-subtle); transform: none; box-shadow: none; }
|
|
424
|
+
.xo-carousel-nav button:active:not(:disabled) { background: var(--xo-color-border); transform: none; box-shadow: none; }
|
|
425
|
+
.xo-carousel-nav button:disabled { opacity: 1; color: var(--xo-color-muted); background: var(--xo-color-subtle); border-color: var(--xo-color-border); box-shadow: none; }
|
|
426
|
+
.xo-carousel-nav button:is(.xo-carousel-toggle, :not(.xo-carousel-prev, .xo-carousel-next)) { font-size: .8rem; }
|
|
427
|
+
.xo-carousel-prev span, .xo-carousel-next span { display: block; width: 1.25rem; height: 1.25rem; font-size: 0; background: currentColor; }
|
|
428
|
+
.xo-carousel-prev span { -webkit-mask: var(--ic-chevron-left) center / contain no-repeat; mask: var(--ic-chevron-left) center / contain no-repeat; }
|
|
429
|
+
.xo-carousel-next span { -webkit-mask: var(--ic-chevron-right) center / contain no-repeat; mask: var(--ic-chevron-right) center / contain no-repeat; }
|
|
430
|
+
.xo-carousel-dots { gap: 8px; }
|
|
431
|
+
.xo-carousel-dots button { width: 8px; height: 8px; min-height: 0; padding: 0; border: 0; border-radius: 99px; background: var(--xo-color-control-border); transition: width .2s ease, background .2s ease; position: relative; }
|
|
432
|
+
.xo-carousel-dots button::after { content: ""; position: absolute; inset: -18px -6px; }
|
|
433
|
+
.xo-carousel-dots button:hover { background: var(--xo-color-muted); }
|
|
434
|
+
.xo-carousel-dots button[aria-current="true"] { width: 24px; background: var(--xo-color-accent); }
|
|
435
|
+
.xo-carousel-dots button.xo-carousel-thumb { width: 4.25rem; height: 3rem; border-radius: var(--xo-radius); background: var(--xo-color-subtle); box-shadow: inset 0 0 0 1px var(--xo-color-border); opacity: .8; overflow: hidden; }
|
|
436
|
+
.xo-carousel-dots button.xo-carousel-thumb::after { display: none; }
|
|
437
|
+
.xo-carousel-dots button.xo-carousel-thumb:hover { opacity: 1; }
|
|
438
|
+
.xo-carousel-dots button.xo-carousel-thumb[aria-current="true"] { width: 4.25rem; opacity: 1; background: var(--xo-color-subtle); outline: 2px solid var(--xo-color-accent); outline-offset: 2px; }
|
|
439
|
+
.xo-carousel-count { font: 600 13px/1 var(--xo-font); color: var(--xo-color-muted); font-variant-numeric: tabular-nums; }
|
|
440
|
+
.xo-carousel-track > * { border-radius: var(--radius); }
|
|
441
|
+
.xo-carousel-track > .slide, .xo-carousel-track > blockquote, .xo-carousel-track > figure.quote { padding: 20px 24px; background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); }
|
|
442
|
+
.xo-carousel-track blockquote p, .slide .quote-text { margin: 0 0 8px; font: 500 18px/1.5 var(--f-brand); }
|
|
443
|
+
.xo-carousel-track > blockquote { margin: 0; }
|
|
444
|
+
.xo-carousel-track blockquote footer, .xo-carousel-track blockquote cite, .slide cite { font-style: normal; color: var(--xo-color-muted); font-size: 14px; }
|
|
445
|
+
.xo-carousel-track > img, .xo-carousel-track img { border-radius: var(--radius); }
|
|
446
|
+
.xo-table { border-color: var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); }
|
|
447
|
+
.xo-table table { font-size: .95rem; }
|
|
448
|
+
.xo-table :where(th) { padding: .7rem 1rem; font: 700 .72rem/1 var(--xo-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--xo-color-muted); background: var(--xo-color-subtle); white-space: nowrap; }
|
|
449
|
+
.xo-table :where(td) { padding: .6rem 1rem; vertical-align: middle; }
|
|
450
|
+
.xo-table th button { all: unset; display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; text-transform: inherit; letter-spacing: inherit; font: inherit; }
|
|
451
|
+
.xo-table th button:focus-visible { outline: var(--xo-focus); outline-offset: 3px; border-radius: 4px; }
|
|
452
|
+
.xo-table :where(th[aria-sort] button) { color: var(--xo-color-text); }
|
|
453
|
+
.xo-table th[aria-sort] button::after { content: ""; width: .9rem; height: .9rem; background: currentColor; -webkit-mask: var(--ic-arrow-up) center / contain no-repeat; mask: var(--ic-arrow-up) center / contain no-repeat; }
|
|
454
|
+
.xo-table th[aria-sort="descending"] button::after { -webkit-mask-image: var(--ic-arrow-down); mask-image: var(--ic-arrow-down); }
|
|
455
|
+
.xo-table th:not([aria-sort]) button::after { content: ""; width: .9rem; height: .9rem; background: var(--xo-color-muted); -webkit-mask: var(--ic-sort) center / contain no-repeat; mask: var(--ic-sort) center / contain no-repeat; }
|
|
456
|
+
.xo-table tbody tr:hover { background: color-mix(in srgb, var(--xo-color-accent) 5%, transparent); }
|
|
457
|
+
.xo-table tbody tr:has(input[type="checkbox"]:checked) { background: var(--xo-color-accent-soft); }
|
|
458
|
+
.xo-table td:has(> button, > .xo-actions) button { min-height: var(--xo-control-height-sm); font-size: .875rem; }
|
|
459
|
+
.xo-filters { gap: .6rem; padding: .75rem 1rem; background: var(--xo-color-surface); }
|
|
460
|
+
.xo-filters input { max-width: 22rem; }
|
|
461
|
+
.xo-bulk { gap: .75rem; padding: .55rem 1rem; background: var(--xo-color-accent-soft); font-weight: 600; font-size: .9rem; }
|
|
462
|
+
.xo-pager { align-items: center; gap: .6rem; padding: .6rem 1rem; color: var(--xo-color-muted); font-size: .875rem; border-top: 1px solid var(--xo-color-border); }
|
|
463
|
+
.xo-pager button { min-height: var(--xo-control-height-sm); font-size: .875rem; }
|
|
464
|
+
.xo-view [aria-busy="true"] { opacity: .6; }
|
|
465
|
+
[role="alert"].xo-error-box, .xo-view > p[role="alert"] { display: flex; gap: .6rem; padding: .8rem 1rem; border: 1px solid var(--xo-color-danger); border-left-width: 4px; border-radius: var(--xo-radius); color: var(--xo-color-danger); background: var(--xo-color-surface); }
|
|
466
|
+
.xo-form { gap: 1rem; }
|
|
467
|
+
.xo-field { gap: var(--xo-field-gap); align-content: start; }
|
|
468
|
+
.xo-field > label, .xo-field > .xo-label, .xo-field > legend { font-weight: 600; font-size: .9rem; }
|
|
469
|
+
.xo-field:has(input[type="checkbox"]), .xo-field:has(input[type="radio"]) { gap: .6rem; }
|
|
470
|
+
.xo-hint { font-size: .85rem; }
|
|
471
|
+
.xo-error { display: flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; }
|
|
472
|
+
.xo-error::before { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--ic-error) center / contain no-repeat; mask: var(--ic-error) center / contain no-repeat; }
|
|
473
|
+
.xo-error:empty { display: none; }
|
|
474
|
+
.xo-object, .xo-array { padding: 1rem 1.1rem; border-color: var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); background: color-mix(in srgb, var(--xo-color-surface) 60%, transparent); }
|
|
475
|
+
.xo-object > legend, .xo-array > legend { padding: 0 .4rem; font-weight: 700; font-size: .9rem; }
|
|
476
|
+
.xo-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .5rem; border: 1px solid var(--xo-color-border); background: var(--xo-color-surface); }
|
|
477
|
+
.xo-row-title { grid-column: 2; }
|
|
478
|
+
.xo-row-actions { gap: .25rem; flex-wrap: nowrap; }
|
|
479
|
+
.xo-row-actions button, .xo-array-add button { min-height: var(--xo-control-height-sm); font-size: .875rem; }
|
|
480
|
+
.xo-handle { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; font-size: 0; opacity: 1; color: var(--xo-color-muted); touch-action: none; }
|
|
481
|
+
.xo-handle::before { content: ""; width: 1.1rem; height: 1.1rem; background: currentColor; -webkit-mask: var(--ic-grip) center / contain no-repeat; mask: var(--ic-grip) center / contain no-repeat; }
|
|
482
|
+
.xo-handle:hover { color: var(--xo-color-text); }
|
|
483
|
+
.xo-row.xo-drop { outline: 2px dashed var(--xo-color-accent); background: var(--xo-color-accent-soft); }
|
|
484
|
+
.xo-form > .xo-submit, button.xo-submit { min-height: var(--xo-control-height); padding: 0 1.3rem; font-weight: 700; color: var(--xo-color-accent-text); background: var(--xo-color-accent); border-color: transparent; }
|
|
485
|
+
xo-dialog > dialog, .xo-confirm { padding: 1.5rem; color: var(--xo-color-text); background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 6px); box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--xo-color-text) 60%, transparent); width: min(32rem, calc(100vw - 2rem)); }
|
|
486
|
+
xo-dialog > dialog::backdrop, .xo-confirm::backdrop { background: color-mix(in srgb, var(--xo-color-inverse) 55%, transparent); backdrop-filter: blur(3px); }
|
|
487
|
+
xo-dialog > dialog > h2, .xo-confirm h2 { margin: 0 0 .5rem; font-size: 1.3rem; border: 0; padding: 0; }
|
|
488
|
+
.xo-confirm { max-width: 26rem; }
|
|
489
|
+
.xo-confirm-actions { gap: .6rem; margin-top: 1.25rem; }
|
|
490
|
+
.xo-confirm-ok { min-height: var(--xo-control-height); font-weight: 700; color: var(--xo-color-accent-text); background: var(--xo-color-danger); border-color: transparent; }
|
|
491
|
+
.xo-toast { display: flex; align-items: center; gap: .7rem; inset-block-end: 1.5rem; inset-inline-end: 1.5rem; max-width: 26rem; padding: .75rem 1rem; font-weight: 600; color: var(--xo-color-inverse-text); background: var(--xo-color-inverse); border: 0; border-radius: var(--xo-radius); box-shadow: var(--xo-shadow-pop); border-left: 4px solid var(--xo-color-danger); }
|
|
492
|
+
.xo-toast-status { color: var(--xo-color-inverse-text); border-left-color: var(--xo-color-success); }
|
|
493
|
+
.xo-toast-action { margin-inline-start: auto; min-height: var(--xo-control-height-sm); color: var(--xo-color-inverse-text); background: transparent; border-color: color-mix(in srgb, var(--xo-color-inverse-text) 40%, transparent); }
|
|
494
|
+
.xo-toast-action:hover { background: color-mix(in srgb, var(--xo-color-inverse-text) 14%, transparent); }
|
|
495
|
+
.xo-richtext-box { border: var(--xo-border-width, 1px) solid var(--xo-color-control-border); border-radius: var(--xo-radius); background: var(--xo-color-surface); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
|
|
496
|
+
.xo-richtext-box:hover { border-color: var(--xo-color-text); }
|
|
497
|
+
.xo-richtext-box:has(.xo-richtext-editable:focus) { border-color: var(--xo-color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--xo-color-accent) 30%, transparent); outline: none; }
|
|
498
|
+
.xo-richtext-toolbar { gap: .15rem; padding: .35rem; background: var(--xo-color-subtle); border-bottom: 1px solid var(--xo-color-border); }
|
|
499
|
+
.xo-richtext-toolbar button { min-height: 2rem; min-width: 2rem; padding: 0 .5rem; border: 0; background: transparent; border-radius: 8px; font: 700 .9rem/1 var(--xo-font); color: var(--xo-color-text); }
|
|
500
|
+
.xo-richtext-toolbar button:hover:not(:disabled) { background: color-mix(in srgb, var(--xo-color-text) 10%, transparent); }
|
|
501
|
+
.xo-richtext-toolbar button[aria-pressed="true"] { background: var(--xo-color-accent-soft); color: var(--xo-color-accent); }
|
|
502
|
+
.xo-richtext-toolbar button:disabled { opacity: .4; }
|
|
503
|
+
.xo-richtext-toolbar select { min-height: 2rem; width: auto; font-size: .9rem; border-color: transparent; background-color: transparent; }
|
|
504
|
+
.xo-richtext-toolbar button[data-face]:is([data-face="B"], [data-face="I"], [data-face="U"], [data-face="•"], [data-face="1."], [data-face="“"], [data-face="🔗"], [data-face="🖼"], [data-face="↶"], [data-face="↷"], [data-face="⋯"])::before { content: ""; display: block; width: 1.15rem; height: 1.15rem; background: currentColor; }
|
|
505
|
+
.xo-richtext-toolbar button[data-face="B"]::before { -webkit-mask: var(--ic-bold) center / contain no-repeat; mask: var(--ic-bold) center / contain no-repeat; }
|
|
506
|
+
.xo-richtext-toolbar button[data-face="I"]::before { -webkit-mask: var(--ic-italic) center / contain no-repeat; mask: var(--ic-italic) center / contain no-repeat; }
|
|
507
|
+
.xo-richtext-toolbar button[data-face="U"]::before { -webkit-mask: var(--ic-underline) center / contain no-repeat; mask: var(--ic-underline) center / contain no-repeat; }
|
|
508
|
+
.xo-richtext-toolbar button[data-face="•"]::before { -webkit-mask: var(--ic-list-bullet) center / contain no-repeat; mask: var(--ic-list-bullet) center / contain no-repeat; }
|
|
509
|
+
.xo-richtext-toolbar button[data-face="1."]::before { -webkit-mask: var(--ic-list-number) center / contain no-repeat; mask: var(--ic-list-number) center / contain no-repeat; }
|
|
510
|
+
.xo-richtext-toolbar button[data-face="“"]::before { -webkit-mask: var(--ic-quote) center / contain no-repeat; mask: var(--ic-quote) center / contain no-repeat; }
|
|
511
|
+
.xo-richtext-toolbar button[data-face="🔗"]::before { -webkit-mask: var(--ic-link) center / contain no-repeat; mask: var(--ic-link) center / contain no-repeat; }
|
|
512
|
+
.xo-richtext-toolbar button[data-face="🖼"]::before { -webkit-mask: var(--ic-image) center / contain no-repeat; mask: var(--ic-image) center / contain no-repeat; }
|
|
513
|
+
.xo-richtext-toolbar button[data-face="↶"]::before { -webkit-mask: var(--ic-undo) center / contain no-repeat; mask: var(--ic-undo) center / contain no-repeat; }
|
|
514
|
+
.xo-richtext-toolbar button[data-face="↷"]::before { -webkit-mask: var(--ic-redo) center / contain no-repeat; mask: var(--ic-redo) center / contain no-repeat; }
|
|
515
|
+
.xo-richtext-toolbar button[data-face="⋯"]::before { -webkit-mask: var(--ic-more) center / contain no-repeat; mask: var(--ic-more) center / contain no-repeat; }
|
|
516
|
+
.xo-richtext-more { padding: .35rem; background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); box-shadow: var(--xo-shadow-pop); }
|
|
517
|
+
.xo-richtext-more [role^="menuitem"] { display: flex; align-items: center; gap: .6rem; min-height: 2.25rem; padding: 0 .65rem; border: 0; border-radius: 8px; font: 500 .95rem/1 var(--xo-font); }
|
|
518
|
+
.xo-richtext-more [role^="menuitem"]:hover { background: var(--xo-color-accent-soft); }
|
|
519
|
+
.xo-richtext-editable { padding: .75rem 1rem; min-height: 8rem; font: 400 1rem/1.6 var(--xo-font); }
|
|
520
|
+
.xo-richtext-editable blockquote { margin: .8rem 0; padding: .1rem 1rem; border-left: 3px solid var(--xo-color-accent); color: var(--xo-color-muted); }
|
|
521
|
+
.xo-richtext-editable[data-empty]::before { color: var(--xo-color-muted); }
|
|
522
|
+
.xo-richtext-link { gap: .5rem; padding: .5rem; background: var(--xo-color-subtle); border-bottom: 1px solid var(--xo-color-border); }
|
|
523
|
+
.xo-richtext-error { color: var(--xo-color-danger); font-size: .85rem; font-weight: 600; padding: .3rem .75rem; }
|
|
524
|
+
xo-richtext[data-invalid] .xo-richtext-box { border-color: var(--xo-color-danger); }
|
|
525
|
+
.xo-admin > header, .xo-admin header { background: color-mix(in srgb, var(--xo-color-bg) 85%, transparent); backdrop-filter: blur(12px); }
|
|
526
|
+
.xo-admin nav a[aria-current="page"] { background: var(--xo-color-accent-soft) !important; color: var(--xo-color-accent); }
|
|
527
|
+
.xo-toast[hidden], .xo-richtext-link[hidden], xo-menu [role="menu"][hidden], .xo-combobox-list[hidden] { display: none; }
|
|
528
|
+
.xo-tooltip, .tooltip, .xo-toast, .toast { outline: 1px solid color-mix(in srgb, var(--xo-color-inverse-text) 16%, transparent); outline-offset: -1px; }
|
|
529
|
+
xo-menu [role^="menuitem"]:focus-visible, .menu-panel [role="menuitem"]:focus-visible, .xo-richtext-more [role^="menuitem"]:focus-visible { outline: var(--xo-focus-thin, 2px solid var(--xo-color-accent)); outline-offset: -2px; }
|
|
530
|
+
.xo-toast :focus-visible, .toast :focus-visible, .xo-tooltip :focus-visible { outline: 3px solid var(--xo-color-inverse-text); outline-offset: 2px; }
|
|
531
|
+
|
|
532
|
+
/* ---- states ---- */
|
|
533
|
+
.skeleton { display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--xo-color-border); border-radius: calc(var(--xo-radius) + 2px); background: var(--xo-color-surface); }
|
|
534
|
+
.skeleton > i, .skeleton .sk-row > i { display: block; height: 1rem; border-radius: 6px; background: linear-gradient(90deg, var(--xo-color-subtle) 25%, color-mix(in srgb, var(--xo-color-subtle) 55%, var(--xo-color-surface)) 50%, var(--xo-color-subtle) 75%) 0 0 / 200% 100%; animation: sk-shimmer 1.4s linear infinite; }
|
|
535
|
+
.skeleton > i:nth-child(2) { width: 80%; }
|
|
536
|
+
.skeleton > i:nth-child(3) { width: 55%; }
|
|
537
|
+
.skeleton .sk-head { display: grid; grid-template-columns: 3rem 2fr 2fr 1fr 5rem; gap: 1rem; padding: .35rem .75rem; }
|
|
538
|
+
.skeleton .sk-row { display: grid; grid-template-columns: 3rem 2fr 2fr 1fr 5rem; gap: 1rem; align-items: center; padding: .65rem .75rem; border-top: 1px solid var(--xo-color-border); }
|
|
539
|
+
.skeleton .sk-row > i:first-child { width: 1.15rem; height: 1.15rem; border-radius: 4px; }
|
|
540
|
+
.skeleton .sk-row > i:last-child { height: var(--xo-control-height-sm); border-radius: var(--xo-radius); }
|
|
541
|
+
@keyframes sk-shimmer { to { background-position: -200% 0; } }
|
|
542
|
+
.state { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 2.5rem 1.25rem; border: 2px dashed var(--xo-color-control-border); border-radius: calc(var(--xo-radius) + 2px); background: var(--xo-color-surface); }
|
|
543
|
+
.state h3 { margin: 0; font-size: 1.25rem; }
|
|
544
|
+
.state p { margin: 0; max-width: 28rem; color: var(--xo-color-muted); }
|
|
545
|
+
.state .state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .6rem; }
|
|
546
|
+
.state code { background: var(--xo-color-subtle); }
|
|
547
|
+
.state.error { border-style: solid; border-color: var(--xo-color-danger); }
|
|
548
|
+
.state.error h3 { color: var(--xo-color-danger); }
|
|
549
|
+
.state .icon-tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--xo-color-accent-soft); color: var(--xo-color-accent); }
|
|
550
|
+
.state.error .icon-tile { background: color-mix(in srgb, var(--xo-color-danger) 12%, var(--xo-color-surface)); color: var(--xo-color-danger); }
|
|
551
|
+
.state .art { width: 5.5rem; height: 5.5rem; }
|
|
552
|
+
@media (max-width: 40rem) {
|
|
553
|
+
.skeleton .sk-head, .skeleton .sk-row { grid-template-columns: 2rem 1fr 1fr; }
|
|
554
|
+
.skeleton .sk-head > :nth-child(n+4), .skeleton .sk-row > :nth-child(n+4) { display: none; }
|
|
555
|
+
}
|
|
556
|
+
@media (prefers-reduced-motion: reduce) {
|
|
557
|
+
.skeleton i { animation: none; }
|
|
558
|
+
}
|
|
559
|
+
.copy-label { font: 700 .75rem/1 var(--xo-font); padding: .3rem .55rem; border-radius: 99px; color: var(--xo-color-text); background: color-mix(in srgb, var(--xo-color-success) 18%, var(--xo-color-surface)); opacity: 0; transform: translateX(4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
|
|
560
|
+
.copy-label.is-visible { opacity: 1; transform: none; }
|
|
561
|
+
|
|
562
|
+
/* ---- new controls ---- */
|
|
563
|
+
.xo-count {
|
|
564
|
+
min-width: 24px;
|
|
565
|
+
padding: 0 8px;
|
|
566
|
+
font-size: 12px;
|
|
567
|
+
font-weight: 600;
|
|
568
|
+
line-height: 20px;
|
|
569
|
+
text-align: center;
|
|
570
|
+
color: var(--xo-color-text-2);
|
|
571
|
+
background: var(--xo-color-subtle);
|
|
572
|
+
border-radius: 10px;
|
|
573
|
+
}
|
|
574
|
+
.xo-avatar {
|
|
575
|
+
display: grid;
|
|
576
|
+
flex: none;
|
|
577
|
+
place-items: center;
|
|
578
|
+
width: 36px;
|
|
579
|
+
height: 36px;
|
|
580
|
+
font-size: 13px;
|
|
581
|
+
font-weight: 600;
|
|
582
|
+
color: var(--xo-color-accent-strong);
|
|
583
|
+
background: color-mix(in srgb, var(--xo-color-accent) 22%, var(--xo-color-surface));
|
|
584
|
+
border-radius: 50%;
|
|
585
|
+
}
|
|
586
|
+
.xo-kbd {
|
|
587
|
+
margin-left: auto;
|
|
588
|
+
padding: 0 6px;
|
|
589
|
+
font: 500 12px/20px var(--xo-font-mono);
|
|
590
|
+
color: var(--xo-color-text-2);
|
|
591
|
+
background: var(--xo-color-surface);
|
|
592
|
+
border: 1px solid var(--xo-color-border);
|
|
593
|
+
border-radius: 4px;
|
|
594
|
+
}
|
|
595
|
+
.xo-input-wrap {
|
|
596
|
+
position: relative;
|
|
597
|
+
display: flex;
|
|
598
|
+
align-items: center;
|
|
599
|
+
}
|
|
600
|
+
.xo-input-wrap .icon {
|
|
601
|
+
position: absolute;
|
|
602
|
+
left: 12px;
|
|
603
|
+
color: var(--xo-color-muted);
|
|
604
|
+
pointer-events: none;
|
|
605
|
+
}
|
|
606
|
+
.xo-input-wrap input {
|
|
607
|
+
padding-left: 38px;
|
|
608
|
+
}
|
|
609
|
+
.xo-switch {
|
|
610
|
+
position: relative;
|
|
611
|
+
display: inline-flex;
|
|
612
|
+
flex: none;
|
|
613
|
+
align-items: center;
|
|
614
|
+
width: 44px;
|
|
615
|
+
height: 24px;
|
|
616
|
+
padding: 0;
|
|
617
|
+
cursor: pointer;
|
|
618
|
+
background: var(--xo-color-control-border);
|
|
619
|
+
border: 0;
|
|
620
|
+
border-radius: 12px;
|
|
621
|
+
}
|
|
622
|
+
.xo-switch::before {
|
|
623
|
+
position: absolute;
|
|
624
|
+
inset: -10px -4px;
|
|
625
|
+
content: '';
|
|
626
|
+
}
|
|
627
|
+
.xo-switch::after {
|
|
628
|
+
box-sizing: border-box;
|
|
629
|
+
width: 20px;
|
|
630
|
+
height: 20px;
|
|
631
|
+
margin-left: 2px;
|
|
632
|
+
content: '';
|
|
633
|
+
background: #fff no-repeat center / 12px;
|
|
634
|
+
border-radius: 50%;
|
|
635
|
+
box-shadow: var(--shadow-sm);
|
|
636
|
+
}
|
|
637
|
+
.xo-switch:hover {
|
|
638
|
+
background: var(--xo-color-muted);
|
|
639
|
+
}
|
|
640
|
+
.xo-switch[aria-checked='true'] {
|
|
641
|
+
background: var(--xo-color-primary);
|
|
642
|
+
}
|
|
643
|
+
.xo-switch[aria-checked='true']:hover {
|
|
644
|
+
background: color-mix(in srgb, var(--xo-color-primary) 84%, #000);
|
|
645
|
+
}
|
|
646
|
+
.xo-switch[aria-checked='true']::after {
|
|
647
|
+
margin-left: 22px;
|
|
648
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b63ce' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.5 4.5 8.5-10'/%3E%3C/svg%3E");
|
|
649
|
+
}
|
|
650
|
+
.xo-switch:active:not(:disabled)::after {
|
|
651
|
+
width: 24px;
|
|
652
|
+
}
|
|
653
|
+
.xo-switch[aria-checked='true']:active:not(:disabled)::after {
|
|
654
|
+
margin-left: 18px;
|
|
655
|
+
}
|
|
656
|
+
.xo-switch:focus-visible {
|
|
657
|
+
outline: 2px solid var(--xo-color-accent);
|
|
658
|
+
outline-offset: 2px;
|
|
659
|
+
}
|
|
660
|
+
.xo-switch:disabled {
|
|
661
|
+
cursor: not-allowed;
|
|
662
|
+
opacity: 0.5;
|
|
663
|
+
}
|
|
664
|
+
.xo-switch:disabled:hover {
|
|
665
|
+
background: var(--xo-color-control-border);
|
|
666
|
+
}
|
|
667
|
+
.xo-switch[aria-checked='true']:disabled:hover {
|
|
668
|
+
background: var(--xo-color-primary);
|
|
669
|
+
}
|
|
670
|
+
.xo-switch[aria-busy='true'] {
|
|
671
|
+
cursor: progress;
|
|
672
|
+
}
|
|
673
|
+
.xo-switch[aria-busy='true']::after {
|
|
674
|
+
background-image: none;
|
|
675
|
+
border: 2px solid color-mix(in srgb, var(--xo-color-accent) 22%, var(--xo-color-surface));
|
|
676
|
+
border-top-color: var(--xo-color-accent);
|
|
677
|
+
}
|
|
678
|
+
.xo-switch--sm {
|
|
679
|
+
width: 36px;
|
|
680
|
+
height: 20px;
|
|
681
|
+
border-radius: 10px;
|
|
682
|
+
}
|
|
683
|
+
.xo-switch--sm::after {
|
|
684
|
+
width: 16px;
|
|
685
|
+
height: 16px;
|
|
686
|
+
background-size: 10px;
|
|
687
|
+
}
|
|
688
|
+
.xo-switch--sm[aria-checked='true']::after {
|
|
689
|
+
margin-left: 18px;
|
|
690
|
+
}
|
|
691
|
+
.xo-switch--sm:active:not(:disabled)::after {
|
|
692
|
+
width: 20px;
|
|
693
|
+
}
|
|
694
|
+
.xo-switch--sm[aria-checked='true']:active:not(:disabled)::after {
|
|
695
|
+
margin-left: 14px;
|
|
696
|
+
}
|
|
697
|
+
.xo-seg {
|
|
698
|
+
display: inline-flex;
|
|
699
|
+
gap: 2px;
|
|
700
|
+
padding: 3px;
|
|
701
|
+
background: var(--xo-color-subtle);
|
|
702
|
+
border-radius: 10px;
|
|
703
|
+
}
|
|
704
|
+
.xo-seg button {
|
|
705
|
+
display: inline-flex;
|
|
706
|
+
align-items: center;
|
|
707
|
+
gap: 8px;
|
|
708
|
+
height: 34px;
|
|
709
|
+
padding: 0 16px;
|
|
710
|
+
font-weight: 500;
|
|
711
|
+
color: var(--xo-color-text-2);
|
|
712
|
+
cursor: pointer;
|
|
713
|
+
background: transparent;
|
|
714
|
+
border: 0;
|
|
715
|
+
border-radius: var(--xo-radius);
|
|
716
|
+
}
|
|
717
|
+
.xo-seg button:hover {
|
|
718
|
+
color: var(--xo-color-text);
|
|
719
|
+
background: var(--xo-color-border);
|
|
720
|
+
}
|
|
721
|
+
.xo-seg button[aria-pressed='true'], .xo-seg button[aria-selected='true'] {
|
|
722
|
+
font-weight: 600;
|
|
723
|
+
color: var(--xo-color-accent-strong);
|
|
724
|
+
background: var(--xo-color-surface);
|
|
725
|
+
box-shadow:
|
|
726
|
+
var(--shadow-sm),
|
|
727
|
+
inset 0 0 0 1px color-mix(in srgb, var(--xo-color-accent) 22%, var(--xo-color-surface));
|
|
728
|
+
}
|
|
729
|
+
.xo-seg .xo-count {
|
|
730
|
+
background: var(--xo-color-border);
|
|
731
|
+
}
|
|
732
|
+
.xo-seg button[aria-pressed='true'] .xo-count {
|
|
733
|
+
color: var(--xo-color-accent-strong);
|
|
734
|
+
background: var(--xo-color-accent-soft);
|
|
735
|
+
}
|
|
736
|
+
.xo-scroll {
|
|
737
|
+
overflow-x: auto;
|
|
738
|
+
}
|
|
739
|
+
.xo-float {
|
|
740
|
+
background: var(--xo-color-surface);
|
|
741
|
+
border: 1px solid var(--xo-color-border);
|
|
742
|
+
border-radius: calc(var(--xo-radius) * 1.5);
|
|
743
|
+
box-shadow: var(--xo-shadow-pop);
|
|
744
|
+
}
|
|
745
|
+
.xo-spinner {
|
|
746
|
+
width: 16px;
|
|
747
|
+
height: 16px;
|
|
748
|
+
border: 2px solid color-mix(in srgb, var(--xo-color-accent) 22%, var(--xo-color-surface));
|
|
749
|
+
border-top-color: var(--xo-color-accent);
|
|
750
|
+
border-radius: 50%;
|
|
751
|
+
}
|
|
752
|
+
@keyframes xo-spinner {
|
|
753
|
+
to {
|
|
754
|
+
transform: rotate(360deg);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
.xo-progress {
|
|
758
|
+
height: 8px;
|
|
759
|
+
overflow: hidden;
|
|
760
|
+
background: var(--xo-color-subtle);
|
|
761
|
+
border-radius: 4px;
|
|
762
|
+
}
|
|
763
|
+
.xo-progress > i {
|
|
764
|
+
display: block;
|
|
765
|
+
height: 100%;
|
|
766
|
+
background: var(--xo-color-accent);
|
|
767
|
+
border-radius: 4px;
|
|
768
|
+
}
|
|
769
|
+
.xo-step {
|
|
770
|
+
display: flex;
|
|
771
|
+
align-items: center;
|
|
772
|
+
gap: 12px;
|
|
773
|
+
}
|
|
774
|
+
.xo-step__n {
|
|
775
|
+
display: grid;
|
|
776
|
+
flex: none;
|
|
777
|
+
place-items: center;
|
|
778
|
+
width: 28px;
|
|
779
|
+
height: 28px;
|
|
780
|
+
font-size: 13px;
|
|
781
|
+
font-weight: 600;
|
|
782
|
+
color: var(--xo-color-text-2);
|
|
783
|
+
border: 1px solid var(--xo-color-control-border);
|
|
784
|
+
border-radius: 50%;
|
|
785
|
+
}
|
|
786
|
+
.xo-step--done .xo-step__n {
|
|
787
|
+
color: var(--xo-color-primary-text);
|
|
788
|
+
background: var(--xo-color-primary);
|
|
789
|
+
border-color: var(--xo-color-primary);
|
|
790
|
+
}
|
|
791
|
+
.xo-switch.is-hover {
|
|
792
|
+
background: var(--xo-color-muted);
|
|
793
|
+
}
|
|
794
|
+
.xo-switch[aria-checked='true'].is-hover {
|
|
795
|
+
background: color-mix(in srgb, var(--xo-color-primary) 84%, #000);
|
|
796
|
+
}
|
|
797
|
+
.xo-switch.is-focus {
|
|
798
|
+
outline: 2px solid var(--xo-color-accent);
|
|
799
|
+
outline-offset: 2px;
|
|
800
|
+
}
|
|
801
|
+
.xo-switch.is-pressed::after {
|
|
802
|
+
width: 24px;
|
|
803
|
+
}
|
|
804
|
+
.xo-switch[aria-checked='true'].is-pressed::after {
|
|
805
|
+
margin-left: 18px;
|
|
806
|
+
}
|
|
807
|
+
.xo-split {
|
|
808
|
+
display: grid;
|
|
809
|
+
grid-template-columns: 380px minmax(0, 1fr);
|
|
810
|
+
min-height: 560px;
|
|
811
|
+
background: var(--xo-color-surface);
|
|
812
|
+
border: 1px solid var(--xo-color-border);
|
|
813
|
+
border-radius: calc(var(--xo-radius) * 1.5);
|
|
814
|
+
overflow: hidden;
|
|
815
|
+
}
|
|
816
|
+
.xo-split__list {
|
|
817
|
+
border-right: 1px solid var(--xo-color-border);
|
|
818
|
+
}
|
|
819
|
+
.xo-scroll, .xo-scrollbar {
|
|
820
|
+
scrollbar-width: thin;
|
|
821
|
+
scrollbar-color: var(--scroll-thumb) transparent;
|
|
822
|
+
}
|
|
823
|
+
.xo-scroll::-webkit-scrollbar, .xo-scrollbar::-webkit-scrollbar {
|
|
824
|
+
width: 12px;
|
|
825
|
+
height: 12px;
|
|
826
|
+
background: transparent;
|
|
827
|
+
}
|
|
828
|
+
.xo-scroll::-webkit-scrollbar-track, .xo-scrollbar::-webkit-scrollbar-track {
|
|
829
|
+
background: transparent;
|
|
830
|
+
}
|
|
831
|
+
.xo-scroll::-webkit-scrollbar-corner, .xo-scrollbar::-webkit-scrollbar-corner {
|
|
832
|
+
background: transparent;
|
|
833
|
+
}
|
|
834
|
+
.xo-scroll::-webkit-scrollbar-thumb, .xo-scrollbar::-webkit-scrollbar-thumb {
|
|
835
|
+
min-height: 40px;
|
|
836
|
+
background: var(--scroll-thumb);
|
|
837
|
+
background-clip: content-box;
|
|
838
|
+
border: 3px solid transparent;
|
|
839
|
+
border-radius: 6px;
|
|
840
|
+
}
|
|
841
|
+
.xo-scroll::-webkit-scrollbar-thumb:hover, .xo-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
842
|
+
background: var(--scroll-thumb-hover);
|
|
843
|
+
background-clip: content-box;
|
|
844
|
+
}
|
|
845
|
+
.xo-scroll::-webkit-scrollbar-thumb:active, .xo-scrollbar::-webkit-scrollbar-thumb:active {
|
|
846
|
+
background: var(--scroll-thumb-active);
|
|
847
|
+
background-clip: content-box;
|
|
848
|
+
}
|
|
849
|
+
.xo-scrollbar {
|
|
850
|
+
overflow: auto;
|
|
851
|
+
}
|
|
852
|
+
.xo-choice {
|
|
853
|
+
display: flex;
|
|
854
|
+
align-items: flex-start;
|
|
855
|
+
gap: 12px;
|
|
856
|
+
padding: 12px 16px;
|
|
857
|
+
cursor: pointer;
|
|
858
|
+
border: 1px solid var(--xo-color-control-border);
|
|
859
|
+
border-radius: calc(var(--xo-radius) * 1.5);
|
|
860
|
+
}
|
|
861
|
+
.xo-choice:hover {
|
|
862
|
+
background: var(--xo-color-bg);
|
|
863
|
+
}
|
|
864
|
+
.xo-choice:has(input:checked) {
|
|
865
|
+
background: var(--xo-color-accent-soft);
|
|
866
|
+
border-color: var(--xo-color-accent);
|
|
867
|
+
}
|
|
868
|
+
.xo-choice input {
|
|
869
|
+
flex: none;
|
|
870
|
+
width: 20px;
|
|
871
|
+
height: 20px;
|
|
872
|
+
margin: 2px 0 0;
|
|
873
|
+
accent-color: var(--xo-color-accent);
|
|
874
|
+
}
|
|
875
|
+
.xo-range {
|
|
876
|
+
appearance: none;
|
|
877
|
+
width: 100%;
|
|
878
|
+
height: 24px;
|
|
879
|
+
margin: 0;
|
|
880
|
+
cursor: pointer;
|
|
881
|
+
background: transparent;
|
|
882
|
+
}
|
|
883
|
+
.xo-range::-webkit-slider-runnable-track {
|
|
884
|
+
height: 6px;
|
|
885
|
+
background: linear-gradient(to right, var(--xo-color-accent) var(--p, 50%), var(--xo-color-border) var(--p, 50%));
|
|
886
|
+
border-radius: 3px;
|
|
887
|
+
}
|
|
888
|
+
.xo-range::-moz-range-track {
|
|
889
|
+
height: 6px;
|
|
890
|
+
background: var(--xo-color-border);
|
|
891
|
+
border-radius: 3px;
|
|
892
|
+
}
|
|
893
|
+
.xo-range::-moz-range-progress {
|
|
894
|
+
height: 6px;
|
|
895
|
+
background: var(--xo-color-accent);
|
|
896
|
+
border-radius: 3px;
|
|
897
|
+
}
|
|
898
|
+
.xo-range::-webkit-slider-thumb {
|
|
899
|
+
appearance: none;
|
|
900
|
+
width: 20px;
|
|
901
|
+
height: 20px;
|
|
902
|
+
margin-top: -7px;
|
|
903
|
+
background: #fff;
|
|
904
|
+
border: 2px solid var(--xo-color-accent);
|
|
905
|
+
border-radius: 50%;
|
|
906
|
+
box-shadow: var(--shadow-sm);
|
|
907
|
+
}
|
|
908
|
+
.xo-range::-moz-range-thumb {
|
|
909
|
+
width: 16px;
|
|
910
|
+
height: 16px;
|
|
911
|
+
background: #fff;
|
|
912
|
+
border: 2px solid var(--xo-color-accent);
|
|
913
|
+
border-radius: 50%;
|
|
914
|
+
box-shadow: var(--shadow-sm);
|
|
915
|
+
}
|
|
916
|
+
.xo-range:hover::-webkit-slider-thumb {
|
|
917
|
+
background: var(--xo-color-accent-soft);
|
|
918
|
+
}
|
|
919
|
+
.xo-range:disabled {
|
|
920
|
+
cursor: not-allowed;
|
|
921
|
+
opacity: 0.5;
|
|
922
|
+
}
|
|
923
|
+
.xo-range-dual {
|
|
924
|
+
position: relative;
|
|
925
|
+
height: 24px;
|
|
926
|
+
}
|
|
927
|
+
.xo-range-dual__track {
|
|
928
|
+
position: absolute;
|
|
929
|
+
top: 9px;
|
|
930
|
+
right: 0;
|
|
931
|
+
left: 0;
|
|
932
|
+
height: 6px;
|
|
933
|
+
background: var(--xo-color-border);
|
|
934
|
+
border-radius: 3px;
|
|
935
|
+
}
|
|
936
|
+
.xo-range-dual__fill {
|
|
937
|
+
position: absolute;
|
|
938
|
+
top: 0;
|
|
939
|
+
bottom: 0;
|
|
940
|
+
background: var(--xo-color-accent);
|
|
941
|
+
border-radius: 3px;
|
|
942
|
+
}
|
|
943
|
+
.xo-range-dual input {
|
|
944
|
+
position: absolute;
|
|
945
|
+
inset: 0;
|
|
946
|
+
pointer-events: none;
|
|
947
|
+
}
|
|
948
|
+
.xo-range-dual input::-webkit-slider-runnable-track {
|
|
949
|
+
background: transparent;
|
|
950
|
+
}
|
|
951
|
+
.xo-range-dual input::-webkit-slider-thumb {
|
|
952
|
+
pointer-events: auto;
|
|
953
|
+
}
|
|
954
|
+
.xo-range-dual input::-moz-range-thumb {
|
|
955
|
+
pointer-events: auto;
|
|
956
|
+
}
|
|
957
|
+
.xo-ticks {
|
|
958
|
+
display: flex;
|
|
959
|
+
justify-content: space-between;
|
|
960
|
+
font-size: 12px;
|
|
961
|
+
color: var(--xo-color-muted);
|
|
962
|
+
}
|
|
963
|
+
.xo-stepper {
|
|
964
|
+
display: inline-flex;
|
|
965
|
+
overflow: hidden;
|
|
966
|
+
background: var(--xo-color-surface);
|
|
967
|
+
border: 1px solid var(--xo-color-control-border);
|
|
968
|
+
border-radius: var(--xo-radius);
|
|
969
|
+
}
|
|
970
|
+
.xo-stepper button {
|
|
971
|
+
width: 38px;
|
|
972
|
+
height: 38px;
|
|
973
|
+
color: var(--xo-color-text-2);
|
|
974
|
+
cursor: pointer;
|
|
975
|
+
background: transparent;
|
|
976
|
+
border: 0;
|
|
977
|
+
}
|
|
978
|
+
.xo-stepper button:hover:not(:disabled) {
|
|
979
|
+
background: var(--xo-color-subtle);
|
|
980
|
+
}
|
|
981
|
+
.xo-stepper button:disabled {
|
|
982
|
+
color: var(--xo-color-muted);
|
|
983
|
+
cursor: not-allowed;
|
|
984
|
+
opacity: 0.5;
|
|
985
|
+
}
|
|
986
|
+
.xo-stepper input {
|
|
987
|
+
width: 64px;
|
|
988
|
+
height: 38px;
|
|
989
|
+
text-align: center;
|
|
990
|
+
font-variant-numeric: tabular-nums;
|
|
991
|
+
background: transparent;
|
|
992
|
+
border: 0;
|
|
993
|
+
border-inline: 1px solid var(--xo-color-border);
|
|
994
|
+
}
|
|
995
|
+
.xo-multi {
|
|
996
|
+
display: flex;
|
|
997
|
+
flex-wrap: wrap;
|
|
998
|
+
align-items: center;
|
|
999
|
+
gap: 6px;
|
|
1000
|
+
min-height: var(--xo-control-height);
|
|
1001
|
+
padding: 5px 8px;
|
|
1002
|
+
background: var(--xo-color-surface);
|
|
1003
|
+
border: 1px solid var(--xo-color-control-border);
|
|
1004
|
+
border-radius: var(--xo-radius);
|
|
1005
|
+
}
|
|
1006
|
+
.xo-multi input {
|
|
1007
|
+
flex: 1;
|
|
1008
|
+
min-width: 80px;
|
|
1009
|
+
height: 28px;
|
|
1010
|
+
background: transparent;
|
|
1011
|
+
border: 0;
|
|
1012
|
+
}
|
|
1013
|
+
.xo-multi input:focus-visible {
|
|
1014
|
+
outline: none;
|
|
1015
|
+
}
|
|
1016
|
+
.xo-multi:focus-within {
|
|
1017
|
+
border-color: var(--xo-color-accent);
|
|
1018
|
+
outline: 2px solid var(--xo-color-accent);
|
|
1019
|
+
}
|
|
1020
|
+
.xo-listbox {
|
|
1021
|
+
display: flex;
|
|
1022
|
+
flex-direction: column;
|
|
1023
|
+
padding: 4px;
|
|
1024
|
+
}
|
|
1025
|
+
.xo-option {
|
|
1026
|
+
display: flex;
|
|
1027
|
+
align-items: center;
|
|
1028
|
+
gap: 12px;
|
|
1029
|
+
min-height: 36px;
|
|
1030
|
+
padding: 0 12px;
|
|
1031
|
+
cursor: pointer;
|
|
1032
|
+
border-radius: var(--xo-radius);
|
|
1033
|
+
}
|
|
1034
|
+
.xo-option:hover, .xo-option--active {
|
|
1035
|
+
background: var(--xo-color-subtle);
|
|
1036
|
+
}
|
|
1037
|
+
.xo-option[aria-selected='true'] {
|
|
1038
|
+
font-weight: 600;
|
|
1039
|
+
color: var(--xo-color-accent-strong);
|
|
1040
|
+
background: var(--xo-color-accent-soft);
|
|
1041
|
+
}
|
|
1042
|
+
.xo-option .icon:last-child {
|
|
1043
|
+
margin-left: auto;
|
|
1044
|
+
}
|
|
1045
|
+
.xo-option__group {
|
|
1046
|
+
padding: 8px 12px 2px;
|
|
1047
|
+
font-size: 12px;
|
|
1048
|
+
font-weight: 600;
|
|
1049
|
+
color: var(--xo-color-muted);
|
|
1050
|
+
}
|
|
1051
|
+
.xo-calendar {
|
|
1052
|
+
display: grid;
|
|
1053
|
+
grid-template-columns: repeat(7, 36px);
|
|
1054
|
+
gap: 2px;
|
|
1055
|
+
justify-content: center;
|
|
1056
|
+
}
|
|
1057
|
+
.xo-calendar span {
|
|
1058
|
+
display: grid;
|
|
1059
|
+
place-items: center;
|
|
1060
|
+
height: 24px;
|
|
1061
|
+
font-size: 12px;
|
|
1062
|
+
font-weight: 600;
|
|
1063
|
+
color: var(--xo-color-muted);
|
|
1064
|
+
}
|
|
1065
|
+
.xo-calendar button {
|
|
1066
|
+
width: 36px;
|
|
1067
|
+
height: 36px;
|
|
1068
|
+
padding: 0;
|
|
1069
|
+
font-size: 13px;
|
|
1070
|
+
color: var(--xo-color-text);
|
|
1071
|
+
cursor: pointer;
|
|
1072
|
+
background: transparent;
|
|
1073
|
+
border: 0;
|
|
1074
|
+
border-radius: var(--xo-radius);
|
|
1075
|
+
}
|
|
1076
|
+
.xo-calendar button:hover {
|
|
1077
|
+
background: var(--xo-color-subtle);
|
|
1078
|
+
}
|
|
1079
|
+
.xo-calendar button.is-out {
|
|
1080
|
+
color: var(--xo-color-muted);
|
|
1081
|
+
}
|
|
1082
|
+
.xo-calendar button.is-today {
|
|
1083
|
+
box-shadow: inset 0 0 0 1px var(--xo-color-accent);
|
|
1084
|
+
}
|
|
1085
|
+
.xo-calendar button.is-range {
|
|
1086
|
+
background: var(--xo-color-accent-soft);
|
|
1087
|
+
border-radius: 0;
|
|
1088
|
+
}
|
|
1089
|
+
.xo-calendar button.is-sel {
|
|
1090
|
+
font-weight: 600;
|
|
1091
|
+
color: var(--xo-color-primary-text);
|
|
1092
|
+
background: var(--xo-color-primary);
|
|
1093
|
+
border-radius: var(--xo-radius);
|
|
1094
|
+
}
|
|
1095
|
+
.xo-skel {
|
|
1096
|
+
height: 14px;
|
|
1097
|
+
background: var(--xo-color-subtle);
|
|
1098
|
+
border-radius: 6px;
|
|
1099
|
+
}
|
|
1100
|
+
.xo-steps {
|
|
1101
|
+
display: flex;
|
|
1102
|
+
align-items: center;
|
|
1103
|
+
gap: 12px;
|
|
1104
|
+
}
|
|
1105
|
+
.xo-steps__line {
|
|
1106
|
+
flex: 1;
|
|
1107
|
+
height: 2px;
|
|
1108
|
+
background: var(--xo-color-border);
|
|
1109
|
+
}
|
|
1110
|
+
.xo-steps__line--done {
|
|
1111
|
+
background: var(--xo-color-accent);
|
|
1112
|
+
}
|
|
1113
|
+
.xo-accordion {
|
|
1114
|
+
border-bottom: 1px solid var(--xo-color-border);
|
|
1115
|
+
}
|
|
1116
|
+
.xo-accordion summary {
|
|
1117
|
+
display: flex;
|
|
1118
|
+
align-items: center;
|
|
1119
|
+
justify-content: space-between;
|
|
1120
|
+
min-height: 48px;
|
|
1121
|
+
font-weight: 600;
|
|
1122
|
+
cursor: pointer;
|
|
1123
|
+
list-style: none;
|
|
1124
|
+
}
|
|
1125
|
+
.xo-accordion summary::-webkit-details-marker {
|
|
1126
|
+
display: none;
|
|
1127
|
+
}
|
|
1128
|
+
.xo-accordion summary::after {
|
|
1129
|
+
width: 8px;
|
|
1130
|
+
height: 8px;
|
|
1131
|
+
margin-right: 4px;
|
|
1132
|
+
content: '';
|
|
1133
|
+
border: solid var(--xo-color-text-2);
|
|
1134
|
+
border-width: 0 2px 2px 0;
|
|
1135
|
+
transform: rotate(45deg);
|
|
1136
|
+
}
|
|
1137
|
+
.xo-accordion[open] summary::after {
|
|
1138
|
+
transform: rotate(-135deg);
|
|
1139
|
+
}
|
|
1140
|
+
.xo-accordion__body {
|
|
1141
|
+
padding: 0 0 16px;
|
|
1142
|
+
color: var(--xo-color-text-2);
|
|
1143
|
+
}
|
|
1144
|
+
.xo-avatars {
|
|
1145
|
+
display: flex;
|
|
1146
|
+
}
|
|
1147
|
+
.xo-avatars .xo-avatar {
|
|
1148
|
+
margin-left: -8px;
|
|
1149
|
+
border: 2px solid var(--xo-color-surface);
|
|
1150
|
+
}
|
|
1151
|
+
.xo-avatars .xo-avatar:first-child {
|
|
1152
|
+
margin-left: 0;
|
|
1153
|
+
}
|
|
1154
|
+
.xo-otp {
|
|
1155
|
+
display: flex;
|
|
1156
|
+
gap: 8px;
|
|
1157
|
+
}
|
|
1158
|
+
.xo-otp input {
|
|
1159
|
+
width: 44px;
|
|
1160
|
+
height: 52px;
|
|
1161
|
+
padding: 0;
|
|
1162
|
+
text-align: center;
|
|
1163
|
+
font: 600 20px var(--xo-font-mono);
|
|
1164
|
+
background: var(--xo-color-surface);
|
|
1165
|
+
border: 1px solid var(--xo-color-control-border);
|
|
1166
|
+
border-radius: var(--xo-radius);
|
|
1167
|
+
}
|
|
1168
|
+
.xo-copyfield {
|
|
1169
|
+
display: flex;
|
|
1170
|
+
}
|
|
1171
|
+
.xo-copyfield input {
|
|
1172
|
+
border-radius: var(--xo-radius) 0 0 var(--xo-radius);
|
|
1173
|
+
font-family: var(--xo-font-mono);
|
|
1174
|
+
font-size: 13px;
|
|
1175
|
+
background: var(--xo-color-subtle);
|
|
1176
|
+
}
|
|
1177
|
+
.xo-copyfield button {
|
|
1178
|
+
border-radius: 0 var(--xo-radius) var(--xo-radius) 0;
|
|
1179
|
+
margin-left: -1px;
|
|
1180
|
+
}
|
|
1181
|
+
.xo-input-wrap--end input {
|
|
1182
|
+
padding-right: 44px;
|
|
1183
|
+
}
|
|
1184
|
+
.xo-command {
|
|
1185
|
+
width: 640px;
|
|
1186
|
+
max-width: 100%;
|
|
1187
|
+
overflow: hidden;
|
|
1188
|
+
}
|
|
1189
|
+
.xo-command__input {
|
|
1190
|
+
display: flex;
|
|
1191
|
+
align-items: center;
|
|
1192
|
+
gap: 12px;
|
|
1193
|
+
height: 52px;
|
|
1194
|
+
padding: 0 16px;
|
|
1195
|
+
border-bottom: 1px solid var(--xo-color-border);
|
|
1196
|
+
}
|
|
1197
|
+
.xo-command__input input {
|
|
1198
|
+
flex: 1;
|
|
1199
|
+
height: 100%;
|
|
1200
|
+
font-size: 16px;
|
|
1201
|
+
background: transparent;
|
|
1202
|
+
border: 0;
|
|
1203
|
+
}
|
|
1204
|
+
.xo-command__input input:focus-visible {
|
|
1205
|
+
outline: none;
|
|
1206
|
+
}
|
|
1207
|
+
.xo-command__foot {
|
|
1208
|
+
display: flex;
|
|
1209
|
+
gap: 16px;
|
|
1210
|
+
padding: 8px 16px;
|
|
1211
|
+
font-size: 12px;
|
|
1212
|
+
color: var(--xo-color-muted);
|
|
1213
|
+
background: var(--xo-color-bg);
|
|
1214
|
+
border-top: 1px solid var(--xo-color-border);
|
|
1215
|
+
}
|
|
1216
|
+
.xo-input-end { position: absolute; right: 4px; }
|
|
1217
|
+
.xo-input-wrap--end input { padding-right: 44px; }
|
|
1218
|
+
.xo-avatar--sm { width: 24px; height: 24px; font-size: 10px; }
|
|
1219
|
+
.xo-avatar--lg { width: 48px; height: 48px; font-size: 16px; }
|
|
1220
|
+
.xo-avatar--ok { background: color-mix(in srgb, var(--xo-color-success) 14%, var(--xo-color-surface)); color: var(--xo-color-success); }
|
|
1221
|
+
.xo-avatar--warn { background: color-mix(in srgb, var(--xo-color-warning) 16%, var(--xo-color-surface)); color: color-mix(in srgb, var(--xo-color-warning) 40%, var(--xo-color-text)); }
|
|
1222
|
+
.xo-avatar--muted { background: var(--xo-color-subtle); color: var(--xo-color-text-2); }
|
|
1223
|
+
.xo-spinner--md { width: 24px; height: 24px; border-width: 3px; }
|
|
1224
|
+
.xo-spinner--lg { width: 32px; height: 32px; border-width: 3px; }
|
|
1225
|
+
.xo-progress--thin { height: 4px; }
|
|
1226
|
+
button[aria-pressed="true"]:not(.chip, [role="tab"], .xo-seg button) { background: var(--xo-color-accent-soft); color: var(--xo-color-accent-strong); border-color: var(--xo-color-accent); }
|
|
1227
|
+
.xo-split-button { display: inline-flex; }
|
|
1228
|
+
.xo-split-button > button:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
|
1229
|
+
.xo-split-button > button:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; border-left-color: color-mix(in srgb, var(--xo-color-primary-text) 35%, transparent); }
|
|
1230
|
+
.xo-inline-edit { display: inline-flex; align-items: center; gap: 6px; font: 600 18px/1.3 var(--xo-font); }
|
|
1231
|
+
.xo-textarea-meter { display: grid; }
|
|
1232
|
+
.xo-textarea-meter .xo-progress { border-radius: 0 0 var(--xo-radius) var(--xo-radius); margin-top: -3px; }
|
|
1233
|
+
.xo-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
|
|
1234
|
+
.xo-value { font-weight: 700; color: var(--xo-color-accent-strong); }
|
|
1235
|
+
.xo-choices { display: grid; gap: 8px; }
|
|
1236
|
+
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 24px 32px; align-items: start; }
|
|
1237
|
+
.row-inline { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
1238
|
+
.row-inline.gap-lg { gap: 16px; }
|
|
1239
|
+
.row-inline .grow, .grow { flex: 1; min-width: 0; }
|
|
1240
|
+
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; border-top: 1px solid var(--xo-color-border); border-bottom: 1px solid var(--xo-color-border); }
|
|
1241
|
+
.link-style { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
|
|
1242
|
+
.cal-pop { padding: 16px; width: 316px; }
|
|
1243
|
+
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
|
|
1244
|
+
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
|
|
1245
|
+
.skel-block { display: grid; gap: 10px; margin: 12px 0; }
|
|
1246
|
+
.skel-sq { width: 40px; height: 40px; border-radius: 8px; }
|
|
1247
|
+
.skel-lines { display: grid; gap: 6px; }
|
|
1248
|
+
.skel-60 { width: 60%; }
|
|
1249
|
+
.skel-40 { width: 40%; height: 10px; }
|
|
1250
|
+
.skel-80 { width: 80%; }
|
|
1251
|
+
.xo-step__n.is-current { border-color: var(--xo-color-accent); color: var(--xo-color-accent-strong); }
|
|
1252
|
+
.scroll-demo { max-height: 9rem; overflow: auto; padding: 12px 16px; border: 1px solid var(--xo-color-border); border-radius: 8px; background: var(--xo-color-surface); max-width: 28rem; }
|
|
1253
|
+
.scroll-demo p { margin: 0 0 12px; }
|
|
1254
|
+
.xo-option { display: flex; align-items: center; gap: 10px; }
|
|
1255
|
+
.xo-option code { margin-left: auto; background: none; color: var(--xo-color-muted); }
|
|
1256
|
+
.muted { color: var(--xo-color-muted); }
|
|
1257
|
+
.row-inline select { width: auto; min-width: 5rem; }
|
|
1258
|
+
.xo-stepper button .icon, .xo-input-wrap .icon, .xo-copyfield .icon { --xo-icon: 18px; }
|
|
1259
|
+
.xo-avatar { color: color-mix(in srgb, var(--xo-color-accent-strong) 55%, var(--xo-color-text)); }
|
|
1260
|
+
.stack { display: grid; gap: 20px; }
|
|
1261
|
+
.two { display: grid; gap: 24px; align-items: start; }
|
|
1262
|
+
.pane-390 { width: 390px; max-width: 100%; border: 1px dashed var(--xo-color-control-border); padding: 8px; border-radius: 8px; }
|
|
1263
|
+
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 12px; }
|
|
1264
|
+
.media-tile { display: grid; gap: 6px; height: auto; padding: 8px; justify-items: stretch; text-align: left; font-weight: 500; font-size: 13px; }
|
|
1265
|
+
.media-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(135deg, var(--xo-color-accent-soft), var(--xo-color-subtle)); }
|
|
1266
|
+
.xo-copyfield.slug .prefix { max-width: 7.5rem; }
|
|
1267
|
+
.hit-demo button.icon-only::before { outline: 1px dashed var(--xo-color-accent); }
|
|
1268
|
+
.path { font: 12px var(--xo-font-mono); }
|
|
1269
|
+
.xo-seg button[aria-current='true'], .xo-seg a[aria-current='true'], .xo-seg a[aria-current='page'] { font-weight: 600; color: var(--xo-color-accent-strong); background: var(--xo-color-surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px color-mix(in srgb, var(--xo-color-accent) 22%, var(--xo-color-surface)); }
|
|
1270
|
+
.xo-seg button[aria-current='true'] .xo-count { color: var(--xo-color-accent-strong); background: var(--xo-color-accent-soft); }
|
|
1271
|
+
.xo-seg a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; font-weight: 500; color: var(--xo-color-text-2); text-decoration: none; border-radius: var(--xo-radius); }
|
|
1272
|
+
.xo-seg a:hover { color: var(--xo-color-text); background: var(--xo-color-border); }
|
|
1273
|
+
.xo-input-wrap--end .xo-date-open { position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; min-height: 0; padding: 0; display: inline-grid; place-items: center; color: var(--xo-color-muted); background: transparent; border: 0; border-radius: var(--xo-radius); }
|
|
1274
|
+
.xo-date-open:hover { color: var(--xo-color-text); background: var(--xo-color-subtle); }
|
|
1275
|
+
.xo-date-open[aria-expanded="true"] { color: var(--xo-color-accent-strong); background: var(--xo-color-accent-soft); }
|
|
1276
|
+
.xo-date-open .ic { --xo-icon: 18px; }
|
|
1277
|
+
.xo-date-panel { position: absolute; z-index: 20; box-sizing: border-box; width: calc(7 * 36px + 6 * 2px + 32px + 2px); max-width: calc(100vw - 16px); padding: 16px; }
|
|
1278
|
+
.xo-date-panel[hidden] { display: none; }
|
|
1279
|
+
.xo-date-head { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; gap: 8px; margin-bottom: 8px; }
|
|
1280
|
+
.xo-date-head > b { text-align: center; font: 600 14px/1.3 var(--xo-font); }
|
|
1281
|
+
.xo-date-head button { width: 32px; height: 32px; min-height: 0; padding: 0; font-size: 18px; line-height: 1; }
|
|
1282
|
+
.xo-calendar button[data-date]:focus-visible { outline: 2px solid var(--xo-color-accent); outline-offset: 1px; position: relative; z-index: 1; }
|
|
1283
|
+
.xo-calendar button[data-date]:disabled { color: var(--xo-color-muted); opacity: .45; cursor: not-allowed; background: none; }
|
|
1284
|
+
.xo-calendar button.is-sel:hover { background: var(--xo-color-primary); }
|
|
1285
|
+
.xo-calendar button.is-sel:focus-visible { outline-color: var(--xo-color-text); outline-offset: 2px; }
|
|
1286
|
+
.xo-date-panel .cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
|
|
1287
|
+
@media (max-width: 24rem) {
|
|
1288
|
+
.xo-date-panel { width: calc(100vw - 16px); }
|
|
1289
|
+
.xo-date-panel .xo-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); }
|
|
1290
|
+
.xo-date-panel .xo-calendar button { width: auto; }
|
|
1291
|
+
}
|
|
1292
|
+
.xo-calendar button[aria-pressed="true"]:not(.is-range) { font-weight: 600; color: var(--xo-color-primary-text); background: var(--xo-color-primary); border-radius: var(--xo-radius); }
|
|
1293
|
+
.xo-calendar button[aria-pressed="true"]:not(.is-range):hover { background: var(--xo-color-primary); }
|
|
1294
|
+
.xo-calendar button.is-range[aria-pressed="true"] { background: var(--xo-color-accent-soft); }
|
|
1295
|
+
xo-date .xo-input-wrap input, .xo-input-wrap--end:has(.xo-date-open) input { padding-left: 12px; padding-right: 44px; }
|
|
1296
|
+
.xo-time { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
|
|
1297
|
+
.xo-time > select { width: auto; min-width: 5rem; }
|
|
1298
|
+
.xo-time > span { font-weight: 600; color: var(--xo-color-muted); line-height: 1; }
|
|
1299
|
+
xo-slider, xo-stepper, xo-password, xo-copy { display: block; }
|
|
1300
|
+
xo-slider > .xo-range { display: block; }
|
|
1301
|
+
.xo-range:focus-visible { outline: none; }
|
|
1302
|
+
.xo-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--xo-color-accent); outline-offset: 2px; }
|
|
1303
|
+
.xo-range:focus-visible::-moz-range-thumb { outline: 2px solid var(--xo-color-accent); outline-offset: 2px; }
|
|
1304
|
+
.xo-range::-webkit-slider-thumb { background: var(--xo-color-surface); }
|
|
1305
|
+
.xo-range::-moz-range-thumb { background: var(--xo-color-surface); }
|
|
1306
|
+
.xo-range:disabled::-webkit-slider-runnable-track { background: var(--xo-color-border); }
|
|
1307
|
+
xo-stepper > .xo-stepper { display: inline-flex; }
|
|
1308
|
+
.xo-stepper button .ic { --xo-icon: 18px; }
|
|
1309
|
+
.xo-stepper button { display: inline-grid; place-items: center; padding: 0; min-height: 0; border-radius: 0; }
|
|
1310
|
+
.xo-stepper input { min-height: 0; border-radius: 0; box-shadow: none; }
|
|
1311
|
+
.xo-stepper:focus-within { border-color: var(--xo-color-accent); outline: var(--xo-focus); outline-offset: 0; }
|
|
1312
|
+
.xo-stepper input:focus-visible { outline: none; box-shadow: none; }
|
|
1313
|
+
xo-password .xo-input-wrap--end { display: flex; }
|
|
1314
|
+
xo-password .xo-input-end { position: absolute; right: 4px; top: 50%; translate: 0 -50%; display: inline-grid; place-items: center; color: var(--xo-color-muted); }
|
|
1315
|
+
xo-password .xo-input-end:hover { color: var(--xo-color-text); }
|
|
1316
|
+
xo-password .xo-input-end .ic { --xo-icon: 18px; }
|
|
1317
|
+
xo-password .xo-input-end[aria-pressed="true"] { color: var(--xo-color-accent-strong); background: var(--xo-color-accent-soft); border-color: transparent; }
|
|
1318
|
+
xo-password .xo-input-end[aria-pressed="true"] .ic[data-ic="eye"] { --ic: var(--ic-eye-off); }
|
|
1319
|
+
xo-password .xo-input-wrap--end input { padding-right: 44px; }
|
|
1320
|
+
xo-copy > .xo-copyfield { display: flex; }
|
|
1321
|
+
.xo-copyfield input { flex: 1; min-width: 0; }
|
|
1322
|
+
.xo-copyfield button { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
|
|
1323
|
+
.xo-copyfield button .ic { --xo-icon: 18px; }
|
|
1324
|
+
.xo-copyfield button[data-state="copied"] { color: color-mix(in srgb, var(--xo-color-success) 55%, var(--xo-color-text)); background: color-mix(in srgb, var(--xo-color-success) 12%, var(--xo-color-surface)); border-color: var(--xo-color-success); }
|
|
1325
|
+
xo-slider > input.xo-range, input.xo-range { width: 100%; height: 24px; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
|
|
1326
|
+
xo-slider > input.xo-range:hover { border: 0; }
|
|
1327
|
+
xo-password > .xo-input-wrap, xo-password .xo-input-wrap--end { display: flex; position: relative; width: 100%; }
|
|
1328
|
+
xo-password .xo-input-wrap input { width: 100%; padding-left: 12px; padding-right: 44px; }
|
|
1329
|
+
xo-copy .xo-copyfield input { background: var(--xo-color-subtle); }
|
|
1330
|
+
.xo-input-wrap button.xo-input-end, xo-password button.xo-input-end { position: absolute; right: 4px; top: 50%; translate: 0 -50%; }
|
|
1331
|
+
.xo-input-wrap button.xo-date-open { position: absolute; }
|
|
1332
|
+
|
|
1333
|
+
/* ---- skin ---- */
|
|
1334
|
+
:root { --shadow-sm: 0 1px 2px color-mix(in srgb, var(--xo-color-text) 6%, transparent); --shadow-float: 0 12px 32px color-mix(in srgb, var(--xo-color-text) 14%, transparent), 0 2px 6px color-mix(in srgb, var(--xo-color-text) 8%, transparent); --xo-shadow-pop: var(--shadow-float); --xo-shadow-raised: none; --xo-focus: 2px solid var(--xo-color-accent); --xo-focus-thin: 2px solid var(--xo-color-accent); }
|
|
1335
|
+
:focus-visible { outline: var(--xo-focus); outline-offset: 2px; border-radius: 4px; }
|
|
1336
|
+
.panel, .table-frame, .preset, .state, .skeleton { background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: var(--radius); box-shadow: none; }
|
|
1337
|
+
button, .button { font: 500 14px/1 var(--xo-font); padding: 0 16px; gap: 8px; }
|
|
1338
|
+
button:hover, button.is-hover, .button:hover { background: var(--xo-color-subtle); border-color: var(--xo-color-control-border); }
|
|
1339
|
+
button:active, button.is-active { background: var(--xo-color-border); transform: none; }
|
|
1340
|
+
button.primary { font-weight: 600; color: var(--xo-color-primary-text); background: var(--xo-color-primary); border-color: var(--xo-color-primary); }
|
|
1341
|
+
button.primary:hover, button.primary.is-hover { color: var(--xo-color-primary-text); background: color-mix(in srgb, var(--xo-color-primary) 84%, #000); border-color: color-mix(in srgb, var(--xo-color-primary) 84%, #000); }
|
|
1342
|
+
button.primary:disabled { background: var(--xo-color-subtle); color: var(--xo-color-muted); border-color: var(--xo-color-border); }
|
|
1343
|
+
button.danger { color: var(--xo-color-danger); border-color: var(--xo-color-danger); }
|
|
1344
|
+
button.danger:hover { background: color-mix(in srgb, var(--xo-color-danger) 10%, var(--xo-color-surface)); border-color: var(--xo-color-danger); }
|
|
1345
|
+
button.ghost { background: transparent; border-color: transparent; }
|
|
1346
|
+
button.ghost:hover, button.ghost.is-hover { background: var(--xo-color-subtle); border-color: transparent; }
|
|
1347
|
+
button:disabled, button[aria-disabled="true"] { color: var(--xo-color-muted); background: var(--xo-color-subtle); border-color: var(--xo-color-border); opacity: 1; }
|
|
1348
|
+
button.sm { padding: 0 12px; font-size: 13px; }
|
|
1349
|
+
.xo-form > .xo-submit, button.xo-submit, .xo-confirm-ok { background: var(--xo-color-primary); color: var(--xo-color-primary-text); border-color: var(--xo-color-primary); }
|
|
1350
|
+
.xo-confirm-ok { background: var(--xo-color-danger); border-color: var(--xo-color-danger); color: var(--xo-color-surface); }
|
|
1351
|
+
input:not([type="checkbox"], [type="radio"], [type="color"], [type="range"], [type="file"]), select, textarea { font: 400 14px/1.4 var(--xo-font); }
|
|
1352
|
+
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: var(--xo-color-muted); }
|
|
1353
|
+
input:focus-visible, select:focus-visible, textarea:focus-visible, .is-focus.field-control { outline: var(--xo-focus); outline-offset: 0; border-color: var(--xo-color-accent); box-shadow: none; }
|
|
1354
|
+
.field > label, .field > .label, .xo-field > label { font: 600 14px/1.3 var(--xo-font); }
|
|
1355
|
+
.field .hint, .xo-hint { font-size: 13px; }
|
|
1356
|
+
.badge { gap: 6px; min-height: 24px; padding: 0 10px; font: 600 12px/1 var(--xo-font); color: var(--xo-color-accent-strong); background: var(--xo-color-accent-soft); }
|
|
1357
|
+
.badge::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg) scale(.86); }
|
|
1358
|
+
.badge.ok::before { border-radius: 50%; transform: none; }
|
|
1359
|
+
.badge.warn::before { border-radius: 1px; transform: none; }
|
|
1360
|
+
.badge.danger::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: none; }
|
|
1361
|
+
.badge.ok { color: color-mix(in srgb, var(--xo-color-success) 55%, var(--xo-color-text)); }
|
|
1362
|
+
.badge.warn { color: color-mix(in srgb, var(--xo-color-warning) 35%, var(--xo-color-text)); }
|
|
1363
|
+
[role="tablist"], xo-tabs > [role="tablist"] { gap: 24px; }
|
|
1364
|
+
[role="tab"], xo-tabs [role="tab"] { min-height: 44px; padding: 0; font: 500 14px/1 var(--xo-font); color: var(--xo-color-muted); }
|
|
1365
|
+
[role="tab"]:hover, xo-tabs [role="tab"]:hover { color: var(--xo-color-text); background: none; }
|
|
1366
|
+
[role="tab"][aria-selected="true"], xo-tabs [role="tab"][aria-selected="true"] { color: var(--xo-color-accent-strong); font-weight: 600; border-bottom-color: var(--xo-color-accent); }
|
|
1367
|
+
.tabs-pills, [role="tablist"].tabs-pills, xo-tabs.tabs-pills > [role="tablist"] { gap: 2px; padding: 3px; background: var(--xo-color-subtle); border: 0; border-radius: 10px; width: fit-content; }
|
|
1368
|
+
.tabs-pills [role="tab"], xo-tabs.tabs-pills [role="tab"] { min-height: 34px; padding: 0 16px; margin: 0; border: 0; border-radius: 8px; font-weight: 500; color: var(--xo-color-text-2); }
|
|
1369
|
+
.tabs-pills [role="tab"]:hover { background: var(--xo-color-border); color: var(--xo-color-text); }
|
|
1370
|
+
.tabs-pills [role="tab"][aria-selected="true"], xo-tabs.tabs-pills [role="tab"][aria-selected="true"] { background: var(--xo-color-surface); color: var(--xo-color-accent-strong); box-shadow: var(--shadow-sm), inset 0 0 0 1px color-mix(in srgb, var(--xo-color-accent) 22%, var(--xo-color-surface)); }
|
|
1371
|
+
.chip { border-radius: 8px; font: 500 14px/1 var(--xo-font); }
|
|
1372
|
+
.chip[aria-pressed="true"] { background: var(--xo-color-accent-soft); color: var(--xo-color-accent-strong); border-color: var(--xo-color-accent); font-weight: 600; }
|
|
1373
|
+
.notice { border: 0; border-radius: 8px; padding: 12px 16px; background: var(--xo-color-accent-soft); box-shadow: none; }
|
|
1374
|
+
.notice.ok { background: color-mix(in srgb, var(--xo-color-success) 12%, var(--xo-color-surface)); }
|
|
1375
|
+
.notice.warn { background: color-mix(in srgb, var(--xo-color-warning) 14%, var(--xo-color-surface)); }
|
|
1376
|
+
.notice.error { background: color-mix(in srgb, var(--xo-color-danger) 10%, var(--xo-color-surface)); }
|
|
1377
|
+
.notice.info .icon { color: var(--xo-color-accent-strong); }
|
|
1378
|
+
.notice.warn .icon { color: color-mix(in srgb, var(--xo-color-warning) 35%, var(--xo-color-text)); }
|
|
1379
|
+
.menu-panel, xo-menu [role="menu"], .xo-combobox-list, .xo-richtext-more { border: 1px solid var(--xo-color-border); border-radius: var(--radius); box-shadow: var(--xo-shadow-pop); }
|
|
1380
|
+
.menu-panel [role="menuitem"], xo-menu [role^="menuitem"] { min-height: 40px; font: 500 14px/1 var(--xo-font); }
|
|
1381
|
+
.menu-panel [role="menuitem"]:hover, xo-menu [role^="menuitem"]:hover { background: var(--xo-color-subtle); }
|
|
1382
|
+
.menu-panel [role="menuitem"][aria-current="true"], xo-menu [role="menuitem"][aria-current="true"] { background: var(--xo-color-accent-soft); color: var(--xo-color-accent-strong); font-weight: 600; }
|
|
1383
|
+
.tooltip, .xo-tooltip { background: var(--xo-color-inverse); color: var(--xo-color-inverse-text); font: 500 12px/1.3 var(--xo-font); border-radius: 6px; padding: 6px 10px; outline: 0; box-shadow: none; }
|
|
1384
|
+
.toast, .xo-toast { background: var(--xo-color-surface); color: var(--xo-color-text); border: 1px solid var(--xo-color-border); border-left: 1px solid var(--xo-color-border); border-radius: var(--radius); box-shadow: var(--xo-shadow-pop); outline: 0; font-weight: 600; }
|
|
1385
|
+
.toast .icon { color: var(--xo-color-success); }
|
|
1386
|
+
.toast.toast-error .icon { color: var(--xo-color-danger); }
|
|
1387
|
+
.xo-toast-action { color: var(--xo-color-accent-strong); border-color: var(--xo-color-control-border); background: transparent; }
|
|
1388
|
+
xo-dialog > dialog, .xo-confirm { border: 1px solid var(--xo-color-border); border-radius: var(--radius); box-shadow: var(--xo-shadow-pop); }
|
|
1389
|
+
.xo-confirm-actions { border-top: 1px solid var(--xo-color-border); margin: 20px -24px -24px; padding: 16px 24px; }
|
|
1390
|
+
table.std thead th, .xo-table th { background: var(--xo-color-bg); color: var(--xo-color-muted); font: 600 12px/1.3 var(--xo-font); letter-spacing: 0; text-transform: none; padding: 8px 16px; }
|
|
1391
|
+
table.std td, .xo-table td { padding: 6px 16px; height: 48px; }
|
|
1392
|
+
table.std tbody tr:hover td, .xo-table tbody tr:hover td { background: var(--xo-color-bg); }
|
|
1393
|
+
table.std tbody tr:hover, .xo-table tbody tr:hover { background: none; }
|
|
1394
|
+
table.std tbody tr[aria-selected="true"] td, .xo-table tbody tr:has(input[type="checkbox"]:checked) td { background: var(--xo-color-accent-soft); }
|
|
1395
|
+
table.std tbody tr[aria-selected="true"] td:first-child, .xo-table tbody tr:has(input[type="checkbox"]:checked) td:first-child { box-shadow: inset 3px 0 0 var(--xo-color-accent); }
|
|
1396
|
+
table.std tbody tr[aria-selected="true"], .xo-table tbody tr:has(input[type="checkbox"]:checked) { background: none; }
|
|
1397
|
+
.table-bulk, .xo-bulk { background: var(--xo-color-accent-soft); color: var(--xo-color-accent-strong); }
|
|
1398
|
+
.xo-richtext-box, .xo-combobox-box { border-radius: var(--xo-radius); }
|
|
1399
|
+
.cursor { background: #6aa8f0; }
|
|
1400
|
+
.t-tag { color: #9cc7f6; }
|
|
1401
|
+
.t-attr { color: #e0b04a; }
|
|
1402
|
+
.t-str { color: #5fc88f; }
|
|
1403
|
+
.t-mute { color: #8fa0ad; }
|
|
1404
|
+
pre.plain { background: var(--xo-color-subtle); border: 0; box-shadow: none; border-radius: 8px; }
|
|
1405
|
+
button.icon-only, button.icon-only.sm, button.icon-only.lg { padding: 0; }
|
|
1406
|
+
button.icon-only { width: var(--xo-control-height); }
|
|
1407
|
+
button.icon-only.sm { width: var(--xo-control-height-sm); }
|
|
1408
|
+
button.icon-only.lg { width: var(--xo-control-height-lg); }
|
|
1409
|
+
button[aria-busy="true"], button.danger[aria-busy="true"] { color: var(--xo-color-text); opacity: 1; cursor: progress; }
|
|
1410
|
+
button.danger[aria-busy="true"] { color: var(--xo-color-danger); }
|
|
1411
|
+
button.primary[aria-busy="true"] { color: var(--xo-color-primary-text); opacity: 1; cursor: progress; }
|
|
1412
|
+
button[aria-busy="true"]::after { position: static; flex: none; order: -1; width: 14px; height: 14px; border-color: currentColor; border-right-color: transparent; }
|
|
1413
|
+
xo-menu [role="separator"], .menu-panel hr { margin: 4px 8px; border: 0; border-top: 1px solid var(--xo-color-border); height: 0; }
|
|
1414
|
+
:root { --xo-field-gap: 6px; --xo-form-gap: 20px; }
|
|
1415
|
+
.field { margin: 0 0 var(--xo-form-gap); }
|
|
1416
|
+
.xo-form, .xo-fields { display: grid; gap: var(--xo-form-gap); align-content: start; }
|
|
1417
|
+
.xo-form .field, .xo-fields .field, .xo-form .xo-field, .xo-fields .xo-field { margin: 0; }
|
|
1418
|
+
.xo-prose { max-width: 720px; }
|
|
1419
|
+
xo-tabs > [role="tabpanel"] { padding-top: var(--xo-form-gap); }
|
|
1420
|
+
[hidden] { display: none !important; }
|
|
1421
|
+
button.icon-only { position: relative; }
|
|
1422
|
+
button.icon-only::before { content: ""; position: absolute; inset: -2px; }
|
|
1423
|
+
button.icon-only.sm::before { inset: -6px; }
|
|
1424
|
+
.xo-seg { align-items: center; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
|
|
1425
|
+
.xo-seg button { flex: none; white-space: nowrap; }
|
|
1426
|
+
.xo-seg__badge { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; font: 700 11px/1 var(--xo-font); color: color-mix(in srgb, var(--xo-color-warning) 40%, var(--xo-color-text)); background: color-mix(in srgb, var(--xo-color-warning) 22%, var(--xo-color-surface)); }
|
|
1427
|
+
.xo-seg__badge[data-state="invalid"] { color: var(--xo-color-danger); background: color-mix(in srgb, var(--xo-color-danger) 14%, var(--xo-color-surface)); }
|
|
1428
|
+
dialog.xo-modal { padding: 0; width: min(40rem, calc(100vw - 2rem)); max-height: min(90vh, 52rem); color: var(--xo-color-text); background: var(--xo-color-surface); border: 1px solid var(--xo-color-border); border-radius: var(--radius); box-shadow: var(--xo-shadow-pop); overflow: hidden; }
|
|
1429
|
+
dialog.xo-modal[open] { display: flex; flex-direction: column; }
|
|
1430
|
+
dialog.xo-modal--wide { width: min(60rem, calc(100vw - 2rem)); }
|
|
1431
|
+
dialog.xo-modal--full { width: min(96rem, calc(100vw - 2rem)); }
|
|
1432
|
+
dialog.xo-modal::backdrop { background: color-mix(in srgb, #1f2a33 45%, transparent); }
|
|
1433
|
+
.xo-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--xo-color-border); }
|
|
1434
|
+
.xo-modal__head h2 { margin: 0; padding: 0; border: 0; font: 600 18px/1.3 var(--f-brand); letter-spacing: -.005em; }
|
|
1435
|
+
.xo-modal__body { flex: 1; min-height: 0; padding: 20px; overflow: auto; }
|
|
1436
|
+
.xo-modal__foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--xo-color-border); }
|
|
1437
|
+
.xo-modal__foot .grow { margin-right: auto; }
|
|
1438
|
+
@media (max-width: 47.99rem) {
|
|
1439
|
+
dialog.xo-modal, dialog.xo-modal--wide, dialog.xo-modal--full { width: 100vw; max-width: 100vw; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
|
|
1440
|
+
}
|
|
1441
|
+
.xo-cards { container-type: inline-size; }
|
|
1442
|
+
@container (max-width: 47.99rem) {
|
|
1443
|
+
.xo-cards table, .xo-cards tbody, .xo-cards tr, .xo-cards td { display: block; }
|
|
1444
|
+
.xo-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
|
|
1445
|
+
.xo-cards tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--xo-color-border); background: none; box-shadow: none; }
|
|
1446
|
+
.xo-cards tbody tr:last-child { border-bottom: 0; }
|
|
1447
|
+
.xo-cards tbody tr:hover td, .xo-cards tbody tr td { height: auto; padding: 0; border: 0; background: none; box-shadow: none; }
|
|
1448
|
+
.xo-cards td[data-label]::before { content: attr(data-label); display: block; font: 600 12px/1.4 var(--xo-font); color: var(--xo-color-muted); }
|
|
1449
|
+
.xo-cards td[data-title] { grid-column: 1; font-weight: 600; }
|
|
1450
|
+
.xo-cards td[data-title]::before, .xo-cards td[data-status]::before { display: none; }
|
|
1451
|
+
.xo-cards td.select, .xo-cards td:has(> input[type="checkbox"]:only-child) { grid-column: 1 / -1; width: auto; padding-bottom: 6px; }
|
|
1452
|
+
.xo-cards td.select::before, .xo-cards td:has(> input[type="checkbox"]:only-child)::before { display: none; }
|
|
1453
|
+
.xo-cards td[data-status] { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; }
|
|
1454
|
+
.xo-cards td:not([data-title], [data-status], .select, .cell-actions, :has(> .xo-actions), :has(> input[type="checkbox"]:only-child)) { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
|
|
1455
|
+
.xo-cards td:not([data-title], [data-status], .select, .cell-actions, :has(> .xo-actions), :has(> input[type="checkbox"]:only-child))::before { flex: 0 0 6.5rem; }
|
|
1456
|
+
.xo-cards td.cell-actions, .xo-cards td:has(> .xo-actions) { grid-column: 1 / -1; width: auto; text-align: left; padding-top: 6px; }
|
|
1457
|
+
.xo-cards tbody tr[aria-selected="true"], .xo-cards tbody tr:has(input[type="checkbox"]:checked) { background: var(--xo-color-accent-soft); box-shadow: inset 3px 0 0 var(--xo-color-accent); }
|
|
1458
|
+
}
|
|
1459
|
+
.button { text-decoration: none; }
|
|
1460
|
+
.button:hover { text-decoration: none; color: var(--xo-color-text); }
|
|
1461
|
+
.button.primary { font-weight: 600; color: var(--xo-color-primary-text); background: var(--xo-color-primary); border-color: var(--xo-color-primary); }
|
|
1462
|
+
.button.primary:hover { color: var(--xo-color-primary-text); background: color-mix(in srgb, var(--xo-color-primary) 84%, #000); border-color: color-mix(in srgb, var(--xo-color-primary) 84%, #000); }
|
|
1463
|
+
.button.ghost { background: transparent; border-color: transparent; }
|
|
1464
|
+
.button.ghost:hover { background: var(--xo-color-subtle); }
|
|
1465
|
+
.button.danger { color: var(--xo-color-danger); border-color: var(--xo-color-danger); }
|
|
1466
|
+
.button.sm { min-height: var(--xo-control-height-sm); padding: 0 12px; font-size: 13px; }
|
|
1467
|
+
.button.icon-only { width: var(--xo-control-height); padding: 0; }
|
|
1468
|
+
.button.icon-only.sm { width: var(--xo-control-height-sm); }
|
|
1469
|
+
.button[aria-disabled="true"] { color: var(--xo-color-muted); background: var(--xo-color-subtle); border-color: var(--xo-color-border); pointer-events: none; }
|
|
1470
|
+
summary.button { display: inline-flex; list-style: none; cursor: pointer; }
|
|
1471
|
+
summary.button::-webkit-details-marker { display: none; }
|
|
1472
|
+
summary.button::marker { content: ""; }
|
|
1473
|
+
details[open] > summary.button { background: var(--xo-color-subtle); }
|
|
1474
|
+
|
|
1475
|
+
/* ---- admin shell ---- */
|
|
1476
|
+
.xo-app, .xo-app *, .xo-app *::before, .xo-app *::after { box-sizing: border-box; }
|
|
1477
|
+
.xo-content--readable { --xo-content-max: 1240px; }
|
|
1478
|
+
.xo-app {
|
|
1479
|
+
display: flex;
|
|
1480
|
+
flex-wrap: wrap;
|
|
1481
|
+
min-height: 100%;
|
|
1482
|
+
}
|
|
1483
|
+
.xo-side {
|
|
1484
|
+
position: sticky;
|
|
1485
|
+
top: 0;
|
|
1486
|
+
flex: 0 0 264px;
|
|
1487
|
+
align-self: flex-start;
|
|
1488
|
+
height: 100vh;
|
|
1489
|
+
background: var(--xo-color-surface);
|
|
1490
|
+
border-right: 1px solid var(--xo-color-border);
|
|
1491
|
+
}
|
|
1492
|
+
.xo-side > * {
|
|
1493
|
+
display: block;
|
|
1494
|
+
height: 100%;
|
|
1495
|
+
}
|
|
1496
|
+
.xo-main {
|
|
1497
|
+
flex: 999 1 560px;
|
|
1498
|
+
min-width: 0;
|
|
1499
|
+
display: flex;
|
|
1500
|
+
flex-direction: column;
|
|
1501
|
+
}
|
|
1502
|
+
.xo-content {
|
|
1503
|
+
width: 100%;
|
|
1504
|
+
max-width: var(--xo-content-max, none); /* no cap by default (Mist wide-screen rule); .xo-content--readable sets 1240px */
|
|
1505
|
+
padding: 24px 24px 32px;
|
|
1506
|
+
display: flex;
|
|
1507
|
+
flex-direction: column;
|
|
1508
|
+
gap: 20px;
|
|
1509
|
+
}
|
|
1510
|
+
.xo-side__in {
|
|
1511
|
+
display: flex;
|
|
1512
|
+
flex-direction: column;
|
|
1513
|
+
gap: 12px;
|
|
1514
|
+
height: 100%;
|
|
1515
|
+
min-height: 0;
|
|
1516
|
+
padding: 16px 12px 12px;
|
|
1517
|
+
background: var(--xo-color-surface);
|
|
1518
|
+
color: var(--xo-color-text);
|
|
1519
|
+
}
|
|
1520
|
+
.xo-ws {
|
|
1521
|
+
display: flex;
|
|
1522
|
+
align-items: center;
|
|
1523
|
+
gap: 12px;
|
|
1524
|
+
width: 100%;
|
|
1525
|
+
padding: 8px 12px;
|
|
1526
|
+
text-align: left;
|
|
1527
|
+
cursor: pointer;
|
|
1528
|
+
background: var(--xo-color-subtle);
|
|
1529
|
+
border: 0;
|
|
1530
|
+
border-radius: calc(var(--xo-radius) * 1.5);
|
|
1531
|
+
}
|
|
1532
|
+
.xo-ws:hover {
|
|
1533
|
+
background: var(--xo-color-border);
|
|
1534
|
+
}
|
|
1535
|
+
.xo-ws__mark {
|
|
1536
|
+
display: grid;
|
|
1537
|
+
flex: none;
|
|
1538
|
+
place-items: center;
|
|
1539
|
+
width: 32px;
|
|
1540
|
+
height: 32px;
|
|
1541
|
+
font-weight: 700;
|
|
1542
|
+
color: var(--xo-color-primary-text);
|
|
1543
|
+
background: var(--xo-color-accent);
|
|
1544
|
+
border-radius: var(--xo-radius);
|
|
1545
|
+
}
|
|
1546
|
+
.xo-ws__name {
|
|
1547
|
+
font-weight: 600;
|
|
1548
|
+
line-height: 1.2;
|
|
1549
|
+
}
|
|
1550
|
+
.xo-ws__env {
|
|
1551
|
+
font-size: 12px;
|
|
1552
|
+
color: var(--xo-color-muted);
|
|
1553
|
+
}
|
|
1554
|
+
.xo-nav {
|
|
1555
|
+
display: flex;
|
|
1556
|
+
flex-direction: column;
|
|
1557
|
+
gap: 2px;
|
|
1558
|
+
padding: 0;
|
|
1559
|
+
margin: 0;
|
|
1560
|
+
list-style: none;
|
|
1561
|
+
}
|
|
1562
|
+
.xo-nav__label {
|
|
1563
|
+
padding: 16px 12px 4px;
|
|
1564
|
+
font-size: 12px;
|
|
1565
|
+
font-weight: 600;
|
|
1566
|
+
line-height: 1.4;
|
|
1567
|
+
color: var(--xo-color-muted);
|
|
1568
|
+
}
|
|
1569
|
+
.xo-nav__link {
|
|
1570
|
+
display: flex;
|
|
1571
|
+
align-items: center;
|
|
1572
|
+
gap: 12px;
|
|
1573
|
+
min-height: var(--xo-control-height);
|
|
1574
|
+
padding: 0 12px;
|
|
1575
|
+
font-weight: 500;
|
|
1576
|
+
color: var(--xo-color-text-2);
|
|
1577
|
+
text-decoration: none;
|
|
1578
|
+
border-radius: var(--xo-radius);
|
|
1579
|
+
}
|
|
1580
|
+
.xo-nav__link:hover {
|
|
1581
|
+
color: var(--xo-color-text);
|
|
1582
|
+
background: var(--xo-color-subtle);
|
|
1583
|
+
}
|
|
1584
|
+
.xo-nav__link[aria-current='page'] {
|
|
1585
|
+
font-weight: 600;
|
|
1586
|
+
color: var(--xo-color-accent-strong);
|
|
1587
|
+
background: var(--xo-color-accent-soft);
|
|
1588
|
+
}
|
|
1589
|
+
.xo-nav__link .xo-count {
|
|
1590
|
+
margin-left: auto;
|
|
1591
|
+
}
|
|
1592
|
+
.xo-nav__sub {
|
|
1593
|
+
display: flex;
|
|
1594
|
+
flex-direction: column;
|
|
1595
|
+
margin: 2px 0 0 24px;
|
|
1596
|
+
padding: 0 0 0 8px;
|
|
1597
|
+
list-style: none;
|
|
1598
|
+
border-left: 1px solid var(--xo-color-border);
|
|
1599
|
+
}
|
|
1600
|
+
.xo-nav__sub .xo-nav__link {
|
|
1601
|
+
min-height: 36px;
|
|
1602
|
+
font-size: 13px;
|
|
1603
|
+
}
|
|
1604
|
+
.xo-nav__link[aria-current='page'] .xo-count {
|
|
1605
|
+
color: var(--xo-color-accent-strong);
|
|
1606
|
+
background: var(--xo-color-surface);
|
|
1607
|
+
}
|
|
1608
|
+
.xo-side__nav {
|
|
1609
|
+
flex: 1;
|
|
1610
|
+
min-height: 0;
|
|
1611
|
+
margin: 0 calc(12px * -1);
|
|
1612
|
+
padding: 0 4px 0 12px;
|
|
1613
|
+
overflow-y: auto;
|
|
1614
|
+
border-top: 1px solid var(--xo-color-border);
|
|
1615
|
+
}
|
|
1616
|
+
.xo-side__foot {
|
|
1617
|
+
display: flex;
|
|
1618
|
+
align-items: center;
|
|
1619
|
+
gap: 12px;
|
|
1620
|
+
padding: 12px 8px 0;
|
|
1621
|
+
border-top: 1px solid var(--xo-color-border);
|
|
1622
|
+
}
|
|
1623
|
+
.xo-topbar {
|
|
1624
|
+
display: flex;
|
|
1625
|
+
flex-wrap: wrap;
|
|
1626
|
+
align-items: center;
|
|
1627
|
+
gap: 12px;
|
|
1628
|
+
min-height: 56px;
|
|
1629
|
+
padding: 8px 24px;
|
|
1630
|
+
background: var(--xo-color-surface);
|
|
1631
|
+
border-bottom: 1px solid var(--xo-color-border);
|
|
1632
|
+
}
|
|
1633
|
+
.xo-crumbs {
|
|
1634
|
+
display: flex;
|
|
1635
|
+
flex-wrap: wrap;
|
|
1636
|
+
align-items: center;
|
|
1637
|
+
gap: 8px;
|
|
1638
|
+
padding: 0;
|
|
1639
|
+
margin: 0;
|
|
1640
|
+
font-size: 13px;
|
|
1641
|
+
list-style: none;
|
|
1642
|
+
color: var(--xo-color-muted);
|
|
1643
|
+
}
|
|
1644
|
+
.xo-crumbs li:last-child {
|
|
1645
|
+
font-weight: 600;
|
|
1646
|
+
color: var(--xo-color-text);
|
|
1647
|
+
}
|
|
1648
|
+
.xo-crumbs .icon {
|
|
1649
|
+
color: var(--xo-color-muted);
|
|
1650
|
+
}
|
|
1651
|
+
.xo-search-button {
|
|
1652
|
+
display: flex;
|
|
1653
|
+
align-items: center;
|
|
1654
|
+
gap: 8px;
|
|
1655
|
+
min-width: 280px;
|
|
1656
|
+
height: var(--xo-control-height);
|
|
1657
|
+
padding: 0 12px;
|
|
1658
|
+
text-align: left;
|
|
1659
|
+
color: var(--xo-color-muted);
|
|
1660
|
+
cursor: pointer;
|
|
1661
|
+
background: var(--xo-color-bg);
|
|
1662
|
+
border: 1px solid var(--xo-color-control-border);
|
|
1663
|
+
border-radius: var(--xo-radius);
|
|
1664
|
+
}
|
|
1665
|
+
.xo-search-button:hover {
|
|
1666
|
+
background: var(--xo-color-subtle);
|
|
1667
|
+
}
|
|
1668
|
+
.xo-page-head {
|
|
1669
|
+
display: flex;
|
|
1670
|
+
flex-wrap: wrap;
|
|
1671
|
+
align-items: flex-end;
|
|
1672
|
+
justify-content: space-between;
|
|
1673
|
+
gap: 16px;
|
|
1674
|
+
}
|
|
1675
|
+
.xo-eyebrow {
|
|
1676
|
+
font-size: 13px;
|
|
1677
|
+
font-weight: 500;
|
|
1678
|
+
line-height: 1.4;
|
|
1679
|
+
color: var(--xo-color-muted);
|
|
1680
|
+
}
|
|
1681
|
+
.xo-title {
|
|
1682
|
+
margin-top: 4px;
|
|
1683
|
+
font-size: 32px;
|
|
1684
|
+
font-weight: 600;
|
|
1685
|
+
line-height: 1.15;
|
|
1686
|
+
letter-spacing: -0.02em;
|
|
1687
|
+
}
|
|
1688
|
+
.xo-lede {
|
|
1689
|
+
max-width: 60ch;
|
|
1690
|
+
margin-top: 8px;
|
|
1691
|
+
font-size: 15px;
|
|
1692
|
+
color: var(--xo-color-text-2);
|
|
1693
|
+
}
|
|
1694
|
+
.xo-side__nav {
|
|
1695
|
+
scrollbar-width: thin;
|
|
1696
|
+
scrollbar-color: var(--scroll-thumb) transparent;
|
|
1697
|
+
}
|
|
1698
|
+
.xo-side__nav::-webkit-scrollbar {
|
|
1699
|
+
width: 12px;
|
|
1700
|
+
height: 12px;
|
|
1701
|
+
background: transparent;
|
|
1702
|
+
}
|
|
1703
|
+
.xo-side__nav::-webkit-scrollbar-track {
|
|
1704
|
+
background: transparent;
|
|
1705
|
+
}
|
|
1706
|
+
.xo-side__nav::-webkit-scrollbar-corner {
|
|
1707
|
+
background: transparent;
|
|
1708
|
+
}
|
|
1709
|
+
.xo-side__nav::-webkit-scrollbar-thumb {
|
|
1710
|
+
min-height: 40px;
|
|
1711
|
+
background: var(--scroll-thumb);
|
|
1712
|
+
background-clip: content-box;
|
|
1713
|
+
border: 3px solid transparent;
|
|
1714
|
+
border-radius: 6px;
|
|
1715
|
+
}
|
|
1716
|
+
.xo-side__nav::-webkit-scrollbar-thumb:hover {
|
|
1717
|
+
background: var(--scroll-thumb-hover);
|
|
1718
|
+
background-clip: content-box;
|
|
1719
|
+
}
|
|
1720
|
+
.xo-side__nav::-webkit-scrollbar-thumb:active {
|
|
1721
|
+
background: var(--scroll-thumb-active);
|
|
1722
|
+
background-clip: content-box;
|
|
1723
|
+
}
|
|
1724
|
+
.admin-demo { margin: 0; background: var(--xo-color-bg); }
|
|
1725
|
+
.admin-demo .row-inline.between { justify-content: space-between; gap: 12px; width: 100%; }
|
|
1726
|
+
.admin-demo .xo-input-wrap { max-width: 22rem; }
|
|
1727
|
+
.admin-demo .xo-side__nav .xo-nav__link .icon { color: var(--xo-color-muted); }
|
|
1728
|
+
.admin-demo .xo-nav__link[aria-current="page"] .icon { color: var(--xo-color-accent-strong); }
|
|
1729
|
+
.admin-demo .xo-side { height: 100vh; }
|
|
1730
|
+
.grow { flex: 1; min-width: 0; }
|
|
1731
|
+
@media (max-width: 47.99rem) {
|
|
1732
|
+
.xo-side { display: none; }
|
|
1733
|
+
.xo-content { padding: 16px; }
|
|
1734
|
+
.xo-topbar { padding: 8px 16px; }
|
|
1735
|
+
.xo-search-button { min-width: 0; flex: 1; }
|
|
1736
|
+
}
|
|
1737
|
+
.admin-demo { margin: 0; background: var(--xo-color-bg); }
|
|
1738
|
+
.admin-demo .row-inline.between { justify-content: space-between; gap: 12px; width: 100%; }
|
|
1739
|
+
.admin-demo .xo-input-wrap { max-width: 22rem; }
|
|
1740
|
+
.admin-demo .xo-nav__link .icon { color: var(--xo-color-muted); }
|
|
1741
|
+
.admin-demo .xo-nav__link[aria-current="page"] .icon { color: var(--xo-color-accent-strong); }
|
|
1742
|
+
.grow { flex: 1; min-width: 0; }
|
|
1743
|
+
@media (max-width: 47.99rem) {
|
|
1744
|
+
.xo-side { display: none; }
|
|
1745
|
+
.xo-content { padding: 16px; }
|
|
1746
|
+
.xo-topbar { padding: 8px 16px; }
|
|
1747
|
+
.xo-search-button { min-width: 0; flex: 1; }
|
|
1748
|
+
}
|
|
1749
|
+
.xo-ws__name, .xo-ws__env { display: block; }
|
|
1750
|
+
table.std a.primary-cell { color: var(--xo-color-text); font-weight: 600; text-decoration: none; }
|
|
1751
|
+
table.std a.primary-cell:hover { color: var(--xo-color-accent-strong); text-decoration: underline; text-underline-offset: 3px; }
|
|
1752
|
+
.xo-topbar { min-width: 0; }
|
|
1753
|
+
.xo-search-button { max-width: 100%; }
|
|
1754
|
+
.xo-search-button > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
1755
|
+
.xo-main, .xo-content { min-width: 0; }
|
|
1756
|
+
.xo-content > * { min-width: 0; max-width: 100%; }
|
|
1757
|
+
@media (max-width: 47.99rem) {
|
|
1758
|
+
.xo-search-button .xo-kbd { display: none; }
|
|
1759
|
+
.xo-search-button { min-width: 0; }
|
|
1760
|
+
.admin-demo .row-inline.between { flex-wrap: wrap; }
|
|
1761
|
+
.xo-topbar .button { display: none; }
|
|
1762
|
+
.xo-page-head .row-inline { width: 100%; }
|
|
1763
|
+
.xo-page-head .row-inline .button { flex: 1; }
|
|
1764
|
+
}
|
|
1765
|
+
.xo-menu-button { display: none; }
|
|
1766
|
+
@media (max-width: 47.99rem) {
|
|
1767
|
+
.xo-menu-button { display: inline-flex; }
|
|
1768
|
+
}
|
|
1769
|
+
dialog.xo-drawer { margin: 0; padding: 0; width: min(20rem, 88vw); max-width: none; height: 100dvh; max-height: none; color: var(--xo-color-text); background: var(--xo-color-surface); border: 0; border-right: 1px solid var(--xo-color-border); border-radius: 0; box-shadow: var(--xo-shadow-pop); overflow: hidden; }
|
|
1770
|
+
dialog.xo-drawer[open] { display: block; inset: 0 auto 0 0; }
|
|
1771
|
+
dialog.xo-drawer::backdrop { background: color-mix(in srgb, #1f2a33 45%, transparent); }
|
|
1772
|
+
dialog.xo-drawer .xo-side__in { height: 100%; }
|
|
1773
|
+
.xo-drawer__close { position: absolute; top: 8px; right: 8px; }
|
|
1774
|
+
}
|