@alfalab/core-components-modal 6.1.8 → 6.1.9
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/Component.desktop.js +1 -1
- package/Component.js +4 -4
- package/Component.mobile.js +1 -1
- package/Component.responsive.js +1 -1
- package/components/closer/Component.js +2 -2
- package/components/closer/index.css +14 -15
- package/components/content/Component.js +3 -3
- package/components/content/desktop.css +17 -16
- package/components/content/index.css +12 -7
- package/components/content/mobile.css +12 -9
- package/components/footer/Component.js +4 -4
- package/components/footer/desktop.css +19 -21
- package/components/footer/index.css +13 -11
- package/components/footer/layout.css +34 -45
- package/components/footer/mobile.css +12 -9
- package/components/header/Component.js +4 -4
- package/components/header/desktop.css +27 -36
- package/components/header/index.css +24 -33
- package/components/header/mobile.css +12 -11
- package/cssm/components/closer/index.module.css +13 -14
- package/cssm/components/content/desktop.module.css +13 -12
- package/cssm/components/content/index.module.css +11 -6
- package/cssm/components/content/mobile.module.css +11 -8
- package/cssm/components/footer/desktop.module.css +15 -17
- package/cssm/components/footer/index.module.css +12 -10
- package/cssm/components/footer/layout.module.css +25 -36
- package/cssm/components/footer/mobile.module.css +11 -8
- package/cssm/components/header/desktop.module.css +20 -29
- package/cssm/components/header/index.module.css +23 -32
- package/cssm/components/header/mobile.module.css +11 -10
- package/cssm/desktop.module.css +18 -23
- package/cssm/mobile.module.css +10 -4
- package/cssm/vars.css +9 -2
- package/desktop.css +19 -24
- package/desktop.js +1 -1
- package/esm/Component.desktop.js +1 -1
- package/esm/Component.js +4 -4
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.responsive.js +1 -1
- package/esm/components/closer/Component.js +2 -2
- package/esm/components/closer/index.css +14 -15
- package/esm/components/content/Component.js +3 -3
- package/esm/components/content/desktop.css +17 -16
- package/esm/components/content/index.css +12 -7
- package/esm/components/content/mobile.css +12 -9
- package/esm/components/footer/Component.js +4 -4
- package/esm/components/footer/desktop.css +19 -21
- package/esm/components/footer/index.css +13 -11
- package/esm/components/footer/layout.css +34 -45
- package/esm/components/footer/mobile.css +12 -9
- package/esm/components/header/Component.js +4 -4
- package/esm/components/header/desktop.css +27 -36
- package/esm/components/header/index.css +24 -33
- package/esm/components/header/mobile.css +12 -11
- package/esm/desktop.css +19 -24
- package/esm/desktop.js +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile.css +11 -5
- package/esm/mobile.js +1 -1
- package/esm/responsive.js +1 -1
- package/esm/transitions.css +8 -8
- package/esm/{tslib.es6-4ed2b18d.d.ts → tslib.es6-079b23b6.d.ts} +0 -0
- package/esm/{tslib.es6-4ed2b18d.js → tslib.es6-079b23b6.js} +0 -0
- package/index.js +1 -1
- package/mobile.css +11 -5
- package/mobile.js +1 -1
- package/modern/Component.js +3 -3
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +14 -15
- package/modern/components/content/Component.js +3 -3
- package/modern/components/content/desktop.css +17 -16
- package/modern/components/content/index.css +12 -7
- package/modern/components/content/mobile.css +12 -9
- package/modern/components/footer/Component.js +4 -4
- package/modern/components/footer/desktop.css +19 -21
- package/modern/components/footer/index.css +13 -11
- package/modern/components/footer/layout.css +34 -45
- package/modern/components/footer/mobile.css +12 -9
- package/modern/components/header/Component.js +3 -3
- package/modern/components/header/desktop.css +27 -36
- package/modern/components/header/index.css +24 -33
- package/modern/components/header/mobile.css +12 -11
- package/modern/desktop.css +19 -24
- package/modern/mobile.css +11 -5
- package/modern/transitions.css +8 -8
- package/package.json +4 -4
- package/responsive.js +1 -1
- package/transitions.css +8 -8
- /package/{tslib.es6-810fa287.d.ts → tslib.es6-9ab4bb88.d.ts} +0 -0
- /package/{tslib.es6-810fa287.js → tslib.es6-9ab4bb88.js} +0 -0
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: vkd7z */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:
|
|
13
|
+
} :root {
|
|
14
|
+
--border-radius-l: 12px;
|
|
15
|
+
} :root {
|
|
11
16
|
--gap-xs: 8px;
|
|
12
17
|
--gap-m: 16px;
|
|
13
18
|
--gap-xl: 24px;
|
|
14
19
|
--gap-3xl: 40px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
20
|
+
} :root {
|
|
17
21
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
18
22
|
sans-serif;
|
|
19
|
-
}
|
|
20
|
-
:root {
|
|
21
|
-
--border-radius-l: 12px;
|
|
22
|
-
}
|
|
23
|
-
:root {
|
|
23
|
+
} :root {
|
|
24
|
+
} :root {
|
|
24
25
|
--modal-border-radius: var(--border-radius-l);
|
|
25
26
|
--modal-vertical-padding: var(--gap-3xl);
|
|
26
27
|
|
|
@@ -42,46 +43,36 @@
|
|
|
42
43
|
--modal-header-desktop-font-family: var(--font-family-system);
|
|
43
44
|
|
|
44
45
|
/* mobile */
|
|
45
|
-
}
|
|
46
|
-
.modal__header_2m9gw {
|
|
46
|
+
} .modal__header_10rwy {
|
|
47
47
|
border-top-left-radius: var(--modal-border-radius);
|
|
48
48
|
border-top-right-radius: var(--modal-border-radius);
|
|
49
|
-
}
|
|
50
|
-
.modal__content_2m9gw {
|
|
49
|
+
} .modal__content_10rwy {
|
|
51
50
|
font-weight: var(--modal-header-desktop-font-weight);
|
|
52
51
|
font-family: var(--modal-header-desktop-font-family);
|
|
53
|
-
}
|
|
54
|
-
.
|
|
55
|
-
.modal__m_2m9gw .modal__content_2m9gw {
|
|
52
|
+
} .modal__s_10rwy .modal__content_10rwy,
|
|
53
|
+
.modal__m_10rwy .modal__content_10rwy {
|
|
56
54
|
padding: var(--modal-s-header-desktop-content-paddings);
|
|
57
55
|
font-size: var(--modal-s-header-desktop-font-size);
|
|
58
56
|
line-height: var(--modal-s-header-desktop-line-height);
|
|
59
|
-
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__fullscreen_2m9gw .modal__content_2m9gw {
|
|
57
|
+
} .modal__l_10rwy .modal__content_10rwy,
|
|
58
|
+
.modal__xl_10rwy .modal__content_10rwy,
|
|
59
|
+
.modal__fullscreen_10rwy .modal__content_10rwy {
|
|
63
60
|
padding: var(--modal-l-header-desktop-content-paddings);
|
|
64
61
|
font-size: var(--modal-l-header-desktop-font-size);
|
|
65
62
|
line-height: var(--modal-l-header-desktop-line-height);
|
|
66
|
-
}
|
|
67
|
-
.
|
|
68
|
-
.modal__m_2m9gw {
|
|
63
|
+
} .modal__s_10rwy,
|
|
64
|
+
.modal__m_10rwy {
|
|
69
65
|
padding: var(--modal-s-header-paddings)
|
|
70
|
-
}
|
|
71
|
-
.modal__s_2m9gw:not(.modal__hasContent_2m9gw), .modal__m_2m9gw:not(.modal__hasContent_2m9gw) {
|
|
66
|
+
} .modal__s_10rwy:not(.modal__hasContent_10rwy), .modal__m_10rwy:not(.modal__hasContent_10rwy) {
|
|
72
67
|
padding-bottom: 0;
|
|
73
|
-
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.modal__fullscreen_2m9gw {
|
|
68
|
+
} .modal__l_10rwy,
|
|
69
|
+
.modal__xl_10rwy,
|
|
70
|
+
.modal__fullscreen_10rwy {
|
|
77
71
|
padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
|
|
78
|
-
}
|
|
79
|
-
.modal__l_2m9gw:not(.modal__hasContent_2m9gw), .modal__xl_2m9gw:not(.modal__hasContent_2m9gw), .modal__fullscreen_2m9gw:not(.modal__hasContent_2m9gw) {
|
|
72
|
+
} .modal__l_10rwy:not(.modal__hasContent_10rwy), .modal__xl_10rwy:not(.modal__hasContent_10rwy), .modal__fullscreen_10rwy:not(.modal__hasContent_10rwy) {
|
|
80
73
|
padding-bottom: var(--gap-m);
|
|
81
|
-
}
|
|
82
|
-
.modal__sticky_2m9gw {
|
|
74
|
+
} .modal__sticky_10rwy {
|
|
83
75
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
84
|
-
}
|
|
85
|
-
.modal__sticky_2m9gw.modal__fullscreen_2m9gw {
|
|
76
|
+
} .modal__sticky_10rwy.modal__fullscreen_10rwy {
|
|
86
77
|
top: 0;
|
|
87
78
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: pknb9 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-bg-primary: #fff;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
--modal-header-background: var(--color-light-bg-primary);
|
|
15
20
|
|
|
16
21
|
/* sizes */
|
|
@@ -24,62 +29,48 @@
|
|
|
24
29
|
/* desktop */
|
|
25
30
|
|
|
26
31
|
/* mobile */
|
|
27
|
-
}
|
|
28
|
-
.modal__header_1jbvb {
|
|
32
|
+
} .modal__header_1abcs {
|
|
29
33
|
width: 100%;
|
|
30
34
|
box-sizing: border-box;
|
|
31
35
|
display: flex;
|
|
32
36
|
align-items: stretch;
|
|
33
37
|
justify-content: space-between;
|
|
34
38
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
35
|
-
}
|
|
36
|
-
.modal__header_1jbvb:not(.modal__hasContent_1jbvb) {
|
|
39
|
+
} .modal__header_1abcs:not(.modal__hasContent_1abcs) {
|
|
37
40
|
pointer-events: none;
|
|
38
|
-
}
|
|
39
|
-
.modal__highlighted_1jbvb {
|
|
41
|
+
} .modal__highlighted_1abcs {
|
|
40
42
|
background: var(--modal-header-highlight-background);
|
|
41
43
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
42
|
-
}
|
|
43
|
-
.modal__sticky_1jbvb {
|
|
44
|
+
} .modal__sticky_1abcs {
|
|
44
45
|
position: sticky;
|
|
45
46
|
z-index: 1
|
|
46
|
-
}
|
|
47
|
-
.modal__sticky_1jbvb.modal__hasContent_1jbvb {
|
|
47
|
+
} .modal__sticky_1abcs.modal__hasContent_1abcs {
|
|
48
48
|
background: var(--modal-header-background);
|
|
49
|
-
}
|
|
50
|
-
.modal__content_1jbvb {
|
|
49
|
+
} .modal__content_1abcs {
|
|
51
50
|
flex-grow: 1;
|
|
52
|
-
}
|
|
53
|
-
.modal__title_1jbvb {
|
|
51
|
+
} .modal__title_1abcs {
|
|
54
52
|
word-break: break-word;
|
|
55
|
-
}
|
|
56
|
-
.modal__addon_1jbvb {
|
|
53
|
+
} .modal__addon_1abcs {
|
|
57
54
|
min-width: 48px;
|
|
58
55
|
height: 48px;
|
|
59
56
|
display: flex;
|
|
60
57
|
justify-content: center;
|
|
61
58
|
align-items: center;
|
|
62
59
|
pointer-events: all;
|
|
63
|
-
}
|
|
64
|
-
.modal__closer_1jbvb {
|
|
60
|
+
} .modal__closer_1abcs {
|
|
65
61
|
margin-left: auto;
|
|
66
|
-
}
|
|
67
|
-
.modal__left_1jbvb {
|
|
62
|
+
} .modal__left_1abcs {
|
|
68
63
|
justify-content: flex-start;
|
|
69
64
|
text-align: left;
|
|
70
|
-
}
|
|
71
|
-
.modal__center_1jbvb {
|
|
65
|
+
} .modal__center_1abcs {
|
|
72
66
|
justify-content: center;
|
|
73
67
|
text-align: center;
|
|
74
|
-
}
|
|
75
|
-
.modal__right_1jbvb {
|
|
68
|
+
} .modal__right_1abcs {
|
|
76
69
|
justify-content: flex-end;
|
|
77
70
|
text-align: right;
|
|
78
|
-
}
|
|
79
|
-
.modal__trim_1jbvb {
|
|
71
|
+
} .modal__trim_1abcs {
|
|
80
72
|
overflow: hidden
|
|
81
|
-
}
|
|
82
|
-
.modal__trim_1jbvb .modal__title_1jbvb {
|
|
73
|
+
} .modal__trim_1abcs .modal__title_1abcs {
|
|
83
74
|
overflow: hidden;
|
|
84
75
|
white-space: nowrap;
|
|
85
76
|
text-overflow: ellipsis;
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12ltd */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-xs: 8px;
|
|
12
16
|
--gap-s: 12px;
|
|
13
17
|
--gap-m: 16px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
18
|
+
} :root {
|
|
16
19
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
17
20
|
sans-serif;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
21
|
+
} :root {
|
|
22
|
+
} :root {
|
|
20
23
|
|
|
21
24
|
/* sizes */
|
|
22
25
|
|
|
@@ -32,11 +35,9 @@
|
|
|
32
35
|
--modal-header-mobile-line-height: 24px;
|
|
33
36
|
--modal-header-mobile-font-family: var(--font-family-system);
|
|
34
37
|
--modal-header-mobile-font-weight: bold;
|
|
35
|
-
}
|
|
36
|
-
.modal__sticky_tqntf {
|
|
38
|
+
} .modal__sticky_a9mmw {
|
|
37
39
|
top: 0;
|
|
38
|
-
}
|
|
39
|
-
.modal__content_tqntf {
|
|
40
|
+
} .modal__content_a9mmw {
|
|
40
41
|
font-size: var(--modal-header-mobile-font-size);
|
|
41
42
|
line-height: var(--modal-header-mobile-line-height);
|
|
42
43
|
font-family: var(--modal-header-mobile-font-family);
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
3
|
-
}
|
|
4
|
-
:root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
5
7
|
|
|
6
8
|
/* Hard */
|
|
7
9
|
|
|
8
10
|
/* Up */
|
|
9
11
|
|
|
10
12
|
/* Hard up */
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
13
15
|
--gap-3xl: 40px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
16
19
|
--modal-vertical-padding: var(--gap-3xl);
|
|
17
20
|
|
|
18
21
|
/* sizes */
|
|
@@ -24,11 +27,9 @@
|
|
|
24
27
|
/* desktop */
|
|
25
28
|
|
|
26
29
|
/* mobile */
|
|
27
|
-
}
|
|
28
|
-
:root {
|
|
30
|
+
} :root {
|
|
29
31
|
--modal-closer-bg-color: var(--color-light-bg-primary-alpha-40);
|
|
30
|
-
}
|
|
31
|
-
.closer {
|
|
32
|
+
} .closer {
|
|
32
33
|
flex-shrink: 0;
|
|
33
34
|
width: 48px;
|
|
34
35
|
height: 48px;
|
|
@@ -36,14 +37,12 @@
|
|
|
36
37
|
display: flex;
|
|
37
38
|
align-items: center;
|
|
38
39
|
justify-content: center;
|
|
39
|
-
}
|
|
40
|
-
.button {
|
|
40
|
+
} .button {
|
|
41
41
|
background: var(--modal-closer-bg-color);
|
|
42
42
|
-webkit-backdrop-filter: blur(10px);
|
|
43
43
|
backdrop-filter: blur(10px);
|
|
44
44
|
border-radius: 50px;
|
|
45
|
-
}
|
|
46
|
-
.sticky {
|
|
45
|
+
} .sticky {
|
|
47
46
|
position: sticky;
|
|
48
47
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
49
48
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
10
14
|
--gap-6xl: 72px;
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
13
18
|
|
|
14
19
|
/* sizes */
|
|
15
20
|
|
|
@@ -22,19 +27,15 @@
|
|
|
22
27
|
/* desktop */
|
|
23
28
|
|
|
24
29
|
/* mobile */
|
|
25
|
-
}
|
|
26
|
-
.s,
|
|
30
|
+
} .s,
|
|
27
31
|
.m {
|
|
28
32
|
padding: var(--modal-s-content-paddings)
|
|
29
|
-
}
|
|
30
|
-
.s:last-child, .m:last-child {
|
|
33
|
+
} .s:last-child, .m:last-child {
|
|
31
34
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
32
|
-
}
|
|
33
|
-
.l,
|
|
35
|
+
} .l,
|
|
34
36
|
.xl,
|
|
35
37
|
.fullscreen {
|
|
36
38
|
padding: 0 var(--gap-6xl)
|
|
37
|
-
}
|
|
38
|
-
.l:last-child, .xl:last-child, .fullscreen:last-child {
|
|
39
|
+
} .l:last-child, .xl:last-child, .fullscreen:last-child {
|
|
39
40
|
padding-bottom: var(--gap-6xl);
|
|
40
41
|
}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
10
17
|
|
|
11
18
|
/* sizes */
|
|
12
19
|
|
|
@@ -17,11 +24,9 @@
|
|
|
17
24
|
/* desktop */
|
|
18
25
|
|
|
19
26
|
/* mobile */
|
|
20
|
-
}
|
|
21
|
-
.content {
|
|
27
|
+
} .content {
|
|
22
28
|
box-sizing: border-box;
|
|
23
29
|
width: 100%;
|
|
24
|
-
}
|
|
25
|
-
.flex {
|
|
30
|
+
} .flex {
|
|
26
31
|
flex: 1;
|
|
27
32
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
10
14
|
--gap-m: 16px;
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
13
18
|
|
|
14
19
|
/* sizes */
|
|
15
20
|
|
|
@@ -20,10 +25,8 @@
|
|
|
20
25
|
/* desktop */
|
|
21
26
|
|
|
22
27
|
/* mobile */
|
|
23
|
-
}
|
|
24
|
-
.content {
|
|
28
|
+
} .content {
|
|
25
29
|
padding: 0 var(--gap-m)
|
|
26
|
-
}
|
|
27
|
-
.content:last-child {
|
|
30
|
+
} .content:last-child {
|
|
28
31
|
padding-bottom: var(--gap-m);
|
|
29
32
|
}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:
|
|
12
|
+
} :root {
|
|
13
|
+
--border-radius-l: 12px;
|
|
14
|
+
} :root {
|
|
10
15
|
--gap-xl: 24px;
|
|
11
16
|
--gap-2xl: 32px;
|
|
12
17
|
--gap-3xl: 40px;
|
|
13
18
|
--gap-6xl: 72px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
:root {
|
|
19
|
+
} :root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
19
22
|
--modal-border-radius: var(--border-radius-l);
|
|
20
23
|
--modal-vertical-padding: var(--gap-3xl);
|
|
21
24
|
|
|
@@ -29,22 +32,17 @@
|
|
|
29
32
|
/* desktop */
|
|
30
33
|
|
|
31
34
|
/* mobile */
|
|
32
|
-
}
|
|
33
|
-
.footer {
|
|
35
|
+
} .footer {
|
|
34
36
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
35
37
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
36
|
-
}
|
|
37
|
-
.sticky {
|
|
38
|
+
} .sticky {
|
|
38
39
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
39
|
-
}
|
|
40
|
-
.sticky.fullscreen {
|
|
40
|
+
} .sticky.fullscreen {
|
|
41
41
|
bottom: 0;
|
|
42
|
-
}
|
|
43
|
-
.s,
|
|
42
|
+
} .s,
|
|
44
43
|
.m {
|
|
45
44
|
padding: var(--modal-s-footer-paddings);
|
|
46
|
-
}
|
|
47
|
-
.l,
|
|
45
|
+
} .l,
|
|
48
46
|
.xl,
|
|
49
47
|
.fullscreen {
|
|
50
48
|
padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-bg-primary: #fff;
|
|
3
4
|
--color-light-border-primary: #dbdee1;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
--modal-footer-background: var(--color-light-bg-primary);
|
|
15
20
|
|
|
16
21
|
/* sizes */
|
|
@@ -24,17 +29,14 @@
|
|
|
24
29
|
/* desktop */
|
|
25
30
|
|
|
26
31
|
/* mobile */
|
|
27
|
-
}
|
|
28
|
-
.footer {
|
|
32
|
+
} .footer {
|
|
29
33
|
width: 100%;
|
|
30
34
|
box-sizing: border-box;
|
|
31
35
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
32
|
-
}
|
|
33
|
-
.sticky {
|
|
36
|
+
} .sticky {
|
|
34
37
|
background: var(--modal-footer-background);
|
|
35
38
|
position: sticky;
|
|
36
|
-
}
|
|
37
|
-
.highlighted {
|
|
39
|
+
} .highlighted {
|
|
38
40
|
background: var(--modal-footer-highlight-background);
|
|
39
41
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
40
42
|
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
10
14
|
--gap-m: 16px;
|
|
11
15
|
--gap-xl: 24px;
|
|
12
16
|
--gap-2xl: 32px;
|
|
13
|
-
}
|
|
14
|
-
:root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
15
20
|
--modal-footer-default-gap: var(--gap-m);
|
|
16
21
|
|
|
17
22
|
/* sizes */
|
|
@@ -23,61 +28,45 @@
|
|
|
23
28
|
/* desktop */
|
|
24
29
|
|
|
25
30
|
/* mobile */
|
|
26
|
-
}
|
|
27
|
-
.column {
|
|
31
|
+
} .column {
|
|
28
32
|
display: flex;
|
|
29
33
|
flex-direction: column
|
|
30
|
-
}
|
|
31
|
-
.column > * {
|
|
34
|
+
} .column > * {
|
|
32
35
|
margin-bottom: var(--modal-footer-default-gap);
|
|
33
|
-
}
|
|
34
|
-
.column > *:last-child,
|
|
36
|
+
} .column > *:last-child,
|
|
35
37
|
.column > *:only-child {
|
|
36
38
|
margin-bottom: 0;
|
|
37
|
-
}
|
|
38
|
-
.column.gap-16 > * {
|
|
39
|
+
} .column.gap-16 > * {
|
|
39
40
|
margin-bottom: var(--gap-m);
|
|
40
|
-
}
|
|
41
|
-
.column.gap-24 > * {
|
|
41
|
+
} .column.gap-24 > * {
|
|
42
42
|
margin-bottom: var(--gap-xl);
|
|
43
|
-
}
|
|
44
|
-
.column.gap-32 > * {
|
|
43
|
+
} .column.gap-32 > * {
|
|
45
44
|
margin-bottom: var(--gap-2xl);
|
|
46
|
-
}
|
|
47
|
-
.start {
|
|
45
|
+
} .start {
|
|
48
46
|
justify-content: flex-start;
|
|
49
|
-
}
|
|
50
|
-
.center {
|
|
47
|
+
} .center {
|
|
51
48
|
justify-content: center;
|
|
52
|
-
}
|
|
53
|
-
.space-between {
|
|
49
|
+
} .space-between {
|
|
54
50
|
justify-content: space-between
|
|
55
|
-
}
|
|
56
|
-
.space-between > * {
|
|
51
|
+
} .space-between > * {
|
|
57
52
|
flex: 1;
|
|
58
|
-
}
|
|
59
|
-
.start,
|
|
53
|
+
} .start,
|
|
60
54
|
.center,
|
|
61
55
|
.space-between {
|
|
62
56
|
display: flex
|
|
63
|
-
}
|
|
64
|
-
.start > *, .center > *, .space-between > * {
|
|
57
|
+
} .start > *, .center > *, .space-between > * {
|
|
65
58
|
margin-right: var(--modal-footer-default-gap);
|
|
66
|
-
}
|
|
67
|
-
.start > *:last-child,
|
|
59
|
+
} .start > *:last-child,
|
|
68
60
|
.start > *:only-child,
|
|
69
61
|
.center > *:last-child,
|
|
70
62
|
.center > *:only-child,
|
|
71
63
|
.space-between > *:last-child,
|
|
72
64
|
.space-between > *:only-child {
|
|
73
65
|
margin-right: 0;
|
|
74
|
-
}
|
|
75
|
-
.start.gap-16 > *, .center.gap-16 > *, .space-between.gap-16 > * {
|
|
66
|
+
} .start.gap-16 > *, .center.gap-16 > *, .space-between.gap-16 > * {
|
|
76
67
|
margin-right: var(--gap-m);
|
|
77
|
-
}
|
|
78
|
-
.start.gap-24 > *, .center.gap-24 > *, .space-between.gap-24 > * {
|
|
68
|
+
} .start.gap-24 > *, .center.gap-24 > *, .space-between.gap-24 > * {
|
|
79
69
|
margin-right: var(--gap-xl);
|
|
80
|
-
}
|
|
81
|
-
.start.gap-32 > *, .center.gap-32 > *, .space-between.gap-32 > * {
|
|
70
|
+
} .start.gap-32 > *, .center.gap-32 > *, .space-between.gap-32 > * {
|
|
82
71
|
margin-right: var(--gap-2xl);
|
|
83
72
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
10
14
|
--gap-m: 16px;
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
13
18
|
|
|
14
19
|
/* sizes */
|
|
15
20
|
|
|
@@ -20,10 +25,8 @@
|
|
|
20
25
|
/* desktop */
|
|
21
26
|
|
|
22
27
|
/* mobile */
|
|
23
|
-
}
|
|
24
|
-
.footer {
|
|
28
|
+
} .footer {
|
|
25
29
|
padding: var(--gap-m);
|
|
26
|
-
}
|
|
27
|
-
.sticky {
|
|
30
|
+
} .sticky {
|
|
28
31
|
bottom: 0;
|
|
29
32
|
}
|