@newlogic-digital/ui 3.3.0 → 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.
Files changed (151) hide show
  1. package/README.md +10 -14
  2. package/package.json +23 -23
  3. package/src/data/main.json +2 -8
  4. package/src/emails/{templates/Content.twig → templates.test/Content.latte} +10 -2
  5. package/src/emails/{templates/Header.twig → templates.test/Header.latte} +1 -1
  6. package/src/emails/{templates/Layout.twig → templates.test/Layout.latte} +2 -2
  7. package/src/icons.svg +34 -28
  8. package/src/scripts/Components/CookieConsent.js +22 -28
  9. package/src/scripts/Layout/Header.js +25 -11
  10. package/src/scripts/Layout/Main.js +25 -55
  11. package/src/scripts/Libraries/+.js +4 -5
  12. package/src/scripts/Libraries/Dialog.js +37 -72
  13. package/src/scripts/Libraries/Drawer.js +22 -21
  14. package/src/scripts/Libraries/Form.js +8 -13
  15. package/src/scripts/Libraries/Naja.js +33 -0
  16. package/src/scripts/Libraries/ReCaptcha.js +14 -4
  17. package/src/scripts/Libraries/Ripple.js +6 -22
  18. package/src/scripts/Libraries/Script.js +1 -2
  19. package/src/scripts/Libraries/Slider.js +160 -0
  20. package/src/scripts/Libraries/Stimulus.js +0 -1
  21. package/src/scripts/Libraries/Swup.js +54 -38
  22. package/src/scripts/Libraries/Tippy.js +17 -20
  23. package/src/scripts/Ui/+.js +3 -3
  24. package/src/scripts/Ui/Check.js +8 -0
  25. package/src/scripts/Ui/Control.js +186 -0
  26. package/src/scripts/Ui/ControlSelect.js +24 -0
  27. package/src/scripts/Ui/Text.js +8 -10
  28. package/src/scripts/Utils/Functions/+.js +3 -3
  29. package/src/scripts/Utils/Functions/importScript.js +1 -1
  30. package/src/scripts/Utils/Functions/importStyle.js +1 -1
  31. package/src/scripts/Utils/Functions/inputStep.js +9 -0
  32. package/src/scripts/Utils/Functions/inputValidity.js +57 -0
  33. package/src/scripts/Utils/Functions/loadStimulus.js +12 -9
  34. package/src/scripts/Utils/Functions/replaceScript.js +4 -0
  35. package/src/scripts/Utils/Functions/replaceTag.js +1 -5
  36. package/src/scripts/Utils/cdn.js +2 -3
  37. package/src/scripts/Utils/global.js +1 -1
  38. package/src/styles/Components/+.css +1 -1
  39. package/src/styles/Components/CookieConsent.css +22 -25
  40. package/src/styles/Components/Dialog/Default.css +10 -62
  41. package/src/styles/Components/Dropdown/Default.css +6 -3
  42. package/src/styles/Components/Field.css +1 -0
  43. package/src/styles/Layout/Header.css +13 -17
  44. package/src/styles/Layout/Main.css +8 -91
  45. package/src/styles/Layout/Nav.css +31 -27
  46. package/src/styles/Libraries/+.css +1 -2
  47. package/src/styles/Libraries/Datepicker.css +38 -229
  48. package/src/styles/Libraries/Dialog.css +1 -19
  49. package/src/styles/Libraries/Drawer.css +17 -29
  50. package/src/styles/Libraries/Hint.css +86 -101
  51. package/src/styles/Libraries/Pickr.css +13 -0
  52. package/src/styles/Libraries/Ripple.css +1 -29
  53. package/src/styles/Libraries/Tippy.css +25 -39
  54. package/src/styles/Ui/+.css +6 -5
  55. package/src/styles/Ui/Badge.css +7 -82
  56. package/src/styles/Ui/Btn.css +13 -226
  57. package/src/styles/Ui/Check.css +1 -0
  58. package/src/styles/Ui/Control.css +47 -0
  59. package/src/styles/Ui/ControlSelect.css +66 -0
  60. package/src/styles/Ui/Dot.css +22 -0
  61. package/src/styles/Ui/Group.css +1 -0
  62. package/src/styles/Ui/Heading.css +3 -22
  63. package/src/styles/Ui/Image.css +1 -17
  64. package/src/styles/Ui/Info.css +1 -0
  65. package/src/styles/Ui/Label.css +1 -14
  66. package/src/styles/Ui/Link.css +2 -41
  67. package/src/styles/Ui/Notice.css +1 -47
  68. package/src/styles/Ui/Progress.css +1 -56
  69. package/src/styles/Ui/Switch.css +1 -70
  70. package/src/styles/Ui/Text.css +4 -245
  71. package/src/styles/Ui/Title.css +5 -13
  72. package/src/styles/Utils/+.css +3 -4
  73. package/src/styles/Utils/breakpoints.css +1 -0
  74. package/src/styles/Utils/config.css +5 -0
  75. package/src/styles/Utils/default.css +8 -122
  76. package/src/styles/Utils/icons.css +3 -7
  77. package/src/styles/Utils/keyframes.css +1 -182
  78. package/src/styles/Utils/{tailwind/base.css → tailwind.css} +31 -21
  79. package/src/styles/Utils/theme/+.css +1 -1
  80. package/src/styles/Utils/theme/main.css +14 -23
  81. package/src/styles/main.css +19 -15
  82. package/src/styles/tinymce.css +34 -0
  83. package/src/templates/Components/CookieConsent.latte +28 -0
  84. package/src/templates/Components/Dialogs/Basic.latte +22 -0
  85. package/src/templates/Layout/{Header.twig → Header.latte} +15 -17
  86. package/src/templates/Layout/Main.latte +62 -0
  87. package/src/templates/Sections/Gdpr.latte +127 -0
  88. package/src/templates/Sections/Site.latte +141 -0
  89. package/src/templates/Sections/Ui/Docs/@intro.html +13 -62
  90. package/src/templates/Sections/Ui/Docs/@nav.html +41 -92
  91. package/src/templates/Sections/Ui/Docs/@styles.html +2 -6
  92. package/src/templates/Sections/Ui/Docs/Default.latte +1059 -0
  93. package/src/templates/Sections/Ui/Icons.html +11 -9
  94. package/src/templates/Sections/Ui/Intro.html +66 -37
  95. package/src/templates/Sections/Ui.latte +8 -0
  96. package/src/templates/Ui/+.latte +5 -0
  97. package/src/templates/Ui/Check.latte +7 -0
  98. package/src/templates/Ui/Control.latte +9 -0
  99. package/src/templates/Ui/ControlDate.latte +14 -0
  100. package/src/templates/Ui/ControlSelect.latte +9 -0
  101. package/src/templates/Ui/ControlTime.latte +14 -0
  102. package/src/templates/Utils/sections.latte +3 -0
  103. package/src/views/dialog/basic.json.latte +5 -0
  104. package/src/views/dropdown/{tippy.json.twig → tippy.json.latte} +7 -4
  105. package/src/views/email/email.latte +6 -0
  106. package/src/views/email/email.test.latte +6 -0
  107. package/src/views/gdpr.json +1 -1
  108. package/src/views/index.json +1 -1
  109. package/src/views/site.json +11 -0
  110. package/src/views/ui-icons.json +1 -1
  111. package/src/views/ui.json +1 -1
  112. package/vite.config.js +16 -6
  113. package/.eslintrc +0 -13
  114. package/.stylelintrc +0 -18
  115. package/public/sw.js +0 -30
  116. package/src/emails/email.prod.html +0 -6
  117. package/src/emails/email.twig.html +0 -6
  118. package/src/scripts/Libraries/Anchor.js +0 -35
  119. package/src/scripts/Libraries/NativeSlider.js +0 -138
  120. package/src/scripts/Libraries/Tabs.js +0 -16
  121. package/src/scripts/Ui/Checkbox.js +0 -10
  122. package/src/scripts/Ui/Input.js +0 -259
  123. package/src/scripts/Ui/Select.js +0 -53
  124. package/src/scripts/Utils/Functions/checkValidity.js +0 -44
  125. package/src/scripts/Utils/Functions/dataValue.js +0 -52
  126. package/src/scripts/Utils/Functions/inView.js +0 -24
  127. package/src/styles/Components/Form/+.css +0 -1
  128. package/src/styles/Components/Form/CookieConsent.css +0 -31
  129. package/src/styles/Libraries/NativeSlider.css +0 -60
  130. package/src/styles/Libraries/Tabs.css +0 -19
  131. package/src/styles/Ui/Checkbox.css +0 -151
  132. package/src/styles/Ui/Icon.css +0 -33
  133. package/src/styles/Ui/Input.css +0 -467
  134. package/src/styles/Ui/Radio.css +0 -4
  135. package/src/styles/Ui/Select.css +0 -137
  136. package/src/styles/Utils/normalize.css +0 -223
  137. package/src/styles/Utils/tailwind/+.css +0 -2
  138. package/src/styles/Utils/tailwind/gutters.css +0 -346
  139. package/src/styles/Utils/vars.css +0 -126
  140. package/src/styles/Utils/vendor.css +0 -1
  141. package/src/templates/Components/CookieConsent.twig +0 -30
  142. package/src/templates/Components/Dialogs/Basic.twig +0 -24
  143. package/src/templates/Layout/Main.twig +0 -49
  144. package/src/templates/Sections/Gdpr.twig +0 -64
  145. package/src/templates/Sections/Ui/Docs/Default.twig +0 -1600
  146. package/src/templates/Sections/Ui.twig +0 -8
  147. package/src/templates/Utils/sections.twig +0 -3
  148. package/src/views/dialog/basic.json.twig +0 -3
  149. package/tailwind.config.cjs +0 -69
  150. /package/src/emails/{templates.prod → templates}/.gitkeep +0 -0
  151. /package/src/templates/Layout/{Footer.twig → Footer.latte} +0 -0
@@ -1,223 +0,0 @@
1
- /*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
2
-
3
- /**
4
- 1. Correct the line height in all browsers.
5
- 2. Prevent adjustments of font size after orientation changes in iOS.
6
- 3. Use a more readable tab size (opinionated).
7
- */
8
-
9
- html {
10
- -webkit-text-size-adjust: 100%; /* 2 */
11
- tab-size: 4; /* 3 */
12
- }
13
-
14
- /*
15
- Sections
16
- ========
17
- */
18
-
19
- /**
20
- 1. Remove the margin in all browsers.
21
- */
22
-
23
- body {
24
- margin: 0; /* 1 */
25
- }
26
-
27
- /*
28
- Text-level semantics
29
- ====================
30
- */
31
-
32
- /**
33
- Add the correct text decoration in Chrome, Edge, and Safari.
34
- */
35
-
36
- abbr[title] {
37
- text-decoration: underline dotted;
38
- }
39
-
40
- /**
41
- Add the correct font weight in Edge and Safari.
42
- */
43
-
44
- b,
45
- strong {
46
- font-weight: var(--font-bold);
47
- }
48
-
49
- /**
50
- 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
51
- 2. Correct the odd 'em' font sizing in all browsers.
52
- */
53
-
54
- code,
55
- kbd,
56
- samp,
57
- pre {
58
- font-family:
59
- ui-monospace,
60
- SFMono-Regular,
61
- Consolas,
62
- 'Liberation Mono',
63
- Menlo,
64
- monospace; /* 1 */
65
- font-size: 1em; /* 2 */
66
- }
67
-
68
- /**
69
- Add the correct font size in all browsers.
70
- */
71
-
72
- small {
73
- font-size: 80%;
74
- }
75
-
76
- /**
77
- Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
78
- */
79
-
80
- sub,
81
- sup {
82
- font-size: 75%;
83
- line-height: 0;
84
- position: relative;
85
- vertical-align: baseline;
86
- }
87
-
88
- sub {
89
- bottom: -0.25em;
90
- }
91
-
92
- sup {
93
- top: -0.5em;
94
- }
95
-
96
- /*
97
- Tabular data
98
- ============
99
- */
100
-
101
- /**
102
- 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
103
- 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
104
- */
105
-
106
- table {
107
- text-indent: 0; /* 1 */
108
- border-color: inherit; /* 2 */
109
- }
110
-
111
- /*
112
- Forms
113
- =====
114
- */
115
-
116
- /**
117
- 1. Change the font styles in all browsers.
118
- 2. Remove the margin in Firefox and Safari.
119
- */
120
-
121
- button,
122
- input,
123
- optgroup,
124
- select,
125
- textarea {
126
- font-family: inherit; /* 1 */
127
- font-size: 100%; /* 1 */
128
- line-height: 1.15; /* 1 */
129
- margin: 0; /* 2 */
130
- }
131
-
132
- /**
133
- Remove the inheritance of text transform in Edge and Firefox.
134
- */
135
-
136
- button,
137
- select {
138
- text-transform: none;
139
- }
140
-
141
- /**
142
- Remove the inner border and padding in Firefox.
143
- */
144
-
145
- ::-moz-focus-inner {
146
- border-style: none;
147
- padding: 0;
148
- }
149
-
150
- /**
151
- Remove the additional ':invalid' styles in Firefox.
152
- See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
153
- */
154
-
155
- :-moz-ui-invalid {
156
- box-shadow: none;
157
- }
158
-
159
- /**
160
- Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
161
- */
162
-
163
- legend {
164
- padding: 0;
165
- }
166
-
167
- /**
168
- Add the correct vertical alignment in Chrome and Firefox.
169
- */
170
-
171
- progress {
172
- vertical-align: baseline;
173
- }
174
-
175
- /**
176
- Correct the cursor style of increment and decrement buttons in Safari.
177
- */
178
-
179
- ::-webkit-inner-spin-button,
180
- ::-webkit-outer-spin-button {
181
- height: auto;
182
- }
183
-
184
- /**
185
- 1. Correct the odd appearance in Chrome and Safari.
186
- 2. Correct the outline style in Safari.
187
- */
188
-
189
- [type='search'] {
190
- -webkit-appearance: textfield; /* 1 */
191
- outline-offset: -2px; /* 2 */
192
- }
193
-
194
- /**
195
- Remove the inner padding in Chrome and Safari on macOS.
196
- */
197
-
198
- ::-webkit-search-decoration {
199
- -webkit-appearance: none;
200
- }
201
-
202
- /**
203
- 1. Correct the inability to style clickable types in iOS and Safari.
204
- 2. Change font properties to 'inherit' in Safari.
205
- */
206
-
207
- ::-webkit-file-upload-button {
208
- -webkit-appearance: button; /* 1 */
209
- font: inherit; /* 2 */
210
- }
211
-
212
- /*
213
- Interactive
214
- ===========
215
- */
216
-
217
- /*
218
- Add the correct display in Chrome and Safari.
219
- */
220
-
221
- summary {
222
- display: list-item;
223
- }
@@ -1,2 +0,0 @@
1
- @import "base.css";
2
- @import "gutters.css";
@@ -1,346 +0,0 @@
1
- @layer utilities {
2
- .row {
3
- --gx: 0rem;
4
- --gy: 0rem;
5
-
6
- display: flex;
7
- margin: calc(var(--gy) / -2) calc(var(--gx) / -2) calc(var(--gy) / -2) calc(var(--gx) / -2);
8
-
9
- & > * {
10
- padding: calc(var(--gy) / 2) calc(var(--gx) / 2) calc(var(--gy) / 2) calc(var(--gx) / 2);
11
- }
12
- }
13
-
14
- .row-y {
15
- --gy: 0rem;
16
-
17
- display: flex;
18
- margin-top: calc(var(--gy) / -2);
19
- margin-bottom: calc(var(--gy) / -2);
20
-
21
- & > * {
22
- padding-top: calc(var(--gy) / 2);
23
- padding-bottom: calc(var(--gy) / 2);
24
- }
25
- }
26
-
27
- .row-x {
28
- --gx: 0rem;
29
-
30
- display: flex;
31
- margin-left: calc(var(--gx) / -2);
32
- margin-right: calc(var(--gx) / -2);
33
-
34
- & > * {
35
- padding-left: calc(var(--gx) / 2);
36
- padding-right: calc(var(--gx) / 2);
37
- }
38
- }
39
-
40
- .col {
41
- display: flex;
42
-
43
- &:not([class*="flex-row"]) {
44
- flex-direction: column;
45
- }
46
- }
47
-
48
- .g-0 {
49
- --gx: 0rem;
50
- --gy: 0rem;
51
- }
52
-
53
- .g-1 {
54
- --gx: 0.25rem;
55
- --gy: 0.25rem;
56
- }
57
-
58
- .g-2 {
59
- --gx: 0.5rem;
60
- --gy: 0.5rem;
61
- }
62
-
63
- .g-3 {
64
- --gx: 0.75rem;
65
- --gy: 0.75rem;
66
- }
67
-
68
- .g-4 {
69
- --gx: 1rem;
70
- --gy: 1rem;
71
- }
72
-
73
- .g-5 {
74
- --gx: 1.25rem;
75
- --gy: 1.25rem;
76
- }
77
-
78
- .g-6 {
79
- --gx: 1.5rem;
80
- --gy: 1.5rem;
81
- }
82
-
83
- .g-7 {
84
- --gx: 1.75rem;
85
- --gy: 1.75rem;
86
- }
87
-
88
- .g-8 {
89
- --gx: 2rem;
90
- --gy: 2rem;
91
- }
92
-
93
- .g-9 {
94
- --gx: 2.25rem;
95
- --gy: 2.25rem;
96
- }
97
-
98
- .g-10 {
99
- --gx: 2.5rem;
100
- --gy: 2.5rem;
101
- }
102
-
103
- .g-11 {
104
- --gx: 2.75rem;
105
- --gy: 2.75rem;
106
- }
107
-
108
- .g-12 {
109
- --gx: 3rem;
110
- --gy: 3rem;
111
- }
112
-
113
- .g-14 {
114
- --gx: 3.5rem;
115
- --gy: 3.5rem;
116
- }
117
-
118
- .g-16 {
119
- --gx: 4rem;
120
- --gy: 4rem;
121
- }
122
-
123
- .g-20 {
124
- --gx: 5rem;
125
- --gy: 5rem;
126
- }
127
-
128
- .g-24 {
129
- --gx: 6rem;
130
- --gy: 6rem;
131
- }
132
-
133
- .g-28 {
134
- --gx: 7rem;
135
- --gy: 7rem;
136
- }
137
-
138
- .g-32 {
139
- --gx: 8rem;
140
- --gy: 8rem;
141
- }
142
-
143
- .gx-0 {
144
- --gx: 0;
145
- }
146
-
147
- .gx-1 {
148
- --gx: 0.25rem;
149
- }
150
-
151
- .gx-2 {
152
- --gx: 0.5rem;
153
- }
154
-
155
- .gx-3 {
156
- --gx: 0.75rem;
157
- }
158
-
159
- .gx-4 {
160
- --gx: 1rem;
161
- }
162
-
163
- .gx-5 {
164
- --gx: 1.25rem;
165
- }
166
-
167
- .gx-6 {
168
- --gx: 1.5rem;
169
- }
170
-
171
- .gx-7 {
172
- --gx: 1.75rem;
173
- }
174
-
175
- .gx-8 {
176
- --gx: 2rem;
177
- }
178
-
179
- .gx-9 {
180
- --gx: 2.25rem;
181
- }
182
-
183
- .gx-10 {
184
- --gx: 2.5rem;
185
- }
186
-
187
- .gx-11 {
188
- --gx: 2.75rem;
189
- }
190
-
191
- .gx-12 {
192
- --gx: 3rem;
193
- }
194
-
195
- .gx-14 {
196
- --gx: 3.5rem;
197
- }
198
-
199
- .gx-16 {
200
- --gx: 4rem;
201
- }
202
-
203
- .gx-20 {
204
- --gx: 5rem;
205
- }
206
-
207
- .gx-24 {
208
- --gx: 6rem;
209
- }
210
-
211
- .gx-28 {
212
- --gx: 7rem;
213
- }
214
-
215
- .gx-32 {
216
- --gx: 8rem;
217
- }
218
-
219
- .gy-0 {
220
- --gy: 0;
221
- }
222
-
223
- .gy-1 {
224
- --gy: 0.25rem;
225
- }
226
-
227
- .gy-2 {
228
- --gy: 0.5rem;
229
- }
230
-
231
- .gy-3 {
232
- --gy: 0.75rem;
233
- }
234
-
235
- .gy-4 {
236
- --gy: 1rem;
237
- }
238
-
239
- .gy-5 {
240
- --gy: 1.25rem;
241
- }
242
-
243
- .gy-6 {
244
- --gy: 1.5rem;
245
- }
246
-
247
- .gy-7 {
248
- --gy: 1.75rem;
249
- }
250
-
251
- .gy-8 {
252
- --gy: 2rem;
253
- }
254
-
255
- .gy-9 {
256
- --gy: 2.25rem;
257
- }
258
-
259
- .gy-10 {
260
- --gy: 2.5rem;
261
- }
262
-
263
- .gy-11 {
264
- --gy: 2.75rem;
265
- }
266
-
267
- .gy-12 {
268
- --gy: 3rem;
269
- }
270
-
271
- .gy-14 {
272
- --gy: 3.5rem;
273
- }
274
-
275
- .gy-16 {
276
- --gy: 4rem;
277
- }
278
-
279
- .gy-20 {
280
- --gy: 5rem;
281
- }
282
-
283
- .gy-24 {
284
- --gy: 6rem;
285
- }
286
-
287
- .gy-28 {
288
- --gy: 7rem;
289
- }
290
-
291
- .gy-32 {
292
- --gy: 8rem;
293
- }
294
-
295
- .col-auto {
296
- width: auto;
297
- }
298
-
299
- .col-1 {
300
- width: 8.3333%;
301
- }
302
-
303
- .col-2 {
304
- width: 16.6667%;
305
- }
306
-
307
- .col-3 {
308
- width: 25%;
309
- }
310
-
311
- .col-4 {
312
- width: 33.3333%;
313
- }
314
-
315
- .col-5 {
316
- width: 41.6667%;
317
- }
318
-
319
- .col-6 {
320
- width: 50%;
321
- }
322
-
323
- .col-7 {
324
- width: 58.3333%;
325
- }
326
-
327
- .col-8 {
328
- width: 66.6667%;
329
- }
330
-
331
- .col-9 {
332
- width: 75%;
333
- }
334
-
335
- .col-10 {
336
- width: 83.3333%;
337
- }
338
-
339
- .col-11 {
340
- width: 91.6667%;
341
- }
342
-
343
- .col-12 {
344
- width: 100%;
345
- }
346
- }
@@ -1,126 +0,0 @@
1
- :root {
2
- --font-primary: "Poppins", sans-serif;
3
- --font-secondary: "Poppins", sans-serif;
4
- --color-google: 219, 68, 55;
5
- --color-linkedin: 40, 103, 178;
6
- --color-youtube: 255, 0, 0;
7
- --color-instagram: 193, 53, 132;
8
- --color-twitter: 29, 161, 242;
9
- --color-facebook: 24, 119, 242;
10
- --color-apple: 0 0 0;
11
- --radius: 0.5rem;
12
- --container-width: 75rem;
13
- --container-width-sm: 50rem;
14
- --container-padding: 5vw;
15
- --container-padding-calc: max(calc(50vw - (var(--container-width) / 2) + var(--container-padding)), var(--container-padding));
16
- --font-bold: 700;
17
- --font-semibold: 600;
18
- --font-medium: 500;
19
- --font-normal: 400;
20
- --font-light: 300;
21
- --font-thin: 200;
22
- --z-10: 10;
23
- --z-20: 20;
24
- --z-30: 30;
25
- --z-40: 40;
26
- --z-50: 50;
27
- --rounded: 0.75rem;
28
- --rounded-xs: 0.5rem;
29
- --rounded-sm: 0.875rem;
30
- --rounded-base: 1rem;
31
- --rounded-md: 1.125rem;
32
- --rounded-lg: 1.5rem;
33
- --rounded-xl: 3rem;
34
- --rounded-2xl: 6rem;
35
- --rounded-3xl: 8rem;
36
- --rounded-full: 9999px;
37
- --spacing-xs: 0.5rem;
38
- --spacing-sm: 0.875rem;
39
- --spacing-base: 1rem;
40
- --spacing-md: 1.125rem;
41
- --spacing-lg: 1.5rem;
42
- --spacing-xl: 3rem;
43
- --spacing-2xl: 6rem;
44
- --spacing-3xl: 8rem;
45
- --spacing-section: 3rem;
46
- --transition: 0.15s;
47
- --transition-color: color var(--transition) ease;
48
- --transition-background: background var(--transition) ease;
49
- --transition-opacity: opacity var(--transition) ease;
50
- --transition-transform: transform var(--transition) ease;
51
- --transition-border: border-color var(--transition) ease;
52
- --transition-shadow: box-shadow var(--transition) ease;
53
-
54
- @media (--media-t) {
55
- --container-padding: 3rem;
56
- }
57
- }
58
-
59
- /* @custom-media --media */
60
- @custom-media --media-1600 (max-width: 114.9375em);
61
- @custom-media --media-1408 (max-width: 99.9375em);
62
- @custom-media --media-1360 (max-width: 87.9375em);
63
- @custom-media --media-1216 (max-width: 84.9375em);
64
- @custom-media --media-1024 (max-width: 75.9375em);
65
- @custom-media --media-960 (max-width: 63.9375em);
66
- @custom-media --media-768 (max-width: 59.9375em);
67
- @custom-media --media-400 (max-width: 47.9375em);
68
- @custom-media --media-360 (max-width: 24.9375em);
69
- @custom-media --media-320 (max-width: 22.4375em);
70
- @custom-media --media-min-2000 (min-width: 125em);
71
- @custom-media --media-min-1600 (min-width: 100em);
72
- @custom-media --media-min-1408 (min-width: 88em);
73
- @custom-media --media-min-1360 (min-width: 85em);
74
- @custom-media --media-min-1216 (min-width: 76em);
75
- @custom-media --media-min-1024 (min-width: 64em);
76
- @custom-media --media-min-960 (min-width: 60em);
77
- @custom-media --media-min-768 (min-width: 48em);
78
- @custom-media --media-min-400 (min-width: 25em);
79
- @custom-media --media-min-360 (min-width: 22.5em);
80
- @custom-media --media-min-320 (min-width: 20em);
81
- @custom-media --media-only-1024 (max-width: 75.9375em) and (min-width: 60em);
82
- @custom-media --media-only-960 (max-width: 63.9375em) and (min-width: 60em);
83
- @custom-media --media-only-768 (max-width: 59.9375em) and (min-width: 60em);
84
- @custom-media --media-m (max-width: 47.9375em);
85
- @custom-media --media-t (min-width: 48em);
86
- @custom-media --media-d (min-width: 60em);
87
- @custom-media --media-w (min-width: 76em);
88
- @custom-media --media-hd (min-width: 85em);
89
- @custom-media --media-mhd (min-width: 88em);
90
- @custom-media --media-fhd (min-width: 100em);
91
- @custom-media --media-touch (max-width: 59.9375em);
92
- @custom-media --media-touch-only (max-width: 59.9375em) and (min-width: 47.9375em);
93
-
94
- /* @custom-selector --theme */
95
- @custom-selector :--theme-dark [data-theme~="dark"];
96
- @custom-selector :--theme-light [data-theme~="light"];
97
-
98
- /* @custom-selector --size */
99
- @custom-selector :--size [data-size];
100
- @custom-selector :--size-base [data-size~="base"];
101
- @custom-selector :--size-xl [data-size~="xl"];
102
- @custom-selector :--size-lg [data-size~="lg"];
103
- @custom-selector :--size-md [data-size~="md"];
104
- @custom-selector :--size-sm [data-size~="sm"];
105
- @custom-selector :--size-xs [data-size~="xs"];
106
-
107
- /* @custom-selector --state */
108
- @custom-selector :--state-active [data-state~="active"];
109
- @custom-selector :--state-focus [data-state~="focus"];
110
- @custom-selector :--state-loading [data-state~="loading"];
111
- @custom-selector :--state-valid [data-state~="valid"];
112
- @custom-selector :--state-invalid [data-state~="invalid"];
113
- @custom-selector :--state-placeholder [data-state~="placeholder"];
114
- @custom-selector :--state-hiding [data-state~="hiding"];
115
-
116
- /* @custom-selector --type */
117
- @custom-selector :--type-square [data-type~="square"];
118
- @custom-selector :--type-square-m [data-type~="m:square"];
119
- @custom-selector :--type-circle [data-type~="circle"];
120
- @custom-selector :--type-circle-m [data-type~="m:circle"];
121
- @custom-selector :--type-outline [data-type~="outline"];
122
- @custom-selector :--type-number [data-type~="number"];
123
- @custom-selector :--type-color [data-type~="color"];
124
- @custom-selector :--type-file [data-type~="file"];
125
- @custom-selector :--type-scrollable [data-type~="scrollable"];
126
- @custom-selector :--type-center [data-type~="center"];
@@ -1 +0,0 @@
1
- /* empty */
@@ -1,30 +0,0 @@
1
- {% set center = true %}
2
- {% set closable = false %}
3
-
4
- <div class="c-cookieconsent" data-type="{% if center %}center{% endif %} {% if closable %}closable{% endif %}">
5
- <div class="wrp bg-background">
6
- <div class="wrp_c_head mt-2">
7
- {% if true %}
8
- <div class="ui-image w-40 mb-6">
9
- <img src="{{ placeholder(160, 46) }}">
10
- </div>
11
- {% endif %}
12
- <div class="ui-heading">Privacy settings and&nbsp;cookies&nbsp;🍪</div>
13
- </div>
14
- <div class="wrp_c_body">
15
- <div class="ui-text">
16
- <p>The Website uses cookies to provide services, personalize ads and analyze traffic.</p>
17
- <p></p>
18
- <p>By the following option, you agree to the use of cookies and the use of data about your behavior on the website to display targeted&nbsp;advertising. </p>
19
- </div>
20
- </div>
21
- <div class="wrp_c_foot {% if center %}flex-col space-y-6{% else %}space-x-10{% endif %}">
22
- <div class="col w-full">
23
- <button class="ui-btn w-full" data-size="lg" aria-label="Yes, I agree" data-lib-cookieconsent-approve>Yes, I agree</button>
24
- </div>
25
- <div class="col {% if not center %}pr-6{% endif %}">
26
- <button class="ui-link" aria-label="I disagree" data-lib-cookieconsent-decline><span>I disagree</span></button>
27
- </div>
28
- </div>
29
- </div>
30
- </div>