noctemyth 0.0.36
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/README.md +60 -0
- package/dist/css/noctemyth-skelton.css +11880 -0
- package/dist/css/noctemyth-skelton.css.map +1 -0
- package/dist/css/noctemyth-skelton.min.css +11880 -0
- package/dist/css/noctemyth-skelton.min.css.map +1 -0
- package/dist/css/noctemyth-utilities.css +142390 -0
- package/dist/css/noctemyth-utilities.css.map +1 -0
- package/dist/css/noctemyth-utilities.min.css +142390 -0
- package/dist/css/noctemyth-utilities.min.css.map +1 -0
- package/dist/css/noctemyth.css +51864 -0
- package/dist/css/noctemyth.css.map +1 -0
- package/dist/css/noctemyth.min.css +26439 -0
- package/dist/css/noctemyth.min.css.map +1 -0
- package/package.json +61 -0
- package/src/animations/fade.scss +41 -0
- package/src/animations/index.scss +1 -0
- package/src/backgrounds/dot.scss +55 -0
- package/src/backgrounds/gingham.scss +56 -0
- package/src/backgrounds/index.scss +5 -0
- package/src/backgrounds/rhombus.scss +49 -0
- package/src/backgrounds/stripe.scss +45 -0
- package/src/backgrounds/zigzag.scss +71 -0
- package/src/base/dub.scss +9 -0
- package/src/base/element.scss +5 -0
- package/src/base/index.scss +3 -0
- package/src/base/normalize.scss +394 -0
- package/src/components/accordion.scss +179 -0
- package/src/components/badge.scss +109 -0
- package/src/components/blockquote.scss +92 -0
- package/src/components/breadcrumbs.scss +47 -0
- package/src/components/button.scss +157 -0
- package/src/components/card.scss +89 -0
- package/src/components/dialogue.scss +452 -0
- package/src/components/div.scss +7 -0
- package/src/components/footer.scss +21 -0
- package/src/components/hamburger.scss +157 -0
- package/src/components/header.scss +36 -0
- package/src/components/heading.scss +40 -0
- package/src/components/image.scss +10 -0
- package/src/components/index.scss +26 -0
- package/src/components/input.scss +338 -0
- package/src/components/label.scss +17 -0
- package/src/components/link.scss +29 -0
- package/src/components/list.scss +16 -0
- package/src/components/loader.scss +72 -0
- package/src/components/main.scss +8 -0
- package/src/components/message.scss +53 -0
- package/src/components/modal.scss +41 -0
- package/src/components/nav.scss +387 -0
- package/src/components/paragraph.scss +12 -0
- package/src/components/progress.scss +43 -0
- package/src/components/section.scss +7 -0
- package/src/components/span.scss +7 -0
- package/src/css-variables/animation.scss +11 -0
- package/src/css-variables/border.scss +16 -0
- package/src/css-variables/color.scss +604 -0
- package/src/css-variables/components/breadcrumbs.scss +5 -0
- package/src/css-variables/components/button.scss +6 -0
- package/src/css-variables/components/dialogue.scss +15 -0
- package/src/css-variables/components/header.scss +7 -0
- package/src/css-variables/components/heading.scss +5 -0
- package/src/css-variables/components/index.scss +5 -0
- package/src/css-variables/index.scss +7 -0
- package/src/css-variables/miscellaneous.scss +8 -0
- package/src/css-variables/typography.scss +24 -0
- package/src/functions/index.scss +1 -0
- package/src/functions/string.scss +31 -0
- package/src/icons/check.scss +21 -0
- package/src/icons/chevron.scss +30 -0
- package/src/icons/index.scss +2 -0
- package/src/layouts/centering.scss +13 -0
- package/src/layouts/columns.scss +97 -0
- package/src/layouts/container.scss +59 -0
- package/src/layouts/index.scss +3 -0
- package/src/mixins/animation.scss +80 -0
- package/src/mixins/color.scss +33 -0
- package/src/mixins/element.scss +5 -0
- package/src/mixins/index.scss +5 -0
- package/src/mixins/responsive.scss +222 -0
- package/src/noctemyth-skelton.scss +12 -0
- package/src/noctemyth-utilities.scss +3 -0
- package/src/noctemyth.scss +9 -0
- package/src/utilities/border.scss +46 -0
- package/src/utilities/color.scss +327 -0
- package/src/utilities/decoration.scss +16 -0
- package/src/utilities/index.scss +7 -0
- package/src/utilities/positioning.scss +90 -0
- package/src/utilities/sizing.scss +142 -0
- package/src/utilities/spacing.scss +154 -0
- package/src/utilities/typography.scss +109 -0
- package/src/variables/animation.scss +8 -0
- package/src/variables/border.scss +81 -0
- package/src/variables/color.scss +1371 -0
- package/src/variables/components/breadcrumbs.scss +3 -0
- package/src/variables/components/button.scss +3 -0
- package/src/variables/components/dialogue.scss +12 -0
- package/src/variables/components/header.scss +3 -0
- package/src/variables/components/heading.scss +3 -0
- package/src/variables/components/index.scss +5 -0
- package/src/variables/index.scss +8 -0
- package/src/variables/layout.scss +28 -0
- package/src/variables/miscellaneous.scss +14 -0
- package/src/variables/typography.scss +26 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@use "../variables/index.scss" as variables;
|
|
2
|
+
@use "../mixins/index.scss" as mixins;
|
|
3
|
+
|
|
4
|
+
@mixin heading() {
|
|
5
|
+
@include mixins.element();
|
|
6
|
+
display: block;
|
|
7
|
+
font-family: var(--#{variables.$prefix}font-family-heading);
|
|
8
|
+
font-weight: var(--#{variables.$prefix}font-weight-semibold);
|
|
9
|
+
margin: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.heading-1 {
|
|
13
|
+
@include heading();
|
|
14
|
+
font-size: var(--#{variables.$prefix}font-size-xxxlarge)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.heading-2 {
|
|
18
|
+
@include heading();
|
|
19
|
+
font-size: var(--#{variables.$prefix}font-size-xxlarge)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.heading-3 {
|
|
23
|
+
@include heading();
|
|
24
|
+
font-size: var(--#{variables.$prefix}font-size-xlarge)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.heading-4 {
|
|
28
|
+
@include heading();
|
|
29
|
+
font-size: var(--#{variables.$prefix}font-size-large)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.heading-5 {
|
|
33
|
+
@include heading();
|
|
34
|
+
font-size: var(--#{variables.$prefix}font-size-medium)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.heading-6 {
|
|
38
|
+
@include heading();
|
|
39
|
+
font-size: var(--#{variables.$prefix}font-size-normal)
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@forward "./accordion.scss";
|
|
2
|
+
@forward "./badge.scss";
|
|
3
|
+
@forward "./blockquote.scss";
|
|
4
|
+
@forward "./breadcrumbs.scss";
|
|
5
|
+
@forward "./button.scss";
|
|
6
|
+
@forward "./card.scss";
|
|
7
|
+
@forward "./dialogue.scss";
|
|
8
|
+
@forward "./div.scss";
|
|
9
|
+
@forward "./footer.scss";
|
|
10
|
+
@forward "./hamburger.scss";
|
|
11
|
+
@forward "./header.scss";
|
|
12
|
+
@forward "./heading.scss";
|
|
13
|
+
@forward "./image.scss";
|
|
14
|
+
@forward "./input.scss";
|
|
15
|
+
@forward "./label.scss";
|
|
16
|
+
@forward "./link.scss";
|
|
17
|
+
@forward "./list.scss";
|
|
18
|
+
@forward "./loader.scss";
|
|
19
|
+
@forward "./main.scss";
|
|
20
|
+
@forward "./message.scss";
|
|
21
|
+
@forward "./modal.scss";
|
|
22
|
+
@forward "./nav.scss";
|
|
23
|
+
@forward "./paragraph.scss";
|
|
24
|
+
@forward "./progress.scss";
|
|
25
|
+
@forward "./section.scss";
|
|
26
|
+
@forward "./span.scss";
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.input {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
background-color: var(--#{variables.$prefix}color-default-back);
|
|
8
|
+
border-color: var(--#{variables.$prefix}color-default-border);
|
|
9
|
+
border-radius: var(--#{variables.$prefix}border-radius-medium);
|
|
10
|
+
border-style: solid;
|
|
11
|
+
border-width: var(--#{variables.$prefix}border-width-medium);
|
|
12
|
+
padding: 0.5rem;
|
|
13
|
+
@each $borderRadius in variables.$borderRadiuses {
|
|
14
|
+
$name: map.get($borderRadius, "name");
|
|
15
|
+
&.is-border-radius-#{$name} {
|
|
16
|
+
border-radius: var(--#{variables.$prefix}border-radius-#{$name});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
@each $borderWidth in variables.$borderWidths {
|
|
20
|
+
$name: map.get($borderWidth, "name");
|
|
21
|
+
&.is-border-width-#{$name} {
|
|
22
|
+
border-width: var(--#{variables.$prefix}border-radius-#{$name});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&::placeholder {
|
|
27
|
+
color: var(--#{variables.$prefix}color-default-placeholder);
|
|
28
|
+
}
|
|
29
|
+
&:focus,
|
|
30
|
+
&.is-focus,
|
|
31
|
+
&.is-focused {
|
|
32
|
+
outline: none;
|
|
33
|
+
background-color: var(--#{variables.$prefix}color-default-focus-back);
|
|
34
|
+
border-color: var(--#{variables.$prefix}color-default-focus-border);
|
|
35
|
+
}
|
|
36
|
+
&[disabled],
|
|
37
|
+
fieldset[disabled],
|
|
38
|
+
&.is-disabled {
|
|
39
|
+
background-color: var(--#{variables.$prefix}color-default-disabled-back);
|
|
40
|
+
border-color: var(--#{variables.$prefix}color-default-disabled-border);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@if (not variables.$is-skelton) {
|
|
44
|
+
@each $color in variables.$colors {
|
|
45
|
+
$colorName: map.get($color, "name");
|
|
46
|
+
&.is-#{$colorName} {
|
|
47
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-back);
|
|
48
|
+
border-color: var(--#{variables.$prefix}color-#{$colorName}-border);
|
|
49
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-fore);
|
|
50
|
+
&::placeholder {
|
|
51
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-placeholder);
|
|
52
|
+
}
|
|
53
|
+
&:focus,
|
|
54
|
+
&.is-focus,
|
|
55
|
+
&.is-focused {
|
|
56
|
+
background-color: var(
|
|
57
|
+
--#{variables.$prefix}color-#{$colorName}-focus-back
|
|
58
|
+
);
|
|
59
|
+
border-color: var(
|
|
60
|
+
--#{variables.$prefix}color-#{$colorName}-focus-border
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
&[disabled],
|
|
64
|
+
fieldset[disabled],
|
|
65
|
+
&.is-disabled {
|
|
66
|
+
background-color: var(
|
|
67
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-back
|
|
68
|
+
);
|
|
69
|
+
border-color: var(
|
|
70
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-border
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.input-text {
|
|
79
|
+
@extend .input;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.input-checkbox {
|
|
83
|
+
@extend .input;
|
|
84
|
+
appearance: none;
|
|
85
|
+
border-radius: 25%;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
height: 1rem;
|
|
88
|
+
line-height: 1.5;
|
|
89
|
+
position: relative;
|
|
90
|
+
vertical-align: middle;
|
|
91
|
+
width: 1rem;
|
|
92
|
+
&::after {
|
|
93
|
+
background-color: transparent;
|
|
94
|
+
border-color: transparent;
|
|
95
|
+
border-radius: 0%;
|
|
96
|
+
border-style: solid;
|
|
97
|
+
border-width: 0 var(--#{variables.$prefix}border-width-medium)
|
|
98
|
+
var(--#{variables.$prefix}border-width-medium) 0;
|
|
99
|
+
content: "";
|
|
100
|
+
display: block;
|
|
101
|
+
height: 1rem;
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: -0.33rem;
|
|
104
|
+
right: 0;
|
|
105
|
+
bottom: 0;
|
|
106
|
+
left: 0;
|
|
107
|
+
margin: auto;
|
|
108
|
+
transform: rotate(45deg);
|
|
109
|
+
width: 0.5rem;
|
|
110
|
+
}
|
|
111
|
+
@each $borderWidth in variables.$borderWidths {
|
|
112
|
+
$name: map.get($borderWidth, "name");
|
|
113
|
+
&.is-border-width-#{$name} {
|
|
114
|
+
&::after {
|
|
115
|
+
border-right-width: var(--#{variables.$prefix}border-radius-#{$name});
|
|
116
|
+
border-bottom-width: var(--#{variables.$prefix}border-radius-#{$name});
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
&:checked {
|
|
121
|
+
&::after {
|
|
122
|
+
border-color: var(--#{variables.$prefix}color-default-fore);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
&[disabled],
|
|
126
|
+
fieldset[disabled],
|
|
127
|
+
&.is-disabled {
|
|
128
|
+
background-color: var(--#{variables.$prefix}color-default-disabled-back);
|
|
129
|
+
border-color: var(--#{variables.$prefix}color-default-disabled-border);
|
|
130
|
+
&:checked {
|
|
131
|
+
&::after {
|
|
132
|
+
border-color: var(--#{variables.$prefix}color-default-disabled-fore);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
@if (not variables.$is-skelton) {
|
|
137
|
+
@each $color in variables.$colors {
|
|
138
|
+
$colorName: map.get($color, "name");
|
|
139
|
+
&.is-#{$colorName} {
|
|
140
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-back);
|
|
141
|
+
border-color: var(--#{variables.$prefix}color-#{$colorName}-border);
|
|
142
|
+
&:checked {
|
|
143
|
+
&::after {
|
|
144
|
+
border-color: var(--#{variables.$prefix}color-#{$colorName}-fore);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
&[disabled],
|
|
148
|
+
fieldset[disabled],
|
|
149
|
+
&.is-disabled {
|
|
150
|
+
background-color: var(
|
|
151
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-back
|
|
152
|
+
);
|
|
153
|
+
border-color: var(
|
|
154
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-border
|
|
155
|
+
);
|
|
156
|
+
&:checked {
|
|
157
|
+
&::after {
|
|
158
|
+
border-color: var(
|
|
159
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-fore
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.input-radio {
|
|
170
|
+
@extend .input;
|
|
171
|
+
appearance: none;
|
|
172
|
+
border-radius: 50%;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
height: 1rem;
|
|
175
|
+
line-height: 1.5;
|
|
176
|
+
position: relative;
|
|
177
|
+
vertical-align: middle;
|
|
178
|
+
width: 1rem;
|
|
179
|
+
&::after {
|
|
180
|
+
background-color: transparent;
|
|
181
|
+
border-color: transparent;
|
|
182
|
+
border-radius: 50%;
|
|
183
|
+
border-style: solid;
|
|
184
|
+
border-width: var(--#{variables.$prefix}border-width-medium);
|
|
185
|
+
content: "";
|
|
186
|
+
display: block;
|
|
187
|
+
height: 0.5rem;
|
|
188
|
+
top: 0;
|
|
189
|
+
right: 0;
|
|
190
|
+
bottom: 0;
|
|
191
|
+
left: 0;
|
|
192
|
+
margin: auto;
|
|
193
|
+
position: absolute;
|
|
194
|
+
width: 0.5rem;
|
|
195
|
+
}
|
|
196
|
+
@each $borderWidth in variables.$borderWidths {
|
|
197
|
+
$name: map.get($borderWidth, "name");
|
|
198
|
+
&.is-border-width-#{$name} {
|
|
199
|
+
&::after {
|
|
200
|
+
border-width: var(--#{variables.$prefix}border-radius-#{$name});
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
&:checked {
|
|
205
|
+
&::after {
|
|
206
|
+
background-color: var(--#{variables.$prefix}color-default-fore);
|
|
207
|
+
border-color: var(--#{variables.$prefix}color-default-fore);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
&[disabled],
|
|
211
|
+
fieldset[disabled],
|
|
212
|
+
&.is-disabled {
|
|
213
|
+
background-color: var(--#{variables.$prefix}color-default-disabled-back);
|
|
214
|
+
border-color: var(--#{variables.$prefix}color-default-disabled-border);
|
|
215
|
+
&:checked {
|
|
216
|
+
&::after {
|
|
217
|
+
border-color: var(--#{variables.$prefix}color-default-disabled-fore);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
@if (not variables.$is-skelton) {
|
|
222
|
+
@each $color in variables.$colors {
|
|
223
|
+
$colorName: map.get($color, "name");
|
|
224
|
+
&.is-#{$colorName} {
|
|
225
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-back);
|
|
226
|
+
border-color: var(--#{variables.$prefix}color-#{$colorName}-border);
|
|
227
|
+
&:checked {
|
|
228
|
+
&::after {
|
|
229
|
+
border-color: var(--#{variables.$prefix}color-#{$colorName}-fore);
|
|
230
|
+
background-color: var(
|
|
231
|
+
--#{variables.$prefix}color-#{$colorName}-fore
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
&[disabled],
|
|
236
|
+
fieldset[disabled],
|
|
237
|
+
&.is-disabled {
|
|
238
|
+
background-color: var(
|
|
239
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-back
|
|
240
|
+
);
|
|
241
|
+
border-color: var(
|
|
242
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-border
|
|
243
|
+
);
|
|
244
|
+
&:checked {
|
|
245
|
+
&::after {
|
|
246
|
+
border-color: var(
|
|
247
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-fore
|
|
248
|
+
);
|
|
249
|
+
background-color: var(
|
|
250
|
+
--#{variables.$prefix}color-#{$colorName}-disabled-fore
|
|
251
|
+
);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.input-color {
|
|
261
|
+
@extend .input;
|
|
262
|
+
cursor: pointer;
|
|
263
|
+
height: 2.5rem;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.input-range {
|
|
267
|
+
@extend .input;
|
|
268
|
+
appearance: none;
|
|
269
|
+
cursor: pointer;
|
|
270
|
+
border-radius: var(--#{variables.$prefix}border-radius-pill);
|
|
271
|
+
width: 100%;
|
|
272
|
+
height: 1rem;
|
|
273
|
+
padding: 0;
|
|
274
|
+
.input-range-track {
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
background-color: var(--#{variables.$prefix}color-default-back);
|
|
277
|
+
}
|
|
278
|
+
.input-range-thumb {
|
|
279
|
+
appearance: none;
|
|
280
|
+
background-color: var(--#{variables.$prefix}color-default-border);
|
|
281
|
+
border-radius: var(--#{variables.$prefix}border-radius-circle);
|
|
282
|
+
cursor: pointer;
|
|
283
|
+
width: 2rem;
|
|
284
|
+
}
|
|
285
|
+
&:focus,
|
|
286
|
+
&.is-focus,
|
|
287
|
+
&.is-focused {
|
|
288
|
+
&::-webkit-slider-runnable-track,
|
|
289
|
+
&::-moz-range-track {
|
|
290
|
+
background-color: var(--#{variables.$prefix}color-default-focus-back);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
&::-webkit-slider-runnable-track {
|
|
294
|
+
@extend .input-range-track;
|
|
295
|
+
}
|
|
296
|
+
&::-moz-range-track {
|
|
297
|
+
@extend .input-range-track;
|
|
298
|
+
}
|
|
299
|
+
&::-webkit-slider-thumb {
|
|
300
|
+
@extend .input-range-thumb;
|
|
301
|
+
}
|
|
302
|
+
&::-moz-range-thumb {
|
|
303
|
+
@extend .input-range-thumb;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.input[type="text"],
|
|
308
|
+
.input[type="email"],
|
|
309
|
+
.input[type="number"],
|
|
310
|
+
.input[type="password"] {
|
|
311
|
+
@extend .input-text;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
textarea {
|
|
315
|
+
&.input {
|
|
316
|
+
@extend .input-text;
|
|
317
|
+
min-height: min-content;
|
|
318
|
+
max-width: 100%;
|
|
319
|
+
width: 100%;
|
|
320
|
+
field-sizing: content;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.input[type="checkbox"] {
|
|
325
|
+
@extend .input-checkbox;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.input[type="radio"] {
|
|
329
|
+
@extend .input-radio;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.input[type="color"] {
|
|
333
|
+
@extend .input-color;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.input[type="range"] {
|
|
337
|
+
@extend .input-range;
|
|
338
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.label {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
font-weight: var(--#{variables.$prefix}font-weight-semibold);
|
|
8
|
+
color: var(--#{variables.$prefix}color-default-label-fore);
|
|
9
|
+
@if (not variables.$is-skelton) {
|
|
10
|
+
@each $color in variables.$colors {
|
|
11
|
+
$colorName: map.get($color, "name");
|
|
12
|
+
&.is-#{$colorName} {
|
|
13
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-label-fore);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.link {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
color: var(--#{variables.$prefix}color-default-link-fore);
|
|
8
|
+
text-decoration: underline;
|
|
9
|
+
&:hover {
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
}
|
|
12
|
+
:focus:not(:focus-visible) {
|
|
13
|
+
outline: none;
|
|
14
|
+
}
|
|
15
|
+
&:visited {
|
|
16
|
+
color: var(--#{variables.$prefix}color-default-link-visited-fore);
|
|
17
|
+
}
|
|
18
|
+
@if (not variables.$is-skelton) {
|
|
19
|
+
@each $color in variables.$colors {
|
|
20
|
+
$colorName: map.get($color, "name");
|
|
21
|
+
&.is-#{$colorName} {
|
|
22
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-link-fore);
|
|
23
|
+
&:visited {
|
|
24
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-link-visited-fore);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use "../mixins/index.scss" as mixins;
|
|
2
|
+
|
|
3
|
+
.list {
|
|
4
|
+
@include mixins.element();
|
|
5
|
+
display: block;
|
|
6
|
+
list-style: none;
|
|
7
|
+
&.is-style-decimal {
|
|
8
|
+
list-style: decimal;
|
|
9
|
+
}
|
|
10
|
+
&.is-style-disc {
|
|
11
|
+
list-style: disc;
|
|
12
|
+
}
|
|
13
|
+
.list-item {
|
|
14
|
+
display: list-item;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.loader {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
@include mixins.animation() {
|
|
8
|
+
animation-iteration-count: infinite;
|
|
9
|
+
animation-name: loader-lotate;
|
|
10
|
+
animation-timing-function: linear;
|
|
11
|
+
aspect-ratio: 1;
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
background: var(--#{variables.$prefix}color-default-loader-fore);
|
|
14
|
+
mask: conic-gradient(
|
|
15
|
+
#0000 10%,
|
|
16
|
+
var(--#{variables.$prefix}color-default-back)
|
|
17
|
+
),
|
|
18
|
+
linear-gradient(var(--#{variables.$prefix}color-default-back) 0 0)
|
|
19
|
+
content-box;
|
|
20
|
+
mask-composite: subtract;
|
|
21
|
+
width: 1rem;
|
|
22
|
+
padding: 0.25rem;
|
|
23
|
+
height: auto;
|
|
24
|
+
|
|
25
|
+
&.is-large {
|
|
26
|
+
width: 2rem;
|
|
27
|
+
padding: 0.25rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.is-xlarge {
|
|
31
|
+
width: 3rem;
|
|
32
|
+
padding: 0.25rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.is-xxlarge {
|
|
36
|
+
width: 4rem;
|
|
37
|
+
padding: 0.5rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.is-xxxlarge {
|
|
41
|
+
width: 6rem;
|
|
42
|
+
padding: 0.8rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.is-xxxxlarge {
|
|
46
|
+
width: 8rem;
|
|
47
|
+
padding: 1rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.is-xxxxxlarge {
|
|
51
|
+
width: 10rem;
|
|
52
|
+
padding: 1rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@if (not variables.$is-skelton) {
|
|
56
|
+
@each $color in variables.$colors {
|
|
57
|
+
$colorName: map.get($color, "name");
|
|
58
|
+
&.is-#{$colorName} {
|
|
59
|
+
background: var(
|
|
60
|
+
--#{variables.$prefix}color-#{$colorName}-loader-fore
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@keyframes loader-lotate {
|
|
69
|
+
to {
|
|
70
|
+
transform: rotate(1turn);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.message {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
display: block;
|
|
8
|
+
background-color: var(--#{variables.$prefix}color-default-message-back);
|
|
9
|
+
border-color: var(--#{variables.$prefix}color-default-message-border);
|
|
10
|
+
border-radius: var(--#{variables.$prefix}border-radius-medium);
|
|
11
|
+
border-style: solid;
|
|
12
|
+
border-width: var(--#{variables.$prefix}border-width-thin);
|
|
13
|
+
color: var(--#{variables.$prefix}color-default-messaage-fore);
|
|
14
|
+
>.message-header {
|
|
15
|
+
@include mixins.element();
|
|
16
|
+
background-color: var(--#{variables.$prefix}color-default-message-header-back);
|
|
17
|
+
border-radius: var(--#{variables.$prefix}border-radius-medium) var(--#{variables.$prefix}border-radius-medium) 0 0;
|
|
18
|
+
color: var(--#{variables.$prefix}color-default-message-header-fore);
|
|
19
|
+
display: block;
|
|
20
|
+
font-size: var(--#{variables.$prefix}font-size-medium);
|
|
21
|
+
font-weight: var(--#{variables.$prefix}font-weight-semibold);
|
|
22
|
+
padding: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
>.message-body {
|
|
25
|
+
@include mixins.element();
|
|
26
|
+
background-color: var(--#{variables.$prefix}color-default-message-body-back);
|
|
27
|
+
border-radius: 0 0 var(--#{variables.$prefix}border-radius-medium) var(--#{variables.$prefix}border-radius-medium);
|
|
28
|
+
color: var(--#{variables.$prefix}color-default-message-body-fore);
|
|
29
|
+
display: block;
|
|
30
|
+
padding: 0.5rem;
|
|
31
|
+
&:first-child {
|
|
32
|
+
border-radius: var(--#{variables.$prefix}border-radius-medium);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
@if (not variables.$is-skelton) {
|
|
36
|
+
@each $color in variables.$colors {
|
|
37
|
+
$colorName: map.get($color, "name");
|
|
38
|
+
&.is-#{$colorName} {
|
|
39
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-message-back);
|
|
40
|
+
border-color: var(--#{variables.$prefix}color-#{$colorName}-message-border);
|
|
41
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-message-fore);
|
|
42
|
+
>.message-header {
|
|
43
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-message-header-back);
|
|
44
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-message-header-fore);
|
|
45
|
+
}
|
|
46
|
+
>.message-body {
|
|
47
|
+
background-color: var(--#{variables.$prefix}color-#{$colorName}-message-body-back);
|
|
48
|
+
color: var(--#{variables.$prefix}color-#{$colorName}-message-body-fore);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../mixins/index.scss" as mixins;
|
|
4
|
+
|
|
5
|
+
.modal {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
align-items: center;
|
|
8
|
+
background-color: oklch(var(--#{variables.$prefix}color-default-back-oklch) / 0.75);
|
|
9
|
+
display: none;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
height: 100vh;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
left: 0;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
position: fixed;
|
|
16
|
+
top: 0;
|
|
17
|
+
width: 100vw;
|
|
18
|
+
z-index: var(--#{variables.$prefix}z-index-modal);
|
|
19
|
+
&.is-active {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
>.modal-content {
|
|
23
|
+
@include mixins.element();
|
|
24
|
+
max-height: 100%;
|
|
25
|
+
max-width: 100%;
|
|
26
|
+
min-height: 2rem;
|
|
27
|
+
min-width: 2rem;
|
|
28
|
+
margin: auto;
|
|
29
|
+
overflow-x: hidden;
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
z-index: var(--#{variables.$prefix}z-index-modal-content);
|
|
32
|
+
}
|
|
33
|
+
@if (not variables.$is-skelton) {
|
|
34
|
+
@each $color in variables.$colors {
|
|
35
|
+
$colorName: map.get($color, "name");
|
|
36
|
+
&.is-#{$colorName} {
|
|
37
|
+
background-color: oklch(var(--#{variables.$prefix}color-#{$colorName}-back-oklch) / 0.75);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|