layout-style-css 1.0.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 +447 -0
- package/demo/assets/apple-touch-icon.svg +7 -0
- package/demo/assets/favicon.svg +7 -0
- package/demo/assets/social-card.svg +17 -0
- package/demo/browserconfig.xml +9 -0
- package/demo/index.html +700 -0
- package/demo/robots.txt +4 -0
- package/demo/site.webmanifest +23 -0
- package/demo/sitemap.xml +9 -0
- package/dist/layout-all-with-ui-kit-and-interactive-surface.css +3 -0
- package/dist/layout-all-with-ui-kit.css +2 -0
- package/dist/layout-all.css +13 -0
- package/dist/layout-base.css +472 -0
- package/dist/layout-style-bauhaus.css +70 -0
- package/dist/layout-style-bento.css +76 -0
- package/dist/layout-style-brutalism.css +70 -0
- package/dist/layout-style-css.css +1367 -0
- package/dist/layout-style-css.min.css +1 -0
- package/dist/layout-style-cyberpunk.css +70 -0
- package/dist/layout-style-maximalist.css +93 -0
- package/dist/layout-style-minimal-saas.css +67 -0
- package/dist/layout-style-neumorphism.css +72 -0
- package/dist/layout-style-retro-glass.css +82 -0
- package/dist/layout-style-retrofuturism.css +71 -0
- package/dist/layout-style-tactile.css +70 -0
- package/dist/layout-style-y2k.css +72 -0
- package/dist/layout-ui-style-kit-bridge.css +55 -0
- package/package.json +97 -0
- package/styles/layout-base.css +472 -0
- package/styles/layout-style-bauhaus.css +70 -0
- package/styles/layout-style-bento.css +76 -0
- package/styles/layout-style-brutalism.css +70 -0
- package/styles/layout-style-cyberpunk.css +70 -0
- package/styles/layout-style-maximalist.css +93 -0
- package/styles/layout-style-minimal-saas.css +67 -0
- package/styles/layout-style-neumorphism.css +72 -0
- package/styles/layout-style-retro-glass.css +82 -0
- package/styles/layout-style-retrofuturism.css +71 -0
- package/styles/layout-style-tactile.css +70 -0
- package/styles/layout-style-y2k.css +72 -0
- package/styles/layout-ui-style-kit-bridge.css +55 -0
package/demo/robots.txt
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "layout-style-css",
|
|
3
|
+
"short_name": "Layout CSS",
|
|
4
|
+
"description": "Shell-first CSS layout library demo for ui-style-kit-css integrations.",
|
|
5
|
+
"start_url": "./index.html",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#111827",
|
|
8
|
+
"theme_color": "#111827",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "./assets/favicon.svg",
|
|
12
|
+
"sizes": "64x64",
|
|
13
|
+
"type": "image/svg+xml",
|
|
14
|
+
"purpose": "any"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"src": "./assets/apple-touch-icon.svg",
|
|
18
|
+
"sizes": "180x180",
|
|
19
|
+
"type": "image/svg+xml",
|
|
20
|
+
"purpose": "any maskable"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
package/demo/sitemap.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
+
<url>
|
|
4
|
+
<loc>https://foscat.github.io/layout-style-css/</loc>
|
|
5
|
+
<lastmod>2026-06-30</lastmod>
|
|
6
|
+
<changefreq>weekly</changefreq>
|
|
7
|
+
<priority>0.8</priority>
|
|
8
|
+
</url>
|
|
9
|
+
</urlset>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import url("./layout-base.css");
|
|
2
|
+
@import url("./layout-ui-style-kit-bridge.css");
|
|
3
|
+
@import url("./layout-style-minimal-saas.css");
|
|
4
|
+
@import url("./layout-style-bento.css");
|
|
5
|
+
@import url("./layout-style-maximalist.css");
|
|
6
|
+
@import url("./layout-style-bauhaus.css");
|
|
7
|
+
@import url("./layout-style-tactile.css");
|
|
8
|
+
@import url("./layout-style-neumorphism.css");
|
|
9
|
+
@import url("./layout-style-retrofuturism.css");
|
|
10
|
+
@import url("./layout-style-brutalism.css");
|
|
11
|
+
@import url("./layout-style-cyberpunk.css");
|
|
12
|
+
@import url("./layout-style-y2k.css");
|
|
13
|
+
@import url("./layout-style-retro-glass.css");
|
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Layout Style Library base primitives.
|
|
3
|
+
This file owns spatial composition only. Visual paint, typography, borders,
|
|
4
|
+
shadows, and theme color are intentionally delegated to ui-style-kit-css.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@layer ly.tokens {
|
|
8
|
+
:where(.ly-root) {
|
|
9
|
+
--ly-space-0: 0;
|
|
10
|
+
--ly-space-1: 0.25rem;
|
|
11
|
+
--ly-space-2: 0.5rem;
|
|
12
|
+
--ly-space-3: 0.75rem;
|
|
13
|
+
--ly-space-4: 1rem;
|
|
14
|
+
--ly-space-5: 1.5rem;
|
|
15
|
+
--ly-space-6: 2rem;
|
|
16
|
+
--ly-space-7: 3rem;
|
|
17
|
+
--ly-space-8: 4rem;
|
|
18
|
+
--ly-space-9: 6rem;
|
|
19
|
+
|
|
20
|
+
--ly-container-sm: 40rem;
|
|
21
|
+
--ly-container-md: 56rem;
|
|
22
|
+
--ly-container-lg: 72rem;
|
|
23
|
+
--ly-container-xl: 88rem;
|
|
24
|
+
--ly-container-wide: 112rem;
|
|
25
|
+
--ly-container-max: var(--ly-container-lg);
|
|
26
|
+
--ly-content-readable: 68ch;
|
|
27
|
+
|
|
28
|
+
--ly-page-padding-inline: clamp(1rem, 4vw, 3rem);
|
|
29
|
+
--ly-section-padding-block: clamp(3rem, 7vw, 6rem);
|
|
30
|
+
--ly-gap: var(--ly-space-5);
|
|
31
|
+
--ly-grid-gap: var(--ly-gap);
|
|
32
|
+
--ly-stack-gap: var(--ly-space-4);
|
|
33
|
+
--ly-cluster-gap: var(--ly-space-3);
|
|
34
|
+
|
|
35
|
+
--ly-grid-columns: 12;
|
|
36
|
+
--ly-grid-min: 16rem;
|
|
37
|
+
--ly-sidebar-min: 14rem;
|
|
38
|
+
--ly-sidebar-width: 18rem;
|
|
39
|
+
--ly-sidebar-max: 22rem;
|
|
40
|
+
--ly-pane-fixed: 22rem;
|
|
41
|
+
--ly-header-height: 4.5rem;
|
|
42
|
+
|
|
43
|
+
--ly-radius-sm: 0.5rem;
|
|
44
|
+
--ly-radius: 0.875rem;
|
|
45
|
+
--ly-radius-lg: 1.5rem;
|
|
46
|
+
--ly-radius-xl: 2.25rem;
|
|
47
|
+
|
|
48
|
+
--ly-z-header: 20;
|
|
49
|
+
--ly-z-sidebar: 10;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@layer ly.reset {
|
|
54
|
+
:where(.ly-root),
|
|
55
|
+
:where(.ly-root *) {
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:where(.ly-root) {
|
|
60
|
+
min-width: 0;
|
|
61
|
+
margin: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:where(.ly-root img),
|
|
65
|
+
:where(.ly-root svg),
|
|
66
|
+
:where(.ly-root video),
|
|
67
|
+
:where(.ly-root canvas) {
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@layer ly.layout {
|
|
73
|
+
.ly-page {
|
|
74
|
+
min-height: 100svh;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ly-header,
|
|
78
|
+
.ly-footer,
|
|
79
|
+
.ly-main,
|
|
80
|
+
.ly-wrapper,
|
|
81
|
+
.ly-section,
|
|
82
|
+
.ly-surface {
|
|
83
|
+
min-width: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ly-header {
|
|
87
|
+
min-height: var(--ly-header-height);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ly-header--sticky {
|
|
91
|
+
position: sticky;
|
|
92
|
+
top: 0;
|
|
93
|
+
z-index: var(--ly-z-header);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ly-container,
|
|
97
|
+
.ly-wrapper {
|
|
98
|
+
/* Keep wrappers resilient during viewport resizing without owning visual paint. */
|
|
99
|
+
width: min(100% - (var(--ly-page-padding-inline) * 2), var(--ly-container-max));
|
|
100
|
+
margin-inline: auto;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ly-container--sm,
|
|
104
|
+
.ly-wrapper--sm {
|
|
105
|
+
--ly-container-max: var(--ly-container-sm);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ly-container--md,
|
|
109
|
+
.ly-wrapper--md {
|
|
110
|
+
--ly-container-max: var(--ly-container-md);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ly-container--lg,
|
|
114
|
+
.ly-wrapper--lg {
|
|
115
|
+
--ly-container-max: var(--ly-container-lg);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ly-container--xl,
|
|
119
|
+
.ly-wrapper--xl {
|
|
120
|
+
--ly-container-max: var(--ly-container-xl);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ly-container--wide,
|
|
124
|
+
.ly-wrapper--wide {
|
|
125
|
+
--ly-container-max: var(--ly-container-wide);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ly-container--fluid,
|
|
129
|
+
.ly-wrapper--fluid {
|
|
130
|
+
width: 100%;
|
|
131
|
+
max-width: none;
|
|
132
|
+
padding-inline: var(--ly-page-padding-inline);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ly-wrapper--readable {
|
|
136
|
+
--ly-container-max: var(--ly-content-readable);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ly-readable {
|
|
140
|
+
max-width: var(--ly-content-readable);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ly-section {
|
|
144
|
+
padding-block: var(--ly-section-padding-block);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ly-section--compact {
|
|
148
|
+
--ly-section-padding-block: var(--ly-space-7);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ly-section--flush {
|
|
152
|
+
--ly-section-padding-block: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ly-stack {
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
gap: var(--ly-stack-gap);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ly-cluster {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-wrap: wrap;
|
|
164
|
+
align-items: center;
|
|
165
|
+
gap: var(--ly-cluster-gap);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.ly-grid {
|
|
169
|
+
display: grid;
|
|
170
|
+
grid-template-columns: repeat(var(--ly-grid-columns), minmax(0, 1fr));
|
|
171
|
+
gap: var(--ly-grid-gap);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ly-grid--auto {
|
|
175
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ly-grid-min)), 1fr));
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ly-row {
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-wrap: wrap;
|
|
181
|
+
margin-inline: calc(var(--ly-gutter, var(--ly-gap)) * -0.5);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.ly-col {
|
|
185
|
+
flex: 1 1 0;
|
|
186
|
+
min-width: 0;
|
|
187
|
+
padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ly-sidebar-layout {
|
|
191
|
+
display: grid;
|
|
192
|
+
grid-template-columns: 1fr;
|
|
193
|
+
gap: var(--ly-gap);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.ly-sidebar-layout > * {
|
|
197
|
+
min-width: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.ly-sidebar {
|
|
201
|
+
min-width: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ly-content {
|
|
205
|
+
min-width: 0;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ly-split {
|
|
209
|
+
display: grid;
|
|
210
|
+
grid-template-columns: 1fr;
|
|
211
|
+
gap: var(--ly-gap);
|
|
212
|
+
align-items: var(--ly-split-align, center);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.ly-split > * {
|
|
216
|
+
min-width: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.ly-panes {
|
|
220
|
+
display: grid;
|
|
221
|
+
grid-template-columns: 1fr;
|
|
222
|
+
gap: var(--ly-gap);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.ly-panes > * {
|
|
226
|
+
min-width: 0;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ly-surface {
|
|
230
|
+
border-radius: var(--ly-radius);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ly-surface--raised {
|
|
234
|
+
border-radius: var(--ly-radius-lg);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ly-divider {
|
|
238
|
+
min-height: 1px;
|
|
239
|
+
margin-block: var(--ly-space-5);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ly-frame {
|
|
243
|
+
aspect-ratio: var(--ly-frame-ratio, 16 / 9);
|
|
244
|
+
overflow: hidden;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.ly-frame > * {
|
|
248
|
+
width: 100%;
|
|
249
|
+
height: 100%;
|
|
250
|
+
object-fit: cover;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ly-scroll-area {
|
|
254
|
+
min-height: 0;
|
|
255
|
+
overflow: auto;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.ly-app-shell {
|
|
259
|
+
min-height: 100svh;
|
|
260
|
+
display: grid;
|
|
261
|
+
grid-template-areas:
|
|
262
|
+
"header"
|
|
263
|
+
"main";
|
|
264
|
+
grid-template-columns: minmax(0, 1fr);
|
|
265
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.ly-app-header {
|
|
269
|
+
grid-area: header;
|
|
270
|
+
min-width: 0;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.ly-app-sidebar {
|
|
274
|
+
grid-area: sidebar;
|
|
275
|
+
display: none;
|
|
276
|
+
min-width: 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.ly-app-main {
|
|
280
|
+
grid-area: main;
|
|
281
|
+
min-width: 0;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.ly-visually-hidden {
|
|
285
|
+
position: absolute !important;
|
|
286
|
+
width: 1px !important;
|
|
287
|
+
height: 1px !important;
|
|
288
|
+
padding: 0 !important;
|
|
289
|
+
margin: -1px !important;
|
|
290
|
+
overflow: hidden !important;
|
|
291
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
292
|
+
clip-path: inset(50%) !important;
|
|
293
|
+
white-space: nowrap !important;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@layer ly.responsive {
|
|
298
|
+
@media (min-width: 48rem) {
|
|
299
|
+
/*
|
|
300
|
+
Fixed support tracks are capped against their container so nested layouts
|
|
301
|
+
can compress instead of forcing horizontal page overflow.
|
|
302
|
+
*/
|
|
303
|
+
.ly-app-shell {
|
|
304
|
+
grid-template-areas:
|
|
305
|
+
"sidebar header"
|
|
306
|
+
"sidebar main";
|
|
307
|
+
grid-template-columns: minmax(min(100%, var(--ly-sidebar-min)), var(--ly-sidebar-width)) minmax(0, 1fr);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.ly-app-sidebar {
|
|
311
|
+
display: block;
|
|
312
|
+
position: sticky;
|
|
313
|
+
top: 0;
|
|
314
|
+
z-index: var(--ly-z-sidebar);
|
|
315
|
+
height: 100svh;
|
|
316
|
+
overflow: auto;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.ly-sidebar-layout {
|
|
320
|
+
grid-template-columns: minmax(min(100%, var(--ly-sidebar-min)), var(--ly-sidebar-max)) minmax(0, 1fr);
|
|
321
|
+
align-items: start;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.ly-sidebar-layout--right {
|
|
325
|
+
grid-template-columns: minmax(0, 1fr) minmax(min(100%, var(--ly-sidebar-min)), var(--ly-sidebar-max));
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.ly-split {
|
|
329
|
+
grid-template-columns: minmax(0, var(--ly-split-primary, 1fr)) minmax(0, var(--ly-split-secondary, 1fr));
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.ly-panes--two {
|
|
333
|
+
grid-template-columns: minmax(0, 1fr) minmax(min(100%, var(--ly-pane-fixed)), 0.7fr);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@media (min-width: 64rem) {
|
|
338
|
+
.ly-panes--three {
|
|
339
|
+
grid-template-columns: minmax(min(100%, 14rem), 0.35fr) minmax(0, 1fr) minmax(min(100%, 14rem), 0.35fr);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
@layer ly.utilities {
|
|
345
|
+
.ly-cols-1 { --ly-grid-columns: 1; }
|
|
346
|
+
.ly-cols-2 { --ly-grid-columns: 2; }
|
|
347
|
+
.ly-cols-3 { --ly-grid-columns: 3; }
|
|
348
|
+
.ly-cols-4 { --ly-grid-columns: 4; }
|
|
349
|
+
.ly-cols-5 { --ly-grid-columns: 5; }
|
|
350
|
+
.ly-cols-6 { --ly-grid-columns: 6; }
|
|
351
|
+
.ly-cols-7 { --ly-grid-columns: 7; }
|
|
352
|
+
.ly-cols-8 { --ly-grid-columns: 8; }
|
|
353
|
+
.ly-cols-9 { --ly-grid-columns: 9; }
|
|
354
|
+
.ly-cols-10 { --ly-grid-columns: 10; }
|
|
355
|
+
.ly-cols-11 { --ly-grid-columns: 11; }
|
|
356
|
+
.ly-cols-12 { --ly-grid-columns: 12; }
|
|
357
|
+
.ly-cols-16 { --ly-grid-columns: 16; }
|
|
358
|
+
|
|
359
|
+
.ly-span-1 { grid-column: span 1; }
|
|
360
|
+
.ly-span-2 { grid-column: span 2; }
|
|
361
|
+
.ly-span-3 { grid-column: span 3; }
|
|
362
|
+
.ly-span-4 { grid-column: span 4; }
|
|
363
|
+
.ly-span-5 { grid-column: span 5; }
|
|
364
|
+
.ly-span-6 { grid-column: span 6; }
|
|
365
|
+
.ly-span-7 { grid-column: span 7; }
|
|
366
|
+
.ly-span-8 { grid-column: span 8; }
|
|
367
|
+
.ly-span-9 { grid-column: span 9; }
|
|
368
|
+
.ly-span-10 { grid-column: span 10; }
|
|
369
|
+
.ly-span-11 { grid-column: span 11; }
|
|
370
|
+
.ly-span-12 { grid-column: span 12; }
|
|
371
|
+
.ly-span-13 { grid-column: span 13; }
|
|
372
|
+
.ly-span-14 { grid-column: span 14; }
|
|
373
|
+
.ly-span-15 { grid-column: span 15; }
|
|
374
|
+
.ly-span-16 { grid-column: span 16; }
|
|
375
|
+
.ly-span-full { grid-column: 1 / -1; }
|
|
376
|
+
|
|
377
|
+
.ly-col-1 { flex: 0 0 auto; width: 8.333333%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
378
|
+
.ly-col-2 { flex: 0 0 auto; width: 16.666667%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
379
|
+
.ly-col-3 { flex: 0 0 auto; width: 25%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
380
|
+
.ly-col-4 { flex: 0 0 auto; width: 33.333333%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
381
|
+
.ly-col-5 { flex: 0 0 auto; width: 41.666667%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
382
|
+
.ly-col-6 { flex: 0 0 auto; width: 50%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
383
|
+
.ly-col-7 { flex: 0 0 auto; width: 58.333333%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
384
|
+
.ly-col-8 { flex: 0 0 auto; width: 66.666667%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
385
|
+
.ly-col-9 { flex: 0 0 auto; width: 75%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
386
|
+
.ly-col-10 { flex: 0 0 auto; width: 83.333333%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
387
|
+
.ly-col-11 { flex: 0 0 auto; width: 91.666667%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
388
|
+
.ly-col-12 { flex: 0 0 auto; width: 100%; padding-inline: calc(var(--ly-gutter, var(--ly-gap)) * 0.5); }
|
|
389
|
+
|
|
390
|
+
.ly-gap-0 { --ly-gap: var(--ly-space-0); --ly-grid-gap: var(--ly-space-0); --ly-stack-gap: var(--ly-space-0); --ly-cluster-gap: var(--ly-space-0); }
|
|
391
|
+
.ly-gap-1 { --ly-gap: var(--ly-space-1); --ly-grid-gap: var(--ly-space-1); --ly-stack-gap: var(--ly-space-1); --ly-cluster-gap: var(--ly-space-1); }
|
|
392
|
+
.ly-gap-2 { --ly-gap: var(--ly-space-2); --ly-grid-gap: var(--ly-space-2); --ly-stack-gap: var(--ly-space-2); --ly-cluster-gap: var(--ly-space-2); }
|
|
393
|
+
.ly-gap-3 { --ly-gap: var(--ly-space-3); --ly-grid-gap: var(--ly-space-3); --ly-stack-gap: var(--ly-space-3); --ly-cluster-gap: var(--ly-space-3); }
|
|
394
|
+
.ly-gap-4 { --ly-gap: var(--ly-space-4); --ly-grid-gap: var(--ly-space-4); --ly-stack-gap: var(--ly-space-4); --ly-cluster-gap: var(--ly-space-4); }
|
|
395
|
+
.ly-gap-5 { --ly-gap: var(--ly-space-5); --ly-grid-gap: var(--ly-space-5); --ly-stack-gap: var(--ly-space-5); --ly-cluster-gap: var(--ly-space-5); }
|
|
396
|
+
.ly-gap-6 { --ly-gap: var(--ly-space-6); --ly-grid-gap: var(--ly-space-6); --ly-stack-gap: var(--ly-space-6); --ly-cluster-gap: var(--ly-space-6); }
|
|
397
|
+
.ly-gap-7 { --ly-gap: var(--ly-space-7); --ly-grid-gap: var(--ly-space-7); --ly-stack-gap: var(--ly-space-7); --ly-cluster-gap: var(--ly-space-7); }
|
|
398
|
+
.ly-gap-8 { --ly-gap: var(--ly-space-8); --ly-grid-gap: var(--ly-space-8); --ly-stack-gap: var(--ly-space-8); --ly-cluster-gap: var(--ly-space-8); }
|
|
399
|
+
.ly-gap-9 { --ly-gap: var(--ly-space-9); --ly-grid-gap: var(--ly-space-9); --ly-stack-gap: var(--ly-space-9); --ly-cluster-gap: var(--ly-space-9); }
|
|
400
|
+
|
|
401
|
+
.ly-pad-0 { padding: var(--ly-space-0); }
|
|
402
|
+
.ly-pad-1 { padding: var(--ly-space-1); }
|
|
403
|
+
.ly-pad-2 { padding: var(--ly-space-2); }
|
|
404
|
+
.ly-pad-3 { padding: var(--ly-space-3); }
|
|
405
|
+
.ly-pad-4 { padding: var(--ly-space-4); }
|
|
406
|
+
.ly-pad-5 { padding: var(--ly-space-5); }
|
|
407
|
+
.ly-pad-6 { padding: var(--ly-space-6); }
|
|
408
|
+
.ly-pad-7 { padding: var(--ly-space-7); }
|
|
409
|
+
.ly-pad-8 { padding: var(--ly-space-8); }
|
|
410
|
+
.ly-pad-9 { padding: var(--ly-space-9); }
|
|
411
|
+
|
|
412
|
+
.ly-px-4 { padding-inline: var(--ly-space-4); }
|
|
413
|
+
.ly-px-6 { padding-inline: var(--ly-space-6); }
|
|
414
|
+
.ly-px-8 { padding-inline: var(--ly-space-8); }
|
|
415
|
+
.ly-py-4 { padding-block: var(--ly-space-4); }
|
|
416
|
+
.ly-py-6 { padding-block: var(--ly-space-6); }
|
|
417
|
+
.ly-py-8 { padding-block: var(--ly-space-8); }
|
|
418
|
+
|
|
419
|
+
.ly-mx-auto { margin-inline: auto; }
|
|
420
|
+
.ly-w-full { width: 100%; }
|
|
421
|
+
.ly-h-full { height: 100%; }
|
|
422
|
+
.ly-min-h-screen { min-height: 100svh; }
|
|
423
|
+
.ly-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
|
|
424
|
+
.ly-overflow-auto { overflow: auto; }
|
|
425
|
+
.ly-overflow-hidden { overflow: hidden; }
|
|
426
|
+
|
|
427
|
+
.ly-items-start { align-items: flex-start; }
|
|
428
|
+
.ly-items-center { align-items: center; }
|
|
429
|
+
.ly-items-end { align-items: flex-end; }
|
|
430
|
+
.ly-items-stretch { align-items: stretch; }
|
|
431
|
+
.ly-justify-start { justify-content: flex-start; }
|
|
432
|
+
.ly-justify-center { justify-content: center; }
|
|
433
|
+
.ly-justify-end { justify-content: flex-end; }
|
|
434
|
+
.ly-justify-between { justify-content: space-between; }
|
|
435
|
+
|
|
436
|
+
.ly-frame-1x1 { --ly-frame-ratio: 1 / 1; }
|
|
437
|
+
.ly-frame-2x1 { --ly-frame-ratio: 2 / 1; }
|
|
438
|
+
.ly-frame-3x2 { --ly-frame-ratio: 3 / 2; }
|
|
439
|
+
.ly-frame-4x3 { --ly-frame-ratio: 4 / 3; }
|
|
440
|
+
.ly-frame-16x9 { --ly-frame-ratio: 16 / 9; }
|
|
441
|
+
.ly-frame-21x9 { --ly-frame-ratio: 21 / 9; }
|
|
442
|
+
|
|
443
|
+
.ly-hidden { display: none !important; }
|
|
444
|
+
.ly-show-md-up,
|
|
445
|
+
.ly-show-lg-up {
|
|
446
|
+
display: none !important;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
@media (min-width: 48rem) {
|
|
450
|
+
.ly-md-cols-1 { --ly-grid-columns: 1; }
|
|
451
|
+
.ly-md-cols-2 { --ly-grid-columns: 2; }
|
|
452
|
+
.ly-md-cols-3 { --ly-grid-columns: 3; }
|
|
453
|
+
.ly-md-cols-4 { --ly-grid-columns: 4; }
|
|
454
|
+
.ly-md-cols-6 { --ly-grid-columns: 6; }
|
|
455
|
+
.ly-md-cols-8 { --ly-grid-columns: 8; }
|
|
456
|
+
.ly-md-cols-12 { --ly-grid-columns: 12; }
|
|
457
|
+
.ly-md-cols-16 { --ly-grid-columns: 16; }
|
|
458
|
+
.ly-show-md-up { display: revert !important; }
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
@media (min-width: 64rem) {
|
|
462
|
+
.ly-lg-cols-1 { --ly-grid-columns: 1; }
|
|
463
|
+
.ly-lg-cols-2 { --ly-grid-columns: 2; }
|
|
464
|
+
.ly-lg-cols-3 { --ly-grid-columns: 3; }
|
|
465
|
+
.ly-lg-cols-4 { --ly-grid-columns: 4; }
|
|
466
|
+
.ly-lg-cols-6 { --ly-grid-columns: 6; }
|
|
467
|
+
.ly-lg-cols-8 { --ly-grid-columns: 8; }
|
|
468
|
+
.ly-lg-cols-12 { --ly-grid-columns: 12; }
|
|
469
|
+
.ly-lg-cols-16 { --ly-grid-columns: 16; }
|
|
470
|
+
.ly-show-lg-up { display: revert !important; }
|
|
471
|
+
}
|
|
472
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Layout style: bauhaus.
|
|
3
|
+
Strict framed column shell with structural rails and measured offsets. Visual
|
|
4
|
+
identity remains owned by ui-style-kit-css.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@layer ly.styles.bauhaus {
|
|
8
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) {
|
|
9
|
+
--ly-container-max: 92rem;
|
|
10
|
+
--ly-page-padding-inline: clamp(1rem, 2vw, 2rem);
|
|
11
|
+
--ly-section-padding-block: clamp(2.5rem, 5vw, 4.5rem);
|
|
12
|
+
--ly-sidebar-width: clamp(8rem, 12vw, 12rem);
|
|
13
|
+
--ly-grid-min: 13rem;
|
|
14
|
+
--ly-gap: clamp(0.75rem, 1.6vw, 1.25rem);
|
|
15
|
+
--ly-grid-gap: var(--ly-gap);
|
|
16
|
+
--ly-stack-gap: clamp(0.75rem, 1.5vw, 1.25rem);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-app-main {
|
|
20
|
+
padding-block: clamp(0.75rem, 2vw, 1.5rem);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-container,
|
|
24
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-wrapper {
|
|
25
|
+
width: min(100% - var(--ly-page-padding-inline), var(--ly-container-max));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-section {
|
|
29
|
+
padding-block: var(--ly-section-padding-block);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-grid--auto {
|
|
33
|
+
grid-auto-rows: minmax(7rem, auto);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (min-width: 48rem) {
|
|
37
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-app-shell {
|
|
38
|
+
grid-template-areas:
|
|
39
|
+
"sidebar header"
|
|
40
|
+
"sidebar main";
|
|
41
|
+
grid-template-columns: minmax(min(100%, 7rem), 0.18fr) minmax(0, 1fr);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-app-sidebar {
|
|
45
|
+
display: block;
|
|
46
|
+
position: sticky;
|
|
47
|
+
top: 0;
|
|
48
|
+
height: 100svh;
|
|
49
|
+
overflow: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-sidebar-layout {
|
|
53
|
+
grid-template-columns: minmax(min(100%, 8rem), 0.22fr) minmax(0, 1fr);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-split {
|
|
57
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-panes--two {
|
|
61
|
+
grid-template-columns: minmax(0, 1fr) minmax(min(100%, 12rem), 0.5fr);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (min-width: 80rem) {
|
|
66
|
+
:where(.ly-root[data-layout="bauhaus"], .ly-root[layout-style="bauhaus"], .ly-root.ly-layout-bauhaus, .ly-root.ly-style-bauhaus) .ly-panes--three {
|
|
67
|
+
grid-template-columns: minmax(min(100%, 10rem), 0.25fr) minmax(0, 1fr) minmax(min(100%, 10rem), 0.25fr);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Layout style: bento.
|
|
3
|
+
Modular dashboard shell with staged mosaic zones. Visual identity remains
|
|
4
|
+
owned by ui-style-kit-css.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@layer ly.styles.bento {
|
|
8
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) {
|
|
9
|
+
--ly-container-max: 104rem;
|
|
10
|
+
--ly-page-padding-inline: clamp(1rem, 3.5vw, 3rem);
|
|
11
|
+
--ly-section-padding-block: clamp(2rem, 6vw, 5rem);
|
|
12
|
+
--ly-sidebar-width: clamp(13rem, 16vw, 17rem);
|
|
13
|
+
--ly-grid-min: 14rem;
|
|
14
|
+
--ly-gap: clamp(1rem, 2.5vw, 2rem);
|
|
15
|
+
--ly-grid-gap: var(--ly-gap);
|
|
16
|
+
--ly-stack-gap: clamp(1rem, 2vw, 1.75rem);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-app-main {
|
|
20
|
+
padding-block: clamp(1rem, 3vw, 2.5rem);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-container,
|
|
24
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-wrapper {
|
|
25
|
+
width: min(100% - var(--ly-page-padding-inline), var(--ly-container-max));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-section {
|
|
29
|
+
padding-block: var(--ly-section-padding-block);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-grid--auto {
|
|
33
|
+
grid-auto-rows: minmax(9rem, auto);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (min-width: 48rem) {
|
|
37
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-app-shell {
|
|
38
|
+
grid-template-areas:
|
|
39
|
+
"sidebar header"
|
|
40
|
+
"sidebar main";
|
|
41
|
+
grid-template-columns: minmax(min(100%, 13rem), 0.26fr) minmax(0, 1fr);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-app-sidebar {
|
|
45
|
+
display: block;
|
|
46
|
+
position: sticky;
|
|
47
|
+
top: var(--ly-space-3);
|
|
48
|
+
height: calc(100svh - (var(--ly-space-3) * 2));
|
|
49
|
+
margin: var(--ly-space-3) 0 var(--ly-space-3) var(--ly-space-3);
|
|
50
|
+
overflow: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-grid--auto > :nth-child(4n + 1) {
|
|
54
|
+
grid-column: span 2;
|
|
55
|
+
min-height: 14rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-sidebar-layout {
|
|
59
|
+
grid-template-columns: minmax(min(100%, 12rem), 0.3fr) minmax(0, 1fr);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-split {
|
|
63
|
+
grid-template-columns: minmax(0, 0.78fr) minmax(min(100%, 18rem), 1.22fr);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-panes--two {
|
|
67
|
+
grid-template-columns: minmax(0, 1.18fr) minmax(min(100%, 18rem), 0.82fr);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@media (min-width: 80rem) {
|
|
72
|
+
:where(.ly-root[data-layout="bento"], .ly-root[layout-style="bento"], .ly-root.ly-layout-bento, .ly-root.ly-style-bento) .ly-panes--three {
|
|
73
|
+
grid-template-columns: minmax(min(100%, 12rem), 0.6fr) minmax(0, 1.4fr) minmax(min(100%, 14rem), 0.8fr);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|