zenkit-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.
- package/README.md +182 -0
- package/dist/zenkit.css +33721 -0
- package/dist/zenkit.css.map +1 -0
- package/dist/zenkit.min.css +1 -0
- package/dist/zenkit.min.css.map +1 -0
- package/package.json +41 -0
- package/scss/abstracts/_functions.scss +174 -0
- package/scss/abstracts/_mixins.scss +272 -0
- package/scss/abstracts/_variables.scss +216 -0
- package/scss/base/_reset.scss +130 -0
- package/scss/base/_root.scss +194 -0
- package/scss/base/_typography.scss +271 -0
- package/scss/components/_accordion.scss +200 -0
- package/scss/components/_affix.scss +278 -0
- package/scss/components/_alerts.scss +175 -0
- package/scss/components/_anchor.scss +438 -0
- package/scss/components/_autocomplete.scss +530 -0
- package/scss/components/_avatar.scss +256 -0
- package/scss/components/_backtop.scss +329 -0
- package/scss/components/_badges.scss +266 -0
- package/scss/components/_breadcrumb.scss +102 -0
- package/scss/components/_buttons.scss +340 -0
- package/scss/components/_calendar.scss +787 -0
- package/scss/components/_cards.scss +265 -0
- package/scss/components/_carousel.scss +306 -0
- package/scss/components/_cascader.scss +510 -0
- package/scss/components/_close-button.scss +106 -0
- package/scss/components/_colorpicker.scss +593 -0
- package/scss/components/_datepicker.scss +625 -0
- package/scss/components/_descriptions.scss +453 -0
- package/scss/components/_divider.scss +253 -0
- package/scss/components/_drawer.scss +485 -0
- package/scss/components/_dropdown.scss +323 -0
- package/scss/components/_empty.scss +321 -0
- package/scss/components/_floatbutton.scss +400 -0
- package/scss/components/_forms.scss +753 -0
- package/scss/components/_image.scss +497 -0
- package/scss/components/_inputnumber.scss +475 -0
- package/scss/components/_layout.scss +538 -0
- package/scss/components/_list-group.scss +227 -0
- package/scss/components/_list.scss +528 -0
- package/scss/components/_mentions.scss +479 -0
- package/scss/components/_menu.scss +510 -0
- package/scss/components/_message.scss +412 -0
- package/scss/components/_modal.scss +304 -0
- package/scss/components/_navbar.scss +329 -0
- package/scss/components/_notification.scss +499 -0
- package/scss/components/_offcanvas.scss +274 -0
- package/scss/components/_pagination.scss +176 -0
- package/scss/components/_placeholder.scss +237 -0
- package/scss/components/_popconfirm.scss +393 -0
- package/scss/components/_popover.scss +298 -0
- package/scss/components/_progress.scss +225 -0
- package/scss/components/_rating.scss +314 -0
- package/scss/components/_result.scss +383 -0
- package/scss/components/_segmented.scss +441 -0
- package/scss/components/_select.scss +412 -0
- package/scss/components/_spinners.scss +229 -0
- package/scss/components/_statistic.scss +336 -0
- package/scss/components/_steps.scss +343 -0
- package/scss/components/_tabs.scss +239 -0
- package/scss/components/_tag.scss +317 -0
- package/scss/components/_timeline.scss +341 -0
- package/scss/components/_timepicker.scss +468 -0
- package/scss/components/_toast.scss +279 -0
- package/scss/components/_tooltip.scss +305 -0
- package/scss/components/_tour.scss +488 -0
- package/scss/components/_transfer.scss +556 -0
- package/scss/components/_tree.scss +518 -0
- package/scss/components/_treeselect.scss +531 -0
- package/scss/components/_upload.scss +510 -0
- package/scss/components/_watermark.scss +314 -0
- package/scss/content/_figures.scss +38 -0
- package/scss/content/_images.scss +138 -0
- package/scss/content/_tables.scss +232 -0
- package/scss/layout/_container.scss +71 -0
- package/scss/layout/_grid.scss +258 -0
- package/scss/utilities/_animations.scss +494 -0
- package/scss/utilities/_borders.scss +246 -0
- package/scss/utilities/_colors.scss +194 -0
- package/scss/utilities/_display.scss +263 -0
- package/scss/utilities/_filters.scss +328 -0
- package/scss/utilities/_flex.scss +178 -0
- package/scss/utilities/_float.scss +70 -0
- package/scss/utilities/_grid-utils.scss +151 -0
- package/scss/utilities/_helpers.scss +479 -0
- package/scss/utilities/_interactions.scss +249 -0
- package/scss/utilities/_overflow.scss +204 -0
- package/scss/utilities/_position.scss +245 -0
- package/scss/utilities/_shadows.scss +67 -0
- package/scss/utilities/_sizing.scss +217 -0
- package/scss/utilities/_spacing.scss +207 -0
- package/scss/utilities/_text.scss +237 -0
- package/scss/utilities/_transforms.scss +368 -0
- package/scss/utilities/_visibility.scss +251 -0
- package/scss/zenkit.scss +121 -0
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
// ========================================
|
|
2
|
+
// ZenKit - Visibility Utilities
|
|
3
|
+
// ========================================
|
|
4
|
+
|
|
5
|
+
@use '../abstracts/variables' as *;
|
|
6
|
+
|
|
7
|
+
// ----------------------------------------
|
|
8
|
+
// Visibility
|
|
9
|
+
// ----------------------------------------
|
|
10
|
+
.visible { visibility: visible; }
|
|
11
|
+
.invisible { visibility: hidden; }
|
|
12
|
+
.collapse { visibility: collapse; }
|
|
13
|
+
|
|
14
|
+
// ----------------------------------------
|
|
15
|
+
// Opacity
|
|
16
|
+
// ----------------------------------------
|
|
17
|
+
.opacity-0 { opacity: 0; }
|
|
18
|
+
.opacity-5 { opacity: 0.05; }
|
|
19
|
+
.opacity-10 { opacity: 0.1; }
|
|
20
|
+
.opacity-20 { opacity: 0.2; }
|
|
21
|
+
.opacity-25 { opacity: 0.25; }
|
|
22
|
+
.opacity-30 { opacity: 0.3; }
|
|
23
|
+
.opacity-40 { opacity: 0.4; }
|
|
24
|
+
.opacity-50 { opacity: 0.5; }
|
|
25
|
+
.opacity-60 { opacity: 0.6; }
|
|
26
|
+
.opacity-70 { opacity: 0.7; }
|
|
27
|
+
.opacity-75 { opacity: 0.75; }
|
|
28
|
+
.opacity-80 { opacity: 0.8; }
|
|
29
|
+
.opacity-90 { opacity: 0.9; }
|
|
30
|
+
.opacity-100 { opacity: 1; }
|
|
31
|
+
|
|
32
|
+
// ----------------------------------------
|
|
33
|
+
// Visually Hidden (Screen Reader Only)
|
|
34
|
+
// ----------------------------------------
|
|
35
|
+
.visually-hidden,
|
|
36
|
+
.sr-only {
|
|
37
|
+
position: absolute;
|
|
38
|
+
width: 1px;
|
|
39
|
+
height: 1px;
|
|
40
|
+
padding: 0;
|
|
41
|
+
margin: -1px;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
clip: rect(0, 0, 0, 0);
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
border: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Visually hidden but focusable
|
|
49
|
+
.visually-hidden-focusable:not(:focus):not(:focus-within),
|
|
50
|
+
.sr-only-focusable:not(:focus):not(:focus-within) {
|
|
51
|
+
position: absolute;
|
|
52
|
+
width: 1px;
|
|
53
|
+
height: 1px;
|
|
54
|
+
padding: 0;
|
|
55
|
+
margin: -1px;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
clip: rect(0, 0, 0, 0);
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
border: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// ----------------------------------------
|
|
63
|
+
// Print Utilities
|
|
64
|
+
// ----------------------------------------
|
|
65
|
+
.d-print-none {
|
|
66
|
+
@media print {
|
|
67
|
+
display: none !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.d-print-inline {
|
|
72
|
+
@media print {
|
|
73
|
+
display: inline !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.d-print-inline-block {
|
|
78
|
+
@media print {
|
|
79
|
+
display: inline-block !important;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.d-print-block {
|
|
84
|
+
@media print {
|
|
85
|
+
display: block !important;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.d-print-grid {
|
|
90
|
+
@media print {
|
|
91
|
+
display: grid !important;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.d-print-table {
|
|
96
|
+
@media print {
|
|
97
|
+
display: table !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.d-print-table-row {
|
|
102
|
+
@media print {
|
|
103
|
+
display: table-row !important;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.d-print-table-cell {
|
|
108
|
+
@media print {
|
|
109
|
+
display: table-cell !important;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.d-print-flex {
|
|
114
|
+
@media print {
|
|
115
|
+
display: flex !important;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.d-print-inline-flex {
|
|
120
|
+
@media print {
|
|
121
|
+
display: inline-flex !important;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Print only - hide on screen
|
|
126
|
+
.print-only {
|
|
127
|
+
display: none;
|
|
128
|
+
|
|
129
|
+
@media print {
|
|
130
|
+
display: block;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// ----------------------------------------
|
|
135
|
+
// Responsive Visibility
|
|
136
|
+
// ----------------------------------------
|
|
137
|
+
@media (min-width: 576px) {
|
|
138
|
+
.sm\:visible { visibility: visible; }
|
|
139
|
+
.sm\:invisible { visibility: hidden; }
|
|
140
|
+
.sm\:opacity-0 { opacity: 0; }
|
|
141
|
+
.sm\:opacity-50 { opacity: 0.5; }
|
|
142
|
+
.sm\:opacity-100 { opacity: 1; }
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media (min-width: 768px) {
|
|
146
|
+
.md\:visible { visibility: visible; }
|
|
147
|
+
.md\:invisible { visibility: hidden; }
|
|
148
|
+
.md\:opacity-0 { opacity: 0; }
|
|
149
|
+
.md\:opacity-50 { opacity: 0.5; }
|
|
150
|
+
.md\:opacity-100 { opacity: 1; }
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@media (min-width: 1024px) {
|
|
154
|
+
.lg\:visible { visibility: visible; }
|
|
155
|
+
.lg\:invisible { visibility: hidden; }
|
|
156
|
+
.lg\:opacity-0 { opacity: 0; }
|
|
157
|
+
.lg\:opacity-50 { opacity: 0.5; }
|
|
158
|
+
.lg\:opacity-100 { opacity: 1; }
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@media (min-width: 1280px) {
|
|
162
|
+
.xl\:visible { visibility: visible; }
|
|
163
|
+
.xl\:invisible { visibility: hidden; }
|
|
164
|
+
.xl\:opacity-0 { opacity: 0; }
|
|
165
|
+
.xl\:opacity-50 { opacity: 0.5; }
|
|
166
|
+
.xl\:opacity-100 { opacity: 1; }
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@media (min-width: 1536px) {
|
|
170
|
+
.xxl\:visible { visibility: visible; }
|
|
171
|
+
.xxl\:invisible { visibility: hidden; }
|
|
172
|
+
.xxl\:opacity-0 { opacity: 0; }
|
|
173
|
+
.xxl\:opacity-50 { opacity: 0.5; }
|
|
174
|
+
.xxl\:opacity-100 { opacity: 1; }
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// ----------------------------------------
|
|
178
|
+
// Hide at Breakpoint
|
|
179
|
+
// ----------------------------------------
|
|
180
|
+
// Hidden on small screens only
|
|
181
|
+
.hidden-xs {
|
|
182
|
+
@media (max-width: 575.98px) {
|
|
183
|
+
display: none !important;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Hidden on medium screens only
|
|
188
|
+
.hidden-sm {
|
|
189
|
+
@media (min-width: 576px) and (max-width: 767.98px) {
|
|
190
|
+
display: none !important;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Hidden on medium-large screens only
|
|
195
|
+
.hidden-md {
|
|
196
|
+
@media (min-width: 768px) and (max-width: 1023.98px) {
|
|
197
|
+
display: none !important;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// Hidden on large screens only
|
|
202
|
+
.hidden-lg {
|
|
203
|
+
@media (min-width: 1024px) and (max-width: 1279.98px) {
|
|
204
|
+
display: none !important;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// Hidden on extra large screens only
|
|
209
|
+
.hidden-xl {
|
|
210
|
+
@media (min-width: 1280px) {
|
|
211
|
+
display: none !important;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// ----------------------------------------
|
|
216
|
+
// Show at Breakpoint (opposite of hidden)
|
|
217
|
+
// ----------------------------------------
|
|
218
|
+
.show-xs {
|
|
219
|
+
display: none !important;
|
|
220
|
+
@media (max-width: 575.98px) {
|
|
221
|
+
display: block !important;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.show-sm {
|
|
226
|
+
display: none !important;
|
|
227
|
+
@media (min-width: 576px) and (max-width: 767.98px) {
|
|
228
|
+
display: block !important;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.show-md {
|
|
233
|
+
display: none !important;
|
|
234
|
+
@media (min-width: 768px) and (max-width: 1023.98px) {
|
|
235
|
+
display: block !important;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.show-lg {
|
|
240
|
+
display: none !important;
|
|
241
|
+
@media (min-width: 1024px) and (max-width: 1279.98px) {
|
|
242
|
+
display: block !important;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.show-xl {
|
|
247
|
+
display: none !important;
|
|
248
|
+
@media (min-width: 1280px) {
|
|
249
|
+
display: block !important;
|
|
250
|
+
}
|
|
251
|
+
}
|
package/scss/zenkit.scss
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// ========================================
|
|
2
|
+
// ZenKit CSS Framework
|
|
3
|
+
// A minimal, modern CSS framework for peaceful development
|
|
4
|
+
// ========================================
|
|
5
|
+
|
|
6
|
+
// ----------------------------------------
|
|
7
|
+
// 1. Abstracts (Variables, Mixins, Functions)
|
|
8
|
+
// ----------------------------------------
|
|
9
|
+
@use 'abstracts/variables';
|
|
10
|
+
@use 'abstracts/functions';
|
|
11
|
+
@use 'abstracts/mixins';
|
|
12
|
+
|
|
13
|
+
// ----------------------------------------
|
|
14
|
+
// 2. Base (Reset, Typography, Root)
|
|
15
|
+
// ----------------------------------------
|
|
16
|
+
@use 'base/reset';
|
|
17
|
+
@use 'base/root';
|
|
18
|
+
@use 'base/typography';
|
|
19
|
+
|
|
20
|
+
// ----------------------------------------
|
|
21
|
+
// 3. Layout (Container, Grid)
|
|
22
|
+
// ----------------------------------------
|
|
23
|
+
@use 'layout/container';
|
|
24
|
+
@use 'layout/grid';
|
|
25
|
+
|
|
26
|
+
// ----------------------------------------
|
|
27
|
+
// 4. Content (Tables, Images, Figures)
|
|
28
|
+
// ----------------------------------------
|
|
29
|
+
@use 'content/tables';
|
|
30
|
+
@use 'content/images';
|
|
31
|
+
@use 'content/figures';
|
|
32
|
+
|
|
33
|
+
// ----------------------------------------
|
|
34
|
+
// 5. Components - CSS Only
|
|
35
|
+
// ----------------------------------------
|
|
36
|
+
@use 'components/buttons';
|
|
37
|
+
@use 'components/cards';
|
|
38
|
+
@use 'components/forms';
|
|
39
|
+
@use 'components/navbar';
|
|
40
|
+
@use 'components/alerts';
|
|
41
|
+
@use 'components/badges';
|
|
42
|
+
@use 'components/modal';
|
|
43
|
+
@use 'components/breadcrumb';
|
|
44
|
+
@use 'components/list-group';
|
|
45
|
+
@use 'components/pagination';
|
|
46
|
+
@use 'components/progress';
|
|
47
|
+
@use 'components/spinners';
|
|
48
|
+
@use 'components/close-button';
|
|
49
|
+
@use 'components/placeholder';
|
|
50
|
+
@use 'components/avatar';
|
|
51
|
+
@use 'components/divider';
|
|
52
|
+
@use 'components/steps';
|
|
53
|
+
@use 'components/rating';
|
|
54
|
+
@use 'components/empty';
|
|
55
|
+
@use 'components/upload';
|
|
56
|
+
@use 'components/tag';
|
|
57
|
+
@use 'components/timeline';
|
|
58
|
+
@use 'components/statistic';
|
|
59
|
+
@use 'components/result';
|
|
60
|
+
@use 'components/select';
|
|
61
|
+
@use 'components/datepicker';
|
|
62
|
+
@use 'components/timepicker';
|
|
63
|
+
@use 'components/calendar';
|
|
64
|
+
@use 'components/colorpicker';
|
|
65
|
+
@use 'components/inputnumber';
|
|
66
|
+
@use 'components/cascader';
|
|
67
|
+
@use 'components/transfer';
|
|
68
|
+
@use 'components/treeselect';
|
|
69
|
+
@use 'components/mentions';
|
|
70
|
+
@use 'components/autocomplete';
|
|
71
|
+
@use 'components/menu';
|
|
72
|
+
@use 'components/anchor';
|
|
73
|
+
@use 'components/tree';
|
|
74
|
+
@use 'components/descriptions';
|
|
75
|
+
@use 'components/list';
|
|
76
|
+
@use 'components/image';
|
|
77
|
+
@use 'components/segmented';
|
|
78
|
+
@use 'components/drawer';
|
|
79
|
+
@use 'components/message';
|
|
80
|
+
@use 'components/notification';
|
|
81
|
+
@use 'components/popconfirm';
|
|
82
|
+
@use 'components/tour';
|
|
83
|
+
@use 'components/affix';
|
|
84
|
+
@use 'components/backtop';
|
|
85
|
+
@use 'components/floatbutton';
|
|
86
|
+
@use 'components/watermark';
|
|
87
|
+
@use 'components/layout';
|
|
88
|
+
|
|
89
|
+
// ----------------------------------------
|
|
90
|
+
// 6. Components - JavaScript Enhanced
|
|
91
|
+
// ----------------------------------------
|
|
92
|
+
@use 'components/accordion';
|
|
93
|
+
@use 'components/tabs';
|
|
94
|
+
@use 'components/dropdown';
|
|
95
|
+
@use 'components/offcanvas';
|
|
96
|
+
@use 'components/toast';
|
|
97
|
+
@use 'components/tooltip';
|
|
98
|
+
@use 'components/popover';
|
|
99
|
+
@use 'components/carousel';
|
|
100
|
+
|
|
101
|
+
// ----------------------------------------
|
|
102
|
+
// 7. Utilities
|
|
103
|
+
// ----------------------------------------
|
|
104
|
+
@use 'utilities/spacing';
|
|
105
|
+
@use 'utilities/display';
|
|
106
|
+
@use 'utilities/flex';
|
|
107
|
+
@use 'utilities/grid-utils';
|
|
108
|
+
@use 'utilities/colors';
|
|
109
|
+
@use 'utilities/sizing';
|
|
110
|
+
@use 'utilities/text';
|
|
111
|
+
@use 'utilities/borders';
|
|
112
|
+
@use 'utilities/shadows';
|
|
113
|
+
@use 'utilities/helpers';
|
|
114
|
+
@use 'utilities/position';
|
|
115
|
+
@use 'utilities/overflow';
|
|
116
|
+
@use 'utilities/visibility';
|
|
117
|
+
@use 'utilities/float';
|
|
118
|
+
@use 'utilities/interactions';
|
|
119
|
+
@use 'utilities/animations';
|
|
120
|
+
@use 'utilities/transforms';
|
|
121
|
+
@use 'utilities/filters';
|