@newlogic-digital/ui 3.4.2 → 3.5.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 +10 -14
- package/package.json +12 -11
- package/src/data/main.json +2 -7
- package/src/emails/{templates/Content.twig → templates.test/Content.latte} +10 -2
- package/src/emails/{templates/Header.twig → templates.test/Header.latte} +1 -1
- package/src/emails/{templates/Layout.twig → templates.test/Layout.latte} +1 -1
- package/src/icons.svg +34 -28
- package/src/scripts/Components/CookieConsent.js +22 -27
- package/src/scripts/Layout/Header.js +15 -13
- package/src/scripts/Layout/Main.js +28 -25
- package/src/scripts/Libraries/+.js +2 -4
- package/src/scripts/Libraries/Dialog.js +11 -9
- package/src/scripts/Libraries/Drawer.js +21 -24
- package/src/scripts/Libraries/Form.js +7 -14
- package/src/scripts/Libraries/Naja.js +5 -7
- package/src/scripts/Libraries/ReCaptcha.js +7 -12
- package/src/scripts/Libraries/Ripple.js +6 -22
- package/src/scripts/Libraries/Script.js +1 -2
- package/src/scripts/Libraries/Slider.js +160 -0
- package/src/scripts/Libraries/Stimulus.js +0 -1
- package/src/scripts/Libraries/Swup.js +38 -10
- package/src/scripts/Libraries/Tippy.js +17 -20
- package/src/scripts/Ui/+.js +3 -3
- package/src/scripts/Ui/Check.js +8 -0
- package/src/scripts/Ui/Control.js +186 -0
- package/src/scripts/Ui/ControlSelect.js +24 -0
- package/src/scripts/Ui/Text.js +8 -10
- package/src/scripts/Utils/Functions/+.js +3 -2
- package/src/scripts/Utils/Functions/importScript.js +1 -1
- package/src/scripts/Utils/Functions/importStyle.js +1 -1
- package/src/scripts/Utils/Functions/inputStep.js +9 -0
- package/src/scripts/Utils/Functions/inputValidity.js +57 -0
- package/src/scripts/Utils/Functions/loadStimulus.js +10 -10
- package/src/scripts/Utils/Functions/replaceScript.js +4 -0
- package/src/scripts/Utils/Functions/replaceTag.js +1 -5
- package/src/scripts/Utils/cdn.js +1 -2
- package/src/scripts/Utils/global.js +1 -1
- package/src/styles/Components/+.css +1 -1
- package/src/styles/Components/CookieConsent.css +22 -25
- package/src/styles/Components/Dialog/Default.css +8 -25
- package/src/styles/Components/Dropdown/Default.css +6 -3
- package/src/styles/Components/Field.css +1 -0
- package/src/styles/Layout/Header.css +13 -17
- package/src/styles/Layout/Main.css +8 -75
- package/src/styles/Layout/Nav.css +31 -27
- package/src/styles/Libraries/+.css +1 -2
- package/src/styles/Libraries/Datepicker.css +38 -229
- package/src/styles/Libraries/Dialog.css +1 -35
- package/src/styles/Libraries/Drawer.css +15 -21
- package/src/styles/Libraries/Hint.css +86 -101
- package/src/styles/Libraries/Pickr.css +13 -0
- package/src/styles/Libraries/Ripple.css +1 -16
- package/src/styles/Libraries/Tippy.css +25 -39
- package/src/styles/Ui/+.css +6 -5
- package/src/styles/Ui/Badge.css +7 -82
- package/src/styles/Ui/Btn.css +13 -226
- package/src/styles/Ui/Check.css +1 -0
- package/src/styles/Ui/Control.css +47 -0
- package/src/styles/Ui/ControlSelect.css +66 -0
- package/src/styles/Ui/Dot.css +22 -0
- package/src/styles/Ui/Group.css +1 -0
- package/src/styles/Ui/Heading.css +3 -22
- package/src/styles/Ui/Image.css +1 -17
- package/src/styles/Ui/Info.css +1 -0
- package/src/styles/Ui/Label.css +1 -14
- package/src/styles/Ui/Link.css +2 -41
- package/src/styles/Ui/Notice.css +1 -47
- package/src/styles/Ui/Progress.css +1 -56
- package/src/styles/Ui/Switch.css +1 -70
- package/src/styles/Ui/Text.css +4 -250
- package/src/styles/Ui/Title.css +5 -13
- package/src/styles/Utils/+.css +8 -10
- package/src/styles/Utils/breakpoints.css +1 -9
- package/src/styles/Utils/config.css +5 -0
- package/src/styles/Utils/default.css +8 -26
- package/src/styles/Utils/icons.css +3 -7
- package/src/styles/Utils/keyframes.css +1 -182
- package/src/styles/Utils/{tailwind/utilities.css → tailwind.css} +32 -30
- package/src/styles/Utils/theme/main.css +14 -23
- package/src/styles/main.css +19 -14
- package/src/styles/tinymce.css +34 -0
- package/src/templates/Components/CookieConsent.latte +28 -0
- package/src/templates/Components/Dialogs/{Basic.twig → Basic.latte} +9 -9
- package/src/templates/Layout/Footer.latte +0 -0
- package/src/templates/Layout/{Header.twig → Header.latte} +15 -17
- package/src/templates/Layout/Main.latte +62 -0
- package/src/templates/Sections/Gdpr.latte +127 -0
- package/src/templates/Sections/Site.latte +141 -0
- package/src/templates/Sections/Ui/Docs/@intro.html +13 -62
- package/src/templates/Sections/Ui/Docs/@nav.html +41 -92
- package/src/templates/Sections/Ui/Docs/@styles.html +2 -6
- package/src/templates/Sections/Ui/Docs/Default.latte +1059 -0
- package/src/templates/Sections/Ui/Icons.html +11 -9
- package/src/templates/Sections/Ui/Intro.html +66 -37
- package/src/templates/Sections/Ui.latte +8 -0
- package/src/templates/Ui/+.latte +5 -0
- package/src/templates/Ui/Check.latte +7 -0
- package/src/templates/Ui/Control.latte +9 -0
- package/src/templates/Ui/ControlDate.latte +14 -0
- package/src/templates/Ui/ControlSelect.latte +9 -0
- package/src/templates/Ui/ControlTime.latte +14 -0
- package/src/templates/Utils/sections.latte +3 -0
- package/src/views/dialog/basic.json.latte +5 -0
- package/src/views/dropdown/{tippy.json.twig → tippy.json.latte} +7 -4
- package/src/views/email/email.latte +6 -0
- package/src/views/email/email.test.latte +6 -0
- package/src/views/gdpr.json +1 -1
- package/src/views/index.json +1 -1
- package/src/views/site.json +11 -0
- package/src/views/ui-icons.json +1 -1
- package/src/views/ui.json +1 -1
- package/vite.config.js +2 -8
- package/src/scripts/Libraries/Anchor.js +0 -35
- package/src/scripts/Libraries/NativeSlider.js +0 -138
- package/src/scripts/Libraries/Tabs.js +0 -16
- package/src/scripts/Ui/Checkbox.js +0 -10
- package/src/scripts/Ui/Input.js +0 -259
- package/src/scripts/Ui/Select.js +0 -53
- package/src/scripts/Utils/Functions/checkValidity.js +0 -44
- package/src/scripts/Utils/Functions/dataValue.js +0 -52
- package/src/styles/Components/Form/+.css +0 -1
- package/src/styles/Components/Form/CookieConsent.css +0 -31
- package/src/styles/Libraries/NativeSlider.css +0 -60
- package/src/styles/Libraries/Tabs.css +0 -19
- package/src/styles/Ui/Checkbox.css +0 -150
- package/src/styles/Ui/Icon.css +0 -33
- package/src/styles/Ui/Input.css +0 -467
- package/src/styles/Ui/Radio.css +0 -4
- package/src/styles/Ui/Select.css +0 -137
- package/src/styles/Utils/normalize.css +0 -223
- package/src/styles/Utils/tailwind/+.css +0 -3
- package/src/styles/Utils/tailwind/base.css +0 -3
- package/src/styles/Utils/tailwind/gutters.css +0 -346
- package/src/styles/Utils/vars.css +0 -91
- package/src/styles/Utils/vendor.css +0 -2
- package/src/templates/Components/CookieConsent.twig +0 -30
- package/src/templates/Layout/Main.twig +0 -49
- package/src/templates/Sections/Gdpr.twig +0 -64
- package/src/templates/Sections/Ui/Docs/Default.twig +0 -1600
- package/src/templates/Sections/Ui.twig +0 -8
- package/src/templates/Utils/sections.twig +0 -3
- package/src/views/dialog/basic.json.twig +0 -3
- package/src/views/email/email.twig +0 -6
- /package/src/{templates/Layout/Footer.twig → emails/templates/.gitkeep} +0 -0
package/src/styles/Ui/Text.css
CHANGED
|
@@ -1,254 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
--ui-text-size: 0.875rem;
|
|
3
|
-
--ui-text-size-line: 0.75rem;
|
|
4
|
-
--ui-text-weight: var(--font-normal);
|
|
5
|
-
--ui-text-weight-bold: var(--font-semibold);
|
|
6
|
-
|
|
7
|
-
font-weight: var(--ui-text-weight);
|
|
8
|
-
font-size: var(--ui-text-size);
|
|
9
|
-
line-height: calc(var(--ui-text-size) + var(--ui-text-size-line));
|
|
10
|
-
|
|
11
|
-
&:--size-base {
|
|
12
|
-
--ui-text-size: 1rem;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:--size-lg {
|
|
16
|
-
--ui-text-size: 1.125rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
& a {
|
|
20
|
-
text-decoration: underline;
|
|
21
|
-
transition: var(--transition-opacity);
|
|
22
|
-
|
|
23
|
-
&:not([class*="text-"]) {
|
|
24
|
-
color: rgb(var(--color-accent));
|
|
25
|
-
|
|
26
|
-
@nest .no-touch &[href]:is(:hover, :focus-visible) {
|
|
27
|
-
opacity: 0.8;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
& b, & strong {
|
|
33
|
-
font-weight: var(--ui-text-weight-bold);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
& i, & em {
|
|
37
|
-
display: inline;
|
|
38
|
-
font-style: italic;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
& figure {
|
|
42
|
-
margin: 1rem 0;
|
|
43
|
-
|
|
44
|
-
@media (--media-t) {
|
|
45
|
-
margin: 2rem 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
& figcaption {
|
|
49
|
-
font-size: 0.875rem;
|
|
50
|
-
font-weight: var(--font-semibold);
|
|
51
|
-
margin-top: 0.875rem;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
@import "winduum/src/ui/text.css";
|
|
54
2
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
height: auto !important;
|
|
58
|
-
|
|
59
|
-
@media (--media-m) {
|
|
60
|
-
display: block;
|
|
61
|
-
float: none !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@media (--media-t) {
|
|
65
|
-
&[style*="right"], &.float-right {
|
|
66
|
-
margin: 0 0 2rem 4rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&[style*="left"], &.float-left {
|
|
70
|
-
margin: 0 2rem 4rem 0;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
& p {
|
|
76
|
-
line-height: inherit;
|
|
77
|
-
margin: 0 0 0.25rem;
|
|
78
|
-
|
|
79
|
-
&:empty {
|
|
80
|
-
line-height: 1rem;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&::after {
|
|
84
|
-
content: "\00a0";
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
& hr {
|
|
89
|
-
margin: 1.25rem 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
& :is(h1, h2, h3, h4, h5, h6) {
|
|
93
|
-
font-weight: var(--ui-text-weight-bold);
|
|
94
|
-
font-family: var(--font-secondary);
|
|
95
|
-
font-size: var(--ui-text-heading-size, 1rem);
|
|
96
|
-
line-height: calc(var(--ui-text-heading-size) + 0.5rem);
|
|
97
|
-
margin: 0 0 1.25rem;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
& h1 {
|
|
101
|
-
--ui-text-heading-size: 2.25rem;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
& h2 {
|
|
105
|
-
--ui-text-heading-size: 1.75rem;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
& h3, & h4 {
|
|
109
|
-
--ui-text-heading-size: 1.25rem;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
& table {
|
|
113
|
-
border: 0;
|
|
114
|
-
|
|
115
|
-
@media (--media-m) {
|
|
116
|
-
min-width: 100%;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
& td, & th {
|
|
120
|
-
padding: 1rem 1.125rem;
|
|
121
|
-
text-align: left;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
& thead {
|
|
125
|
-
font-weight: var(--ui-text-weight-bold);
|
|
126
|
-
border-bottom: 1px solid rgb(var(--color-current) / 0.075);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
& tbody {
|
|
130
|
-
& tr {
|
|
131
|
-
&:nth-of-type(even) {
|
|
132
|
-
background-color: rgb(var(--color-current) / 0.05);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
& iframe {
|
|
3
|
+
.ui-text {
|
|
4
|
+
.c_text_table {
|
|
139
5
|
max-width: 100%;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
& blockquote {
|
|
143
|
-
background-color: rgb(var(--color-current) / 0.075);
|
|
144
|
-
border-left: 0.3125rem solid rgb(var(--color-accent) / 1);
|
|
145
|
-
padding: 1.25em 1.5em;
|
|
146
|
-
margin: 0;
|
|
147
|
-
font-size: inherit;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
& code {
|
|
151
|
-
margin: 0;
|
|
152
|
-
border-radius: var(--radius);
|
|
153
|
-
padding: 0.25rem 0.5rem;
|
|
154
|
-
font-size: 0.85em;
|
|
155
|
-
color: #476582;
|
|
156
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
157
|
-
background-color: rgb(27 31 35 / 0.05);
|
|
158
|
-
|
|
159
|
-
@nest .dark & {
|
|
160
|
-
background-color: rgb(var(--color-background-100));
|
|
161
|
-
color: rgb(var(--color-primary));
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
& ol {
|
|
166
|
-
margin: 0 0 1.5rem;
|
|
167
|
-
padding: 0 0 0 1rem;
|
|
168
|
-
|
|
169
|
-
&:not([type]) {
|
|
170
|
-
list-style: decimal;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
& li {
|
|
174
|
-
padding-left: 0.5rem;
|
|
175
|
-
|
|
176
|
-
&::marker {
|
|
177
|
-
color: rgb(var(--color-accent));
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
& ul {
|
|
183
|
-
list-style-type: none !important;
|
|
184
|
-
margin: 0 0 1.5rem;
|
|
185
|
-
padding: 0;
|
|
186
|
-
|
|
187
|
-
& li {
|
|
188
|
-
position: relative;
|
|
189
|
-
line-height: inherit;
|
|
190
|
-
padding-left: 1.5rem;
|
|
191
|
-
|
|
192
|
-
&:not(:last-of-type) {
|
|
193
|
-
margin: 0 0 0.5rem;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&::before {
|
|
197
|
-
width: 0.25rem;
|
|
198
|
-
height: 0.25rem;
|
|
199
|
-
box-sizing: content-box;
|
|
200
|
-
position: absolute;
|
|
201
|
-
content: "";
|
|
202
|
-
border: 1px solid rgb(var(--color-accent));
|
|
203
|
-
background-color: rgb(var(--color-accent));
|
|
204
|
-
left: 0;
|
|
205
|
-
top: 0.625rem;
|
|
206
|
-
text-indent: 0;
|
|
207
|
-
border-radius: 50%;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
&[style*="square"] {
|
|
212
|
-
& li {
|
|
213
|
-
&::before {
|
|
214
|
-
border-radius: 0;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&[style*="circle"] {
|
|
220
|
-
& li {
|
|
221
|
-
&::before {
|
|
222
|
-
border-radius: 50%;
|
|
223
|
-
background-color: transparent;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
& .elm_text_table {
|
|
230
|
-
display: block;
|
|
231
|
-
|
|
232
|
-
@media (--media-m) {
|
|
233
|
-
max-width: 100%;
|
|
234
|
-
overflow: auto;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
& .elm_text_video {
|
|
239
|
-
aspect-ratio: 16/9;
|
|
240
|
-
position: relative;
|
|
241
|
-
|
|
242
|
-
&::before {
|
|
243
|
-
content: "";
|
|
244
|
-
display: block;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
& iframe {
|
|
248
|
-
position: absolute;
|
|
249
|
-
inset: 0;
|
|
250
|
-
width: 100%;
|
|
251
|
-
height: 100%;
|
|
252
|
-
}
|
|
6
|
+
overflow-x: auto;
|
|
253
7
|
}
|
|
254
8
|
}
|
package/src/styles/Ui/Title.css
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
--ui-title-spacing: 0.05rem;
|
|
5
|
-
--ui-title-weight: var(--font-semibold);
|
|
6
|
-
|
|
7
|
-
display: block;
|
|
8
|
-
font-size: var(--ui-title-size);
|
|
9
|
-
line-height: calc(var(--ui-title-size) + var(--ui-title-size-line));
|
|
10
|
-
font-weight: var(--ui-title-weight);
|
|
1
|
+
@import "winduum/src/ui/title/default.css";
|
|
2
|
+
@import "winduum/src/ui/title/sm.css";
|
|
3
|
+
@import "winduum/src/ui/title/lg.css";
|
|
11
4
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
5
|
+
.ui-title {
|
|
6
|
+
max-width: max-content;
|
|
15
7
|
}
|
package/src/styles/Utils/+.css
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
@import "breakpoints.css";
|
|
2
|
-
@import "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
6
|
-
@import "print.css";
|
|
7
|
-
@import "tailwind
|
|
8
|
-
@import "theme/+.css";
|
|
9
|
-
@import "vars.css";
|
|
10
|
-
@import "vendor.css";
|
|
1
|
+
@import "breakpoints.css";
|
|
2
|
+
@import "config.css";
|
|
3
|
+
@import "default.css";
|
|
4
|
+
@import "icons.css";
|
|
5
|
+
@import "keyframes.css";
|
|
6
|
+
@import "print.css";
|
|
7
|
+
@import "tailwind.css";
|
|
8
|
+
@import "theme/+.css";
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
@
|
|
2
|
-
@custom-media --media-t (min-width: 48em);
|
|
3
|
-
@custom-media --media-d (min-width: 60em);
|
|
4
|
-
@custom-media --media-w (min-width: 76em);
|
|
5
|
-
@custom-media --media-hd (min-width: 85em);
|
|
6
|
-
@custom-media --media-mhd (min-width: 88em);
|
|
7
|
-
@custom-media --media-fhd (min-width: 100em);
|
|
8
|
-
@custom-media --media-touch (max-width: 59.9375em);
|
|
9
|
-
@custom-media --media-touch-only (max-width: 59.9375em) and (min-width: 47.9375em);
|
|
1
|
+
@import "winduum/src/base/breakpoints.css";
|
|
@@ -1,37 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
color: rgb(var(--color-light));
|
|
3
|
-
background-color: rgb(var(--color-accent));
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
:where(*) {
|
|
7
|
-
outline: none;
|
|
8
|
-
-webkit-tap-highlight-color: rgb(255 255 255 / 0);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:where([hidden]) {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
1
|
+
@import "winduum/src/base/default.css";
|
|
14
2
|
|
|
15
3
|
:where(svg) {
|
|
16
|
-
stroke-width: 1.5;
|
|
17
4
|
display: block;
|
|
18
5
|
}
|
|
19
6
|
|
|
20
|
-
:where(
|
|
7
|
+
:where(use) {
|
|
8
|
+
stroke-width: 2;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:where(img) {
|
|
21
12
|
display: block;
|
|
22
|
-
|
|
23
|
-
border-radius: var(--rounded);
|
|
13
|
+
font-size: 0;
|
|
24
14
|
}
|
|
25
15
|
|
|
26
|
-
:where(ol, ul) {
|
|
16
|
+
:where(ol:not([type]), ul, menu) {
|
|
27
17
|
padding: 0;
|
|
28
18
|
margin: 0;
|
|
29
19
|
}
|
|
30
|
-
|
|
31
|
-
.grecaptcha-badge {
|
|
32
|
-
display: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.google-map * {
|
|
36
|
-
border-style: none;
|
|
37
|
-
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
+
@import "winduum/src/base/icons.css";
|
|
2
|
+
|
|
1
3
|
:root {
|
|
2
|
-
--icon-
|
|
3
|
-
--icon-radio: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 160c-53.019 0-96 42.981-96 96v0c0 53.019 42.981 96 96 96v0c53.019 0 96-42.981 96-96v0c0-53.019-42.981-96-96-96z"></path></svg>') no-repeat 50% 50% / contain;
|
|
4
|
-
--icon-chevron-right: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /></svg>') no-repeat 50% 50% / contain;
|
|
5
|
-
--icon-chevron-left: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" /></svg>') no-repeat 50% 50% / contain;
|
|
6
|
-
--icon-angle-up: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor"><path d="M10.998 15.467c.491.71 1.513.71 2.004 0l3.767-5.453c.581-.843 0-2.013-1.002-2.014H8.234C7.232 8 6.65 9.17 7.231 10.014z" style="transform: scaleY(-1) translateY(1px); transform-origin: 50% 50%;" /></svg>') no-repeat 50% 50% / contain;
|
|
7
|
-
--icon-angle-down: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke="currentColor"><path d="M10.998 15.467c.491.71 1.513.71 2.004 0l3.767-5.453c.581-.843 0-2.013-1.002-2.014H8.234C7.232 8 6.65 9.17 7.231 10.014z" /></svg>') no-repeat 50% 50% / contain;
|
|
8
|
-
--icon-upload: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12" /></svg>') no-repeat 50% 50% / contain;
|
|
4
|
+
--icon-x-mark: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" /></svg>') no-repeat 50% 50% / contain;
|
|
9
5
|
}
|
|
@@ -1,182 +1 @@
|
|
|
1
|
-
@keyframes
|
|
2
|
-
0% {
|
|
3
|
-
transform: rotate(0deg);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
100% {
|
|
7
|
-
transform: rotate(360deg);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@keyframes move-indeterminate {
|
|
12
|
-
from {
|
|
13
|
-
background-position: 200% 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
to {
|
|
17
|
-
background-position: -200% 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@keyframes fade-in-left {
|
|
22
|
-
from {
|
|
23
|
-
opacity: 0;
|
|
24
|
-
transform: translateX(-5rem);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
to {
|
|
28
|
-
opacity: 1;
|
|
29
|
-
transform: none;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@keyframes fade-in-right {
|
|
34
|
-
from {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
transform: translateX(5rem);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
to {
|
|
40
|
-
opacity: 1;
|
|
41
|
-
transform: none;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@keyframes fade-in-up {
|
|
46
|
-
0% {
|
|
47
|
-
opacity: 0;
|
|
48
|
-
transform: translateY(2rem);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
100% {
|
|
52
|
-
opacity: 1;
|
|
53
|
-
transform: translateY(0);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@keyframes fade-in-down {
|
|
58
|
-
0% {
|
|
59
|
-
opacity: 0;
|
|
60
|
-
transform: translateY(-2rem);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
100% {
|
|
64
|
-
opacity: 1;
|
|
65
|
-
transform: translateY(0);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@keyframes fade-out-left {
|
|
70
|
-
from {
|
|
71
|
-
opacity: 1;
|
|
72
|
-
transform: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
to {
|
|
76
|
-
opacity: 0;
|
|
77
|
-
transform: translateX(-5rem);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@keyframes fade-out-right {
|
|
82
|
-
from {
|
|
83
|
-
opacity: 1;
|
|
84
|
-
transform: none;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
to {
|
|
88
|
-
opacity: 0;
|
|
89
|
-
transform: translateX(5rem);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@keyframes fade-out-up {
|
|
94
|
-
0% {
|
|
95
|
-
opacity: 1;
|
|
96
|
-
transform: translateY(0);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
100% {
|
|
100
|
-
opacity: 0;
|
|
101
|
-
transform: translateY(-2rem);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@keyframes fade-out-down {
|
|
106
|
-
0% {
|
|
107
|
-
opacity: 1;
|
|
108
|
-
transform: translateY(0);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
100% {
|
|
112
|
-
opacity: 0;
|
|
113
|
-
transform: translateY(2rem);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@keyframes fade-in {
|
|
118
|
-
from {
|
|
119
|
-
opacity: 0;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
to {
|
|
123
|
-
opacity: 1;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@keyframes fade-out {
|
|
128
|
-
from {
|
|
129
|
-
opacity: 1;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
to {
|
|
133
|
-
opacity: 0;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
@keyframes slide-in-down {
|
|
138
|
-
0% {
|
|
139
|
-
transform: translateY(-100%);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
100% {
|
|
143
|
-
transform: translateY(0);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@keyframes slide-out-up {
|
|
148
|
-
0% {
|
|
149
|
-
transform: translateY(0);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
100% {
|
|
153
|
-
transform: translateY(-100%);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@keyframes slide-in-up {
|
|
158
|
-
0% {
|
|
159
|
-
transform: translateY(100%);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
100% {
|
|
163
|
-
transform: translateY(0);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@keyframes slide-out-down {
|
|
168
|
-
0% {
|
|
169
|
-
transform: translateY(0);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
100% {
|
|
173
|
-
transform: translateY(100%);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
@keyframes ripple {
|
|
178
|
-
100% {
|
|
179
|
-
transform: scale(2.5);
|
|
180
|
-
opacity: 0;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
1
|
+
@import "winduum/src/base/keyframes.css";
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
background-color: currentColor;
|
|
4
|
-
color: currentColor;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.animation {
|
|
8
|
-
animation-duration: 0.5s;
|
|
9
|
-
animation-fill-mode: both;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.container {
|
|
13
|
-
margin-left: auto;
|
|
14
|
-
margin-right: auto;
|
|
15
|
-
max-width: var(--container-width);
|
|
16
|
-
padding-left: var(--container-padding);
|
|
17
|
-
padding-right: var(--container-padding);
|
|
18
|
-
|
|
19
|
-
&:--size-sm {
|
|
20
|
-
--container: var(--container-width-sm);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@import "winduum/src/base/tailwind/utilities.css";
|
|
2
|
+
@import "winduum/src/base/tailwind/gutters.css";
|
|
23
3
|
|
|
4
|
+
@layer utilities {
|
|
24
5
|
.slider {
|
|
25
|
-
margin-left: calc(var(--container-padding-calc) * -1);
|
|
26
|
-
margin-right: calc(var(--container-padding-calc) * -1);
|
|
27
|
-
padding-left: var(--container-padding-calc);
|
|
28
|
-
scroll-padding-left: var(--container-padding-calc);
|
|
29
|
-
scroll-padding-right: var(--container-padding-calc);
|
|
30
6
|
overflow-x: auto;
|
|
31
7
|
overflow-y: hidden;
|
|
32
8
|
-webkit-overflow-scrolling: touch;
|
|
@@ -35,14 +11,40 @@
|
|
|
35
11
|
-ms-overflow-style: none;
|
|
36
12
|
display: flex;
|
|
37
13
|
|
|
14
|
+
&:not(.is-fade, .is-grabbing) {
|
|
15
|
+
scroll-behavior: smooth;
|
|
16
|
+
scroll-snap-type: x mandatory;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&::-webkit-scrollbar {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
38
23
|
& > * {
|
|
39
24
|
flex: 0 0 auto;
|
|
40
25
|
scroll-snap-align: start;
|
|
26
|
+
}
|
|
41
27
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
28
|
+
&.is-grabbing {
|
|
29
|
+
&, & * {
|
|
30
|
+
cursor: grabbing;
|
|
45
31
|
}
|
|
32
|
+
|
|
33
|
+
& a {
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.slider-edge-x {
|
|
40
|
+
margin-left: calc(var(--container-padding-calc) * -1);
|
|
41
|
+
margin-right: calc(var(--container-padding-calc) * -1);
|
|
42
|
+
padding-left: var(--container-padding-calc);
|
|
43
|
+
scroll-padding-left: var(--container-padding-calc);
|
|
44
|
+
scroll-padding-right: var(--container-padding-calc);
|
|
45
|
+
|
|
46
|
+
& > *:last-child {
|
|
47
|
+
margin-right: var(--container-padding-calc);
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
}
|
|
@@ -1,28 +1,19 @@
|
|
|
1
|
+
@import "winduum/src/base/theme/default-rgb.css";
|
|
2
|
+
@import "winduum/src/base/theme/default.css";
|
|
3
|
+
|
|
1
4
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--color-
|
|
5
|
-
--color-
|
|
6
|
-
--color-
|
|
7
|
-
--color-
|
|
8
|
-
--color-
|
|
9
|
-
--color-
|
|
10
|
-
--color-
|
|
11
|
-
--color-error: 254 50 75;
|
|
12
|
-
--color-warning: 254 179 53;
|
|
13
|
-
--color-info: 102 153 204;
|
|
14
|
-
--color-background: 255 255 255;
|
|
15
|
-
--color-background-100: 245 245 245;
|
|
16
|
-
--color-background-200: 235 235 235;
|
|
17
|
-
--color-background-300: 225 225 225;
|
|
5
|
+
--font-primary: "Poppins", sans-serif;
|
|
6
|
+
--font-secondary: "Poppins", sans-serif;
|
|
7
|
+
--color-primary-rgb: 131 205 79;
|
|
8
|
+
--color-primary-fg-rgb: var(--color-dark-rgb);
|
|
9
|
+
--color-main-rgb: 17 19 21;
|
|
10
|
+
--color-dark-rgb: 17 19 21;
|
|
11
|
+
--color-accent-rgb: var(--color-primary-rgb);
|
|
12
|
+
--color-current-rgb: var(--color-main-rgb);
|
|
13
|
+
--color-body-secondary-fg: var(--color-main);
|
|
18
14
|
|
|
19
15
|
&.dark {
|
|
20
|
-
--color-
|
|
21
|
-
--color-
|
|
22
|
-
--color-secondary: 39 41 46;
|
|
23
|
-
--color-background: 14 17 22;
|
|
24
|
-
--color-background-100: 23 27 34;
|
|
25
|
-
--color-background-200: 26 32 38;
|
|
26
|
-
--color-background-300: 30 36 46;
|
|
16
|
+
--color-main-rgb: 201 209 217;
|
|
17
|
+
--color-body-rgb: 14 17 22;
|
|
27
18
|
}
|
|
28
19
|
}
|