@datafluxgrid/fluxgrid-css 1.0.5 → 1.0.7
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/README.md +549 -147
- package/package.json +1 -1
- package/src/css/animation.css +669 -29
- package/src/css/fonts.css +100 -0
- package/src/css/forms.css +72 -0
- package/src/css/index.css +1 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..900;1,200..900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Fira+Code:wght@300..700&family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&family=Space+Grotesk:wght@300..700&family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Geist:wght@100..900&display=swap");
|
|
2
|
+
|
|
3
|
+
.c-font-inter {
|
|
4
|
+
font-family: "Inter", sans-serif;
|
|
5
|
+
}
|
|
6
|
+
.c-font-poppins {
|
|
7
|
+
font-family: "Poppins", sans-serif;
|
|
8
|
+
}
|
|
9
|
+
.c-font-roboto {
|
|
10
|
+
font-family: "Roboto", sans-serif;
|
|
11
|
+
}
|
|
12
|
+
.c-font-montserrat {
|
|
13
|
+
font-family: "Montserrat", sans-serif;
|
|
14
|
+
}
|
|
15
|
+
.c-font-open-sans {
|
|
16
|
+
font-family: "Open Sans", sans-serif;
|
|
17
|
+
}
|
|
18
|
+
.c-font-lato {
|
|
19
|
+
font-family: "Lato", sans-serif;
|
|
20
|
+
}
|
|
21
|
+
.c-font-nunito {
|
|
22
|
+
font-family: "Nunito", sans-serif;
|
|
23
|
+
}
|
|
24
|
+
.c-font-merriweather {
|
|
25
|
+
font-family: "Merriweather", serif;
|
|
26
|
+
}
|
|
27
|
+
.c-font-playfair {
|
|
28
|
+
font-family: "Playfair Display", serif;
|
|
29
|
+
}
|
|
30
|
+
.c-font-fira-code {
|
|
31
|
+
font-family: "Fira Code", monospace;
|
|
32
|
+
}
|
|
33
|
+
.c-font-dm-sans {
|
|
34
|
+
font-family: "DM Sans", sans-serif;
|
|
35
|
+
}
|
|
36
|
+
.c-font-space-grotesk {
|
|
37
|
+
font-family: "Space Grotesk", sans-serif;
|
|
38
|
+
}
|
|
39
|
+
.c-font-outfit {
|
|
40
|
+
font-family: "Outfit", sans-serif;
|
|
41
|
+
}
|
|
42
|
+
.c-font-jakarta {
|
|
43
|
+
font-family: "Plus Jakarta Sans", sans-serif;
|
|
44
|
+
}
|
|
45
|
+
.c-font-geist {
|
|
46
|
+
font-family: "Geist", sans-serif;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.c-font-thin {
|
|
50
|
+
font-weight: 100;
|
|
51
|
+
}
|
|
52
|
+
.c-font-extralight {
|
|
53
|
+
font-weight: 200;
|
|
54
|
+
}
|
|
55
|
+
.c-font-light {
|
|
56
|
+
font-weight: 300;
|
|
57
|
+
}
|
|
58
|
+
.c-font-regular {
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
}
|
|
61
|
+
.c-font-medium {
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
}
|
|
64
|
+
.c-font-semibold {
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
}
|
|
67
|
+
.c-font-bold {
|
|
68
|
+
font-weight: 700;
|
|
69
|
+
}
|
|
70
|
+
.c-font-extrabold {
|
|
71
|
+
font-weight: 800;
|
|
72
|
+
}
|
|
73
|
+
.c-font-black {
|
|
74
|
+
font-weight: 900;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.c-font-italic {
|
|
78
|
+
font-style: italic;
|
|
79
|
+
}
|
|
80
|
+
.c-font-normal {
|
|
81
|
+
font-style: normal;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.c-font-sans {
|
|
85
|
+
font-family:
|
|
86
|
+
system-ui,
|
|
87
|
+
-apple-system,
|
|
88
|
+
BlinkMacSystemFont,
|
|
89
|
+
"Segoe UI",
|
|
90
|
+
sans-serif;
|
|
91
|
+
}
|
|
92
|
+
.c-font-serif {
|
|
93
|
+
font-family: Georgia, "Times New Roman", serif;
|
|
94
|
+
}
|
|
95
|
+
.c-font-mono {
|
|
96
|
+
font-family: "Fira Code", Consolas, "Courier New", monospace;
|
|
97
|
+
}
|
|
98
|
+
.c-font-system {
|
|
99
|
+
font-family: inherit;
|
|
100
|
+
}
|
package/src/css/forms.css
CHANGED
|
@@ -409,3 +409,75 @@ input[type="range"]::-moz-range-thumb {
|
|
|
409
409
|
margin-top: -7px;
|
|
410
410
|
margin-left: -7px;
|
|
411
411
|
}
|
|
412
|
+
|
|
413
|
+
.c-select {
|
|
414
|
+
display: block;
|
|
415
|
+
width: 100%;
|
|
416
|
+
padding: 10px 40px 10px 14px;
|
|
417
|
+
border: 1px solid var(--c-gray-300);
|
|
418
|
+
border-radius: 8px;
|
|
419
|
+
background-color: var(--c-white);
|
|
420
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
|
|
421
|
+
background-repeat: no-repeat;
|
|
422
|
+
background-position: right 12px center;
|
|
423
|
+
background-size: 16px;
|
|
424
|
+
color: var(--c-gray-900);
|
|
425
|
+
font-size: 0.875rem;
|
|
426
|
+
line-height: 1.5;
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
appearance: none;
|
|
429
|
+
-webkit-appearance: none;
|
|
430
|
+
transition:
|
|
431
|
+
border-color 200ms,
|
|
432
|
+
box-shadow 200ms;
|
|
433
|
+
box-shadow: var(--c-shadow-xs);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.c-select:focus {
|
|
437
|
+
border-color: var(--c-primary-500);
|
|
438
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
|
|
439
|
+
outline: none;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.c-select:hover:not(:focus) {
|
|
443
|
+
border-color: var(--c-gray-400);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.c-select:disabled {
|
|
447
|
+
opacity: 0.5;
|
|
448
|
+
cursor: not-allowed;
|
|
449
|
+
background-color: var(--c-gray-50);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.c-select option {
|
|
453
|
+
background-color: var(--c-white);
|
|
454
|
+
color: var(--c-gray-900);
|
|
455
|
+
padding: 8px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.c-select-sm {
|
|
459
|
+
padding: 6px 32px 6px 10px;
|
|
460
|
+
font-size: 0.75rem;
|
|
461
|
+
border-radius: 6px;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.c-select-lg {
|
|
465
|
+
padding: 14px 44px 14px 18px;
|
|
466
|
+
font-size: 1rem;
|
|
467
|
+
border-radius: 10px;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.c-select-error {
|
|
471
|
+
border-color: var(--c-error-500);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.c-select-error:focus {
|
|
475
|
+
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.c-select-success {
|
|
479
|
+
border-color: var(--c-success-500);
|
|
480
|
+
}
|
|
481
|
+
.c-select-success:focus {
|
|
482
|
+
box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
|
|
483
|
+
}
|
package/src/css/index.css
CHANGED