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,392 @@
1
+ @keyframes c-spin {
2
+ from {
3
+ transform: rotate(0deg);
4
+ }
5
+ to {
6
+ transform: rotate(360deg);
7
+ }
8
+ }
9
+
10
+ @keyframes c-ping {
11
+ 75%,
12
+ 100% {
13
+ transform: scale(2);
14
+ opacity: 0;
15
+ }
16
+ }
17
+
18
+ @keyframes c-pulse {
19
+ 0%,
20
+ 100% {
21
+ opacity: 1;
22
+ }
23
+ 50% {
24
+ opacity: 0.5;
25
+ }
26
+ }
27
+
28
+ @keyframes c-bounce {
29
+ 0%,
30
+ 100% {
31
+ transform: translateY(-25%);
32
+ animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
33
+ }
34
+ 50% {
35
+ transform: translateY(0);
36
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
37
+ }
38
+ }
39
+
40
+ @keyframes c-shake {
41
+ 0%,
42
+ 100% {
43
+ transform: translateX(0);
44
+ }
45
+ 10%,
46
+ 30%,
47
+ 50%,
48
+ 70%,
49
+ 90% {
50
+ transform: translateX(-4px);
51
+ }
52
+ 20%,
53
+ 40%,
54
+ 60%,
55
+ 80% {
56
+ transform: translateX(4px);
57
+ }
58
+ }
59
+
60
+ @keyframes c-fade-in {
61
+ from {
62
+ opacity: 0;
63
+ }
64
+ to {
65
+ opacity: 1;
66
+ }
67
+ }
68
+
69
+ @keyframes c-fade-out {
70
+ from {
71
+ opacity: 1;
72
+ }
73
+ to {
74
+ opacity: 0;
75
+ }
76
+ }
77
+
78
+ @keyframes c-slide-in-up {
79
+ from {
80
+ transform: translateY(20px);
81
+ opacity: 0;
82
+ }
83
+ to {
84
+ transform: translateY(0);
85
+ opacity: 1;
86
+ }
87
+ }
88
+
89
+ @keyframes c-slide-in-down {
90
+ from {
91
+ transform: translateY(-20px);
92
+ opacity: 0;
93
+ }
94
+ to {
95
+ transform: translateY(0);
96
+ opacity: 1;
97
+ }
98
+ }
99
+
100
+ @keyframes c-slide-in-left {
101
+ from {
102
+ transform: translateX(-20px);
103
+ opacity: 0;
104
+ }
105
+ to {
106
+ transform: translateX(0);
107
+ opacity: 1;
108
+ }
109
+ }
110
+
111
+ @keyframes c-slide-in-right {
112
+ from {
113
+ transform: translateX(20px);
114
+ opacity: 0;
115
+ }
116
+ to {
117
+ transform: translateX(0);
118
+ opacity: 1;
119
+ }
120
+ }
121
+
122
+ @keyframes c-scale-in {
123
+ from {
124
+ transform: scale(0.9);
125
+ opacity: 0;
126
+ }
127
+ to {
128
+ transform: scale(1);
129
+ opacity: 1;
130
+ }
131
+ }
132
+
133
+ @keyframes c-scale-out {
134
+ from {
135
+ transform: scale(1);
136
+ opacity: 1;
137
+ }
138
+ to {
139
+ transform: scale(0.9);
140
+ opacity: 0;
141
+ }
142
+ }
143
+
144
+ @keyframes c-flip-x {
145
+ from {
146
+ transform: rotateX(0deg);
147
+ }
148
+ to {
149
+ transform: rotateX(360deg);
150
+ }
151
+ }
152
+
153
+ @keyframes c-flip-y {
154
+ from {
155
+ transform: rotateY(0deg);
156
+ }
157
+ to {
158
+ transform: rotateY(360deg);
159
+ }
160
+ }
161
+
162
+ @keyframes c-wiggle {
163
+ 0%,
164
+ 100% {
165
+ transform: rotate(-3deg);
166
+ }
167
+ 50% {
168
+ transform: rotate(3deg);
169
+ }
170
+ }
171
+
172
+ @keyframes c-heartbeat {
173
+ 0% {
174
+ transform: scale(1);
175
+ }
176
+ 14% {
177
+ transform: scale(1.1);
178
+ }
179
+ 28% {
180
+ transform: scale(1);
181
+ }
182
+ 42% {
183
+ transform: scale(1.1);
184
+ }
185
+ 70% {
186
+ transform: scale(1);
187
+ }
188
+ }
189
+
190
+ @keyframes c-float {
191
+ 0%,
192
+ 100% {
193
+ transform: translateY(0);
194
+ }
195
+ 50% {
196
+ transform: translateY(-8px);
197
+ }
198
+ }
199
+
200
+ @keyframes c-skeleton {
201
+ 0% {
202
+ background-position: -200% 0;
203
+ }
204
+ 100% {
205
+ background-position: 200% 0;
206
+ }
207
+ }
208
+
209
+ @keyframes c-blink {
210
+ 0%,
211
+ 100% {
212
+ opacity: 1;
213
+ }
214
+ 50% {
215
+ opacity: 0;
216
+ }
217
+ }
218
+
219
+ @keyframes c-draw {
220
+ from {
221
+ stroke-dashoffset: 1000;
222
+ }
223
+ to {
224
+ stroke-dashoffset: 0;
225
+ }
226
+ }
227
+
228
+ .c-animate-spin {
229
+ animation: c-spin 1s linear infinite;
230
+ }
231
+ .c-animate-ping {
232
+ animation: c-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
233
+ }
234
+ .c-animate-pulse {
235
+ animation: c-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
236
+ }
237
+ .c-animate-bounce {
238
+ animation: c-bounce 1s infinite;
239
+ }
240
+ .c-animate-shake {
241
+ animation: c-shake 0.5s ease-in-out;
242
+ }
243
+ .c-animate-fade-in {
244
+ animation: c-fade-in 300ms ease-out forwards;
245
+ }
246
+ .c-animate-fade-out {
247
+ animation: c-fade-out 300ms ease-in forwards;
248
+ }
249
+ .c-animate-slide-up {
250
+ animation: c-slide-in-up 300ms ease-out forwards;
251
+ }
252
+ .c-animate-slide-down {
253
+ animation: c-slide-in-down 300ms ease-out forwards;
254
+ }
255
+ .c-animate-slide-left {
256
+ animation: c-slide-in-left 300ms ease-out forwards;
257
+ }
258
+ .c-animate-slide-right {
259
+ animation: c-slide-in-right 300ms ease-out forwards;
260
+ }
261
+ .c-animate-scale-in {
262
+ animation: c-scale-in 200ms ease-out forwards;
263
+ }
264
+ .c-animate-scale-out {
265
+ animation: c-scale-out 200ms ease-in forwards;
266
+ }
267
+ .c-animate-wiggle {
268
+ animation: c-wiggle 1s ease-in-out infinite;
269
+ }
270
+ .c-animate-heartbeat {
271
+ animation: c-heartbeat 1.5s ease-in-out infinite;
272
+ }
273
+ .c-animate-float {
274
+ animation: c-float 3s ease-in-out infinite;
275
+ }
276
+ .c-animate-blink {
277
+ animation: c-blink 1s step-end infinite;
278
+ }
279
+ .c-animate-none {
280
+ animation: none;
281
+ }
282
+
283
+ .c-animate-skeleton {
284
+ background: linear-gradient(
285
+ 90deg,
286
+ var(--c-gray-100) 25%,
287
+ var(--c-gray-200) 50%,
288
+ var(--c-gray-100) 75%
289
+ );
290
+ background-size: 200% 100%;
291
+ animation: c-skeleton 1.5s infinite;
292
+ }
293
+
294
+ .c-animate-delay-75 {
295
+ animation-delay: 75ms;
296
+ }
297
+ .c-animate-delay-100 {
298
+ animation-delay: 100ms;
299
+ }
300
+ .c-animate-delay-150 {
301
+ animation-delay: 150ms;
302
+ }
303
+ .c-animate-delay-200 {
304
+ animation-delay: 200ms;
305
+ }
306
+ .c-animate-delay-300 {
307
+ animation-delay: 300ms;
308
+ }
309
+ .c-animate-delay-500 {
310
+ animation-delay: 500ms;
311
+ }
312
+ .c-animate-delay-700 {
313
+ animation-delay: 700ms;
314
+ }
315
+ .c-animate-delay-1000 {
316
+ animation-delay: 1000ms;
317
+ }
318
+
319
+ .c-animate-duration-75 {
320
+ animation-duration: 75ms;
321
+ }
322
+ .c-animate-duration-100 {
323
+ animation-duration: 100ms;
324
+ }
325
+ .c-animate-duration-150 {
326
+ animation-duration: 150ms;
327
+ }
328
+ .c-animate-duration-200 {
329
+ animation-duration: 200ms;
330
+ }
331
+ .c-animate-duration-300 {
332
+ animation-duration: 300ms;
333
+ }
334
+ .c-animate-duration-500 {
335
+ animation-duration: 500ms;
336
+ }
337
+ .c-animate-duration-700 {
338
+ animation-duration: 700ms;
339
+ }
340
+ .c-animate-duration-1000 {
341
+ animation-duration: 1000ms;
342
+ }
343
+ .c-animate-duration-2000 {
344
+ animation-duration: 2000ms;
345
+ }
346
+
347
+ .c-animate-once {
348
+ animation-iteration-count: 1;
349
+ }
350
+ .c-animate-infinite {
351
+ animation-iteration-count: infinite;
352
+ }
353
+ .c-animate-repeat-2 {
354
+ animation-iteration-count: 2;
355
+ }
356
+ .c-animate-repeat-3 {
357
+ animation-iteration-count: 3;
358
+ }
359
+
360
+ .c-animate-fill-none {
361
+ animation-fill-mode: none;
362
+ }
363
+ .c-animate-fill-forwards {
364
+ animation-fill-mode: forwards;
365
+ }
366
+ .c-animate-fill-backwards {
367
+ animation-fill-mode: backwards;
368
+ }
369
+ .c-animate-fill-both {
370
+ animation-fill-mode: both;
371
+ }
372
+
373
+ .c-animate-running {
374
+ animation-play-state: running;
375
+ }
376
+ .c-animate-paused {
377
+ animation-play-state: paused;
378
+ }
379
+
380
+ @media (prefers-reduced-motion: reduce) {
381
+ .c-animate-spin,
382
+ .c-animate-ping,
383
+ .c-animate-pulse,
384
+ .c-animate-bounce,
385
+ .c-animate-shake,
386
+ .c-animate-wiggle,
387
+ .c-animate-heartbeat,
388
+ .c-animate-float,
389
+ .c-animate-skeleton {
390
+ animation: none;
391
+ }
392
+ }
@@ -0,0 +1,329 @@
1
+ .c-text-white {
2
+ color: var(--c-white);
3
+ }
4
+ .c-text-black {
5
+ color: var(--c-black);
6
+ }
7
+ .c-text-current {
8
+ color: currentColor;
9
+ }
10
+ .c-text-transparent {
11
+ color: transparent;
12
+ }
13
+
14
+ .c-text-fg {
15
+ color: var(--c-fg);
16
+ }
17
+ .c-text-muted {
18
+ color: var(--c-muted);
19
+ }
20
+ .c-text-accent {
21
+ color: var(--c-accent);
22
+ }
23
+
24
+ .c-text-gray-50 {
25
+ color: var(--c-gray-50);
26
+ }
27
+ .c-text-gray-100 {
28
+ color: var(--c-gray-100);
29
+ }
30
+ .c-text-gray-200 {
31
+ color: var(--c-gray-200);
32
+ }
33
+ .c-text-gray-300 {
34
+ color: var(--c-gray-300);
35
+ }
36
+ .c-text-gray-400 {
37
+ color: var(--c-gray-400);
38
+ }
39
+ .c-text-gray-500 {
40
+ color: var(--c-gray-500);
41
+ }
42
+ .c-text-gray-600 {
43
+ color: var(--c-gray-600);
44
+ }
45
+ .c-text-gray-700 {
46
+ color: var(--c-gray-700);
47
+ }
48
+ .c-text-gray-800 {
49
+ color: var(--c-gray-800);
50
+ }
51
+ .c-text-gray-900 {
52
+ color: var(--c-gray-900);
53
+ }
54
+
55
+ .c-text-primary-400 {
56
+ color: var(--c-primary-400);
57
+ }
58
+ .c-text-primary-500 {
59
+ color: var(--c-primary-500);
60
+ }
61
+ .c-text-primary-600 {
62
+ color: var(--c-primary-600);
63
+ }
64
+ .c-text-primary-700 {
65
+ color: var(--c-primary-700);
66
+ }
67
+
68
+ .c-text-success-500 {
69
+ color: var(--c-success-500);
70
+ }
71
+ .c-text-success-600 {
72
+ color: var(--c-success-600);
73
+ }
74
+ .c-text-warning-500 {
75
+ color: var(--c-warning-500);
76
+ }
77
+ .c-text-warning-600 {
78
+ color: var(--c-warning-600);
79
+ }
80
+ .c-text-error-500 {
81
+ color: var(--c-error-500);
82
+ }
83
+ .c-text-error-600 {
84
+ color: var(--c-error-600);
85
+ }
86
+ .c-text-info-500 {
87
+ color: var(--c-info-500);
88
+ }
89
+ .c-text-info-600 {
90
+ color: var(--c-info-600);
91
+ }
92
+
93
+ .c-bg-white {
94
+ background-color: var(--c-white);
95
+ }
96
+ .c-bg-black {
97
+ background-color: var(--c-black);
98
+ }
99
+ .c-bg-transparent {
100
+ background-color: transparent;
101
+ }
102
+ .c-bg-current {
103
+ background-color: currentColor;
104
+ }
105
+ .c-bg-base {
106
+ background-color: var(--c-bg);
107
+ }
108
+
109
+ .c-bg-gray-50 {
110
+ background-color: var(--c-gray-50);
111
+ }
112
+ .c-bg-gray-100 {
113
+ background-color: var(--c-gray-100);
114
+ }
115
+ .c-bg-gray-200 {
116
+ background-color: var(--c-gray-200);
117
+ }
118
+ .c-bg-gray-300 {
119
+ background-color: var(--c-gray-300);
120
+ }
121
+ .c-bg-gray-400 {
122
+ background-color: var(--c-gray-400);
123
+ }
124
+ .c-bg-gray-500 {
125
+ background-color: var(--c-gray-500);
126
+ }
127
+ .c-bg-gray-600 {
128
+ background-color: var(--c-gray-600);
129
+ }
130
+ .c-bg-gray-700 {
131
+ background-color: var(--c-gray-700);
132
+ }
133
+ .c-bg-gray-800 {
134
+ background-color: var(--c-gray-800);
135
+ }
136
+ .c-bg-gray-900 {
137
+ background-color: var(--c-gray-900);
138
+ }
139
+ .c-bg-gray-950 {
140
+ background-color: var(--c-gray-950);
141
+ }
142
+
143
+ .c-bg-primary-50 {
144
+ background-color: var(--c-primary-50);
145
+ }
146
+ .c-bg-primary-100 {
147
+ background-color: var(--c-primary-100);
148
+ }
149
+ .c-bg-primary-400 {
150
+ background-color: var(--c-primary-400);
151
+ }
152
+ .c-bg-primary-500 {
153
+ background-color: var(--c-primary-500);
154
+ }
155
+ .c-bg-primary-600 {
156
+ background-color: var(--c-primary-600);
157
+ }
158
+ .c-bg-primary-700 {
159
+ background-color: var(--c-primary-700);
160
+ }
161
+
162
+ .c-bg-success-50 {
163
+ background-color: var(--c-success-50);
164
+ }
165
+ .c-bg-success-100 {
166
+ background-color: var(--c-success-100);
167
+ }
168
+ .c-bg-success-500 {
169
+ background-color: var(--c-success-500);
170
+ }
171
+ .c-bg-success-600 {
172
+ background-color: var(--c-success-600);
173
+ }
174
+
175
+ .c-bg-warning-50 {
176
+ background-color: var(--c-warning-50);
177
+ }
178
+ .c-bg-warning-100 {
179
+ background-color: var(--c-warning-100);
180
+ }
181
+ .c-bg-warning-500 {
182
+ background-color: var(--c-warning-500);
183
+ }
184
+
185
+ .c-bg-error-50 {
186
+ background-color: var(--c-error-50);
187
+ }
188
+ .c-bg-error-100 {
189
+ background-color: var(--c-error-100);
190
+ }
191
+ .c-bg-error-500 {
192
+ background-color: var(--c-error-500);
193
+ }
194
+
195
+ .c-bg-info-50 {
196
+ background-color: var(--c-info-50);
197
+ }
198
+ .c-bg-info-100 {
199
+ background-color: var(--c-info-100);
200
+ }
201
+ .c-bg-info-500 {
202
+ background-color: var(--c-info-500);
203
+ }
204
+
205
+ .c-bg-none {
206
+ background: none;
207
+ }
208
+ .c-bg-cover {
209
+ background-size: cover;
210
+ }
211
+ .c-bg-contain {
212
+ background-size: contain;
213
+ }
214
+ .c-bg-center {
215
+ background-position: center;
216
+ }
217
+ .c-bg-top {
218
+ background-position: top;
219
+ }
220
+ .c-bg-bottom {
221
+ background-position: bottom;
222
+ }
223
+ .c-bg-left {
224
+ background-position: left;
225
+ }
226
+ .c-bg-right {
227
+ background-position: right;
228
+ }
229
+ .c-bg-no-repeat {
230
+ background-repeat: no-repeat;
231
+ }
232
+ .c-bg-repeat {
233
+ background-repeat: repeat;
234
+ }
235
+ .c-bg-repeat-x {
236
+ background-repeat: repeat-x;
237
+ }
238
+ .c-bg-repeat-y {
239
+ background-repeat: repeat-y;
240
+ }
241
+ .c-bg-fixed {
242
+ background-attachment: fixed;
243
+ }
244
+ .c-bg-local {
245
+ background-attachment: local;
246
+ }
247
+ .c-bg-scroll {
248
+ background-attachment: scroll;
249
+ }
250
+
251
+ .c-gradient-to-r {
252
+ background-image: linear-gradient(
253
+ to right,
254
+ var(--c-from, transparent),
255
+ var(--c-to, transparent)
256
+ );
257
+ }
258
+ .c-gradient-to-l {
259
+ background-image: linear-gradient(
260
+ to left,
261
+ var(--c-from, transparent),
262
+ var(--c-to, transparent)
263
+ );
264
+ }
265
+ .c-gradient-to-t {
266
+ background-image: linear-gradient(
267
+ to top,
268
+ var(--c-from, transparent),
269
+ var(--c-to, transparent)
270
+ );
271
+ }
272
+ .c-gradient-to-b {
273
+ background-image: linear-gradient(
274
+ to bottom,
275
+ var(--c-from, transparent),
276
+ var(--c-to, transparent)
277
+ );
278
+ }
279
+ .c-gradient-to-tr {
280
+ background-image: linear-gradient(
281
+ to top right,
282
+ var(--c-from, transparent),
283
+ var(--c-to, transparent)
284
+ );
285
+ }
286
+ .c-gradient-to-br {
287
+ background-image: linear-gradient(
288
+ to bottom right,
289
+ var(--c-from, transparent),
290
+ var(--c-to, transparent)
291
+ );
292
+ }
293
+
294
+ .c-border-transparent {
295
+ border-color: transparent;
296
+ }
297
+ .c-border-white {
298
+ border-color: var(--c-white);
299
+ }
300
+ .c-border-black {
301
+ border-color: var(--c-black);
302
+ }
303
+ .c-border-base {
304
+ border-color: var(--c-border);
305
+ }
306
+ .c-border-gray-200 {
307
+ border-color: var(--c-gray-200);
308
+ }
309
+ .c-border-gray-300 {
310
+ border-color: var(--c-gray-300);
311
+ }
312
+ .c-border-gray-400 {
313
+ border-color: var(--c-gray-400);
314
+ }
315
+ .c-border-gray-700 {
316
+ border-color: var(--c-gray-700);
317
+ }
318
+ .c-border-primary-500 {
319
+ border-color: var(--c-primary-500);
320
+ }
321
+ .c-border-success-500 {
322
+ border-color: var(--c-success-500);
323
+ }
324
+ .c-border-error-500 {
325
+ border-color: var(--c-error-500);
326
+ }
327
+ .c-border-warning-500 {
328
+ border-color: var(--c-warning-500);
329
+ }