maverick-wave 4.28.0 → 5.0.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/.claude/settings.local.json +29 -1
- package/.claude/skills/mw-maverick-wave/SKILL.md +39 -24
- package/.claude/skills/mw-maverick-wave/examples/angular-services.md +16 -4
- package/.claude/skills/mw-maverick-wave/examples/static-landing-page.md +13 -4
- package/.claude/skills/mw-maverick-wave/references/components.md +42 -5
- package/.claude/skills/mw-maverick-wave/references/forms.md +14 -2
- package/.claude/skills/mw-maverick-wave/references/javascript.md +17 -4
- package/.claude/skills/mw-maverick-wave/references/layout.md +53 -19
- package/.claude/skills/mw-maverick-wave/references/theming.md +38 -1
- package/.impeccable/config.local.json +5 -0
- package/.impeccable/hook.cache.json +1 -0
- package/CHANGELOG.md +11 -0
- package/CLAUDE.md +5 -5
- package/README.md +48 -4
- package/index.html +19 -38
- package/maverick-wave.min.css +14 -12
- package/maverick-wave.min.js +1 -1
- package/package.json +2 -2
- package/scripts/verify.js +27 -2
- package/src/js/main.js +223 -83
- package/src/partials/accordions-container.html +6 -10
- package/src/partials/alerts-container.html +6 -6
- package/src/partials/announcement-container.html +5 -5
- package/src/partials/avatars-container.html +85 -17
- package/src/partials/badges-container.html +6 -6
- package/src/partials/blog-posts-container.html +11 -12
- package/src/partials/buttons-container.html +3 -3
- package/src/partials/cards-container.html +26 -9
- package/src/partials/code-container.html +5 -5
- package/src/partials/content-slider-container.html +5 -4
- package/src/partials/divider-container.html +7 -7
- package/src/partials/dropdown-container.html +2 -2
- package/src/partials/empty-state-container.html +5 -5
- package/src/partials/footer-container.html +21 -18
- package/src/partials/form-elements-container.html +14 -14
- package/src/partials/gallery-container.html +16 -8
- package/src/partials/get-started-container.html +4 -8
- package/src/partials/header-container.html +18 -7
- package/src/partials/home-container.html +10 -20
- package/src/partials/input-group-container.html +11 -2
- package/src/partials/kbd-container.html +1 -1
- package/src/partials/login-container.html +5 -1
- package/src/partials/media-container.html +2 -2
- package/src/partials/modals-container.html +22 -32
- package/src/partials/pricing-container.html +9 -9
- package/src/partials/skeleton-container.html +6 -6
- package/src/partials/stepper-container.html +2 -2
- package/src/partials/tables-container.html +12 -12
- package/src/partials/tabs-container.html +17 -27
- package/src/partials/tags-container.html +23 -17
- package/src/partials/techstack-bucket-container.html +13 -0
- package/src/partials/tiles-container.html +26 -9
- package/src/partials/typography-container.html +7 -6
- package/src/partials/utilities-container.html +35 -15
- package/src/scss/_layers.scss +10 -0
- package/src/scss/abstracts/_index.scss +6 -0
- package/src/scss/abstracts/_mixins.scss +61 -153
- package/src/scss/abstracts/_variables.scss +123 -319
- package/src/scss/base/_base.scss +170 -190
- package/src/scss/base/_reset.scss +106 -104
- package/src/scss/base/_typography.scss +153 -151
- package/src/scss/components/_accordions.scss +97 -97
- package/src/scss/components/_alerts.scss +71 -70
- package/src/scss/components/_announcement.scss +71 -70
- package/src/scss/components/_avatars.scss +130 -142
- package/src/scss/components/_badge.scss +131 -132
- package/src/scss/components/_blog-post.scss +223 -220
- package/src/scss/components/_breadcrumbs.scss +93 -92
- package/src/scss/components/_button-bar.scss +102 -110
- package/src/scss/components/_buttons.scss +319 -324
- package/src/scss/components/_calendar.scss +251 -252
- package/src/scss/components/_cards.scss +359 -386
- package/src/scss/components/_code.scss +190 -194
- package/src/scss/components/_coming-soon.scss +77 -75
- package/src/scss/components/_content-slider.scss +90 -89
- package/src/scss/components/_divider.scss +55 -53
- package/src/scss/components/_dropdown.scss +179 -185
- package/src/scss/components/_empty-state.scss +57 -57
- package/src/scss/components/_flag.scss +294 -278
- package/src/scss/components/_gallery.scss +131 -133
- package/src/scss/components/_info.scss +151 -167
- package/src/scss/components/_kanban.scss +332 -341
- package/src/scss/components/_kbd.scss +40 -38
- package/src/scss/components/_lang-switch.scss +89 -97
- package/src/scss/components/_links.scss +21 -28
- package/src/scss/components/_lists.scss +510 -514
- package/src/scss/components/_localhost-indicator.scss +26 -24
- package/src/scss/components/_media.scss +22 -20
- package/src/scss/components/_meta-info.scss +35 -33
- package/src/scss/components/_modals.scss +277 -186
- package/src/scss/components/_pagination.scss +81 -87
- package/src/scss/components/_panels.scss +99 -97
- package/src/scss/components/_pricing.scss +183 -241
- package/src/scss/components/_progress.scss +112 -89
- package/src/scss/components/_prose.scss +35 -33
- package/src/scss/components/_ratings.scss +40 -38
- package/src/scss/components/_segmented.scss +82 -84
- package/src/scss/components/_skeleton.scss +66 -72
- package/src/scss/components/_spinners.scss +155 -159
- package/src/scss/components/_stepper.scss +116 -116
- package/src/scss/components/_tables.scss +155 -148
- package/src/scss/components/_tabs.scss +232 -141
- package/src/scss/components/_tags.scss +109 -107
- package/src/scss/components/_techstack-bucket.scss +123 -122
- package/src/scss/components/_testimonial.scss +72 -70
- package/src/scss/components/_theme-toggle.scss +53 -51
- package/src/scss/components/_tiles.scss +174 -174
- package/src/scss/components/_timelines.scss +282 -280
- package/src/scss/components/_toasts.scss +66 -72
- package/src/scss/form-elements/_checkbox.scss +117 -132
- package/src/scss/form-elements/_form.scss +149 -115
- package/src/scss/form-elements/_input-group.scss +99 -103
- package/src/scss/form-elements/_input.scss +74 -74
- package/src/scss/form-elements/_login.scss +48 -48
- package/src/scss/form-elements/_prefilled.scss +53 -51
- package/src/scss/form-elements/_radio.scss +95 -107
- package/src/scss/form-elements/_select.scss +42 -42
- package/src/scss/form-elements/_slider.scss +117 -132
- package/src/scss/form-elements/_textarea.scss +68 -54
- package/src/scss/form-elements/_toggle.scss +127 -140
- package/src/scss/layout/_footer.scss +172 -171
- package/src/scss/layout/_grid.scss +268 -302
- package/src/scss/layout/_header.scss +426 -427
- package/src/scss/layout/_home.scss +28 -27
- package/src/scss/layout/_main.scss +275 -238
- package/src/scss/layout/_page-header.scss +38 -36
- package/src/scss/layout/_section.scss +150 -124
- package/src/scss/main.scss +1 -1
- package/src/scss/utilities/_accessibility.scss +46 -45
- package/src/scss/utilities/_aspect.scss +22 -20
- package/src/scss/utilities/_corner.scss +23 -5
- package/src/scss/utilities/_display.scss +76 -70
- package/src/scss/utilities/_elevation.scss +13 -11
- package/src/scss/utilities/_flex.scss +83 -85
- package/src/scss/utilities/_reveal.scss +40 -63
- package/src/scss/utilities/_spacing.scss +63 -64
- package/src/scss/utilities/_text.scss +139 -141
- package/src/scss/utilities/_touch-targets.scss +130 -147
|
@@ -1,346 +1,348 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
$_border-width-
|
|
5
|
-
$
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@keyframes mw-slide-in-right {
|
|
19
|
-
from {
|
|
20
|
-
opacity: 0;
|
|
21
|
-
transform: translateX(60px);
|
|
22
|
-
}
|
|
23
|
-
to {
|
|
24
|
-
opacity: 1;
|
|
25
|
-
transform: translateX(0);
|
|
3
|
+
@layer mw.components {
|
|
4
|
+
$_border-width-big: 4px;
|
|
5
|
+
$_border-width-simple: 3px;
|
|
6
|
+
$_simple-date-width: 110px;
|
|
7
|
+
|
|
8
|
+
@keyframes mw-slide-in-left {
|
|
9
|
+
from {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
transform: translateX(-60px);
|
|
12
|
+
}
|
|
13
|
+
to {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
transform: translateX(0);
|
|
16
|
+
}
|
|
26
17
|
}
|
|
27
|
-
}
|
|
28
18
|
|
|
29
|
-
@keyframes mw-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
19
|
+
@keyframes mw-slide-in-right {
|
|
20
|
+
from {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: translateX(60px);
|
|
23
|
+
}
|
|
24
|
+
to {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
transform: translateX(0);
|
|
27
|
+
}
|
|
38
28
|
}
|
|
39
|
-
}
|
|
40
29
|
|
|
41
|
-
@keyframes mw-pulse-ring-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Big
|
|
54
|
-
.mw-timeline-big {
|
|
55
|
-
position: relative;
|
|
56
|
-
margin: spacing('1') auto;
|
|
57
|
-
padding: spacing('5') 0;
|
|
58
|
-
width: min(100%, 900px);
|
|
59
|
-
|
|
60
|
-
// Center vertical line
|
|
61
|
-
&::before {
|
|
62
|
-
content: '';
|
|
63
|
-
position: absolute;
|
|
64
|
-
left: 50%;
|
|
65
|
-
top: 0;
|
|
66
|
-
width: $_border-width-big;
|
|
67
|
-
height: 100%;
|
|
68
|
-
background: var(--mw-primary-text-color);
|
|
69
|
-
transform: translateX(-50%);
|
|
30
|
+
@keyframes mw-pulse-ring-big {
|
|
31
|
+
0% {
|
|
32
|
+
box-shadow: 0 0 0 0 var(--mw-primary-text-color);
|
|
33
|
+
}
|
|
34
|
+
70% {
|
|
35
|
+
box-shadow: 0 0 0 13px transparent;
|
|
36
|
+
}
|
|
37
|
+
100% {
|
|
38
|
+
box-shadow: 0 0 0 0 transparent;
|
|
39
|
+
}
|
|
70
40
|
}
|
|
71
41
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
42
|
+
@keyframes mw-pulse-ring-simple {
|
|
43
|
+
0% {
|
|
44
|
+
box-shadow: 0 0 0 0 var(--mw-primary-text-color);
|
|
45
|
+
}
|
|
46
|
+
70% {
|
|
47
|
+
box-shadow: 0 0 0 5px transparent;
|
|
48
|
+
}
|
|
49
|
+
100% {
|
|
50
|
+
box-shadow: 0 0 0 0 transparent;
|
|
51
|
+
}
|
|
77
52
|
}
|
|
78
53
|
|
|
79
|
-
|
|
54
|
+
// Big
|
|
55
|
+
.mw-timeline-big {
|
|
80
56
|
position: relative;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
border-radius: radius('md');
|
|
85
|
-
padding: spacing('3') spacing('4');
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
gap: spacing('2');
|
|
90
|
-
cursor: default;
|
|
91
|
-
transition: transform var(--mw-duration-fast) var(--mw-ease-out);
|
|
92
|
-
margin-bottom: spacing('4');
|
|
93
|
-
}
|
|
57
|
+
margin: spacing('1') auto;
|
|
58
|
+
padding: spacing('5') 0;
|
|
59
|
+
width: min(100%, 900px);
|
|
94
60
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&-content {
|
|
108
|
-
width: 50%;
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: column;
|
|
111
|
-
opacity: 0;
|
|
112
|
-
animation-duration: var(--mw-duration-slower);
|
|
113
|
-
animation-fill-mode: forwards;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&-event {
|
|
117
|
-
margin-top: spacing('4');
|
|
118
|
-
padding: spacing('2') spacing('3');
|
|
119
|
-
background: var(--mw-card-background);
|
|
120
|
-
box-shadow: var(--mw-elevation-2);
|
|
121
|
-
border-radius: radius('sm');
|
|
122
|
-
cursor: default;
|
|
123
|
-
|
|
124
|
-
&-date {
|
|
125
|
-
display: block;
|
|
126
|
-
font-size: font-size('sm');
|
|
127
|
-
font-weight: font-weight('bold');
|
|
128
|
-
color: var(--mw-text-color);
|
|
129
|
-
margin-bottom: spacing('1');
|
|
130
|
-
text-transform: uppercase;
|
|
131
|
-
letter-spacing: 0.5px;
|
|
61
|
+
// Center vertical line
|
|
62
|
+
&::before {
|
|
63
|
+
content: '';
|
|
64
|
+
position: absolute;
|
|
65
|
+
left: 50%;
|
|
66
|
+
top: 0;
|
|
67
|
+
width: $_border-width-big;
|
|
68
|
+
height: 100%;
|
|
69
|
+
background: var(--mw-primary-text-color);
|
|
70
|
+
transform: translateX(-50%);
|
|
132
71
|
}
|
|
133
72
|
|
|
134
|
-
&-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
73
|
+
&-step {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
align-items: center;
|
|
77
|
+
margin: spacing('7') 0;
|
|
139
78
|
}
|
|
140
|
-
}
|
|
141
79
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
80
|
+
&-date-container {
|
|
81
|
+
position: relative;
|
|
82
|
+
z-index: z-index('card');
|
|
83
|
+
border: $_border-width-big solid var(--mw-primary-text-color);
|
|
84
|
+
background: var(--mw-card-background);
|
|
85
|
+
border-radius: radius('md');
|
|
86
|
+
padding: spacing('3') spacing('4');
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
gap: spacing('2');
|
|
91
|
+
cursor: default;
|
|
92
|
+
transition: transform var(--mw-duration-fast) var(--mw-ease-out);
|
|
93
|
+
margin-bottom: spacing('4');
|
|
155
94
|
}
|
|
156
|
-
}
|
|
157
95
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
text-align: left;
|
|
163
|
-
align-items: flex-start;
|
|
164
|
-
animation-name: mw-slide-in-right;
|
|
165
|
-
|
|
166
|
-
.mw-timeline-big-event {
|
|
167
|
-
border-left: 2px solid var(--mw-secondary-text-color);
|
|
168
|
-
border-top-left-radius: radius('none');
|
|
169
|
-
border-bottom-left-radius: radius('none');
|
|
170
|
-
text-align: left;
|
|
96
|
+
&-date-main {
|
|
97
|
+
font-size: font-size('sm');
|
|
98
|
+
color: var(--mw-text-color);
|
|
99
|
+
line-height: 1.2;
|
|
171
100
|
}
|
|
172
|
-
}
|
|
173
101
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
102
|
+
&-date-sub {
|
|
103
|
+
font-size: font-size('xs');
|
|
104
|
+
color: var(--mw-text-muted-color);
|
|
105
|
+
margin-left: spacing('2');
|
|
178
106
|
}
|
|
179
|
-
}
|
|
180
107
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
.mw-timeline-big-date-main,
|
|
190
|
-
.mw-timeline-big-date-sub {
|
|
191
|
-
color: var(--mw-primary-accent-text-color);
|
|
108
|
+
&-content {
|
|
109
|
+
width: 50%;
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
opacity: 0;
|
|
113
|
+
animation-duration: var(--mw-duration-slower);
|
|
114
|
+
animation-fill-mode: forwards;
|
|
192
115
|
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
@include media-down('sm') {
|
|
196
|
-
width: 100%;
|
|
197
116
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
117
|
+
&-event {
|
|
118
|
+
margin-top: spacing('4');
|
|
119
|
+
padding: spacing('2') spacing('3');
|
|
120
|
+
background: var(--mw-card-background);
|
|
121
|
+
box-shadow: var(--mw-elevation-2);
|
|
122
|
+
border-radius: radius('sm');
|
|
123
|
+
cursor: default;
|
|
124
|
+
|
|
125
|
+
&-date {
|
|
126
|
+
display: block;
|
|
127
|
+
font-size: font-size('sm');
|
|
128
|
+
font-weight: font-weight('bold');
|
|
129
|
+
color: var(--mw-text-color);
|
|
130
|
+
margin-bottom: spacing('1');
|
|
131
|
+
text-transform: uppercase;
|
|
132
|
+
letter-spacing: 0.5px;
|
|
133
|
+
}
|
|
203
134
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
135
|
+
&-title {
|
|
136
|
+
font-size: font-size('base');
|
|
137
|
+
font-weight: font-weight('normal');
|
|
138
|
+
line-height: 1.2;
|
|
139
|
+
color: var(--mw-text-color);
|
|
140
|
+
}
|
|
208
141
|
}
|
|
209
142
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
143
|
+
// Odd steps: content on the left
|
|
144
|
+
&-step:nth-child(odd) &-content {
|
|
145
|
+
align-self: flex-start;
|
|
146
|
+
padding-right: spacing('5');
|
|
147
|
+
text-align: right;
|
|
148
|
+
align-items: flex-end;
|
|
149
|
+
animation-name: mw-slide-in-left;
|
|
214
150
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
151
|
+
.mw-timeline-big-event {
|
|
152
|
+
border-right: 2px solid var(--mw-secondary-text-color);
|
|
153
|
+
border-top-right-radius: radius('none');
|
|
154
|
+
border-bottom-right-radius: radius('none');
|
|
155
|
+
text-align: right;
|
|
156
|
+
}
|
|
218
157
|
}
|
|
219
158
|
|
|
220
|
-
//
|
|
221
|
-
&-step:nth-child(odd) &-content,
|
|
159
|
+
// Even steps: content on the right
|
|
222
160
|
&-step:nth-child(even) &-content {
|
|
223
|
-
align-self:
|
|
224
|
-
|
|
225
|
-
padding-left: 0;
|
|
226
|
-
padding-right: 0;
|
|
161
|
+
align-self: flex-end;
|
|
162
|
+
padding-left: spacing('5');
|
|
227
163
|
text-align: left;
|
|
228
164
|
align-items: flex-start;
|
|
165
|
+
animation-name: mw-slide-in-right;
|
|
229
166
|
|
|
230
167
|
.mw-timeline-big-event {
|
|
231
|
-
border-right: none;
|
|
232
168
|
border-left: 2px solid var(--mw-secondary-text-color);
|
|
233
|
-
border-top-
|
|
234
|
-
border-bottom-
|
|
169
|
+
border-top-left-radius: radius('none');
|
|
170
|
+
border-bottom-left-radius: radius('none');
|
|
235
171
|
text-align: left;
|
|
236
172
|
}
|
|
237
173
|
}
|
|
238
174
|
|
|
239
|
-
|
|
240
|
-
|
|
175
|
+
// Staggered animation delays
|
|
176
|
+
@for $i from 1 through 10 {
|
|
177
|
+
&-step:nth-child(#{$i}) &-content {
|
|
178
|
+
animation-delay: $i * 0.3s;
|
|
179
|
+
}
|
|
241
180
|
}
|
|
242
181
|
|
|
243
|
-
|
|
244
|
-
|
|
182
|
+
// Active step
|
|
183
|
+
&-step.mw-active &-date-container,
|
|
184
|
+
&-step.active &-date-container {
|
|
185
|
+
background: var(--mw-primary-color);
|
|
186
|
+
border-color: var(--mw-primary-text-color);
|
|
187
|
+
transform: scale(1.1);
|
|
188
|
+
animation: mw-pulse-ring-big 2s infinite;
|
|
189
|
+
|
|
190
|
+
.mw-timeline-big-date-main,
|
|
191
|
+
.mw-timeline-big-date-sub {
|
|
192
|
+
color: var(--mw-primary-accent-text-color);
|
|
193
|
+
}
|
|
245
194
|
}
|
|
246
195
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
line-height: 1.1;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
196
|
+
@include media-down('sm') {
|
|
197
|
+
width: 100%;
|
|
253
198
|
|
|
254
|
-
//
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
width: min(96%, 930px);
|
|
260
|
-
|
|
261
|
-
// Vertical line centered over the date column
|
|
262
|
-
&::before {
|
|
263
|
-
content: '';
|
|
264
|
-
position: absolute;
|
|
265
|
-
left: calc(#{$_simple-date-width} / 2);
|
|
266
|
-
top: 0;
|
|
267
|
-
width: $_border-width-simple;
|
|
268
|
-
height: 100%;
|
|
269
|
-
background: var(--mw-primary-text-color);
|
|
270
|
-
transform: translateX(-50%);
|
|
271
|
-
}
|
|
199
|
+
// Line moves to the left
|
|
200
|
+
&::before {
|
|
201
|
+
left: 0;
|
|
202
|
+
transform: none;
|
|
203
|
+
}
|
|
272
204
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}
|
|
205
|
+
&-step {
|
|
206
|
+
align-items: flex-start;
|
|
207
|
+
padding-left: spacing('5');
|
|
208
|
+
margin: spacing('5') 0;
|
|
209
|
+
}
|
|
279
210
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
font-size: font-size('sm');
|
|
285
|
-
padding: spacing('2');
|
|
286
|
-
border-radius: radius('md');
|
|
287
|
-
border: $_border-width-simple solid var(--mw-primary-text-color);
|
|
288
|
-
background: var(--mw-card-background);
|
|
289
|
-
line-height: 1.1;
|
|
290
|
-
position: relative;
|
|
291
|
-
z-index: z-index('card');
|
|
292
|
-
cursor: default;
|
|
293
|
-
transition: transform var(--mw-duration-fast) var(--mw-ease-out);
|
|
294
|
-
}
|
|
211
|
+
&-date-container {
|
|
212
|
+
margin-top: spacing('3');
|
|
213
|
+
left: -22px;
|
|
214
|
+
}
|
|
295
215
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
gap: spacing('3');
|
|
301
|
-
opacity: 0;
|
|
302
|
-
}
|
|
216
|
+
&-step.mw-active &-date-container,
|
|
217
|
+
&-step.active &-date-container {
|
|
218
|
+
transform: scale(1.05);
|
|
219
|
+
}
|
|
303
220
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
221
|
+
// Override odd/even: content always full-width below the date
|
|
222
|
+
&-step:nth-child(odd) &-content,
|
|
223
|
+
&-step:nth-child(even) &-content {
|
|
224
|
+
align-self: stretch;
|
|
225
|
+
width: 100%;
|
|
226
|
+
padding-left: 0;
|
|
227
|
+
padding-right: 0;
|
|
228
|
+
text-align: left;
|
|
229
|
+
align-items: flex-start;
|
|
230
|
+
|
|
231
|
+
.mw-timeline-big-event {
|
|
232
|
+
border-right: none;
|
|
233
|
+
border-left: 2px solid var(--mw-secondary-text-color);
|
|
234
|
+
border-top-right-radius: radius('sm');
|
|
235
|
+
border-bottom-right-radius: radius('sm');
|
|
236
|
+
text-align: left;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
314
239
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
240
|
+
&-date-main {
|
|
241
|
+
font-size: font-size('xs');
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&-event-date {
|
|
245
|
+
font-size: font-size('xs');
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&-event-title {
|
|
249
|
+
font-size: font-size('sm');
|
|
250
|
+
line-height: 1.1;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
322
253
|
}
|
|
323
254
|
|
|
324
|
-
|
|
325
|
-
|
|
255
|
+
// Simple
|
|
256
|
+
.mw-timeline-simple {
|
|
257
|
+
position: relative;
|
|
258
|
+
margin: spacing('1') auto;
|
|
259
|
+
padding: spacing('3') 0;
|
|
260
|
+
width: min(96%, 930px);
|
|
326
261
|
|
|
262
|
+
// Vertical line centered over the date column
|
|
327
263
|
&::before {
|
|
328
|
-
|
|
329
|
-
|
|
264
|
+
content: '';
|
|
265
|
+
position: absolute;
|
|
266
|
+
left: calc(#{$_simple-date-width} / 2);
|
|
267
|
+
top: 0;
|
|
268
|
+
width: $_border-width-simple;
|
|
269
|
+
height: 100%;
|
|
270
|
+
background: var(--mw-primary-text-color);
|
|
271
|
+
transform: translateX(-50%);
|
|
330
272
|
}
|
|
331
273
|
|
|
332
274
|
&-step {
|
|
333
|
-
|
|
275
|
+
display: flex;
|
|
276
|
+
align-items: flex-start;
|
|
277
|
+
gap: spacing('4');
|
|
278
|
+
margin: spacing('5') 0;
|
|
334
279
|
}
|
|
335
280
|
|
|
336
281
|
&-date {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
282
|
+
flex-shrink: 0;
|
|
283
|
+
width: $_simple-date-width;
|
|
284
|
+
text-align: center;
|
|
285
|
+
font-size: font-size('sm');
|
|
286
|
+
padding: spacing('2');
|
|
287
|
+
border-radius: radius('md');
|
|
288
|
+
border: $_border-width-simple solid var(--mw-primary-text-color);
|
|
289
|
+
background: var(--mw-card-background);
|
|
290
|
+
line-height: 1.1;
|
|
291
|
+
position: relative;
|
|
292
|
+
z-index: z-index('card');
|
|
293
|
+
cursor: default;
|
|
294
|
+
transition: transform var(--mw-duration-fast) var(--mw-ease-out);
|
|
340
295
|
}
|
|
341
296
|
|
|
342
297
|
&-content {
|
|
343
|
-
|
|
298
|
+
flex: 1;
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-direction: column;
|
|
301
|
+
gap: spacing('3');
|
|
302
|
+
opacity: 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Staggered animation
|
|
306
|
+
@for $i from 1 through 10 {
|
|
307
|
+
&-step:nth-child(#{$i}) &-content {
|
|
308
|
+
animation: mw-slide-in-right
|
|
309
|
+
var(--mw-duration-slow)
|
|
310
|
+
var(--mw-ease-out)
|
|
311
|
+
forwards;
|
|
312
|
+
animation-delay: $i * 0.2s;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
// Active step
|
|
317
|
+
&-step.mw-active &-date,
|
|
318
|
+
&-step.active &-date {
|
|
319
|
+
background: var(--mw-primary-color);
|
|
320
|
+
color: var(--mw-primary-accent-text-color);
|
|
321
|
+
transform: scale(1.1);
|
|
322
|
+
animation: mw-pulse-ring-simple 2s infinite;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@include media-down('sm') {
|
|
326
|
+
width: 100%;
|
|
327
|
+
|
|
328
|
+
&::before {
|
|
329
|
+
left: 0;
|
|
330
|
+
transform: none;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&-step {
|
|
334
|
+
flex-direction: column;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
&-date {
|
|
338
|
+
width: auto;
|
|
339
|
+
font-size: font-size('xs');
|
|
340
|
+
line-height: 1;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&-content {
|
|
344
|
+
padding-left: spacing('3');
|
|
345
|
+
}
|
|
344
346
|
}
|
|
345
347
|
}
|
|
346
348
|
}
|