fluxgrid-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.
@@ -0,0 +1,106 @@
1
+ @media print {
2
+ .c-print-hidden {
3
+ display: none !important;
4
+ }
5
+ .c-print-block {
6
+ display: block !important;
7
+ }
8
+ .c-print-inline {
9
+ display: inline !important;
10
+ }
11
+ .c-print-inline-block {
12
+ display: inline-block !important;
13
+ }
14
+
15
+ .c-print-break-before {
16
+ break-before: page;
17
+ }
18
+ .c-print-break-after {
19
+ break-after: page;
20
+ }
21
+ .c-print-break-inside-avoid {
22
+ break-inside: avoid;
23
+ }
24
+ .c-print-break-inside {
25
+ break-inside: auto;
26
+ }
27
+
28
+ .c-print-color-adjust-exact {
29
+ print-color-adjust: exact;
30
+ -webkit-print-color-adjust: exact;
31
+ }
32
+ .c-print-color-adjust-economy {
33
+ print-color-adjust: economy;
34
+ -webkit-print-color-adjust: economy;
35
+ }
36
+
37
+ .c-print-m-0 {
38
+ margin: 0 !important;
39
+ }
40
+ .c-print-p-0 {
41
+ padding: 0 !important;
42
+ }
43
+ .c-print-shadow-none {
44
+ box-shadow: none !important;
45
+ }
46
+ .c-print-border-none {
47
+ border: none !important;
48
+ }
49
+ .c-print-bg-white {
50
+ background: white !important;
51
+ }
52
+ .c-print-text-black {
53
+ color: black !important;
54
+ }
55
+ .c-print-text-sm {
56
+ font-size: 0.75rem !important;
57
+ }
58
+
59
+ .c-print-w-full {
60
+ width: 100% !important;
61
+ }
62
+ .c-print-max-w-full {
63
+ max-width: 100% !important;
64
+ }
65
+
66
+ a[href]::after {
67
+ content: " (" attr(href) ")";
68
+ }
69
+ abbr[title]::after {
70
+ content: " (" attr(title) ")";
71
+ }
72
+ a[href^="#"]::after,
73
+ a[href^="javascript:"]::after {
74
+ content: "";
75
+ }
76
+
77
+ img {
78
+ page-break-inside: avoid;
79
+ max-width: 100% !important;
80
+ }
81
+
82
+ h2,
83
+ h3 {
84
+ page-break-after: avoid;
85
+ }
86
+
87
+ p,
88
+ blockquote {
89
+ orphans: 3;
90
+ widows: 3;
91
+ }
92
+
93
+ @page {
94
+ margin: 1cm;
95
+ }
96
+ }
97
+
98
+ .c-print-only {
99
+ display: none;
100
+ }
101
+
102
+ @media print {
103
+ .c-print-only {
104
+ display: block;
105
+ }
106
+ }
@@ -0,0 +1,99 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ box-sizing: border-box;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ html {
10
+ font-size: 16px;
11
+ scroll-behavior: smooth;
12
+ -webkit-text-size-adjust: 100%;
13
+ tab-size: 4;
14
+ }
15
+
16
+ body {
17
+ line-height: 1.5;
18
+ -webkit-font-smoothing: antialiased;
19
+ -moz-osx-font-smoothing: grayscale;
20
+ text-rendering: optimizeLegibility;
21
+ }
22
+
23
+ img,
24
+ picture,
25
+ video,
26
+ canvas,
27
+ svg,
28
+ iframe {
29
+ display: block;
30
+ max-width: 100%;
31
+ }
32
+
33
+ input,
34
+ button,
35
+ textarea,
36
+ select,
37
+ optgroup {
38
+ font: inherit;
39
+ color: inherit;
40
+ }
41
+
42
+ p,
43
+ h1,
44
+ h2,
45
+ h3,
46
+ h4,
47
+ h5,
48
+ h6 {
49
+ overflow-wrap: break-word;
50
+ }
51
+
52
+ a {
53
+ text-decoration: none;
54
+ color: inherit;
55
+ }
56
+
57
+ ul,
58
+ ol {
59
+ list-style: none;
60
+ }
61
+
62
+ table {
63
+ border-collapse: collapse;
64
+ border-spacing: 0;
65
+ }
66
+
67
+ button {
68
+ cursor: pointer;
69
+ background: none;
70
+ border: none;
71
+ }
72
+
73
+ fieldset {
74
+ border: none;
75
+ }
76
+
77
+ abbr[title] {
78
+ text-decoration: underline dotted;
79
+ cursor: help;
80
+ }
81
+
82
+ hr {
83
+ border: none;
84
+ border-top: 1px solid currentColor;
85
+ margin: 0;
86
+ }
87
+
88
+ summary {
89
+ cursor: pointer;
90
+ }
91
+
92
+ [hidden] {
93
+ display: none !important;
94
+ }
95
+
96
+ :focus-visible {
97
+ outline: 2px solid var(--c-focus, #6c63ff);
98
+ outline-offset: 2px;
99
+ }
@@ -0,0 +1,188 @@
1
+ .c-scroll-auto {
2
+ scroll-behavior: auto;
3
+ }
4
+ .c-scroll-smooth {
5
+ scroll-behavior: smooth;
6
+ }
7
+
8
+ .c-scroll-m-0 {
9
+ scroll-margin: 0;
10
+ }
11
+ .c-scroll-m-4 {
12
+ scroll-margin: 16px;
13
+ }
14
+ .c-scroll-m-8 {
15
+ scroll-margin: 32px;
16
+ }
17
+ .c-scroll-m-16 {
18
+ scroll-margin: 64px;
19
+ }
20
+ .c-scroll-mt-0 {
21
+ scroll-margin-top: 0;
22
+ }
23
+ .c-scroll-mt-4 {
24
+ scroll-margin-top: 16px;
25
+ }
26
+ .c-scroll-mt-8 {
27
+ scroll-margin-top: 32px;
28
+ }
29
+ .c-scroll-mt-16 {
30
+ scroll-margin-top: 64px;
31
+ }
32
+ .c-scroll-mt-20 {
33
+ scroll-margin-top: 80px;
34
+ }
35
+
36
+ .c-scroll-p-0 {
37
+ scroll-padding: 0;
38
+ }
39
+ .c-scroll-p-4 {
40
+ scroll-padding: 16px;
41
+ }
42
+ .c-scroll-p-8 {
43
+ scroll-padding: 32px;
44
+ }
45
+ .c-scroll-pt-0 {
46
+ scroll-padding-top: 0;
47
+ }
48
+ .c-scroll-pt-4 {
49
+ scroll-padding-top: 16px;
50
+ }
51
+ .c-scroll-pt-8 {
52
+ scroll-padding-top: 32px;
53
+ }
54
+ .c-scroll-pt-16 {
55
+ scroll-padding-top: 64px;
56
+ }
57
+
58
+ .c-snap-none {
59
+ scroll-snap-type: none;
60
+ }
61
+ .c-snap-x {
62
+ scroll-snap-type: x mandatory;
63
+ }
64
+ .c-snap-x-prox {
65
+ scroll-snap-type: x proximity;
66
+ }
67
+ .c-snap-y {
68
+ scroll-snap-type: y mandatory;
69
+ }
70
+ .c-snap-y-prox {
71
+ scroll-snap-type: y proximity;
72
+ }
73
+ .c-snap-both {
74
+ scroll-snap-type: both mandatory;
75
+ }
76
+ .c-snap-both-prox {
77
+ scroll-snap-type: both proximity;
78
+ }
79
+
80
+ .c-snap-start {
81
+ scroll-snap-align: start;
82
+ }
83
+ .c-snap-end {
84
+ scroll-snap-align: end;
85
+ }
86
+ .c-snap-center {
87
+ scroll-snap-align: center;
88
+ }
89
+ .c-snap-align-none {
90
+ scroll-snap-align: none;
91
+ }
92
+
93
+ .c-snap-normal {
94
+ scroll-snap-stop: normal;
95
+ }
96
+ .c-snap-always {
97
+ scroll-snap-stop: always;
98
+ }
99
+
100
+ .c-overscroll-auto {
101
+ overscroll-behavior: auto;
102
+ }
103
+ .c-overscroll-contain {
104
+ overscroll-behavior: contain;
105
+ }
106
+ .c-overscroll-none {
107
+ overscroll-behavior: none;
108
+ }
109
+ .c-overscroll-x-auto {
110
+ overscroll-behavior-x: auto;
111
+ }
112
+ .c-overscroll-x-contain {
113
+ overscroll-behavior-x: contain;
114
+ }
115
+ .c-overscroll-x-none {
116
+ overscroll-behavior-x: none;
117
+ }
118
+ .c-overscroll-y-auto {
119
+ overscroll-behavior-y: auto;
120
+ }
121
+ .c-overscroll-y-contain {
122
+ overscroll-behavior-y: contain;
123
+ }
124
+ .c-overscroll-y-none {
125
+ overscroll-behavior-y: none;
126
+ }
127
+
128
+ .c-touch-auto {
129
+ touch-action: auto;
130
+ }
131
+ .c-touch-none {
132
+ touch-action: none;
133
+ }
134
+ .c-touch-pan-x {
135
+ touch-action: pan-x;
136
+ }
137
+ .c-touch-pan-y {
138
+ touch-action: pan-y;
139
+ }
140
+ .c-touch-pan-left {
141
+ touch-action: pan-left;
142
+ }
143
+ .c-touch-pan-right {
144
+ touch-action: pan-right;
145
+ }
146
+ .c-touch-pan-up {
147
+ touch-action: pan-up;
148
+ }
149
+ .c-touch-pan-down {
150
+ touch-action: pan-down;
151
+ }
152
+ .c-touch-pinch-zoom {
153
+ touch-action: pinch-zoom;
154
+ }
155
+ .c-touch-manipulation {
156
+ touch-action: manipulation;
157
+ }
158
+
159
+ .c-scrollbar-none {
160
+ scrollbar-width: none;
161
+ -ms-overflow-style: none;
162
+ }
163
+ .c-scrollbar-none::-webkit-scrollbar {
164
+ display: none;
165
+ }
166
+
167
+ .c-scrollbar-thin {
168
+ scrollbar-width: thin;
169
+ scrollbar-color: var(--c-gray-300) transparent;
170
+ }
171
+ .c-scrollbar-thin::-webkit-scrollbar {
172
+ width: 6px;
173
+ height: 6px;
174
+ }
175
+ .c-scrollbar-thin::-webkit-scrollbar-track {
176
+ background: transparent;
177
+ }
178
+ .c-scrollbar-thin::-webkit-scrollbar-thumb {
179
+ background: var(--c-gray-300);
180
+ border-radius: 9999px;
181
+ }
182
+ .c-scrollbar-thin::-webkit-scrollbar-thumb:hover {
183
+ background: var(--c-gray-400);
184
+ }
185
+
186
+ .c-scrollbar-auto {
187
+ scrollbar-width: auto;
188
+ }
@@ -0,0 +1,352 @@
1
+ .c-w-0 {
2
+ width: 0;
3
+ }
4
+ .c-w-px {
5
+ width: 1px;
6
+ }
7
+ .c-w-auto {
8
+ width: auto;
9
+ }
10
+ .c-w-1 {
11
+ width: 4px;
12
+ }
13
+ .c-w-2 {
14
+ width: 8px;
15
+ }
16
+ .c-w-3 {
17
+ width: 12px;
18
+ }
19
+ .c-w-4 {
20
+ width: 16px;
21
+ }
22
+ .c-w-5 {
23
+ width: 20px;
24
+ }
25
+ .c-w-6 {
26
+ width: 24px;
27
+ }
28
+ .c-w-8 {
29
+ width: 32px;
30
+ }
31
+ .c-w-10 {
32
+ width: 40px;
33
+ }
34
+ .c-w-12 {
35
+ width: 48px;
36
+ }
37
+ .c-w-16 {
38
+ width: 64px;
39
+ }
40
+ .c-w-20 {
41
+ width: 80px;
42
+ }
43
+ .c-w-24 {
44
+ width: 96px;
45
+ }
46
+ .c-w-32 {
47
+ width: 128px;
48
+ }
49
+ .c-w-40 {
50
+ width: 160px;
51
+ }
52
+ .c-w-48 {
53
+ width: 192px;
54
+ }
55
+ .c-w-56 {
56
+ width: 224px;
57
+ }
58
+ .c-w-64 {
59
+ width: 256px;
60
+ }
61
+ .c-w-72 {
62
+ width: 288px;
63
+ }
64
+ .c-w-80 {
65
+ width: 320px;
66
+ }
67
+ .c-w-96 {
68
+ width: 384px;
69
+ }
70
+ .c-w-1-2 {
71
+ width: 50%;
72
+ }
73
+ .c-w-1-3 {
74
+ width: 33.333%;
75
+ }
76
+ .c-w-2-3 {
77
+ width: 66.666%;
78
+ }
79
+ .c-w-1-4 {
80
+ width: 25%;
81
+ }
82
+ .c-w-3-4 {
83
+ width: 75%;
84
+ }
85
+ .c-w-1-5 {
86
+ width: 20%;
87
+ }
88
+ .c-w-2-5 {
89
+ width: 40%;
90
+ }
91
+ .c-w-3-5 {
92
+ width: 60%;
93
+ }
94
+ .c-w-4-5 {
95
+ width: 80%;
96
+ }
97
+ .c-w-25 {
98
+ width: 25%;
99
+ }
100
+ .c-w-50 {
101
+ width: 50%;
102
+ }
103
+ .c-w-75 {
104
+ width: 75%;
105
+ }
106
+ .c-w-100 {
107
+ width: 100%;
108
+ }
109
+ .c-w-screen {
110
+ width: 100vw;
111
+ }
112
+ .c-w-min {
113
+ width: min-content;
114
+ }
115
+ .c-w-max {
116
+ width: max-content;
117
+ }
118
+ .c-w-fit {
119
+ width: fit-content;
120
+ }
121
+
122
+ .c-min-w-0 {
123
+ min-width: 0;
124
+ }
125
+ .c-min-w-full {
126
+ min-width: 100%;
127
+ }
128
+ .c-min-w-min {
129
+ min-width: min-content;
130
+ }
131
+ .c-min-w-max {
132
+ min-width: max-content;
133
+ }
134
+ .c-min-w-fit {
135
+ min-width: fit-content;
136
+ }
137
+
138
+ .c-max-w-xs {
139
+ max-width: 320px;
140
+ }
141
+ .c-max-w-sm {
142
+ max-width: 384px;
143
+ }
144
+ .c-max-w-md {
145
+ max-width: 448px;
146
+ }
147
+ .c-max-w-lg {
148
+ max-width: 512px;
149
+ }
150
+ .c-max-w-xl {
151
+ max-width: 576px;
152
+ }
153
+ .c-max-w-2xl {
154
+ max-width: 672px;
155
+ }
156
+ .c-max-w-3xl {
157
+ max-width: 768px;
158
+ }
159
+ .c-max-w-4xl {
160
+ max-width: 896px;
161
+ }
162
+ .c-max-w-5xl {
163
+ max-width: 1024px;
164
+ }
165
+ .c-max-w-6xl {
166
+ max-width: 1152px;
167
+ }
168
+ .c-max-w-7xl {
169
+ max-width: 1280px;
170
+ }
171
+ .c-max-w-full {
172
+ max-width: 100%;
173
+ }
174
+ .c-max-w-screen {
175
+ max-width: 100vw;
176
+ }
177
+ .c-max-w-none {
178
+ max-width: none;
179
+ }
180
+ .c-max-w-prose {
181
+ max-width: 65ch;
182
+ }
183
+
184
+ .c-h-0 {
185
+ height: 0;
186
+ }
187
+ .c-h-px {
188
+ height: 1px;
189
+ }
190
+ .c-h-auto {
191
+ height: auto;
192
+ }
193
+ .c-h-1 {
194
+ height: 4px;
195
+ }
196
+ .c-h-2 {
197
+ height: 8px;
198
+ }
199
+ .c-h-3 {
200
+ height: 12px;
201
+ }
202
+ .c-h-4 {
203
+ height: 16px;
204
+ }
205
+ .c-h-5 {
206
+ height: 20px;
207
+ }
208
+ .c-h-6 {
209
+ height: 24px;
210
+ }
211
+ .c-h-8 {
212
+ height: 32px;
213
+ }
214
+ .c-h-10 {
215
+ height: 40px;
216
+ }
217
+ .c-h-12 {
218
+ height: 48px;
219
+ }
220
+ .c-h-16 {
221
+ height: 64px;
222
+ }
223
+ .c-h-20 {
224
+ height: 80px;
225
+ }
226
+ .c-h-24 {
227
+ height: 96px;
228
+ }
229
+ .c-h-32 {
230
+ height: 128px;
231
+ }
232
+ .c-h-40 {
233
+ height: 160px;
234
+ }
235
+ .c-h-48 {
236
+ height: 192px;
237
+ }
238
+ .c-h-56 {
239
+ height: 224px;
240
+ }
241
+ .c-h-64 {
242
+ height: 256px;
243
+ }
244
+ .c-h-100 {
245
+ height: 100%;
246
+ }
247
+ .c-h-screen {
248
+ height: 100vh;
249
+ }
250
+ .c-h-svh {
251
+ height: 100svh;
252
+ }
253
+ .c-h-dvh {
254
+ height: 100dvh;
255
+ }
256
+ .c-h-min {
257
+ height: min-content;
258
+ }
259
+ .c-h-max {
260
+ height: max-content;
261
+ }
262
+ .c-h-fit {
263
+ height: fit-content;
264
+ }
265
+
266
+ .c-min-h-0 {
267
+ min-height: 0;
268
+ }
269
+ .c-min-h-full {
270
+ min-height: 100%;
271
+ }
272
+ .c-min-h-screen {
273
+ min-height: 100vh;
274
+ }
275
+ .c-min-h-svh {
276
+ min-height: 100svh;
277
+ }
278
+ .c-min-h-dvh {
279
+ min-height: 100dvh;
280
+ }
281
+
282
+ .c-max-h-full {
283
+ max-height: 100%;
284
+ }
285
+ .c-max-h-screen {
286
+ max-height: 100vh;
287
+ }
288
+ .c-max-h-none {
289
+ max-height: none;
290
+ }
291
+ .c-max-h-48 {
292
+ max-height: 192px;
293
+ }
294
+ .c-max-h-64 {
295
+ max-height: 256px;
296
+ }
297
+ .c-max-h-96 {
298
+ max-height: 384px;
299
+ }
300
+
301
+ .c-size-0 {
302
+ width: 0;
303
+ height: 0;
304
+ }
305
+ .c-size-1 {
306
+ width: 4px;
307
+ height: 4px;
308
+ }
309
+ .c-size-2 {
310
+ width: 8px;
311
+ height: 8px;
312
+ }
313
+ .c-size-4 {
314
+ width: 16px;
315
+ height: 16px;
316
+ }
317
+ .c-size-5 {
318
+ width: 20px;
319
+ height: 20px;
320
+ }
321
+ .c-size-6 {
322
+ width: 24px;
323
+ height: 24px;
324
+ }
325
+ .c-size-8 {
326
+ width: 32px;
327
+ height: 32px;
328
+ }
329
+ .c-size-10 {
330
+ width: 40px;
331
+ height: 40px;
332
+ }
333
+ .c-size-12 {
334
+ width: 48px;
335
+ height: 48px;
336
+ }
337
+ .c-size-16 {
338
+ width: 64px;
339
+ height: 64px;
340
+ }
341
+ .c-size-20 {
342
+ width: 80px;
343
+ height: 80px;
344
+ }
345
+ .c-size-24 {
346
+ width: 96px;
347
+ height: 96px;
348
+ }
349
+ .c-size-full {
350
+ width: 100%;
351
+ height: 100%;
352
+ }