@wintermuted/ui-theme 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +131 -0
- package/index.css +6 -0
- package/index.js +1 -0
- package/package.json +73 -0
- package/styles/base.css +145 -0
- package/styles/components/badge.css +17 -0
- package/styles/components/button.css +319 -0
- package/styles/components/card.css +92 -0
- package/styles/components/chart.css +54 -0
- package/styles/components/checkbox-filter.css +69 -0
- package/styles/components/code-block.css +89 -0
- package/styles/components/empty-state.css +29 -0
- package/styles/components/file-upload.css +29 -0
- package/styles/components/gallery.css +286 -0
- package/styles/components/inline-panel.css +53 -0
- package/styles/components/layout.css +525 -0
- package/styles/components/list.css +27 -0
- package/styles/components/modal.css +92 -0
- package/styles/components/separator.css +7 -0
- package/styles/components/side-nav.css +56 -0
- package/styles/components/slider.css +155 -0
- package/styles/components/stat-card.css +82 -0
- package/styles/components/tab-bar.css +175 -0
- package/styles/components/tag.css +29 -0
- package/styles/components/toast.css +120 -0
- package/styles/components/toggle-group.css +124 -0
- package/styles/components/toggle.css +116 -0
- package/styles/components/view-header.css +60 -0
- package/styles/components.css +25 -0
- package/styles/tokens.css +70 -0
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
/* ── Layout: App Shell & Two-Column Sidebar Layout ─────────────────────────── */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* .app-shell / .wm-app-shell
|
|
5
|
+
* Centered, max-width page wrapper. Apply to the outermost <div> or <main>.
|
|
6
|
+
*/
|
|
7
|
+
.app-shell,
|
|
8
|
+
.wm-app-shell {
|
|
9
|
+
max-width: 960px;
|
|
10
|
+
margin: 0 auto;
|
|
11
|
+
padding: 1rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* .app-header / .wm-app-header
|
|
16
|
+
* Horizontal top bar with brand, nav, and action zones. Bottom-border divider.
|
|
17
|
+
*/
|
|
18
|
+
.app-header,
|
|
19
|
+
.wm-app-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
border-bottom: 1px solid var(--wm-color-border);
|
|
24
|
+
padding-bottom: 0.75rem;
|
|
25
|
+
margin-bottom: 1.5rem;
|
|
26
|
+
gap: 1rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* .app-brand / .wm-app-brand
|
|
31
|
+
* Column stack for app name + optional byline.
|
|
32
|
+
*/
|
|
33
|
+
.app-brand,
|
|
34
|
+
.wm-app-brand {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: 0.1rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.app-brand h1,
|
|
41
|
+
.wm-app-brand h1 {
|
|
42
|
+
font-size: 1.4rem;
|
|
43
|
+
margin: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* .app-byline / .wm-app-byline
|
|
48
|
+
* Muted italic tagline below the app title.
|
|
49
|
+
*/
|
|
50
|
+
.app-byline,
|
|
51
|
+
.wm-app-byline {
|
|
52
|
+
margin: 0;
|
|
53
|
+
font-size: 0.8rem;
|
|
54
|
+
color: var(--wm-color-text-muted);
|
|
55
|
+
font-style: italic;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* .app-nav / .wm-app-nav
|
|
60
|
+
* Horizontal navigation link row inside .app-header.
|
|
61
|
+
* Anchor children get hover + active states.
|
|
62
|
+
*/
|
|
63
|
+
.app-nav,
|
|
64
|
+
.wm-app-nav {
|
|
65
|
+
display: flex;
|
|
66
|
+
gap: 1rem;
|
|
67
|
+
flex-wrap: wrap;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* .app-nav-nowrap / .wm-app-nav-nowrap
|
|
72
|
+
* Optional utility to keep nav links on one row with horizontal scroll instead
|
|
73
|
+
* of wrapping and compressing content.
|
|
74
|
+
*/
|
|
75
|
+
.app-nav-nowrap,
|
|
76
|
+
.wm-app-nav-nowrap {
|
|
77
|
+
flex-wrap: nowrap;
|
|
78
|
+
min-width: 0;
|
|
79
|
+
overflow-x: auto;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.app-nav a,
|
|
83
|
+
.wm-app-nav a {
|
|
84
|
+
text-decoration: none;
|
|
85
|
+
color: var(--wm-color-text-secondary);
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
padding: 0.25rem 0.5rem;
|
|
88
|
+
border-radius: var(--wm-radius-xs, 4px);
|
|
89
|
+
transition: background-color 0.15s;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.app-nav a:hover,
|
|
93
|
+
.wm-app-nav a:hover {
|
|
94
|
+
background-color: var(--wm-color-surface-strong);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.app-nav a.active,
|
|
98
|
+
.wm-app-nav a.active {
|
|
99
|
+
color: var(--wm-color-accent);
|
|
100
|
+
text-decoration: underline;
|
|
101
|
+
text-decoration-color: var(--wm-color-accent);
|
|
102
|
+
text-underline-offset: 0.2em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* .app-header-actions / .wm-app-header-actions
|
|
107
|
+
* Right-aligned row of buttons or utility controls.
|
|
108
|
+
*/
|
|
109
|
+
.app-header-actions,
|
|
110
|
+
.wm-app-header-actions {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: 0.75rem;
|
|
114
|
+
flex-shrink: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* ── Docs Topbar Layout Pattern ───────────────────────────────────────────── */
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* .docs-topbar / .wm-docs-topbar
|
|
121
|
+
* Sticky docs-style top bar with subtle blur and soft surface blending.
|
|
122
|
+
*/
|
|
123
|
+
.docs-topbar,
|
|
124
|
+
.wm-docs-topbar {
|
|
125
|
+
position: sticky;
|
|
126
|
+
top: 0;
|
|
127
|
+
z-index: 100;
|
|
128
|
+
backdrop-filter: blur(8px);
|
|
129
|
+
background: color-mix(in srgb, var(--wm-color-bg) 84%, transparent);
|
|
130
|
+
border-bottom: 1px solid var(--wm-color-border);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* .docs-topbar-inner / .wm-docs-topbar-inner
|
|
135
|
+
* Horizontal row container for brand, nav, and actions.
|
|
136
|
+
*/
|
|
137
|
+
.docs-topbar-inner,
|
|
138
|
+
.wm-docs-topbar-inner {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: 0.9rem;
|
|
142
|
+
padding: 0.65rem 1.6rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* .docs-topbar-brand / .wm-docs-topbar-brand
|
|
147
|
+
* Compact brand block for docs/product title.
|
|
148
|
+
*/
|
|
149
|
+
.docs-topbar-brand,
|
|
150
|
+
.wm-docs-topbar-brand {
|
|
151
|
+
display: inline-flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
text-decoration: none;
|
|
154
|
+
color: var(--wm-color-text);
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.docs-topbar-brand h1,
|
|
159
|
+
.wm-docs-topbar-brand h1 {
|
|
160
|
+
margin: 0;
|
|
161
|
+
font-size: 0.84rem;
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
letter-spacing: 0.01em;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* .docs-topbar-nav / .wm-docs-topbar-nav
|
|
168
|
+
* Horizontal scroll-safe link row.
|
|
169
|
+
*/
|
|
170
|
+
.docs-topbar-nav,
|
|
171
|
+
.wm-docs-topbar-nav {
|
|
172
|
+
min-width: 0;
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
gap: 0.35rem;
|
|
176
|
+
overflow-x: auto;
|
|
177
|
+
padding-bottom: 0.05rem;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* .docs-topbar-link / .wm-docs-topbar-link
|
|
182
|
+
* Pill links with hover and active states.
|
|
183
|
+
*/
|
|
184
|
+
.docs-topbar-link,
|
|
185
|
+
.wm-docs-topbar-link {
|
|
186
|
+
text-decoration: none;
|
|
187
|
+
color: var(--wm-color-text-muted);
|
|
188
|
+
border: 1px solid transparent;
|
|
189
|
+
border-radius: 999px;
|
|
190
|
+
padding: 0.33rem 0.62rem;
|
|
191
|
+
font-size: 0.75rem;
|
|
192
|
+
font-weight: 500;
|
|
193
|
+
line-height: 1.2;
|
|
194
|
+
white-space: nowrap;
|
|
195
|
+
transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.docs-topbar-link:hover,
|
|
199
|
+
.wm-docs-topbar-link:hover {
|
|
200
|
+
color: var(--wm-color-text);
|
|
201
|
+
background: color-mix(in srgb, var(--wm-color-surface-solid) 60%, var(--wm-color-surface-muted));
|
|
202
|
+
border-color: var(--wm-color-border);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.docs-topbar-link.is-active,
|
|
206
|
+
.wm-docs-topbar-link.is-active {
|
|
207
|
+
color: var(--wm-color-text);
|
|
208
|
+
background: color-mix(in srgb, var(--wm-color-accent-soft) 60%, transparent);
|
|
209
|
+
border-color: var(--wm-color-accent-border);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* .docs-topbar-link-devdocs / .wm-docs-topbar-link-devdocs
|
|
214
|
+
* Minimal docs-tab link style modeled after developer docs top nav patterns.
|
|
215
|
+
* Designed for product-level tabs like Home/About where active state is shown
|
|
216
|
+
* via a bottom border rather than pill backgrounds.
|
|
217
|
+
*/
|
|
218
|
+
.docs-topbar-link-devdocs,
|
|
219
|
+
.wm-docs-topbar-link-devdocs {
|
|
220
|
+
text-decoration: none;
|
|
221
|
+
color: var(--wm-color-text-muted);
|
|
222
|
+
border: none;
|
|
223
|
+
border-bottom: 2px solid transparent;
|
|
224
|
+
border-radius: 0;
|
|
225
|
+
background: transparent;
|
|
226
|
+
padding: 0.46rem 0.12rem;
|
|
227
|
+
font-size: 0.78rem;
|
|
228
|
+
font-weight: 500;
|
|
229
|
+
line-height: 1.2;
|
|
230
|
+
white-space: nowrap;
|
|
231
|
+
transition: color 0.15s ease, border-bottom-color 0.15s ease;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.docs-topbar-link-devdocs:hover,
|
|
235
|
+
.wm-docs-topbar-link-devdocs:hover {
|
|
236
|
+
color: var(--wm-color-text);
|
|
237
|
+
border-bottom-color: var(--wm-color-border-strong);
|
|
238
|
+
background: transparent;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.docs-topbar-link-devdocs.is-active,
|
|
242
|
+
.wm-docs-topbar-link-devdocs.is-active,
|
|
243
|
+
.docs-topbar-link-devdocs[aria-current="page"],
|
|
244
|
+
.wm-docs-topbar-link-devdocs[aria-current="page"] {
|
|
245
|
+
color: var(--wm-color-text);
|
|
246
|
+
border-bottom-color: var(--wm-color-text);
|
|
247
|
+
background: transparent;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* .docs-topbar-actions / .wm-docs-topbar-actions
|
|
252
|
+
* Right-aligned utility control row.
|
|
253
|
+
*/
|
|
254
|
+
.docs-topbar-actions,
|
|
255
|
+
.wm-docs-topbar-actions {
|
|
256
|
+
margin-left: auto;
|
|
257
|
+
flex-shrink: 0;
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: 0.5rem;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.docs-topbar-toggle,
|
|
264
|
+
.wm-docs-topbar-toggle {
|
|
265
|
+
display: inline-flex;
|
|
266
|
+
align-items: center;
|
|
267
|
+
gap: 0.4em;
|
|
268
|
+
font-size: 0.72rem;
|
|
269
|
+
font-weight: 500;
|
|
270
|
+
font-family: inherit;
|
|
271
|
+
padding: 0.33rem 0.65rem;
|
|
272
|
+
border-radius: 999px;
|
|
273
|
+
border: 1px solid var(--wm-color-border);
|
|
274
|
+
background: transparent;
|
|
275
|
+
color: var(--wm-color-text-muted);
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
white-space: nowrap;
|
|
278
|
+
transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.docs-topbar-toggle:hover,
|
|
282
|
+
.wm-docs-topbar-toggle:hover {
|
|
283
|
+
background: color-mix(in srgb, var(--wm-color-surface-solid) 60%, var(--wm-color-surface-muted));
|
|
284
|
+
color: var(--wm-color-text);
|
|
285
|
+
border-color: var(--wm-color-accent-border);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.docs-topbar-toggle svg,
|
|
289
|
+
.wm-docs-topbar-toggle svg {
|
|
290
|
+
flex-shrink: 0;
|
|
291
|
+
width: 13px;
|
|
292
|
+
height: 13px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.docs-topbar-version,
|
|
296
|
+
.wm-docs-topbar-version {
|
|
297
|
+
font-size: 0.72rem;
|
|
298
|
+
font-weight: 500;
|
|
299
|
+
font-family: inherit;
|
|
300
|
+
padding: 0.28rem 1.6rem 0.28rem 0.6rem;
|
|
301
|
+
border-radius: var(--wm-radius-xs, 4px);
|
|
302
|
+
border: none;
|
|
303
|
+
background: transparent
|
|
304
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
|
|
305
|
+
no-repeat right 0.45rem center;
|
|
306
|
+
color: var(--wm-color-text-muted);
|
|
307
|
+
cursor: pointer;
|
|
308
|
+
appearance: none;
|
|
309
|
+
outline: none;
|
|
310
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.docs-topbar-version:hover,
|
|
314
|
+
.docs-topbar-version:focus,
|
|
315
|
+
.wm-docs-topbar-version:hover,
|
|
316
|
+
.wm-docs-topbar-version:focus {
|
|
317
|
+
background-color: var(--wm-color-surface-muted);
|
|
318
|
+
color: var(--wm-color-text);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.docs-topbar-github,
|
|
322
|
+
.wm-docs-topbar-github {
|
|
323
|
+
display: inline-flex;
|
|
324
|
+
align-items: center;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
width: 28px;
|
|
327
|
+
height: 28px;
|
|
328
|
+
border-radius: 50%;
|
|
329
|
+
color: var(--wm-color-text-muted);
|
|
330
|
+
transition: color 0.15s ease, background 0.15s ease;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.docs-topbar-github:hover,
|
|
334
|
+
.wm-docs-topbar-github:hover {
|
|
335
|
+
color: var(--wm-color-text);
|
|
336
|
+
background: color-mix(in srgb, var(--wm-color-surface-solid) 60%, var(--wm-color-surface-muted));
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.docs-topbar-github svg,
|
|
340
|
+
.wm-docs-topbar-github svg {
|
|
341
|
+
width: 16px;
|
|
342
|
+
height: 16px;
|
|
343
|
+
flex-shrink: 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@media (width <= 767px) {
|
|
347
|
+
.docs-topbar-inner,
|
|
348
|
+
.wm-docs-topbar-inner {
|
|
349
|
+
flex-wrap: wrap;
|
|
350
|
+
gap: 0.65rem;
|
|
351
|
+
padding: 0.6rem 0.75rem;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.docs-topbar-actions,
|
|
355
|
+
.wm-docs-topbar-actions {
|
|
356
|
+
width: 100%;
|
|
357
|
+
justify-content: flex-start;
|
|
358
|
+
flex-wrap: wrap;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/* ── Two-Column Sidebar + Main ──────────────────────────────────────────────── */
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* .sidebar-layout / .wm-sidebar-layout
|
|
366
|
+
* Flex row: narrow fixed sidebar on left, flex-1 main panel on right.
|
|
367
|
+
* Collapses to a vertical stack at ≤768 px.
|
|
368
|
+
*/
|
|
369
|
+
.sidebar-layout,
|
|
370
|
+
.wm-sidebar-layout {
|
|
371
|
+
display: flex;
|
|
372
|
+
gap: 1.5rem;
|
|
373
|
+
align-items: flex-start;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* .sidebar-layout-stretch / .wm-sidebar-layout-stretch
|
|
378
|
+
* Optional utility for app workspaces that require both columns to stretch
|
|
379
|
+
* to the container height (useful for sticky controls and independent rail scroll).
|
|
380
|
+
*/
|
|
381
|
+
.sidebar-layout-stretch,
|
|
382
|
+
.wm-sidebar-layout-stretch {
|
|
383
|
+
align-items: stretch;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* .sidebar-layout-aside / .wm-sidebar-layout-aside
|
|
388
|
+
* Fixed-width left column. Right border acts as a divider.
|
|
389
|
+
*/
|
|
390
|
+
.sidebar-layout-aside,
|
|
391
|
+
.wm-sidebar-layout-aside {
|
|
392
|
+
flex: 0 1 var(--wm-sidebar-aside-width, 220px);
|
|
393
|
+
width: var(--wm-sidebar-aside-width, 220px);
|
|
394
|
+
min-width: var(--wm-sidebar-aside-min-width, var(--wm-sidebar-aside-width, 220px));
|
|
395
|
+
max-width: var(--wm-sidebar-aside-max-width, var(--wm-sidebar-aside-width, 220px));
|
|
396
|
+
border-right: 1px solid var(--wm-color-border);
|
|
397
|
+
padding-right: 1rem;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* .sidebar-layout-aside-no-divider / .wm-sidebar-layout-aside-no-divider
|
|
402
|
+
* Optional utility to remove the aside divider for seamless split layouts.
|
|
403
|
+
*/
|
|
404
|
+
.sidebar-layout-aside-no-divider,
|
|
405
|
+
.wm-sidebar-layout-aside-no-divider {
|
|
406
|
+
border-right: none;
|
|
407
|
+
padding-right: 0;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* .sidebar-layout-main / .wm-sidebar-layout-main
|
|
412
|
+
* Grows to fill remaining width. min-width:0 prevents flex blowout.
|
|
413
|
+
*/
|
|
414
|
+
.sidebar-layout-main,
|
|
415
|
+
.wm-sidebar-layout-main {
|
|
416
|
+
flex: 1;
|
|
417
|
+
min-width: 0;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* .sticky-bottom / .wm-sticky-bottom
|
|
422
|
+
* Optional utility for controls/toolbars that should remain pinned to the
|
|
423
|
+
* bottom edge of the scrolling layout region.
|
|
424
|
+
*/
|
|
425
|
+
.sticky-bottom,
|
|
426
|
+
.wm-sticky-bottom {
|
|
427
|
+
position: sticky;
|
|
428
|
+
bottom: 0;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* .sidebar-section-title / .wm-sidebar-section-title
|
|
433
|
+
* Small-caps section label at the top of a sidebar column.
|
|
434
|
+
*/
|
|
435
|
+
.sidebar-section-title,
|
|
436
|
+
.wm-sidebar-section-title {
|
|
437
|
+
font-size: 0.9rem;
|
|
438
|
+
font-weight: 700;
|
|
439
|
+
text-transform: uppercase;
|
|
440
|
+
letter-spacing: 0.05em;
|
|
441
|
+
color: var(--wm-color-text-muted);
|
|
442
|
+
margin: 0 0 0.75rem;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* ── Entry Header ───────────────────────────────────────────────────────────── */
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* .entry-header / .wm-entry-header
|
|
449
|
+
* Two-column header row: title/name on the left, date or meta on the right.
|
|
450
|
+
* Use for resume-style entries, work history rows, timeline items, etc.
|
|
451
|
+
* Wraps gracefully on narrow viewports.
|
|
452
|
+
*/
|
|
453
|
+
.entry-header,
|
|
454
|
+
.wm-entry-header {
|
|
455
|
+
display: flex;
|
|
456
|
+
justify-content: space-between;
|
|
457
|
+
align-items: baseline;
|
|
458
|
+
flex-wrap: wrap;
|
|
459
|
+
gap: 0.25rem 1rem;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* .entry-date / .wm-entry-date
|
|
464
|
+
* Small muted timestamp or date range. Right-aligned inside .entry-header.
|
|
465
|
+
*/
|
|
466
|
+
.entry-date,
|
|
467
|
+
.wm-entry-date {
|
|
468
|
+
font-size: 0.8rem;
|
|
469
|
+
color: var(--wm-color-text-muted);
|
|
470
|
+
font-weight: 400;
|
|
471
|
+
white-space: nowrap;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* .entry-meta / .wm-entry-meta
|
|
476
|
+
* Small muted secondary detail (location, category, type) below or beside a title.
|
|
477
|
+
*/
|
|
478
|
+
.entry-meta,
|
|
479
|
+
.wm-entry-meta {
|
|
480
|
+
font-size: 0.8rem;
|
|
481
|
+
color: var(--wm-color-text-muted);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/* ── Content Grid ───────────────────────────────────────────────────────────── */
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* .content-grid / .wm-content-grid
|
|
488
|
+
* Responsive auto-fill grid for equal-width content tiles (skills, features, cards).
|
|
489
|
+
* Each cell is at least 220 px wide and expands to fill available space.
|
|
490
|
+
*/
|
|
491
|
+
.content-grid,
|
|
492
|
+
.wm-content-grid {
|
|
493
|
+
display: grid;
|
|
494
|
+
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
495
|
+
gap: 0.75rem 2rem;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
@media (width <= 768px) {
|
|
499
|
+
.app-header,
|
|
500
|
+
.wm-app-header {
|
|
501
|
+
flex-direction: column;
|
|
502
|
+
align-items: flex-start;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.app-header-actions,
|
|
506
|
+
.wm-app-header-actions {
|
|
507
|
+
width: 100%;
|
|
508
|
+
justify-content: space-between;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.sidebar-layout,
|
|
512
|
+
.wm-sidebar-layout {
|
|
513
|
+
flex-direction: column;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.sidebar-layout-aside,
|
|
517
|
+
.wm-sidebar-layout-aside {
|
|
518
|
+
flex: none;
|
|
519
|
+
width: 100%;
|
|
520
|
+
border-right: none;
|
|
521
|
+
border-bottom: 1px solid var(--wm-color-border);
|
|
522
|
+
padding-right: 0;
|
|
523
|
+
padding-bottom: 0.75rem;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Styled list with custom bullet markers. */
|
|
2
|
+
|
|
3
|
+
.wm-list {
|
|
4
|
+
list-style: none;
|
|
5
|
+
padding-left: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
font-size: 0.88rem;
|
|
8
|
+
color: var(--wm-color-text-secondary);
|
|
9
|
+
line-height: 1.6;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.wm-list li {
|
|
13
|
+
position: relative;
|
|
14
|
+
padding-left: 1rem;
|
|
15
|
+
margin-bottom: 0.35rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.wm-list li::before {
|
|
19
|
+
content: "";
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 0;
|
|
22
|
+
top: 0.6em;
|
|
23
|
+
width: 4px;
|
|
24
|
+
height: 4px;
|
|
25
|
+
background: var(--wm-color-text-faint);
|
|
26
|
+
border-radius: 50%;
|
|
27
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* Modal: overlay + panel pattern for focused dialogs. */
|
|
2
|
+
|
|
3
|
+
.modal-overlay,
|
|
4
|
+
.wm-modal-overlay {
|
|
5
|
+
position: fixed;
|
|
6
|
+
inset: 0;
|
|
7
|
+
background: color-mix(in srgb, var(--wm-color-text, #000) 36%, transparent);
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
padding: 1rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.modal-panel,
|
|
16
|
+
.wm-modal-panel {
|
|
17
|
+
background: var(--wm-color-surface);
|
|
18
|
+
border-radius: var(--wm-radius-sm, 12px);
|
|
19
|
+
box-shadow: var(--wm-shadow-soft, 0 8px 32px rgb(0 0 0 / 18%));
|
|
20
|
+
border: 1px solid var(--wm-color-border);
|
|
21
|
+
width: 100%;
|
|
22
|
+
max-width: 640px;
|
|
23
|
+
max-height: 80vh;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.modal-header,
|
|
30
|
+
.wm-modal-header {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: flex-start;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
padding: 1rem 1.25rem 0.75rem;
|
|
35
|
+
border-bottom: 1px solid var(--wm-color-border);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.modal-title,
|
|
39
|
+
.wm-modal-title {
|
|
40
|
+
margin: 0 0 0.15rem;
|
|
41
|
+
font-size: 1.1rem;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.modal-subtitle,
|
|
46
|
+
.wm-modal-subtitle {
|
|
47
|
+
margin: 0;
|
|
48
|
+
font-size: 0.8rem;
|
|
49
|
+
color: var(--wm-color-text-muted);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.modal-header-actions,
|
|
53
|
+
.wm-modal-header-actions {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 0.5rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.modal-close-btn,
|
|
60
|
+
.wm-modal-close-btn {
|
|
61
|
+
background: none;
|
|
62
|
+
border: none;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
color: var(--wm-color-text-muted);
|
|
65
|
+
padding: 0.25rem;
|
|
66
|
+
border-radius: var(--wm-radius-xs, 4px);
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
flex-shrink: 0;
|
|
70
|
+
transition: background-color 0.15s, color 0.15s;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.modal-close-btn:hover,
|
|
74
|
+
.wm-modal-close-btn:hover {
|
|
75
|
+
background: var(--wm-color-surface-strong);
|
|
76
|
+
color: var(--wm-color-text);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.modal-body,
|
|
80
|
+
.wm-modal-body {
|
|
81
|
+
overflow-y: auto;
|
|
82
|
+
padding: 1rem 1.25rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.modal-footer,
|
|
86
|
+
.wm-modal-footer {
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: flex-end;
|
|
89
|
+
gap: 0.5rem;
|
|
90
|
+
padding: 0.75rem 1.25rem;
|
|
91
|
+
border-top: 1px solid var(--wm-color-border);
|
|
92
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* Sticky side navigation primitive. */
|
|
2
|
+
|
|
3
|
+
.wm-side-nav {
|
|
4
|
+
list-style: none;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.wm-side-nav li {
|
|
10
|
+
margin-bottom: 0.1rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.wm-side-nav a {
|
|
14
|
+
display: block;
|
|
15
|
+
padding: 0.3rem 0.6rem;
|
|
16
|
+
font-size: 0.7rem;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
letter-spacing: 0.06em;
|
|
20
|
+
color: var(--wm-color-text-muted);
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
border-left: 2px solid transparent;
|
|
23
|
+
border-radius: 0 var(--wm-radius-xs) var(--wm-radius-xs) 0;
|
|
24
|
+
transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.wm-side-nav a:hover {
|
|
28
|
+
color: var(--wm-color-text);
|
|
29
|
+
background: var(--wm-color-surface-muted);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.wm-side-nav a.active,
|
|
33
|
+
.wm-side-nav a[aria-current] {
|
|
34
|
+
color: var(--wm-color-text);
|
|
35
|
+
border-left-color: var(--wm-color-text);
|
|
36
|
+
background: var(--wm-color-surface-muted);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Viewport-fixed controls nav (CV-style utility control cluster). */
|
|
40
|
+
|
|
41
|
+
.floating-nav,
|
|
42
|
+
.wm-floating-nav {
|
|
43
|
+
position: fixed;
|
|
44
|
+
top: 1.25rem;
|
|
45
|
+
right: 1.25rem;
|
|
46
|
+
z-index: 100;
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: 0.5rem;
|
|
49
|
+
align-items: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.floating-nav-left,
|
|
53
|
+
.wm-floating-nav-left {
|
|
54
|
+
left: 1.25rem;
|
|
55
|
+
right: auto;
|
|
56
|
+
}
|