@semanticus/semanticus-css 0.3.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/NOTICE +53 -0
- package/README.md +151 -0
- package/dist/semanticus-semantics.css +2 -0
- package/dist/semanticus-utilities.css +7 -0
- package/dist/semanticus-variants.css +1 -0
- package/dist/semanticus.css +7 -0
- package/dist/semanticus.palette.amber.css +1 -0
- package/dist/semanticus.palette.blue.css +1 -0
- package/dist/semanticus.palette.cyan.css +1 -0
- package/dist/semanticus.palette.fuchsia.css +1 -0
- package/dist/semanticus.palette.green.css +1 -0
- package/dist/semanticus.palette.grey.css +1 -0
- package/dist/semanticus.palette.indigo.css +1 -0
- package/dist/semanticus.palette.jade.css +1 -0
- package/dist/semanticus.palette.lime.css +1 -0
- package/dist/semanticus.palette.orange.css +1 -0
- package/dist/semanticus.palette.pink.css +1 -0
- package/dist/semanticus.palette.pumpkin.css +1 -0
- package/dist/semanticus.palette.purple.css +1 -0
- package/dist/semanticus.palette.red.css +1 -0
- package/dist/semanticus.palette.sand.css +1 -0
- package/dist/semanticus.palette.slate.css +1 -0
- package/dist/semanticus.palette.violet.css +1 -0
- package/dist/semanticus.palette.yellow.css +1 -0
- package/dist/semanticus.palette.zinc.css +1 -0
- package/dist/semanticus.size.slim.css +1 -0
- package/package.json +102 -0
- package/src/_normalize.css +214 -0
- package/src/_variables.css +863 -0
- package/src/index.css +20 -0
- package/src/palettes/amber.css +56 -0
- package/src/palettes/blue.css +56 -0
- package/src/palettes/cyan.css +56 -0
- package/src/palettes/fuchsia.css +56 -0
- package/src/palettes/green.css +56 -0
- package/src/palettes/grey.css +56 -0
- package/src/palettes/indigo.css +56 -0
- package/src/palettes/jade.css +56 -0
- package/src/palettes/lime.css +56 -0
- package/src/palettes/orange.css +56 -0
- package/src/palettes/pink.css +56 -0
- package/src/palettes/pumpkin.css +56 -0
- package/src/palettes/purple.css +56 -0
- package/src/palettes/red.css +56 -0
- package/src/palettes/sand.css +56 -0
- package/src/palettes/slate.css +56 -0
- package/src/palettes/violet.css +56 -0
- package/src/palettes/yellow.css +56 -0
- package/src/palettes/zinc.css +56 -0
- package/src/semantics/_aria-busy.css +34 -0
- package/src/semantics/_article.css +6 -0
- package/src/semantics/_body.css +10 -0
- package/src/semantics/_button.css +106 -0
- package/src/semantics/_code.css +50 -0
- package/src/semantics/_details.css +292 -0
- package/src/semantics/_dialog.css +163 -0
- package/src/semantics/_document.css +18 -0
- package/src/semantics/_embedded.css +41 -0
- package/src/semantics/_figure.css +13 -0
- package/src/semantics/_hidden.css +7 -0
- package/src/semantics/_hr.css +10 -0
- package/src/semantics/_input.css +306 -0
- package/src/semantics/_links.css +33 -0
- package/src/semantics/_main.css +3 -0
- package/src/semantics/_nav.css +116 -0
- package/src/semantics/_progress.css +62 -0
- package/src/semantics/_role-group-search.css +129 -0
- package/src/semantics/_role-toolbar.css +17 -0
- package/src/semantics/_role-tooltip.css +138 -0
- package/src/semantics/_section.css +6 -0
- package/src/semantics/_table.css +28 -0
- package/src/semantics/_type-checkbox-radio.css +142 -0
- package/src/semantics/_type-color.css +22 -0
- package/src/semantics/_type-date.css +40 -0
- package/src/semantics/_type-file.css +26 -0
- package/src/semantics/_type-range.css +90 -0
- package/src/semantics/_type-search.css +34 -0
- package/src/semantics/_typography.css +137 -0
- package/src/semantics/index.css +14 -0
- package/src/semantics/modules.css +35 -0
- package/src/sizes/slim.css +12 -0
- package/src/utilities/_variables.css +244 -0
- package/src/utilities/borders/_border-radius.css +216 -0
- package/src/utilities/borders/_border-style.css +39 -0
- package/src/utilities/borders/_border-width.css +39 -0
- package/src/utilities/colors/_background-colors.css +209 -0
- package/src/utilities/colors/_border-colors.css +69 -0
- package/src/utilities/colors/_text-colors.css +371 -0
- package/src/utilities/display/_display.css +259 -0
- package/src/utilities/display/_overflow.css +47 -0
- package/src/utilities/display/_visibility.css +27 -0
- package/src/utilities/effects/_opacity.css +19 -0
- package/src/utilities/effects/_shadows.css +48 -0
- package/src/utilities/effects/_transforms.css +11 -0
- package/src/utilities/index.css +14 -0
- package/src/utilities/layout/_flexbox.css +846 -0
- package/src/utilities/layout/_grid.css +51 -0
- package/src/utilities/layout/_misc.css +77 -0
- package/src/utilities/media/_object-fit.css +139 -0
- package/src/utilities/modules.css +56 -0
- package/src/utilities/positioning/_floats.css +72 -0
- package/src/utilities/positioning/_inset.css +47 -0
- package/src/utilities/positioning/_position.css +108 -0
- package/src/utilities/positioning/_z-index.css +19 -0
- package/src/utilities/sizing/_height.css +31 -0
- package/src/utilities/sizing/_width.css +31 -0
- package/src/utilities/spacing/_gap.css +393 -0
- package/src/utilities/spacing/_margin.css +1030 -0
- package/src/utilities/spacing/_padding.css +885 -0
- package/src/utilities/typography/_font-family.css +7 -0
- package/src/utilities/typography/_font-sizes.css +38 -0
- package/src/utilities/typography/_font-weight.css +51 -0
- package/src/utilities/typography/_text-alignment.css +141 -0
- package/src/variants/_card.css +41 -0
- package/src/variants/_container.css +36 -0
- package/src/variants/_contrast.css +50 -0
- package/src/variants/_ghost.css +58 -0
- package/src/variants/_secondary.css +38 -0
- package/src/variants/_striped.css +10 -0
- package/src/variants/index.css +6 -0
- package/src/variants/modules.css +12 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
.d-inline {
|
|
2
|
+
display: inline !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.d-inline-block {
|
|
6
|
+
display: inline-block !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.d-block {
|
|
10
|
+
display: block !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.d-grid {
|
|
14
|
+
display: grid !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.d-inline-grid {
|
|
18
|
+
display: inline-grid !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.d-table {
|
|
22
|
+
display: table !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.d-table-row {
|
|
26
|
+
display: table-row !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.d-table-cell {
|
|
30
|
+
display: table-cell !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.d-flex {
|
|
34
|
+
display: flex !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.d-inline-flex {
|
|
38
|
+
display: inline-flex !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.d-none {
|
|
42
|
+
display: none !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (min-width: 576px) {
|
|
46
|
+
.d-sm-inline {
|
|
47
|
+
display: inline !important;
|
|
48
|
+
}
|
|
49
|
+
.d-sm-inline-block {
|
|
50
|
+
display: inline-block !important;
|
|
51
|
+
}
|
|
52
|
+
.d-sm-block {
|
|
53
|
+
display: block !important;
|
|
54
|
+
}
|
|
55
|
+
.d-sm-grid {
|
|
56
|
+
display: grid !important;
|
|
57
|
+
}
|
|
58
|
+
.d-sm-inline-grid {
|
|
59
|
+
display: inline-grid !important;
|
|
60
|
+
}
|
|
61
|
+
.d-sm-table {
|
|
62
|
+
display: table !important;
|
|
63
|
+
}
|
|
64
|
+
.d-sm-table-row {
|
|
65
|
+
display: table-row !important;
|
|
66
|
+
}
|
|
67
|
+
.d-sm-table-cell {
|
|
68
|
+
display: table-cell !important;
|
|
69
|
+
}
|
|
70
|
+
.d-sm-flex {
|
|
71
|
+
display: flex !important;
|
|
72
|
+
}
|
|
73
|
+
.d-sm-inline-flex {
|
|
74
|
+
display: inline-flex !important;
|
|
75
|
+
}
|
|
76
|
+
.d-sm-none {
|
|
77
|
+
display: none !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media (min-width: 768px) {
|
|
82
|
+
.d-md-inline {
|
|
83
|
+
display: inline !important;
|
|
84
|
+
}
|
|
85
|
+
.d-md-inline-block {
|
|
86
|
+
display: inline-block !important;
|
|
87
|
+
}
|
|
88
|
+
.d-md-block {
|
|
89
|
+
display: block !important;
|
|
90
|
+
}
|
|
91
|
+
.d-md-grid {
|
|
92
|
+
display: grid !important;
|
|
93
|
+
}
|
|
94
|
+
.d-md-inline-grid {
|
|
95
|
+
display: inline-grid !important;
|
|
96
|
+
}
|
|
97
|
+
.d-md-table {
|
|
98
|
+
display: table !important;
|
|
99
|
+
}
|
|
100
|
+
.d-md-table-row {
|
|
101
|
+
display: table-row !important;
|
|
102
|
+
}
|
|
103
|
+
.d-md-table-cell {
|
|
104
|
+
display: table-cell !important;
|
|
105
|
+
}
|
|
106
|
+
.d-md-flex {
|
|
107
|
+
display: flex !important;
|
|
108
|
+
}
|
|
109
|
+
.d-md-inline-flex {
|
|
110
|
+
display: inline-flex !important;
|
|
111
|
+
}
|
|
112
|
+
.d-md-none {
|
|
113
|
+
display: none !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@media (min-width: 992px) {
|
|
118
|
+
.d-lg-inline {
|
|
119
|
+
display: inline !important;
|
|
120
|
+
}
|
|
121
|
+
.d-lg-inline-block {
|
|
122
|
+
display: inline-block !important;
|
|
123
|
+
}
|
|
124
|
+
.d-lg-block {
|
|
125
|
+
display: block !important;
|
|
126
|
+
}
|
|
127
|
+
.d-lg-grid {
|
|
128
|
+
display: grid !important;
|
|
129
|
+
}
|
|
130
|
+
.d-lg-inline-grid {
|
|
131
|
+
display: inline-grid !important;
|
|
132
|
+
}
|
|
133
|
+
.d-lg-table {
|
|
134
|
+
display: table !important;
|
|
135
|
+
}
|
|
136
|
+
.d-lg-table-row {
|
|
137
|
+
display: table-row !important;
|
|
138
|
+
}
|
|
139
|
+
.d-lg-table-cell {
|
|
140
|
+
display: table-cell !important;
|
|
141
|
+
}
|
|
142
|
+
.d-lg-flex {
|
|
143
|
+
display: flex !important;
|
|
144
|
+
}
|
|
145
|
+
.d-lg-inline-flex {
|
|
146
|
+
display: inline-flex !important;
|
|
147
|
+
}
|
|
148
|
+
.d-lg-none {
|
|
149
|
+
display: none !important;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@media (min-width: 1200px) {
|
|
154
|
+
.d-xl-inline {
|
|
155
|
+
display: inline !important;
|
|
156
|
+
}
|
|
157
|
+
.d-xl-inline-block {
|
|
158
|
+
display: inline-block !important;
|
|
159
|
+
}
|
|
160
|
+
.d-xl-block {
|
|
161
|
+
display: block !important;
|
|
162
|
+
}
|
|
163
|
+
.d-xl-grid {
|
|
164
|
+
display: grid !important;
|
|
165
|
+
}
|
|
166
|
+
.d-xl-inline-grid {
|
|
167
|
+
display: inline-grid !important;
|
|
168
|
+
}
|
|
169
|
+
.d-xl-table {
|
|
170
|
+
display: table !important;
|
|
171
|
+
}
|
|
172
|
+
.d-xl-table-row {
|
|
173
|
+
display: table-row !important;
|
|
174
|
+
}
|
|
175
|
+
.d-xl-table-cell {
|
|
176
|
+
display: table-cell !important;
|
|
177
|
+
}
|
|
178
|
+
.d-xl-flex {
|
|
179
|
+
display: flex !important;
|
|
180
|
+
}
|
|
181
|
+
.d-xl-inline-flex {
|
|
182
|
+
display: inline-flex !important;
|
|
183
|
+
}
|
|
184
|
+
.d-xl-none {
|
|
185
|
+
display: none !important;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (min-width: 1400px) {
|
|
190
|
+
.d-xxl-inline {
|
|
191
|
+
display: inline !important;
|
|
192
|
+
}
|
|
193
|
+
.d-xxl-inline-block {
|
|
194
|
+
display: inline-block !important;
|
|
195
|
+
}
|
|
196
|
+
.d-xxl-block {
|
|
197
|
+
display: block !important;
|
|
198
|
+
}
|
|
199
|
+
.d-xxl-grid {
|
|
200
|
+
display: grid !important;
|
|
201
|
+
}
|
|
202
|
+
.d-xxl-inline-grid {
|
|
203
|
+
display: inline-grid !important;
|
|
204
|
+
}
|
|
205
|
+
.d-xxl-table {
|
|
206
|
+
display: table !important;
|
|
207
|
+
}
|
|
208
|
+
.d-xxl-table-row {
|
|
209
|
+
display: table-row !important;
|
|
210
|
+
}
|
|
211
|
+
.d-xxl-table-cell {
|
|
212
|
+
display: table-cell !important;
|
|
213
|
+
}
|
|
214
|
+
.d-xxl-flex {
|
|
215
|
+
display: flex !important;
|
|
216
|
+
}
|
|
217
|
+
.d-xxl-inline-flex {
|
|
218
|
+
display: inline-flex !important;
|
|
219
|
+
}
|
|
220
|
+
.d-xxl-none {
|
|
221
|
+
display: none !important;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@media print {
|
|
226
|
+
.d-print-inline {
|
|
227
|
+
display: inline !important;
|
|
228
|
+
}
|
|
229
|
+
.d-print-inline-block {
|
|
230
|
+
display: inline-block !important;
|
|
231
|
+
}
|
|
232
|
+
.d-print-block {
|
|
233
|
+
display: block !important;
|
|
234
|
+
}
|
|
235
|
+
.d-print-grid {
|
|
236
|
+
display: grid !important;
|
|
237
|
+
}
|
|
238
|
+
.d-print-inline-grid {
|
|
239
|
+
display: inline-grid !important;
|
|
240
|
+
}
|
|
241
|
+
.d-print-table {
|
|
242
|
+
display: table !important;
|
|
243
|
+
}
|
|
244
|
+
.d-print-table-row {
|
|
245
|
+
display: table-row !important;
|
|
246
|
+
}
|
|
247
|
+
.d-print-table-cell {
|
|
248
|
+
display: table-cell !important;
|
|
249
|
+
}
|
|
250
|
+
.d-print-flex {
|
|
251
|
+
display: flex !important;
|
|
252
|
+
}
|
|
253
|
+
.d-print-inline-flex {
|
|
254
|
+
display: inline-flex !important;
|
|
255
|
+
}
|
|
256
|
+
.d-print-none {
|
|
257
|
+
display: none !important;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.overflow-auto {
|
|
2
|
+
overflow: auto !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.overflow-hidden {
|
|
6
|
+
overflow: hidden !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.overflow-visible {
|
|
10
|
+
overflow: visible !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.overflow-scroll {
|
|
14
|
+
overflow: scroll !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.overflow-x-auto {
|
|
18
|
+
overflow-x: auto !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.overflow-x-hidden {
|
|
22
|
+
overflow-x: hidden !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.overflow-x-visible {
|
|
26
|
+
overflow-x: visible !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.overflow-x-scroll {
|
|
30
|
+
overflow-x: scroll !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.overflow-y-auto {
|
|
34
|
+
overflow-y: auto !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.overflow-y-hidden {
|
|
38
|
+
overflow-y: hidden !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.overflow-y-visible {
|
|
42
|
+
overflow-y: visible !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.overflow-y-scroll {
|
|
46
|
+
overflow-y: scroll !important;
|
|
47
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.visually-hidden,
|
|
2
|
+
.visually-hidden-focusable:not(:focus, :focus-within) {
|
|
3
|
+
width: 1px !important;
|
|
4
|
+
height: 1px !important;
|
|
5
|
+
padding: 0 !important;
|
|
6
|
+
margin: -1px !important;
|
|
7
|
+
overflow: hidden !important;
|
|
8
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
9
|
+
white-space: nowrap !important;
|
|
10
|
+
border: 0 !important;
|
|
11
|
+
}
|
|
12
|
+
.visually-hidden:not(caption),
|
|
13
|
+
.visually-hidden-focusable:not(:focus, :focus-within, caption) {
|
|
14
|
+
position: absolute !important;
|
|
15
|
+
}
|
|
16
|
+
.visually-hidden *,
|
|
17
|
+
.visually-hidden-focusable:not(:focus, :focus-within) * {
|
|
18
|
+
overflow: hidden !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.visible {
|
|
22
|
+
visibility: visible !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.invisible {
|
|
26
|
+
visibility: hidden !important;
|
|
27
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.opacity-0 {
|
|
2
|
+
opacity: 0 !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.opacity-25 {
|
|
6
|
+
opacity: 0.25 !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.opacity-50 {
|
|
10
|
+
opacity: 0.5 !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.opacity-75 {
|
|
14
|
+
opacity: 0.75 !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.opacity-100 {
|
|
18
|
+
opacity: 1 !important;
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.focus-ring:focus {
|
|
2
|
+
outline: 0;
|
|
3
|
+
box-shadow: var(--focus-ring-x, 0) var(--focus-ring-y, 0) var(--focus-ring-blur, 0) var(--focus-ring-width) var(--focus-ring-color);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.shadow {
|
|
7
|
+
box-shadow: var(--box-shadow) !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.shadow-sm {
|
|
11
|
+
box-shadow: var(--box-shadow-sm) !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.shadow-lg {
|
|
15
|
+
box-shadow: var(--box-shadow-lg) !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.shadow-none {
|
|
19
|
+
box-shadow: none !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.focus-ring-primary {
|
|
23
|
+
--focus-ring-color: rgba(var(--primary-rgb), var(--focus-ring-opacity));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.focus-ring-secondary {
|
|
27
|
+
--focus-ring-color: rgba(var(--secondary-rgb), var(--focus-ring-opacity));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.focus-ring-success {
|
|
31
|
+
--focus-ring-color: rgba(var(--success-rgb), var(--focus-ring-opacity));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.focus-ring-info {
|
|
35
|
+
--focus-ring-color: rgba(var(--info-rgb), var(--focus-ring-opacity));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.focus-ring-warning {
|
|
39
|
+
--focus-ring-color: rgba(var(--warning-rgb), var(--focus-ring-opacity));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.focus-ring-danger {
|
|
43
|
+
--focus-ring-color: rgba(var(--danger-rgb), var(--focus-ring-opacity));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.focus-ring-contrast {
|
|
47
|
+
--focus-ring-color: rgba(var(--contrast-rgb), var(--focus-ring-opacity));
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Semanticus CSS Utilities
|
|
3
|
+
* Variables + Utility Classes
|
|
4
|
+
* Perfect for utility-first development without semantic components
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Global variables */
|
|
8
|
+
@import '../_variables.css';
|
|
9
|
+
|
|
10
|
+
/* Normalize */
|
|
11
|
+
@import '../_normalize.css';
|
|
12
|
+
|
|
13
|
+
/* Utility Modules */
|
|
14
|
+
@import './modules.css';
|