maverick-wave 3.0.1 → 3.1.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/.claude/settings.local.json +4 -1
- package/CHANGELOG.md +6 -0
- package/index.html +54 -52
- package/maverick-wave.min.css +1 -1
- package/package.json +2 -2
- package/src/partials/divider-container.html +48 -34
- package/src/partials/form-elements-container.html +0 -82
- package/src/partials/home-container.html +1 -1
- package/src/partials/item-lists-container.html +38 -38
- package/src/partials/modals-container.html +176 -54
- package/src/partials/panels-container.html +10 -35
- package/src/scss/abstracts/_variables.scss +19 -17
- package/src/scss/components/_accordions.scss +1 -1
- package/src/scss/components/_alerts.scss +2 -4
- package/src/scss/components/_avatars.scss +1 -1
- package/src/scss/components/_blog-post.scss +5 -5
- package/src/scss/components/_breadcrumbs.scss +2 -2
- package/src/scss/components/_buttons.scss +2 -2
- package/src/scss/components/_cards.scss +12 -16
- package/src/scss/components/_coming-soon.scss +4 -4
- package/src/scss/components/_content-slider.scss +2 -4
- package/src/scss/components/_divider.scss +4 -1
- package/src/scss/components/_empty-state.scss +9 -9
- package/src/scss/components/_gallery.scss +14 -13
- package/src/scss/components/_info.scss +6 -6
- package/src/scss/components/_lists.scss +29 -26
- package/src/scss/components/_meta-info.scss +1 -1
- package/src/scss/components/_modals.scss +4 -6
- package/src/scss/components/_pagination.scss +3 -2
- package/src/scss/components/_panels.scss +13 -7
- package/src/scss/components/_progress.scss +5 -4
- package/src/scss/components/_ratings.scss +2 -2
- package/src/scss/components/_skeleton.scss +6 -6
- package/src/scss/components/_spinners.scss +8 -8
- package/src/scss/components/_stepper.scss +6 -5
- package/src/scss/components/_tables.scss +4 -2
- package/src/scss/components/_tabs.scss +7 -6
- package/src/scss/components/_tags.scss +10 -3
- package/src/scss/components/_techstack-bucket.scss +12 -11
- package/src/scss/components/_theme-toggle.scss +4 -3
- package/src/scss/components/_tiles.scss +5 -5
- package/src/scss/components/_timelines.scss +130 -133
- package/src/scss/form-elements/_checkbox.scss +2 -19
- package/src/scss/form-elements/_input-group.scss +2 -2
- package/src/scss/form-elements/_input.scss +1 -5
- package/src/scss/form-elements/_login.scss +1 -1
- package/src/scss/form-elements/_radio.scss +2 -12
- package/src/scss/form-elements/_select.scss +3 -8
- package/src/scss/form-elements/_slider.scss +1 -18
- package/src/scss/form-elements/_textarea.scss +2 -7
- package/src/scss/form-elements/_toggle.scss +5 -5
- package/src/scss/layout/_footer.scss +8 -7
- package/src/scss/layout/_grid.scss +1 -3
- package/src/scss/layout/_header.scss +53 -141
- package/src/scss/layout/_home.scss +2 -2
- package/src/scss/layout/_section.scss +36 -2
- package/src/scss/utilities/_display.scss +4 -0
- package/src/scss/utilities/_flex.scss +8 -0
- package/src/scss/utilities/_spacing.scss +7 -5
|
@@ -4,133 +4,255 @@
|
|
|
4
4
|
toggling.
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
<!--
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<!-- Size Triggers -->
|
|
8
|
+
<h4 class="mw-mb-3">Modal Sizes</h4>
|
|
9
|
+
<div class="mw-grid-4 mw-mb-8">
|
|
10
|
+
<button onclick="openModal('modal-sm')" class="mw-btn mw-btn-outline">
|
|
11
|
+
Small Modal
|
|
11
12
|
</button>
|
|
12
|
-
<button onclick="openModal('modal-
|
|
13
|
-
|
|
13
|
+
<button onclick="openModal('modal-default')" class="mw-btn mw-btn-outline">
|
|
14
|
+
Default Modal
|
|
15
|
+
</button>
|
|
16
|
+
<button onclick="openModal('modal-lg')" class="mw-btn mw-btn-outline">
|
|
17
|
+
Large Modal
|
|
18
|
+
</button>
|
|
19
|
+
<button onclick="openModal('modal-xl')" class="mw-btn mw-btn-outline">
|
|
20
|
+
XL Modal
|
|
14
21
|
</button>
|
|
15
|
-
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<!-- Example Triggers -->
|
|
25
|
+
<h4 class="mw-mb-3">Examples</h4>
|
|
26
|
+
<div class="mw-grid-2 mw-mb-8">
|
|
27
|
+
<button onclick="openModal('modal-form')" class="mw-btn mw-btn-primary">
|
|
16
28
|
Open Form Modal
|
|
17
29
|
</button>
|
|
30
|
+
<button onclick="openModal('modal-confirm')" class="mw-btn mw-btn-secondary">
|
|
31
|
+
Open Confirmation
|
|
32
|
+
</button>
|
|
18
33
|
</div>
|
|
19
34
|
|
|
20
|
-
<!--
|
|
21
|
-
<div id="modal-
|
|
22
|
-
<div class="mw-modal">
|
|
35
|
+
<!-- Small Modal -->
|
|
36
|
+
<div id="modal-sm" class="mw-modal-overlay">
|
|
37
|
+
<div class="mw-modal mw-modal-sm">
|
|
23
38
|
<div class="mw-modal-header">
|
|
24
|
-
<h4 class="mw-modal-title">
|
|
25
|
-
<button onclick="closeModal('modal-
|
|
39
|
+
<h4 class="mw-modal-title">Small Modal</h4>
|
|
40
|
+
<button onclick="closeModal('modal-sm')" class="mw-modal-close">
|
|
26
41
|
𝗫
|
|
27
42
|
</button>
|
|
28
43
|
</div>
|
|
29
44
|
<div class="mw-modal-body">
|
|
30
|
-
<p
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
from Angular components.
|
|
45
|
+
<p class="mw-text-muted">
|
|
46
|
+
Max-width <strong>370px</strong>. Good for short confirmations or
|
|
47
|
+
alerts.
|
|
34
48
|
</p>
|
|
35
49
|
</div>
|
|
36
50
|
<div class="mw-modal-footer">
|
|
37
|
-
<button onclick="closeModal('modal-
|
|
38
|
-
|
|
39
|
-
</button>
|
|
40
|
-
<button onclick="closeModal('modal-basic')" class="mw-btn mw-btn-primary">
|
|
41
|
-
Confirm
|
|
51
|
+
<button onclick="closeModal('modal-sm')" class="mw-btn mw-btn-outline">
|
|
52
|
+
Close
|
|
42
53
|
</button>
|
|
43
54
|
</div>
|
|
44
55
|
</div>
|
|
45
|
-
|
|
46
|
-
<div class="mw-modal-backdrop" onclick="closeModal('modal-basic')"></div>
|
|
56
|
+
<div class="mw-modal-backdrop" onclick="closeModal('modal-sm')"></div>
|
|
47
57
|
</div>
|
|
48
58
|
|
|
49
|
-
<!--
|
|
50
|
-
<div id="modal-
|
|
51
|
-
<div class="mw-modal
|
|
59
|
+
<!-- Default Modal -->
|
|
60
|
+
<div id="modal-default" class="mw-modal-overlay">
|
|
61
|
+
<div class="mw-modal">
|
|
52
62
|
<div class="mw-modal-header">
|
|
53
|
-
<
|
|
54
|
-
<button onclick="closeModal('modal-
|
|
63
|
+
<h4 class="mw-modal-title">Default Modal</h4>
|
|
64
|
+
<button onclick="closeModal('modal-default')" class="mw-modal-close">
|
|
55
65
|
𝗫
|
|
56
66
|
</button>
|
|
57
67
|
</div>
|
|
58
68
|
<div class="mw-modal-body">
|
|
59
|
-
<p class="mw-text-
|
|
60
|
-
<strong>
|
|
69
|
+
<p class="mw-text-muted">
|
|
70
|
+
Max-width <strong>550px</strong>. The default size — fits most use
|
|
71
|
+
cases.
|
|
61
72
|
</p>
|
|
62
|
-
<p class="mw-text-center mw-text-muted">This action cannot be undone.</p>
|
|
63
73
|
</div>
|
|
64
74
|
<div class="mw-modal-footer">
|
|
65
75
|
<button
|
|
66
|
-
onclick="closeModal('modal-
|
|
76
|
+
onclick="closeModal('modal-default')"
|
|
67
77
|
class="mw-btn mw-btn-outline"
|
|
68
78
|
>
|
|
69
79
|
Cancel
|
|
70
80
|
</button>
|
|
71
81
|
<button
|
|
72
|
-
onclick="closeModal('modal-
|
|
73
|
-
class="mw-btn mw-btn-
|
|
82
|
+
onclick="closeModal('modal-default')"
|
|
83
|
+
class="mw-btn mw-btn-primary"
|
|
74
84
|
>
|
|
75
|
-
|
|
85
|
+
Confirm
|
|
76
86
|
</button>
|
|
77
87
|
</div>
|
|
78
88
|
</div>
|
|
79
|
-
<div class="mw-modal-backdrop" onclick="closeModal('modal-
|
|
89
|
+
<div class="mw-modal-backdrop" onclick="closeModal('modal-default')"></div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<!-- Large Modal -->
|
|
93
|
+
<div id="modal-lg" class="mw-modal-overlay">
|
|
94
|
+
<div class="mw-modal mw-modal-lg">
|
|
95
|
+
<div class="mw-modal-header">
|
|
96
|
+
<h4 class="mw-modal-title">Large Modal</h4>
|
|
97
|
+
<button onclick="closeModal('modal-lg')" class="mw-modal-close">
|
|
98
|
+
𝗫
|
|
99
|
+
</button>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="mw-modal-body">
|
|
102
|
+
<p class="mw-text-muted">
|
|
103
|
+
Max-width <strong>680px</strong>. More room for richer content or forms.
|
|
104
|
+
</p>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="mw-modal-footer">
|
|
107
|
+
<button onclick="closeModal('modal-lg')" class="mw-btn mw-btn-outline">
|
|
108
|
+
Cancel
|
|
109
|
+
</button>
|
|
110
|
+
<button onclick="closeModal('modal-lg')" class="mw-btn mw-btn-primary">
|
|
111
|
+
Confirm
|
|
112
|
+
</button>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="mw-modal-backdrop" onclick="closeModal('modal-lg')"></div>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<!-- XL Modal -->
|
|
119
|
+
<div id="modal-xl" class="mw-modal-overlay">
|
|
120
|
+
<div class="mw-modal mw-modal-xl">
|
|
121
|
+
<div class="mw-modal-header">
|
|
122
|
+
<h4 class="mw-modal-title">XL Modal</h4>
|
|
123
|
+
<button onclick="closeModal('modal-xl')" class="mw-modal-close">
|
|
124
|
+
𝗫
|
|
125
|
+
</button>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="mw-modal-body">
|
|
128
|
+
<p class="mw-text-muted">
|
|
129
|
+
Max-width <strong>900px</strong>. Use for detail views, data tables, or
|
|
130
|
+
complex layouts.
|
|
131
|
+
</p>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="mw-modal-footer">
|
|
134
|
+
<button onclick="closeModal('modal-xl')" class="mw-btn mw-btn-outline">
|
|
135
|
+
Cancel
|
|
136
|
+
</button>
|
|
137
|
+
<button onclick="closeModal('modal-xl')" class="mw-btn mw-btn-primary">
|
|
138
|
+
Confirm
|
|
139
|
+
</button>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="mw-modal-backdrop" onclick="closeModal('modal-xl')"></div>
|
|
80
143
|
</div>
|
|
81
144
|
|
|
82
145
|
<!-- Form Modal -->
|
|
83
146
|
<div id="modal-form" class="mw-modal-overlay">
|
|
84
147
|
<div class="mw-modal mw-modal-lg">
|
|
85
148
|
<div class="mw-modal-header">
|
|
86
|
-
<
|
|
149
|
+
<h4 class="mw-modal-title">New Contact</h4>
|
|
87
150
|
<button onclick="closeModal('modal-form')" class="mw-modal-close">
|
|
88
151
|
𝗫
|
|
89
152
|
</button>
|
|
90
153
|
</div>
|
|
91
154
|
<div class="mw-modal-body">
|
|
92
|
-
<div class="mw-mb-
|
|
93
|
-
<label for="modal-
|
|
94
|
-
<span>Name</span>
|
|
155
|
+
<div class="mw-grid-2 mw-mb-3">
|
|
156
|
+
<label for="modal-firstname">
|
|
157
|
+
<span>First Name</span>
|
|
158
|
+
<input
|
|
159
|
+
id="modal-firstname"
|
|
160
|
+
type="text"
|
|
161
|
+
class="mw-input"
|
|
162
|
+
placeholder="Jane"
|
|
163
|
+
/>
|
|
164
|
+
</label>
|
|
165
|
+
<label for="modal-lastname">
|
|
166
|
+
<span>Last Name</span>
|
|
95
167
|
<input
|
|
96
|
-
id="modal-
|
|
168
|
+
id="modal-lastname"
|
|
97
169
|
type="text"
|
|
98
|
-
class="mw-input
|
|
99
|
-
placeholder="
|
|
170
|
+
class="mw-input"
|
|
171
|
+
placeholder="Doe"
|
|
100
172
|
/>
|
|
101
173
|
</label>
|
|
102
174
|
</div>
|
|
103
|
-
<div class="mw-mb-
|
|
175
|
+
<div class="mw-mb-3">
|
|
104
176
|
<label for="modal-email">
|
|
105
177
|
<span>Email</span>
|
|
106
178
|
<input
|
|
107
179
|
id="modal-email"
|
|
108
180
|
type="email"
|
|
109
|
-
class="mw-input
|
|
110
|
-
placeholder="
|
|
181
|
+
class="mw-input"
|
|
182
|
+
placeholder="jane@example.com"
|
|
111
183
|
/>
|
|
112
184
|
</label>
|
|
113
185
|
</div>
|
|
114
|
-
<div class="mw-mb-
|
|
115
|
-
<label for="modal-
|
|
116
|
-
<span>
|
|
186
|
+
<div class="mw-mb-3">
|
|
187
|
+
<label for="modal-role">
|
|
188
|
+
<span>Role</span>
|
|
189
|
+
<select id="modal-role" class="mw-select">
|
|
190
|
+
<option value="" disabled selected>Select a role</option>
|
|
191
|
+
<option>Developer</option>
|
|
192
|
+
<option>Designer</option>
|
|
193
|
+
<option>Product Manager</option>
|
|
194
|
+
<option>Other</option>
|
|
195
|
+
</select>
|
|
196
|
+
</label>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="mw-mb-3">
|
|
199
|
+
<label for="modal-notes">
|
|
200
|
+
<span>Notes</span>
|
|
117
201
|
<textarea
|
|
118
|
-
id="modal-
|
|
119
|
-
rows="
|
|
120
|
-
class="mw-textarea
|
|
121
|
-
placeholder="
|
|
202
|
+
id="modal-notes"
|
|
203
|
+
rows="3"
|
|
204
|
+
class="mw-textarea"
|
|
205
|
+
placeholder="Optional notes..."
|
|
122
206
|
></textarea>
|
|
123
207
|
</label>
|
|
124
208
|
</div>
|
|
209
|
+
<label class="mw-toggle">
|
|
210
|
+
<input type="checkbox" />
|
|
211
|
+
<div class="mw-toggle-track"></div>
|
|
212
|
+
<span class="mw-toggle-label">Send welcome email</span>
|
|
213
|
+
</label>
|
|
125
214
|
</div>
|
|
126
215
|
<div class="mw-modal-footer">
|
|
127
216
|
<button onclick="closeModal('modal-form')" class="mw-btn mw-btn-outline">
|
|
128
217
|
Cancel
|
|
129
218
|
</button>
|
|
130
219
|
<button onclick="closeModal('modal-form')" class="mw-btn mw-btn-primary">
|
|
131
|
-
|
|
220
|
+
Save Contact
|
|
132
221
|
</button>
|
|
133
222
|
</div>
|
|
134
223
|
</div>
|
|
135
224
|
<div class="mw-modal-backdrop" onclick="closeModal('modal-form')"></div>
|
|
136
225
|
</div>
|
|
226
|
+
|
|
227
|
+
<!-- Confirmation Modal -->
|
|
228
|
+
<div id="modal-confirm" class="mw-modal-overlay">
|
|
229
|
+
<div class="mw-modal mw-modal-sm">
|
|
230
|
+
<div class="mw-modal-header">
|
|
231
|
+
<h4 class="mw-modal-title">Delete Item</h4>
|
|
232
|
+
<button onclick="closeModal('modal-confirm')" class="mw-modal-close">
|
|
233
|
+
𝗫
|
|
234
|
+
</button>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="mw-modal-body">
|
|
237
|
+
<p class="mw-text-center">
|
|
238
|
+
<strong>Are you sure you want to delete this item?</strong>
|
|
239
|
+
</p>
|
|
240
|
+
<p class="mw-text-center mw-text-muted">This action cannot be undone.</p>
|
|
241
|
+
</div>
|
|
242
|
+
<div class="mw-modal-footer">
|
|
243
|
+
<button
|
|
244
|
+
onclick="closeModal('modal-confirm')"
|
|
245
|
+
class="mw-btn mw-btn-outline"
|
|
246
|
+
>
|
|
247
|
+
Cancel
|
|
248
|
+
</button>
|
|
249
|
+
<button
|
|
250
|
+
onclick="closeModal('modal-confirm')"
|
|
251
|
+
class="mw-btn mw-btn-secondary"
|
|
252
|
+
>
|
|
253
|
+
Delete
|
|
254
|
+
</button>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="mw-modal-backdrop" onclick="closeModal('modal-confirm')"></div>
|
|
258
|
+
</div>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
<div class="mw-grid-
|
|
19
|
+
<div class="mw-grid-3-lg">
|
|
20
20
|
<div class="mw-panel mw-panel-primary">
|
|
21
21
|
<h4 class="mw-panel-header">Primary Panel</h4>
|
|
22
22
|
<div class="mw-panel-body">
|
|
@@ -26,12 +26,8 @@
|
|
|
26
26
|
</p>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="mw-panel-footer">
|
|
29
|
-
<button type="button" class="mw-btn mw-btn-outline
|
|
30
|
-
|
|
31
|
-
</button>
|
|
32
|
-
<button type="button" class="mw-btn mw-btn-primary mw-btn-sm">
|
|
33
|
-
Save
|
|
34
|
-
</button>
|
|
29
|
+
<button type="button" class="mw-btn mw-btn-outline">Cancel</button>
|
|
30
|
+
<button type="button" class="mw-btn mw-btn-primary">Save</button>
|
|
35
31
|
</div>
|
|
36
32
|
</div>
|
|
37
33
|
|
|
@@ -43,14 +39,6 @@
|
|
|
43
39
|
type of content, including forms, tables, or other components.
|
|
44
40
|
</p>
|
|
45
41
|
</div>
|
|
46
|
-
<div class="mw-panel-footer">
|
|
47
|
-
<button type="button" class="mw-btn mw-btn-outline mw-btn-sm">
|
|
48
|
-
Cancel
|
|
49
|
-
</button>
|
|
50
|
-
<button type="button" class="mw-btn mw-btn-secondary mw-btn-sm">
|
|
51
|
-
Submit
|
|
52
|
-
</button>
|
|
53
|
-
</div>
|
|
54
42
|
</div>
|
|
55
43
|
|
|
56
44
|
<div class="mw-panel mw-panel-scrollable">
|
|
@@ -99,15 +87,13 @@
|
|
|
99
87
|
</p>
|
|
100
88
|
</div>
|
|
101
89
|
<div class="mw-panel-footer">
|
|
102
|
-
<button type="button" class="mw-btn mw-btn-outline
|
|
103
|
-
|
|
104
|
-
</button>
|
|
105
|
-
<button type="button" class="mw-btn mw-btn-primary mw-btn-sm">
|
|
106
|
-
Save
|
|
107
|
-
</button>
|
|
90
|
+
<button type="button" class="mw-btn mw-btn-outline">Cancel</button>
|
|
91
|
+
<button type="button" class="mw-btn mw-btn-primary">Save</button>
|
|
108
92
|
</div>
|
|
109
93
|
</div>
|
|
94
|
+
</div>
|
|
110
95
|
|
|
96
|
+
<div class="mw-grid-2 mw-my-6">
|
|
111
97
|
<div class="mw-panel mw-panel-primary mw-panel-max-height-md">
|
|
112
98
|
<h4 class="mw-panel-header">Medium Height Panel</h4>
|
|
113
99
|
<div class="mw-panel-body">
|
|
@@ -145,17 +131,10 @@
|
|
|
145
131
|
</p>
|
|
146
132
|
</div>
|
|
147
133
|
<div class="mw-panel-footer">
|
|
148
|
-
<button type="button" class="mw-btn mw-btn-
|
|
149
|
-
Cancel
|
|
150
|
-
</button>
|
|
151
|
-
<button type="button" class="mw-btn mw-btn-primary mw-btn-sm">
|
|
152
|
-
Save
|
|
153
|
-
</button>
|
|
134
|
+
<button type="button" class="mw-btn mw-btn-primary">OK</button>
|
|
154
135
|
</div>
|
|
155
136
|
</div>
|
|
156
|
-
</div>
|
|
157
137
|
|
|
158
|
-
<div class="mw-grid-1 mw-my-6">
|
|
159
138
|
<div class="mw-panel mw-panel-secondary mw-panel-max-height-sm">
|
|
160
139
|
<h4 class="mw-panel-header">Small Height Panel</h4>
|
|
161
140
|
<div class="mw-panel-body">
|
|
@@ -185,12 +164,8 @@
|
|
|
185
164
|
</p>
|
|
186
165
|
</div>
|
|
187
166
|
<div class="mw-panel-footer">
|
|
188
|
-
<button type="button" class="mw-btn mw-btn-outline
|
|
189
|
-
|
|
190
|
-
</button>
|
|
191
|
-
<button type="button" class="mw-btn mw-btn-secondary mw-btn-sm">
|
|
192
|
-
Submit
|
|
193
|
-
</button>
|
|
167
|
+
<button type="button" class="mw-btn mw-btn-outline">Cancel</button>
|
|
168
|
+
<button type="button" class="mw-btn mw-btn-secondary">Submit</button>
|
|
194
169
|
</div>
|
|
195
170
|
</div>
|
|
196
171
|
</div>
|
|
@@ -147,7 +147,7 @@ $font-sizes: (
|
|
|
147
147
|
'3xl': 2.2rem,
|
|
148
148
|
'4xl': 2.5rem,
|
|
149
149
|
'5xl': 3rem,
|
|
150
|
-
'6xl': 4.
|
|
150
|
+
'6xl': 4.3rem,
|
|
151
151
|
);
|
|
152
152
|
$font-weights: (
|
|
153
153
|
'bold': 700,
|
|
@@ -158,25 +158,27 @@ $font-weights: (
|
|
|
158
158
|
|
|
159
159
|
// Spacing
|
|
160
160
|
$spacing: (
|
|
161
|
-
'-6': -
|
|
162
|
-
'-5': -1.
|
|
163
|
-
'-4': -
|
|
164
|
-
'-3': -0.
|
|
165
|
-
'-2': -0.
|
|
161
|
+
'-6': -1.75rem,
|
|
162
|
+
'-5': -1.25rem,
|
|
163
|
+
'-4': -0.75rem,
|
|
164
|
+
'-3': -0.5rem,
|
|
165
|
+
'-2': -0.35rem,
|
|
166
166
|
'-1': -0.2rem,
|
|
167
167
|
'0': 0,
|
|
168
168
|
'1': 0.2rem,
|
|
169
|
-
'2': 0.
|
|
170
|
-
'3': 0.
|
|
171
|
-
'4':
|
|
172
|
-
'5':
|
|
173
|
-
'6':
|
|
174
|
-
'7':
|
|
175
|
-
'8':
|
|
176
|
-
'9':
|
|
177
|
-
'10':
|
|
178
|
-
'11':
|
|
179
|
-
'12':
|
|
169
|
+
'2': 0.35rem,
|
|
170
|
+
'3': 0.5rem,
|
|
171
|
+
'4': 0.75rem,
|
|
172
|
+
'5': 1rem,
|
|
173
|
+
'6': 1.35rem,
|
|
174
|
+
'7': 1.75rem,
|
|
175
|
+
'8': 2rem,
|
|
176
|
+
'9': 2.5rem,
|
|
177
|
+
'10': 3.2rem,
|
|
178
|
+
'11': 4rem,
|
|
179
|
+
'12': 5.4rem,
|
|
180
|
+
'13': 7rem,
|
|
181
|
+
'14': 9rem,
|
|
180
182
|
);
|
|
181
183
|
|
|
182
184
|
// Breakpoints
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
.mw-alert {
|
|
4
4
|
position: relative;
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
|
|
7
6
|
display: flex;
|
|
8
7
|
align-items: flex-start;
|
|
9
|
-
|
|
10
|
-
padding: spacing('3') spacing('4');
|
|
8
|
+
padding: spacing('4') spacing('5');
|
|
11
9
|
margin-bottom: spacing('4');
|
|
12
10
|
border-radius: radius('md');
|
|
13
11
|
|
|
@@ -24,7 +22,7 @@
|
|
|
24
22
|
|
|
25
23
|
&-icon {
|
|
26
24
|
flex-shrink: 0;
|
|
27
|
-
margin-right: spacing('
|
|
25
|
+
margin-right: spacing('4');
|
|
28
26
|
font-size: font-size('xl');
|
|
29
27
|
line-height: 1.2;
|
|
30
28
|
margin-top: spacing('1');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
2
|
|
|
3
3
|
.mw-blog-post {
|
|
4
|
-
margin: spacing('
|
|
5
|
-
padding: spacing('3') spacing('
|
|
4
|
+
margin: spacing('2');
|
|
5
|
+
padding: spacing('3') spacing('7');
|
|
6
6
|
animation: pageReveal 1.6s ease-out forwards;
|
|
7
7
|
border-radius: radius('sm') radius('2xl') radius('sm') radius('2xl');
|
|
8
8
|
box-shadow:
|
|
@@ -209,10 +209,10 @@
|
|
|
209
209
|
list-style: disc;
|
|
210
210
|
ul {
|
|
211
211
|
list-style: circle;
|
|
212
|
-
margin: spacing('
|
|
212
|
+
margin: spacing('2') spacing('2') spacing('3') spacing('4');
|
|
213
213
|
ul {
|
|
214
214
|
list-style: square;
|
|
215
|
-
margin: spacing('
|
|
215
|
+
margin: spacing('2') spacing('2') spacing('3') spacing('4');
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
}
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
// Footer section
|
|
238
238
|
&-footer {
|
|
239
239
|
margin-top: spacing('6');
|
|
240
|
-
padding-top: spacing('
|
|
240
|
+
padding-top: spacing('4');
|
|
241
241
|
border-top: 1px solid var(--mw-secondary-color);
|
|
242
242
|
display: flex;
|
|
243
243
|
justify-content: space-between;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
text-decoration: none;
|
|
41
41
|
font-size: font-size('md');
|
|
42
42
|
border: 2px solid var(--mw-border);
|
|
43
|
-
height: spacing('
|
|
44
|
-
padding: spacing('
|
|
43
|
+
height: spacing('8');
|
|
44
|
+
padding: spacing('2') spacing('5');
|
|
45
45
|
border-radius: 0;
|
|
46
46
|
transform: skew(-30deg);
|
|
47
47
|
position: relative;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
gap: spacing('
|
|
9
|
-
padding: spacing('
|
|
8
|
+
gap: spacing('3');
|
|
9
|
+
padding: spacing('3') spacing('4');
|
|
10
10
|
border: 1px solid transparent;
|
|
11
11
|
border-radius: radius('sm');
|
|
12
12
|
font-weight: font-weight('medium');
|
|
@@ -12,7 +12,7 @@ $_mw-card-addon-colors: (
|
|
|
12
12
|
.mw-card {
|
|
13
13
|
background: var(--mw-card-background);
|
|
14
14
|
border-radius: radius('sm') radius('xl') radius('sm') radius('xl');
|
|
15
|
-
padding: spacing('
|
|
15
|
+
padding: spacing('5') spacing('0') spacing('3') spacing('0');
|
|
16
16
|
box-shadow: 0 5px 10px var(--mw-shadow);
|
|
17
17
|
transition: var(--mw-transition);
|
|
18
18
|
border: 1px solid var(--mw-border);
|
|
@@ -22,7 +22,7 @@ $_mw-card-addon-colors: (
|
|
|
22
22
|
z-index: z-index('card');
|
|
23
23
|
|
|
24
24
|
&-simple {
|
|
25
|
-
padding: spacing('
|
|
25
|
+
padding: spacing('5');
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:hover {
|
|
@@ -34,7 +34,7 @@ $_mw-card-addon-colors: (
|
|
|
34
34
|
&-badge {
|
|
35
35
|
position: absolute;
|
|
36
36
|
top: spacing('2');
|
|
37
|
-
right: spacing('
|
|
37
|
+
right: spacing('4');
|
|
38
38
|
padding: spacing('1') spacing('4');
|
|
39
39
|
font-size: font-size('xs');
|
|
40
40
|
color: var(--mw-primary-text-color);
|
|
@@ -56,14 +56,13 @@ $_mw-card-addon-colors: (
|
|
|
56
56
|
font-size: font-size('xs');
|
|
57
57
|
color: var(--mw-primary-text-color);
|
|
58
58
|
background: var(--mw-primary-color);
|
|
59
|
-
border-radius: radius('xs');
|
|
60
59
|
white-space: nowrap;
|
|
61
60
|
width: 220px;
|
|
62
61
|
z-index: z-index('card') + 5;
|
|
63
62
|
pointer-events: none;
|
|
64
63
|
transform: rotate(25deg);
|
|
65
64
|
text-align: center;
|
|
66
|
-
opacity: 0.
|
|
65
|
+
opacity: 0.8;
|
|
67
66
|
font-weight: font-weight('medium');
|
|
68
67
|
@include media-down('sm') {
|
|
69
68
|
font-size: font-size('2xs');
|
|
@@ -110,7 +109,7 @@ $_mw-card-addon-colors: (
|
|
|
110
109
|
display: flex;
|
|
111
110
|
flex-direction: column;
|
|
112
111
|
flex-grow: 1;
|
|
113
|
-
padding: spacing('
|
|
112
|
+
padding: spacing('5');
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
&-title {
|
|
@@ -218,14 +217,12 @@ $_mw-card-addon-colors: (
|
|
|
218
217
|
|
|
219
218
|
@include media-down('sm') {
|
|
220
219
|
&-body {
|
|
221
|
-
padding: spacing('
|
|
220
|
+
padding: spacing('4');
|
|
222
221
|
}
|
|
223
222
|
|
|
224
223
|
// Adjust the image margin to match the new padding
|
|
225
224
|
.mw-card-img {
|
|
226
225
|
margin-bottom: spacing('2');
|
|
227
|
-
// margin: -#{spacing('4')} -#{spacing('4')} spacing('4');
|
|
228
|
-
|
|
229
226
|
img {
|
|
230
227
|
width: 100%;
|
|
231
228
|
}
|
|
@@ -233,13 +230,13 @@ $_mw-card-addon-colors: (
|
|
|
233
230
|
}
|
|
234
231
|
|
|
235
232
|
&-stack {
|
|
236
|
-
padding: spacing('
|
|
233
|
+
padding: spacing('4') spacing('5');
|
|
237
234
|
transition: all 0.4s ease;
|
|
238
235
|
|
|
239
236
|
// Icon transition setup
|
|
240
237
|
&-icon {
|
|
241
|
-
width:
|
|
242
|
-
height:
|
|
238
|
+
width: 38px;
|
|
239
|
+
height: 38px;
|
|
243
240
|
border-radius: radius('full');
|
|
244
241
|
background: var(--mw-primary-color);
|
|
245
242
|
color: var(--mw-primary-text-color);
|
|
@@ -255,20 +252,19 @@ $_mw-card-addon-colors: (
|
|
|
255
252
|
|
|
256
253
|
// Add rotation on hover
|
|
257
254
|
&:hover &-icon {
|
|
258
|
-
transform: rotate(
|
|
255
|
+
transform: rotate(25deg);
|
|
259
256
|
}
|
|
260
257
|
|
|
261
258
|
// Rest of your styles...
|
|
262
259
|
&-header {
|
|
263
260
|
display: flex;
|
|
264
261
|
align-items: center;
|
|
265
|
-
margin-bottom: spacing('3');
|
|
266
262
|
position: relative;
|
|
267
263
|
|
|
268
264
|
&:after {
|
|
269
265
|
content: '';
|
|
270
266
|
position: absolute;
|
|
271
|
-
bottom:
|
|
267
|
+
bottom: spacing('-3');
|
|
272
268
|
left: 48%;
|
|
273
269
|
transform: translateX(-50%);
|
|
274
270
|
width: 90%;
|
|
@@ -298,7 +294,7 @@ $_mw-card-addon-colors: (
|
|
|
298
294
|
&-body {
|
|
299
295
|
display: flex;
|
|
300
296
|
flex-direction: column;
|
|
301
|
-
padding-top: spacing('
|
|
297
|
+
padding-top: spacing('5');
|
|
302
298
|
}
|
|
303
299
|
|
|
304
300
|
&-text {
|