@magmonium/one 0.0.4 → 0.0.5
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/package.json +2 -1
- package/sass/_date-picker.sass +147 -0
- package/sass/_index.sass +34 -0
- package/sass/_input-date.sass +25 -0
- package/sass/_m-components.sass +110 -0
- package/sass/_menu.sass +132 -0
- package/sass/_reset.sass +186 -0
- package/sass/animations/_index.sass +13 -0
- package/sass/animations/_registry.sass +51 -0
- package/sass/animations/background/_energy.sass +91 -0
- package/sass/animations/background/_gradient.sass +104 -0
- package/sass/animations/background/_index.sass +9 -0
- package/sass/animations/background/_nature.sass +110 -0
- package/sass/animations/background/_new-effects.sass +292 -0
- package/sass/animations/background/_particle.sass +122 -0
- package/sass/animations/background/_tech.sass +124 -0
- package/sass/functions/_functions.sass +107 -0
- package/sass/mixins/_backdrops.sass +230 -0
- package/sass/mixins/_backgrounds.sass +214 -0
- package/sass/mixins/_borders.sass +93 -0
- package/sass/mixins/_breakpoints.sass +68 -0
- package/sass/mixins/_button.sass +46 -0
- package/sass/mixins/_checkbox.sass +128 -0
- package/sass/mixins/_colors.sass +121 -0
- package/sass/mixins/_control.sass +13 -0
- package/sass/mixins/_device.sass +22 -0
- package/sass/mixins/_display.sass +210 -0
- package/sass/mixins/_flex.sass +104 -0
- package/sass/mixins/_form.sass +68 -0
- package/sass/mixins/_grid.sass +273 -0
- package/sass/mixins/_header.sass +71 -0
- package/sass/mixins/_index.sass +29 -0
- package/sass/mixins/_input.sass +132 -0
- package/sass/mixins/_interactive.sass +19 -0
- package/sass/mixins/_label.sass +25 -0
- package/sass/mixins/_layout.sass +251 -0
- package/sass/mixins/_links.sass +85 -0
- package/sass/mixins/_lists.sass +377 -0
- package/sass/mixins/_overflow.sass +121 -0
- package/sass/mixins/_position.sass +181 -0
- package/sass/mixins/_radio.sass +205 -0
- package/sass/mixins/_sizing.sass +181 -0
- package/sass/mixins/_spacing.sass +59 -0
- package/sass/mixins/_text.sass +159 -0
- package/sass/mixins/_toggle.sass +240 -0
- package/sass/mixins/_typography.sass +6 -0
- package/sass/mixins/_utilities.sass +70 -0
- package/sass/utilities/_backdrops.sass +228 -0
- package/sass/utilities/_backgrounds.sass +285 -0
- package/sass/utilities/_borders.sass +138 -0
- package/sass/utilities/_colors.sass +166 -0
- package/sass/utilities/_display.sass +308 -0
- package/sass/utilities/_flex.sass +91 -0
- package/sass/utilities/_grid.sass +502 -0
- package/sass/utilities/_index.sass +17 -0
- package/sass/utilities/_input.sass +14 -0
- package/sass/utilities/_links.sass +136 -0
- package/sass/utilities/_lists.sass +4 -0
- package/sass/utilities/_popup.sass +73 -0
- package/sass/utilities/_position.sass +88 -0
- package/sass/utilities/_sizing.sass +277 -0
- package/sass/utilities/_spacing.sass +121 -0
- package/sass/utilities/_text.sass +207 -0
- package/sass/variables/_animations.sass +5 -0
- package/sass/variables/_borders.sass +25 -0
- package/sass/variables/_colors.sass +93 -0
- package/sass/variables/_index.sass +6 -0
- package/sass/variables/_number.sass +1 -0
- package/sass/variables/_spacing.sass +28 -0
- package/sass/variables/_typography.sass +40 -0
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
// CSS Grid Utility Classes - Comprehensive Grid System
|
|
2
|
+
@use '../mixins/grid' as grid
|
|
3
|
+
|
|
4
|
+
// ===========================================
|
|
5
|
+
// GRID DISPLAY UTILITIES
|
|
6
|
+
// ===========================================
|
|
7
|
+
|
|
8
|
+
.grid-container
|
|
9
|
+
@include grid.grid-layout
|
|
10
|
+
|
|
11
|
+
.inline-grid-container
|
|
12
|
+
@include grid.inline-grid-layout
|
|
13
|
+
|
|
14
|
+
// ===========================================
|
|
15
|
+
// GRID TEMPLATE UTILITIES
|
|
16
|
+
// ===========================================
|
|
17
|
+
|
|
18
|
+
// Grid template rows
|
|
19
|
+
.grid-rows-1
|
|
20
|
+
@include grid.grid-template-rows(1fr)
|
|
21
|
+
|
|
22
|
+
.grid-rows-2
|
|
23
|
+
@include grid.grid-template-rows(repeat(2, 1fr))
|
|
24
|
+
|
|
25
|
+
.grid-rows-3
|
|
26
|
+
@include grid.grid-template-rows(repeat(3, 1fr))
|
|
27
|
+
|
|
28
|
+
.grid-rows-4
|
|
29
|
+
@include grid.grid-template-rows(repeat(4, 1fr))
|
|
30
|
+
|
|
31
|
+
.grid-rows-5
|
|
32
|
+
@include grid.grid-template-rows(repeat(5, 1fr))
|
|
33
|
+
|
|
34
|
+
.grid-rows-6
|
|
35
|
+
@include grid.grid-template-rows(repeat(6, 1fr))
|
|
36
|
+
|
|
37
|
+
// Common row patterns
|
|
38
|
+
.grid-rows-auto-1fr
|
|
39
|
+
@include grid.grid-template-rows(auto 1fr)
|
|
40
|
+
|
|
41
|
+
.grid-rows-1fr-auto
|
|
42
|
+
@include grid.grid-template-rows(1fr auto)
|
|
43
|
+
|
|
44
|
+
.grid-rows-auto-1fr-auto
|
|
45
|
+
@include grid.grid-template-rows(auto 1fr auto)
|
|
46
|
+
|
|
47
|
+
.grid-rows-auto
|
|
48
|
+
@include grid.grid-template-rows(repeat(auto-fit, auto))
|
|
49
|
+
|
|
50
|
+
// Grid template columns
|
|
51
|
+
.grid-cols-1
|
|
52
|
+
@include grid.grid-template-columns(1fr)
|
|
53
|
+
|
|
54
|
+
.grid-cols-2
|
|
55
|
+
@include grid.grid-template-columns(repeat(2, 1fr))
|
|
56
|
+
|
|
57
|
+
.grid-cols-3
|
|
58
|
+
@include grid.grid-template-columns(repeat(3, 1fr))
|
|
59
|
+
|
|
60
|
+
.grid-cols-4
|
|
61
|
+
@include grid.grid-template-columns(repeat(4, 1fr))
|
|
62
|
+
|
|
63
|
+
.grid-cols-5
|
|
64
|
+
@include grid.grid-template-columns(repeat(5, 1fr))
|
|
65
|
+
|
|
66
|
+
.grid-cols-6
|
|
67
|
+
@include grid.grid-template-columns(repeat(6, 1fr))
|
|
68
|
+
|
|
69
|
+
.grid-cols-12
|
|
70
|
+
@include grid.grid-template-columns(repeat(12, 1fr))
|
|
71
|
+
|
|
72
|
+
// Common column patterns
|
|
73
|
+
.grid-cols-auto-1fr
|
|
74
|
+
@include grid.grid-template-columns(auto 1fr)
|
|
75
|
+
|
|
76
|
+
.grid-cols-1fr-auto
|
|
77
|
+
@include grid.grid-template-columns(1fr auto)
|
|
78
|
+
|
|
79
|
+
.grid-cols-auto-1fr-auto
|
|
80
|
+
@include grid.grid-template-columns(auto 1fr auto)
|
|
81
|
+
|
|
82
|
+
.grid-cols-auto
|
|
83
|
+
@include grid.grid-template-columns(repeat(auto-fit, minmax(0, 1fr)))
|
|
84
|
+
|
|
85
|
+
// Auto-fit responsive columns
|
|
86
|
+
.grid-cols-auto-sm
|
|
87
|
+
@include grid.grid-template-columns(repeat(auto-fit, minmax(150px, 1fr)))
|
|
88
|
+
|
|
89
|
+
.grid-cols-auto-md
|
|
90
|
+
@include grid.grid-template-columns(repeat(auto-fit, minmax(200px, 1fr)))
|
|
91
|
+
|
|
92
|
+
.grid-cols-auto-lg
|
|
93
|
+
@include grid.grid-template-columns(repeat(auto-fit, minmax(250px, 1fr)))
|
|
94
|
+
|
|
95
|
+
.grid-cols-auto-xl
|
|
96
|
+
@include grid.grid-template-columns(repeat(auto-fit, minmax(300px, 1fr)))
|
|
97
|
+
|
|
98
|
+
// ===========================================
|
|
99
|
+
// GRID GAP UTILITIES
|
|
100
|
+
// ===========================================
|
|
101
|
+
|
|
102
|
+
.gap-0
|
|
103
|
+
@include grid.grid-gap(0)
|
|
104
|
+
|
|
105
|
+
.gap-1
|
|
106
|
+
@include grid.grid-gap(0.25rem)
|
|
107
|
+
|
|
108
|
+
.gap-2
|
|
109
|
+
@include grid.grid-gap(0.5rem)
|
|
110
|
+
|
|
111
|
+
.gap-3
|
|
112
|
+
@include grid.grid-gap(0.75rem)
|
|
113
|
+
|
|
114
|
+
.gap-4
|
|
115
|
+
@include grid.grid-gap(1rem)
|
|
116
|
+
|
|
117
|
+
.gap-5
|
|
118
|
+
@include grid.grid-gap(1.25rem)
|
|
119
|
+
|
|
120
|
+
.gap-6
|
|
121
|
+
@include grid.grid-gap(1.5rem)
|
|
122
|
+
|
|
123
|
+
.gap-8
|
|
124
|
+
@include grid.grid-gap(2rem)
|
|
125
|
+
|
|
126
|
+
.gap-10
|
|
127
|
+
@include grid.grid-gap(2.5rem)
|
|
128
|
+
|
|
129
|
+
.gap-12
|
|
130
|
+
@include grid.grid-gap(3rem)
|
|
131
|
+
|
|
132
|
+
// Row and column specific gaps
|
|
133
|
+
.gap-x-0
|
|
134
|
+
@include grid.grid-column-gap(0)
|
|
135
|
+
|
|
136
|
+
.gap-x-1
|
|
137
|
+
@include grid.grid-column-gap(0.25rem)
|
|
138
|
+
|
|
139
|
+
.gap-x-2
|
|
140
|
+
@include grid.grid-column-gap(0.5rem)
|
|
141
|
+
|
|
142
|
+
.gap-x-3
|
|
143
|
+
@include grid.grid-column-gap(0.75rem)
|
|
144
|
+
|
|
145
|
+
.gap-x-4
|
|
146
|
+
@include grid.grid-column-gap(1rem)
|
|
147
|
+
|
|
148
|
+
.gap-x-6
|
|
149
|
+
@include grid.grid-column-gap(1.5rem)
|
|
150
|
+
|
|
151
|
+
.gap-y-0
|
|
152
|
+
@include grid.grid-row-gap(0)
|
|
153
|
+
|
|
154
|
+
.gap-y-1
|
|
155
|
+
@include grid.grid-row-gap(0.25rem)
|
|
156
|
+
|
|
157
|
+
.gap-y-2
|
|
158
|
+
@include grid.grid-row-gap(0.5rem)
|
|
159
|
+
|
|
160
|
+
.gap-y-3
|
|
161
|
+
@include grid.grid-row-gap(0.75rem)
|
|
162
|
+
|
|
163
|
+
.gap-y-4
|
|
164
|
+
@include grid.grid-row-gap(1rem)
|
|
165
|
+
|
|
166
|
+
.gap-y-6
|
|
167
|
+
@include grid.grid-row-gap(1.5rem)
|
|
168
|
+
|
|
169
|
+
// ===========================================
|
|
170
|
+
// GRID ALIGNMENT UTILITIES
|
|
171
|
+
// ===========================================
|
|
172
|
+
|
|
173
|
+
// Place items
|
|
174
|
+
.place-items-start
|
|
175
|
+
@include grid.place-items(start)
|
|
176
|
+
|
|
177
|
+
.place-items-end
|
|
178
|
+
@include grid.place-items(end)
|
|
179
|
+
|
|
180
|
+
.place-items-center
|
|
181
|
+
@include grid.place-items(center)
|
|
182
|
+
|
|
183
|
+
.place-items-stretch
|
|
184
|
+
@include grid.place-items(stretch)
|
|
185
|
+
|
|
186
|
+
// Place content
|
|
187
|
+
.place-content-start
|
|
188
|
+
@include grid.place-content(start)
|
|
189
|
+
|
|
190
|
+
.place-content-end
|
|
191
|
+
@include grid.place-content(end)
|
|
192
|
+
|
|
193
|
+
.place-content-center
|
|
194
|
+
@include grid.place-content(center)
|
|
195
|
+
|
|
196
|
+
.place-content-stretch
|
|
197
|
+
@include grid.place-content(stretch)
|
|
198
|
+
|
|
199
|
+
.place-content-between
|
|
200
|
+
@include grid.place-content(space-between)
|
|
201
|
+
|
|
202
|
+
.place-content-around
|
|
203
|
+
@include grid.place-content(space-around)
|
|
204
|
+
|
|
205
|
+
.place-content-evenly
|
|
206
|
+
@include grid.place-content(space-evenly)
|
|
207
|
+
|
|
208
|
+
// Place self
|
|
209
|
+
.place-self-start
|
|
210
|
+
@include grid.place-self(start)
|
|
211
|
+
|
|
212
|
+
.place-self-end
|
|
213
|
+
@include grid.place-self(end)
|
|
214
|
+
|
|
215
|
+
.place-self-center
|
|
216
|
+
@include grid.place-self(center)
|
|
217
|
+
|
|
218
|
+
.place-self-stretch
|
|
219
|
+
@include grid.place-self(stretch)
|
|
220
|
+
|
|
221
|
+
// Individual alignment utilities
|
|
222
|
+
.grid-justify-items-start
|
|
223
|
+
@include grid.grid-justify-items(start)
|
|
224
|
+
|
|
225
|
+
.grid-justify-items-end
|
|
226
|
+
@include grid.grid-justify-items(end)
|
|
227
|
+
|
|
228
|
+
.grid-justify-items-center
|
|
229
|
+
@include grid.grid-justify-items(center)
|
|
230
|
+
|
|
231
|
+
.grid-justify-items-stretch
|
|
232
|
+
@include grid.grid-justify-items(stretch)
|
|
233
|
+
|
|
234
|
+
.grid-align-items-start
|
|
235
|
+
@include grid.grid-align-items(start)
|
|
236
|
+
|
|
237
|
+
.grid-align-items-end
|
|
238
|
+
@include grid.grid-align-items(end)
|
|
239
|
+
|
|
240
|
+
.grid-align-items-center
|
|
241
|
+
@include grid.grid-align-items(center)
|
|
242
|
+
|
|
243
|
+
.grid-align-items-stretch
|
|
244
|
+
@include grid.grid-align-items(stretch)
|
|
245
|
+
|
|
246
|
+
.grid-justify-self-start
|
|
247
|
+
@include grid.grid-justify-self(start)
|
|
248
|
+
|
|
249
|
+
.grid-justify-self-end
|
|
250
|
+
@include grid.grid-justify-self(end)
|
|
251
|
+
|
|
252
|
+
.grid-justify-self-center
|
|
253
|
+
@include grid.grid-justify-self(center)
|
|
254
|
+
|
|
255
|
+
.grid-justify-self-stretch
|
|
256
|
+
@include grid.grid-justify-self(stretch)
|
|
257
|
+
|
|
258
|
+
.grid-align-self-start
|
|
259
|
+
@include grid.grid-align-self(start)
|
|
260
|
+
|
|
261
|
+
.grid-align-self-end
|
|
262
|
+
@include grid.grid-align-self(end)
|
|
263
|
+
|
|
264
|
+
.grid-align-self-center
|
|
265
|
+
@include grid.grid-align-self(center)
|
|
266
|
+
|
|
267
|
+
.grid-align-self-stretch
|
|
268
|
+
@include grid.grid-align-self(stretch)
|
|
269
|
+
|
|
270
|
+
// ===========================================
|
|
271
|
+
// GRID ITEM SPAN UTILITIES
|
|
272
|
+
// ===========================================
|
|
273
|
+
|
|
274
|
+
// Column spans
|
|
275
|
+
.col-span-1
|
|
276
|
+
@include grid.grid-span-column(1)
|
|
277
|
+
|
|
278
|
+
.col-span-2
|
|
279
|
+
@include grid.grid-span-column(2)
|
|
280
|
+
|
|
281
|
+
.col-span-3
|
|
282
|
+
@include grid.grid-span-column(3)
|
|
283
|
+
|
|
284
|
+
.col-span-4
|
|
285
|
+
@include grid.grid-span-column(4)
|
|
286
|
+
|
|
287
|
+
.col-span-5
|
|
288
|
+
@include grid.grid-span-column(5)
|
|
289
|
+
|
|
290
|
+
.col-span-6
|
|
291
|
+
@include grid.grid-span-column(6)
|
|
292
|
+
|
|
293
|
+
.col-span-full
|
|
294
|
+
@include grid.grid-column(1, -1)
|
|
295
|
+
|
|
296
|
+
// Row spans
|
|
297
|
+
.row-span-1
|
|
298
|
+
@include grid.grid-span-row(1)
|
|
299
|
+
|
|
300
|
+
.row-span-2
|
|
301
|
+
@include grid.grid-span-row(2)
|
|
302
|
+
|
|
303
|
+
.row-span-3
|
|
304
|
+
@include grid.grid-span-row(3)
|
|
305
|
+
|
|
306
|
+
.row-span-4
|
|
307
|
+
@include grid.grid-span-row(4)
|
|
308
|
+
|
|
309
|
+
.row-span-5
|
|
310
|
+
@include grid.grid-span-row(5)
|
|
311
|
+
|
|
312
|
+
.row-span-6
|
|
313
|
+
@include grid.grid-span-row(6)
|
|
314
|
+
|
|
315
|
+
.row-span-full
|
|
316
|
+
@include grid.grid-row(1, -1)
|
|
317
|
+
|
|
318
|
+
// ===========================================
|
|
319
|
+
// GRID AUTO FLOW UTILITIES
|
|
320
|
+
// ===========================================
|
|
321
|
+
|
|
322
|
+
.grid-flow-row
|
|
323
|
+
@include grid.grid-auto-flow(row)
|
|
324
|
+
|
|
325
|
+
.grid-flow-col
|
|
326
|
+
@include grid.grid-auto-flow(column)
|
|
327
|
+
|
|
328
|
+
.grid-flow-row-dense
|
|
329
|
+
@include grid.grid-auto-flow(row dense)
|
|
330
|
+
|
|
331
|
+
.grid-flow-col-dense
|
|
332
|
+
@include grid.grid-auto-flow(column dense)
|
|
333
|
+
|
|
334
|
+
// ===========================================
|
|
335
|
+
// COMMON GRID PATTERNS
|
|
336
|
+
// ===========================================
|
|
337
|
+
|
|
338
|
+
// Three section layouts
|
|
339
|
+
.grid-three-section
|
|
340
|
+
@include grid.three-section-grid
|
|
341
|
+
|
|
342
|
+
.grid-nav-three-section
|
|
343
|
+
@include grid.nav-three-section
|
|
344
|
+
|
|
345
|
+
// Sidebar layouts
|
|
346
|
+
.grid-sidebar
|
|
347
|
+
@include grid.sidebar-grid
|
|
348
|
+
|
|
349
|
+
.grid-sidebar-sm
|
|
350
|
+
@include grid.sidebar-grid(200px)
|
|
351
|
+
|
|
352
|
+
.grid-sidebar-lg
|
|
353
|
+
@include grid.sidebar-grid(300px)
|
|
354
|
+
|
|
355
|
+
// Center layouts
|
|
356
|
+
.grid-center
|
|
357
|
+
@include grid.center-grid
|
|
358
|
+
|
|
359
|
+
// Card grids
|
|
360
|
+
.grid-cards
|
|
361
|
+
@include grid.card-grid
|
|
362
|
+
|
|
363
|
+
.grid-cards-sm
|
|
364
|
+
@include grid.card-grid(200px, 3)
|
|
365
|
+
|
|
366
|
+
.grid-cards-lg
|
|
367
|
+
@include grid.card-grid(350px, 3)
|
|
368
|
+
|
|
369
|
+
// Auto-fit grids
|
|
370
|
+
.grid-auto-fit
|
|
371
|
+
@include grid.auto-fit-grid
|
|
372
|
+
|
|
373
|
+
.grid-auto-fit-sm
|
|
374
|
+
@include grid.auto-fit-grid(150px)
|
|
375
|
+
|
|
376
|
+
.grid-auto-fit-md
|
|
377
|
+
@include grid.auto-fit-grid(250px)
|
|
378
|
+
|
|
379
|
+
.grid-auto-fit-lg
|
|
380
|
+
@include grid.auto-fit-grid(350px)
|
|
381
|
+
|
|
382
|
+
// Masonry grids
|
|
383
|
+
.grid-masonry-2
|
|
384
|
+
@include grid.masonry-grid(2)
|
|
385
|
+
|
|
386
|
+
.grid-masonry-3
|
|
387
|
+
@include grid.masonry-grid(3)
|
|
388
|
+
|
|
389
|
+
.grid-masonry-4
|
|
390
|
+
@include grid.masonry-grid(4)
|
|
391
|
+
|
|
392
|
+
// Navigation grids
|
|
393
|
+
.grid-nav-horizontal
|
|
394
|
+
@include grid.nav-horizontal
|
|
395
|
+
|
|
396
|
+
.grid-nav-responsive
|
|
397
|
+
@include grid.nav-responsive
|
|
398
|
+
|
|
399
|
+
// ===========================================
|
|
400
|
+
// RESPONSIVE GRID UTILITIES
|
|
401
|
+
// ===========================================
|
|
402
|
+
|
|
403
|
+
@media (max-width: 480px)
|
|
404
|
+
.grid-cols-xs-1
|
|
405
|
+
@include grid.grid-template-columns(1fr)
|
|
406
|
+
|
|
407
|
+
.grid-cols-xs-2
|
|
408
|
+
@include grid.grid-template-columns(repeat(2, 1fr))
|
|
409
|
+
|
|
410
|
+
@media (min-width: 481px) and (max-width: 768px)
|
|
411
|
+
.grid-cols-sm-1
|
|
412
|
+
@include grid.grid-template-columns(1fr)
|
|
413
|
+
|
|
414
|
+
.grid-cols-sm-2
|
|
415
|
+
@include grid.grid-template-columns(repeat(2, 1fr))
|
|
416
|
+
|
|
417
|
+
.grid-cols-sm-3
|
|
418
|
+
@include grid.grid-template-columns(repeat(3, 1fr))
|
|
419
|
+
|
|
420
|
+
@media (min-width: 769px) and (max-width: 1024px)
|
|
421
|
+
.grid-cols-md-1
|
|
422
|
+
@include grid.grid-template-columns(1fr)
|
|
423
|
+
|
|
424
|
+
.grid-cols-md-2
|
|
425
|
+
@include grid.grid-template-columns(repeat(2, 1fr))
|
|
426
|
+
|
|
427
|
+
.grid-cols-md-3
|
|
428
|
+
@include grid.grid-template-columns(repeat(3, 1fr))
|
|
429
|
+
|
|
430
|
+
.grid-cols-md-4
|
|
431
|
+
@include grid.grid-template-columns(repeat(4, 1fr))
|
|
432
|
+
|
|
433
|
+
@media (min-width: 1025px)
|
|
434
|
+
.grid-cols-lg-1
|
|
435
|
+
@include grid.grid-template-columns(1fr)
|
|
436
|
+
|
|
437
|
+
.grid-cols-lg-2
|
|
438
|
+
@include grid.grid-template-columns(repeat(2, 1fr))
|
|
439
|
+
|
|
440
|
+
.grid-cols-lg-3
|
|
441
|
+
@include grid.grid-template-columns(repeat(3, 1fr))
|
|
442
|
+
|
|
443
|
+
.grid-cols-lg-4
|
|
444
|
+
@include grid.grid-template-columns(repeat(4, 1fr))
|
|
445
|
+
|
|
446
|
+
.grid-cols-lg-5
|
|
447
|
+
@include grid.grid-template-columns(repeat(5, 1fr))
|
|
448
|
+
|
|
449
|
+
.grid-cols-lg-6
|
|
450
|
+
@include grid.grid-template-columns(repeat(6, 1fr))
|
|
451
|
+
|
|
452
|
+
// ===========================================
|
|
453
|
+
// GRID ORDER UTILITIES
|
|
454
|
+
// ===========================================
|
|
455
|
+
|
|
456
|
+
.order-1
|
|
457
|
+
@include grid.grid-order(1)
|
|
458
|
+
|
|
459
|
+
.order-2
|
|
460
|
+
@include grid.grid-order(2)
|
|
461
|
+
|
|
462
|
+
.order-3
|
|
463
|
+
@include grid.grid-order(3)
|
|
464
|
+
|
|
465
|
+
.order-4
|
|
466
|
+
@include grid.grid-order(4)
|
|
467
|
+
|
|
468
|
+
.order-5
|
|
469
|
+
@include grid.grid-order(5)
|
|
470
|
+
|
|
471
|
+
.order-first
|
|
472
|
+
@include grid.grid-order(-1)
|
|
473
|
+
|
|
474
|
+
.order-last
|
|
475
|
+
@include grid.grid-order(9999)
|
|
476
|
+
|
|
477
|
+
// ===========================================
|
|
478
|
+
// UTILITY PATTERNS FOR COMMON LAYOUTS
|
|
479
|
+
// ===========================================
|
|
480
|
+
|
|
481
|
+
// Full bleed (breaks out of grid)
|
|
482
|
+
.full-bleed
|
|
483
|
+
@include grid.full-bleed
|
|
484
|
+
|
|
485
|
+
// Dashboard layout
|
|
486
|
+
.grid-dashboard
|
|
487
|
+
@include grid.grid
|
|
488
|
+
@include grid.grid-template-areas("sidebar header", "sidebar main", "sidebar footer")
|
|
489
|
+
@include grid.grid-template-columns(250px 1fr)
|
|
490
|
+
@include grid.grid-template-rows(auto 1fr auto)
|
|
491
|
+
|
|
492
|
+
.sidebar
|
|
493
|
+
@include grid.grid-area(sidebar)
|
|
494
|
+
|
|
495
|
+
.header
|
|
496
|
+
@include grid.grid-area(header)
|
|
497
|
+
|
|
498
|
+
.main
|
|
499
|
+
@include grid.grid-area(main)
|
|
500
|
+
|
|
501
|
+
.footer
|
|
502
|
+
@include grid.grid-area(footer)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Utilities index - exports all utility classes
|
|
2
|
+
|
|
3
|
+
@forward 'spacing'
|
|
4
|
+
@forward 'borders'
|
|
5
|
+
@forward 'flex'
|
|
6
|
+
@forward 'grid'
|
|
7
|
+
@forward 'position'
|
|
8
|
+
@forward 'sizing'
|
|
9
|
+
@forward 'display'
|
|
10
|
+
@forward 'colors'
|
|
11
|
+
@forward 'backgrounds'
|
|
12
|
+
@forward 'backdrops'
|
|
13
|
+
@forward 'links'
|
|
14
|
+
@forward 'text'
|
|
15
|
+
@forward 'lists'
|
|
16
|
+
@forward 'input'
|
|
17
|
+
@forward 'popup'
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use '../variables/colors' as *
|
|
2
|
+
|
|
3
|
+
.input-error
|
|
4
|
+
display: flex
|
|
5
|
+
align-items: center
|
|
6
|
+
gap: calc(1.25em * 0.4)
|
|
7
|
+
color: $error
|
|
8
|
+
font-size: calc(1.25em * 0.6)
|
|
9
|
+
margin-top: calc(1.25em * 0.4)
|
|
10
|
+
|
|
11
|
+
&::before
|
|
12
|
+
content: '⚠'
|
|
13
|
+
font-size: calc(1.25em * 0.8)
|
|
14
|
+
flex-shrink: 0
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// Link utility classes derived from mixins
|
|
2
|
+
@use '../mixins/links' as links
|
|
3
|
+
@use '../variables/colors' as *
|
|
4
|
+
|
|
5
|
+
// Basic link variants
|
|
6
|
+
.link-primary
|
|
7
|
+
@include links.link-base
|
|
8
|
+
@include links.link-states($mm, $mm-lite, $mm-dark)
|
|
9
|
+
@include links.link-underline('hover')
|
|
10
|
+
|
|
11
|
+
.link-secondary
|
|
12
|
+
@include links.link-base
|
|
13
|
+
@include links.link-states($text-secondary, $text, $text)
|
|
14
|
+
@include links.link-underline('hover')
|
|
15
|
+
|
|
16
|
+
.link-muted
|
|
17
|
+
@include links.link-base
|
|
18
|
+
@include links.link-states($text-tertiary, $text-secondary, $text)
|
|
19
|
+
@include links.link-underline('hover')
|
|
20
|
+
|
|
21
|
+
.link-clean
|
|
22
|
+
@include links.link-base
|
|
23
|
+
@include links.link-states($text, $mm, $mm-dark)
|
|
24
|
+
@include links.link-underline('none')
|
|
25
|
+
|
|
26
|
+
// Status-colored links
|
|
27
|
+
.link-success
|
|
28
|
+
@include links.link-base
|
|
29
|
+
@include links.link-states($success, $success, $success)
|
|
30
|
+
|
|
31
|
+
.link-warning
|
|
32
|
+
@include links.link-base
|
|
33
|
+
@include links.link-states($warning, $warning, $warning)
|
|
34
|
+
|
|
35
|
+
.link-error
|
|
36
|
+
@include links.link-base
|
|
37
|
+
@include links.link-states($error, $error, $error)
|
|
38
|
+
|
|
39
|
+
// Underline variants
|
|
40
|
+
.link-underline
|
|
41
|
+
@include links.link-underline('always')
|
|
42
|
+
|
|
43
|
+
.link-no-underline
|
|
44
|
+
@include links.link-underline('none')
|
|
45
|
+
|
|
46
|
+
.link-underline-hover
|
|
47
|
+
@include links.link-underline('hover')
|
|
48
|
+
|
|
49
|
+
// External link
|
|
50
|
+
.link-external
|
|
51
|
+
@include links.link-base
|
|
52
|
+
@include links.link-states($mm, $mm-lite, $mm-dark)
|
|
53
|
+
@include links.link-external
|
|
54
|
+
|
|
55
|
+
// Disabled link
|
|
56
|
+
.link-disabled
|
|
57
|
+
@include links.link-disabled
|
|
58
|
+
|
|
59
|
+
// Button-style links
|
|
60
|
+
.link-button
|
|
61
|
+
@include links.link-base
|
|
62
|
+
@include links.link-button
|
|
63
|
+
@include links.link-states($text, $mm, $mm-dark)
|
|
64
|
+
background-color: $frame
|
|
65
|
+
border: 1px solid $border
|
|
66
|
+
|
|
67
|
+
.link-button-primary
|
|
68
|
+
@include links.link-base
|
|
69
|
+
@include links.link-button
|
|
70
|
+
@include links.link-states($inverse-text, $inverse-text, $inverse-text)
|
|
71
|
+
background-color: $mm
|
|
72
|
+
border: 1px solid $mm
|
|
73
|
+
|
|
74
|
+
&:hover
|
|
75
|
+
background-color: $mm-lite
|
|
76
|
+
border-color: $mm-lite
|
|
77
|
+
|
|
78
|
+
.link-button-secondary
|
|
79
|
+
@include links.link-base
|
|
80
|
+
@include links.link-button
|
|
81
|
+
@include links.link-states($mm, $mm-dark, $mm-dark)
|
|
82
|
+
background-color: transparent
|
|
83
|
+
border: 1px solid $mm
|
|
84
|
+
|
|
85
|
+
&:hover
|
|
86
|
+
background-color: $mm
|
|
87
|
+
color: $inverse-text
|
|
88
|
+
|
|
89
|
+
// Link sizes
|
|
90
|
+
.link-sm
|
|
91
|
+
font-size: 0.875rem
|
|
92
|
+
|
|
93
|
+
.link-lg
|
|
94
|
+
font-size: 1.125rem
|
|
95
|
+
|
|
96
|
+
.link-xl
|
|
97
|
+
font-size: 1.25rem
|
|
98
|
+
|
|
99
|
+
// Link with icon classes
|
|
100
|
+
.link-with-icon
|
|
101
|
+
@include links.link-with-icon
|
|
102
|
+
|
|
103
|
+
.link-with-icon-right
|
|
104
|
+
@include links.link-with-icon('right')
|
|
105
|
+
|
|
106
|
+
// Navigation link styles
|
|
107
|
+
.link-nav
|
|
108
|
+
@include links.link-base
|
|
109
|
+
@include links.link-states($text-secondary, $text, $mm)
|
|
110
|
+
@include links.link-underline('none')
|
|
111
|
+
display: block
|
|
112
|
+
padding: 0.5rem 1rem
|
|
113
|
+
border-radius: 4px
|
|
114
|
+
transition: all 0.2s ease-in-out
|
|
115
|
+
|
|
116
|
+
&:hover
|
|
117
|
+
background-color: $bg-focus
|
|
118
|
+
|
|
119
|
+
&.active
|
|
120
|
+
background-color: $highlight
|
|
121
|
+
color: $mm
|
|
122
|
+
font-weight: 500
|
|
123
|
+
|
|
124
|
+
// Breadcrumb link styles
|
|
125
|
+
.link-breadcrumb
|
|
126
|
+
@include links.link-base
|
|
127
|
+
@include links.link-states($text-secondary, $text, $mm)
|
|
128
|
+
@include links.link-underline('hover')
|
|
129
|
+
font-size: 0.875rem
|
|
130
|
+
|
|
131
|
+
// Footer link styles
|
|
132
|
+
.link-footer
|
|
133
|
+
@include links.link-base
|
|
134
|
+
@include links.link-states($text-tertiary, $text-secondary, $text)
|
|
135
|
+
@include links.link-underline('hover')
|
|
136
|
+
font-size: 0.875rem
|