@newlogic-digital/ui 3.3.0 → 3.4.2
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/package.json +19 -20
- package/src/data/main.json +0 -1
- package/src/emails/templates/Layout.twig +1 -1
- package/src/scripts/Components/CookieConsent.js +0 -1
- package/src/scripts/Layout/Header.js +23 -11
- package/src/scripts/Layout/Main.js +3 -36
- package/src/scripts/Libraries/+.js +2 -1
- package/src/scripts/Libraries/Dialog.js +35 -72
- package/src/scripts/Libraries/Drawer.js +5 -1
- package/src/scripts/Libraries/Form.js +2 -0
- package/src/scripts/Libraries/Naja.js +35 -0
- package/src/scripts/Libraries/NativeSlider.js +1 -1
- package/src/scripts/Libraries/ReCaptcha.js +15 -0
- package/src/scripts/Libraries/Swup.js +19 -31
- package/src/scripts/Ui/Input.js +1 -1
- package/src/scripts/Utils/Functions/+.js +0 -1
- package/src/scripts/Utils/Functions/loadStimulus.js +4 -1
- package/src/scripts/Utils/cdn.js +3 -3
- package/src/styles/Components/Dialog/Default.css +17 -52
- package/src/styles/Layout/Main.css +4 -20
- package/src/styles/Libraries/Dialog.css +23 -7
- package/src/styles/Libraries/Drawer.css +2 -8
- package/src/styles/Libraries/Ripple.css +4 -17
- package/src/styles/Ui/Checkbox.css +0 -1
- package/src/styles/Ui/Link.css +1 -1
- package/src/styles/Ui/Text.css +5 -0
- package/src/styles/Utils/+.css +10 -9
- package/src/styles/Utils/breakpoints.css +9 -0
- package/src/styles/Utils/default.css +12 -108
- package/src/styles/Utils/tailwind/+.css +3 -2
- package/src/styles/Utils/tailwind/base.css +0 -37
- package/src/styles/Utils/tailwind/utilities.css +48 -0
- package/src/styles/Utils/theme/+.css +1 -1
- package/src/styles/Utils/vars.css +0 -35
- package/src/styles/Utils/vendor.css +2 -1
- package/src/styles/main.css +2 -3
- package/src/templates/Components/Dialogs/Basic.twig +15 -17
- package/src/templates/Sections/Ui/Docs/Default.twig +15 -15
- package/src/templates/Sections/Ui/Intro.html +1 -1
- package/src/views/dialog/basic.json.twig +1 -1
- package/src/views/email/email.twig +6 -0
- package/vite.config.js +22 -6
- package/.eslintrc +0 -13
- package/.stylelintrc +0 -18
- package/public/sw.js +0 -30
- package/src/emails/email.prod.html +0 -6
- package/src/emails/email.twig.html +0 -6
- package/src/emails/templates.prod/.gitkeep +0 -0
- package/src/scripts/Utils/Functions/inView.js +0 -24
- package/tailwind.config.cjs +0 -69
|
@@ -1,49 +1,35 @@
|
|
|
1
1
|
.c-dialog {
|
|
2
|
-
--c-dialog-py:
|
|
2
|
+
--c-dialog-py: 1.5rem;
|
|
3
3
|
--c-dialog-px: 1.5rem;
|
|
4
|
-
--c-dialog-
|
|
4
|
+
--c-dialog-width: 40rem;
|
|
5
|
+
--c-dialog-animation-duration: 0.3s;
|
|
5
6
|
|
|
6
|
-
animation:
|
|
7
|
+
animation: var(--c-dialog-animation-duration) ease 0s backwards 1 fade-in-down;
|
|
7
8
|
position: relative;
|
|
8
|
-
z-index: var(--z-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
align-self: baseline;
|
|
16
|
-
border-top: var(--c-dialog-offset-y) solid transparent;
|
|
17
|
-
border-bottom: var(--c-dialog-offset-y) solid transparent;
|
|
18
|
-
width: calc(100% - 2rem);
|
|
9
|
+
z-index: var(--z-20);
|
|
10
|
+
margin: auto;
|
|
11
|
+
background-color: rgb(var(--color-background));
|
|
12
|
+
width: 100%;
|
|
13
|
+
max-width: var(--c-dialog-width);
|
|
14
|
+
border-radius: var(--rounded-md);
|
|
15
|
+
padding: var(--c-dialog-py) var(--c-dialog-px);
|
|
19
16
|
|
|
20
|
-
@nest
|
|
21
|
-
animation:
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (--media-t) {
|
|
25
|
-
--c-dialog-offset-y: 4rem;
|
|
26
|
-
|
|
27
|
-
width: 100%;
|
|
28
|
-
min-width: 18.75rem;
|
|
29
|
-
max-width: 40rem;
|
|
17
|
+
@nest dialog:not([open]) & {
|
|
18
|
+
animation: var(--c-dialog-animation-duration) ease 0s forwards 1 fade-out-up;
|
|
30
19
|
}
|
|
31
20
|
|
|
32
21
|
&:--size-sm {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:--size-base {
|
|
37
|
-
max-width: none;
|
|
38
|
-
width: auto;
|
|
22
|
+
--c-dialog-width: 32rem;
|
|
39
23
|
}
|
|
40
24
|
|
|
41
25
|
&:--size-lg {
|
|
42
|
-
|
|
26
|
+
--c-dialog-width: 80rem;
|
|
43
27
|
}
|
|
44
28
|
|
|
45
29
|
&:--type-scrollable {
|
|
46
30
|
height: 100%;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
47
33
|
|
|
48
34
|
& .wrp_dialog_body {
|
|
49
35
|
flex: 1 1 auto;
|
|
@@ -54,25 +40,4 @@
|
|
|
54
40
|
-webkit-overflow-scrolling: touch;
|
|
55
41
|
}
|
|
56
42
|
}
|
|
57
|
-
|
|
58
|
-
& .wrp_dialog {
|
|
59
|
-
position: relative;
|
|
60
|
-
background-color: rgb(var(--color-background));
|
|
61
|
-
pointer-events: auto;
|
|
62
|
-
border-radius: var(--radius);
|
|
63
|
-
padding: var(--c-dialog-py) var(--c-dialog-px);
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
max-height: 100%;
|
|
67
|
-
|
|
68
|
-
@media (--media-t) {
|
|
69
|
-
--c-dialog-py: 1.25rem;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
& .elm_dialog_close {
|
|
74
|
-
position: absolute;
|
|
75
|
-
right: 1rem;
|
|
76
|
-
top: 1rem;
|
|
77
|
-
}
|
|
78
43
|
}
|
|
@@ -4,26 +4,22 @@ html {
|
|
|
4
4
|
scroll-behavior: smooth;
|
|
5
5
|
accent-color: rgb(var(--color-accent));
|
|
6
6
|
|
|
7
|
-
@media (--media-
|
|
7
|
+
@media (--media-sm) {
|
|
8
8
|
font-size: 95%;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@media (--media-
|
|
11
|
+
@media not all and (--media-sm), (--media-md) {
|
|
12
12
|
font-size: 90%;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@media (--media-
|
|
15
|
+
@media (--media-2xl) {
|
|
16
16
|
font-size: 100%;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
@media (--media-
|
|
19
|
+
@media (max-width: 64em) and (--media-lg) {
|
|
20
20
|
font-size: 80%;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
@media (--media-360) {
|
|
24
|
-
font-size: 90%;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
23
|
&.no-touch, &.no-touch * {
|
|
28
24
|
scrollbar-color: rgb(var(--color-current) / 0.2) rgb(var(--color-background));
|
|
29
25
|
scrollbar-width: thin;
|
|
@@ -97,15 +93,3 @@ body {
|
|
|
97
93
|
}
|
|
98
94
|
}
|
|
99
95
|
}
|
|
100
|
-
|
|
101
|
-
.container {
|
|
102
|
-
margin-left: auto;
|
|
103
|
-
margin-right: auto;
|
|
104
|
-
max-width: var(--container-width);
|
|
105
|
-
padding-left: var(--container-padding);
|
|
106
|
-
padding-right: var(--container-padding);
|
|
107
|
-
|
|
108
|
-
&:--size-sm {
|
|
109
|
-
--container: var(--container-width-sm);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
.lib-dialog {
|
|
2
|
-
--lib-
|
|
3
|
-
--lib-dialog-
|
|
2
|
+
--lib-ripple-bg: rgb(var(--color-dark) / var(--tw-bg-opacity, 0.8));
|
|
3
|
+
--lib-dialog-py: 2rem;
|
|
4
|
+
--lib-dialog-px: 1.5rem;
|
|
5
|
+
--lib-dialog-animation-duration: 0.3s;
|
|
4
6
|
|
|
5
|
-
animation: 0.3s ease 0s backwards 1 fade-in;
|
|
6
7
|
inset: 0;
|
|
7
8
|
z-index: var(--z-30);
|
|
8
9
|
position: fixed;
|
|
9
|
-
display: none;
|
|
10
10
|
overflow: auto;
|
|
11
11
|
-webkit-overflow-scrolling: touch;
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: var(--lib-ripple-bg);
|
|
13
13
|
overscroll-behavior: contain;
|
|
14
|
+
display: flex;
|
|
15
|
+
visibility: hidden;
|
|
16
|
+
padding: var(--lib-dialog-py) var(--lib-dialog-px);
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
animation:
|
|
18
|
+
&:not([open]) {
|
|
19
|
+
animation: var(--lib-dialog-animation-duration) ease 0s forwards 1 fade-out;
|
|
17
20
|
pointer-events: none;
|
|
18
21
|
}
|
|
22
|
+
|
|
23
|
+
&[open] {
|
|
24
|
+
animation: var(--lib-dialog-animation-duration) ease 0s backwards 1 fade-in;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@nest .is-lib-dialog-open & {
|
|
28
|
+
visibility: visible;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.is-lib-dialog-open {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
padding-right: var(--lib-dialog-scrollbar-width, 0);
|
|
19
35
|
}
|
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
7
|
position: fixed;
|
|
8
|
-
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
right: 0;
|
|
8
|
+
inset: 0;
|
|
12
9
|
overflow: hidden;
|
|
13
10
|
display: flex;
|
|
14
11
|
flex-direction: row;
|
|
@@ -37,10 +34,7 @@
|
|
|
37
34
|
|
|
38
35
|
&::before {
|
|
39
36
|
position: fixed;
|
|
40
|
-
|
|
41
|
-
bottom: 0;
|
|
42
|
-
right: 0;
|
|
43
|
-
left: 0;
|
|
37
|
+
inset: 0;
|
|
44
38
|
z-index: -1;
|
|
45
39
|
background-color: rgb(var(--color-dark) / 0.6);
|
|
46
40
|
content: "";
|
|
@@ -1,29 +1,16 @@
|
|
|
1
1
|
[data-action*="lib#ripple"] {
|
|
2
|
-
--lib-ripple-bg: rgb(var(--color-background));
|
|
3
|
-
|
|
4
2
|
position: relative;
|
|
5
3
|
user-select: none;
|
|
6
4
|
}
|
|
7
5
|
|
|
8
6
|
.lib-ripple {
|
|
7
|
+
--lib-ripple-animation-duration: 1s;
|
|
8
|
+
--lib-ripple-bg: rgb(var(--color-background) / var(--tw-bg-opacity, 0.4));
|
|
9
|
+
|
|
9
10
|
position: absolute;
|
|
10
11
|
background: var(--lib-ripple-bg);
|
|
11
12
|
border-radius: 50%;
|
|
12
13
|
transform: scale(0);
|
|
13
|
-
|
|
14
|
+
animation-duration: var(--lib-ripple-animation-duration);
|
|
14
15
|
pointer-events: none;
|
|
15
|
-
|
|
16
|
-
@nest body > & {
|
|
17
|
-
position: fixed;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@nest html.ie & {
|
|
21
|
-
z-index: -1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.animation {
|
|
25
|
-
animation-name: ripple;
|
|
26
|
-
animation-duration: 1s;
|
|
27
|
-
animation-fill-mode: both;
|
|
28
|
-
}
|
|
29
16
|
}
|
package/src/styles/Ui/Link.css
CHANGED
package/src/styles/Ui/Text.css
CHANGED
|
@@ -166,6 +166,10 @@
|
|
|
166
166
|
margin: 0 0 1.5rem;
|
|
167
167
|
padding: 0 0 0 1rem;
|
|
168
168
|
|
|
169
|
+
&:not([type]) {
|
|
170
|
+
list-style: decimal;
|
|
171
|
+
}
|
|
172
|
+
|
|
169
173
|
& li {
|
|
170
174
|
padding-left: 0.5rem;
|
|
171
175
|
|
|
@@ -192,6 +196,7 @@
|
|
|
192
196
|
&::before {
|
|
193
197
|
width: 0.25rem;
|
|
194
198
|
height: 0.25rem;
|
|
199
|
+
box-sizing: content-box;
|
|
195
200
|
position: absolute;
|
|
196
201
|
content: "";
|
|
197
202
|
border: 1px solid rgb(var(--color-accent));
|
package/src/styles/Utils/+.css
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
6
|
-
@import "
|
|
7
|
-
@import "
|
|
8
|
-
@import "
|
|
9
|
-
@import "
|
|
1
|
+
@import "breakpoints.css";
|
|
2
|
+
@import "default.css";
|
|
3
|
+
@import "icons.css";
|
|
4
|
+
@import "keyframes.css";
|
|
5
|
+
@import "normalize.css";
|
|
6
|
+
@import "print.css";
|
|
7
|
+
@import "tailwind/+.css";
|
|
8
|
+
@import "theme/+.css";
|
|
9
|
+
@import "vars.css";
|
|
10
|
+
@import "vendor.css";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@custom-media --media-m (max-width: 47.9375em);
|
|
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);
|
|
@@ -3,125 +3,29 @@
|
|
|
3
3
|
background-color: rgb(var(--color-accent));
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
ul {
|
|
12
|
-
list-style: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
blockquote,
|
|
16
|
-
dl,
|
|
17
|
-
dd,
|
|
18
|
-
h1,
|
|
19
|
-
h2,
|
|
20
|
-
h3,
|
|
21
|
-
h4,
|
|
22
|
-
h5,
|
|
23
|
-
h6,
|
|
24
|
-
hr,
|
|
25
|
-
figure,
|
|
26
|
-
p,
|
|
27
|
-
pre {
|
|
28
|
-
margin: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
img,
|
|
32
|
-
svg,
|
|
33
|
-
video,
|
|
34
|
-
canvas,
|
|
35
|
-
audio,
|
|
36
|
-
iframe,
|
|
37
|
-
embed,
|
|
38
|
-
object {
|
|
39
|
-
display: block;
|
|
40
|
-
vertical-align: middle;
|
|
6
|
+
:where(*) {
|
|
7
|
+
outline: none;
|
|
8
|
+
-webkit-tap-highlight-color: rgb(255 255 255 / 0);
|
|
41
9
|
}
|
|
42
10
|
|
|
43
|
-
|
|
44
|
-
|
|
11
|
+
:where([hidden]) {
|
|
12
|
+
display: none;
|
|
45
13
|
}
|
|
46
14
|
|
|
47
|
-
|
|
48
|
-
width:
|
|
49
|
-
height: 1px;
|
|
15
|
+
:where(svg) {
|
|
16
|
+
stroke-width: 1.5;
|
|
50
17
|
display: block;
|
|
51
|
-
border: 0;
|
|
52
|
-
color: inherit;
|
|
53
|
-
border-top: 1px solid rgb(var(--color-current));
|
|
54
|
-
opacity: 0.2;
|
|
55
|
-
margin: 1rem 0;
|
|
56
|
-
padding: 0;
|
|
57
18
|
}
|
|
58
19
|
|
|
59
|
-
|
|
20
|
+
:where(hr) {
|
|
60
21
|
display: block;
|
|
22
|
+
border-top: 2px solid rgb(var(--color-current) / var(--tw-border-opacity, 0.15));
|
|
23
|
+
border-radius: var(--rounded);
|
|
61
24
|
}
|
|
62
25
|
|
|
63
|
-
|
|
64
|
-
border: 0;
|
|
65
|
-
margin: 0;
|
|
66
|
-
padding: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
button {
|
|
70
|
-
appearance: none;
|
|
71
|
-
background: transparent;
|
|
72
|
-
border: 0;
|
|
26
|
+
:where(ol, ul) {
|
|
73
27
|
padding: 0;
|
|
74
|
-
|
|
75
|
-
color: inherit;
|
|
76
|
-
font-size: 1rem;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
textarea {
|
|
80
|
-
resize: vertical;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
table {
|
|
84
|
-
border-collapse: collapse;
|
|
85
|
-
border-spacing: 0;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
svg[class^="icon"] {
|
|
89
|
-
width: 1em;
|
|
90
|
-
height: 1em;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
a {
|
|
94
|
-
color: inherit;
|
|
95
|
-
text-decoration: none;
|
|
96
|
-
|
|
97
|
-
&:active,
|
|
98
|
-
&:hover {
|
|
99
|
-
outline-width: 0;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
* {
|
|
104
|
-
box-sizing: border-box;
|
|
105
|
-
outline: none;
|
|
106
|
-
-webkit-tap-highlight-color: rgb(255 255 255 / 0);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
*,
|
|
110
|
-
::before,
|
|
111
|
-
::after {
|
|
112
|
-
border-width: 0;
|
|
113
|
-
border-style: solid;
|
|
114
|
-
border-color: rgb(var(--color-current) / var(--tw-text-opacity, 1));
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
[hidden] {
|
|
118
|
-
display: none;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@supports (-moz-appearance: none) {
|
|
122
|
-
select {
|
|
123
|
-
text-indent: -0.125rem;
|
|
124
|
-
}
|
|
28
|
+
margin: 0;
|
|
125
29
|
}
|
|
126
30
|
|
|
127
31
|
.grecaptcha-badge {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
@import "base.css";
|
|
2
|
-
@import "gutters.css";
|
|
1
|
+
@import "base.css";
|
|
2
|
+
@import "gutters.css";
|
|
3
|
+
@import "utilities.css";
|
|
@@ -1,40 +1,3 @@
|
|
|
1
1
|
@tailwind base;
|
|
2
2
|
@tailwind components;
|
|
3
3
|
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
@layer utilities {
|
|
6
|
-
.current {
|
|
7
|
-
background-color: currentColor;
|
|
8
|
-
color: currentColor;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.animation {
|
|
12
|
-
animation-duration: 0.5s;
|
|
13
|
-
animation-fill-mode: both;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.slider {
|
|
17
|
-
margin-left: calc(var(--container-padding-calc) * -1);
|
|
18
|
-
margin-right: calc(var(--container-padding-calc) * -1);
|
|
19
|
-
padding-left: var(--container-padding-calc);
|
|
20
|
-
scroll-padding-left: var(--container-padding-calc);
|
|
21
|
-
scroll-padding-right: var(--container-padding-calc);
|
|
22
|
-
overflow-x: auto;
|
|
23
|
-
overflow-y: hidden;
|
|
24
|
-
-webkit-overflow-scrolling: touch;
|
|
25
|
-
user-select: none;
|
|
26
|
-
scrollbar-width: none !important;
|
|
27
|
-
-ms-overflow-style: none;
|
|
28
|
-
display: flex;
|
|
29
|
-
|
|
30
|
-
& > * {
|
|
31
|
-
flex: 0 0 auto;
|
|
32
|
-
scroll-snap-align: start;
|
|
33
|
-
|
|
34
|
-
&:last-child {
|
|
35
|
-
box-sizing: content-box;
|
|
36
|
-
border-right: var(--container-padding-calc) solid transparent;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.current {
|
|
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
|
+
}
|
|
23
|
+
|
|
24
|
+
.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
|
+
overflow-x: auto;
|
|
31
|
+
overflow-y: hidden;
|
|
32
|
+
-webkit-overflow-scrolling: touch;
|
|
33
|
+
user-select: none;
|
|
34
|
+
scrollbar-width: none !important;
|
|
35
|
+
-ms-overflow-style: none;
|
|
36
|
+
display: flex;
|
|
37
|
+
|
|
38
|
+
& > * {
|
|
39
|
+
flex: 0 0 auto;
|
|
40
|
+
scroll-snap-align: start;
|
|
41
|
+
|
|
42
|
+
&:last-child {
|
|
43
|
+
box-sizing: content-box;
|
|
44
|
+
border-right: var(--container-padding-calc) solid transparent;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "main.css";
|
|
1
|
+
@import "main.css";
|
|
@@ -56,41 +56,6 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
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
59
|
/* @custom-selector --theme */
|
|
95
60
|
@custom-selector :--theme-dark [data-theme~="dark"];
|
|
96
61
|
@custom-selector :--theme-light [data-theme~="light"];
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
@import "winduum/src/base/reset.css";
|
|
2
|
+
@import "winduum/src/base/breakpoints.css";
|
package/src/styles/main.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import "Utils/normalize.css";
|
|
2
1
|
@import "Utils/vendor.css";
|
|
3
2
|
@import "Utils/theme/main.css";
|
|
3
|
+
@import "Utils/breakpoints.css";
|
|
4
4
|
@import "Utils/vars.css";
|
|
5
5
|
@import "Utils/default.css";
|
|
6
6
|
@import "Utils/icons.css";
|
|
@@ -11,5 +11,4 @@
|
|
|
11
11
|
@import "Sections/+.css";
|
|
12
12
|
@import "Libraries/+.css";
|
|
13
13
|
@import "Utils/print.css";
|
|
14
|
-
@import "Utils/tailwind
|
|
15
|
-
@import "Utils/tailwind/gutters.css";
|
|
14
|
+
@import "Utils/tailwind/+.css";
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
<
|
|
1
|
+
<form class="c-dialog c-dialog-basic" data-size="sm" data-type="scrollable">
|
|
2
|
+
<div class="wrp_dialog_head flex justify-between">
|
|
3
|
+
<h2 class="ui-heading">Info</h2>
|
|
4
|
+
<button class="ui-icon" type="button" data-action="click->lib-dialog#hide">
|
|
4
5
|
<svg>
|
|
5
6
|
<use href="#icon-x"></use>
|
|
6
7
|
</svg>
|
|
7
8
|
</button>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<div class="ui-text">
|
|
13
|
-
{% for i in 1..44 %}
|
|
9
|
+
</div>
|
|
10
|
+
<div class="wrp_dialog_body py-4">
|
|
11
|
+
<div class="ui-text">
|
|
12
|
+
{% for i in 1..44 %}
|
|
14
13
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget efficitur metus. In bibendum nisi et dui sagittis efficitur.</p>
|
|
15
|
-
|
|
16
|
-
</div>
|
|
14
|
+
{% endfor %}
|
|
17
15
|
</div>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</
|
|
16
|
+
</div>
|
|
17
|
+
<div class="wrp_dialog_foot">
|
|
18
|
+
<div class="col m:col-12">
|
|
19
|
+
<button class="ui-btn" type="button" data-action="click->lib-dialog#hide">Continue</button>
|
|
22
20
|
</div>
|
|
23
|
-
</
|
|
24
|
-
</
|
|
21
|
+
</div>
|
|
22
|
+
</form>
|