@undrr/undrr-mangrove 1.8.2 → 2.0.0-alpha.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/components/BookCard.js +2 -2
- package/components/BookCard.js.LICENSE.txt +1 -1
- package/components/Breadcrumbs.js +3 -2
- package/components/Checkbox.js +3 -2
- package/components/Chips.js +3 -2
- package/components/CtaButton.js +3 -2
- package/components/EmbedContainer.js +3 -2
- package/components/Footer.js +2 -2
- package/components/Footer.js.LICENSE.txt +1 -1
- package/components/FormAction.js +6 -0
- package/components/FormAction.js.LICENSE.txt +9 -0
- package/components/FormErrorSummary.js +3 -2
- package/components/FormGroup.js +3 -2
- package/components/FullWidth.js +3 -2
- package/components/Gallery.js +2 -2
- package/components/Gallery.js.LICENSE.txt +1 -1
- package/components/Hero.js +2 -2
- package/components/Hero.js.LICENSE.txt +1 -1
- package/components/HighlightBox.js +3 -2
- package/components/HorizontalBookCard.js +2 -2
- package/components/HorizontalBookCard.js.LICENSE.txt +1 -1
- package/components/HorizontalCard.js +2 -2
- package/components/HorizontalCard.js.LICENSE.txt +1 -1
- package/components/IconCard.js +2 -2
- package/components/IconCard.js.LICENSE.txt +1 -1
- package/components/Loader.js +3 -2
- package/components/MegaMenu.js +2 -2
- package/components/MegaMenu.js.LICENSE.txt +1 -1
- package/components/PageHeader.js +3 -2
- package/components/Pager.js +2 -2
- package/components/Pager.js.LICENSE.txt +1 -1
- package/components/QuoteHighlight.js +3 -2
- package/components/Radio.js +3 -2
- package/components/ScrollContainer.js +3 -2
- package/components/Select.js +3 -2
- package/components/ShareButtons.js +2 -2
- package/components/ShareButtons.js.LICENSE.txt +1 -1
- package/components/ShowMore.js +3 -2
- package/components/StatsCard.js +2 -2
- package/components/StatsCard.js.LICENSE.txt +10 -0
- package/components/SyndicationSearchWidget.js +2 -2
- package/components/SyndicationSearchWidget.js.LICENSE.txt +1 -1
- package/components/Tab.js +3 -2
- package/components/TextCta.js +2 -2
- package/components/TextCta.js.LICENSE.txt +10 -0
- package/components/TextInput.js +3 -2
- package/components/Textarea.js +3 -2
- package/components/UserFeedback.js +6 -0
- package/components/UserFeedback.js.LICENSE.txt +9 -0
- package/components/VerticalCard.js +2 -2
- package/components/VerticalCard.js.LICENSE.txt +1 -1
- package/components/hydrate.js +1 -1
- package/css/style-all.css +422 -0
- package/css/style-all.css.map +1 -0
- package/css/style-delta.css +122 -171
- package/css/style-delta.css.map +1 -1
- package/css/style-gutenberg.css +55 -89
- package/css/style-gutenberg.css.map +1 -1
- package/css/style-irp.css +122 -161
- package/css/style-irp.css.map +1 -1
- package/css/style-mcr.css +122 -161
- package/css/style-mcr.css.map +1 -1
- package/css/style-preventionweb.css +122 -161
- package/css/style-preventionweb.css.map +1 -1
- package/css/style.css +121 -154
- package/css/style.css.map +1 -1
- package/package.json +2 -2
- package/scss/Atom/BaseTypography/Abbr/abbr.scss +1 -1
- package/scss/Atom/BaseTypography/Code/code.scss +41 -36
- package/scss/Atom/BaseTypography/Mark/mark.scss +2 -2
- package/scss/Atom/Images/AuthorImage/author-image.scss +8 -8
- package/scss/Atom/Images/ImageCaptionCredit/image-caption-credit.scss +9 -9
- package/scss/Atom/Layout/Container/container.scss +2 -4
- package/scss/Atom/Layout/Grid/grid.scss +15 -15
- package/scss/Atom/Navigation/MenuItems/menu-items.scss +10 -3
- package/scss/Atom/ReachElement/Details/details.scss +44 -39
- package/scss/Atom/Table/table.scss +22 -10
- package/scss/Atom/Tag/tag.scss +32 -32
- package/scss/Components/Boilerplate/boilerplate.scss +7 -7
- package/scss/Components/Breadcrumbs/breadcrumbs.scss +9 -9
- package/scss/Components/Buttons/Chips/chips.scss +63 -23
- package/scss/Components/Buttons/CtaButton/cta-button.scss +142 -20
- package/scss/Components/Buttons/ShareButtons/share-buttons.scss +16 -16
- package/scss/Components/Cards/Card/card.scss +77 -50
- package/scss/Components/Cards/StatsCard/stats-card.scss +32 -34
- package/scss/Components/CookieConsentBanner/cookie-consent-banner.scss +75 -74
- package/scss/Components/ErrorPages/error-pages.scss +9 -9
- package/scss/Components/Footer/footer.scss +12 -12
- package/scss/Components/Forms/FormAction/form-action.scss +50 -0
- package/scss/Components/Forms/FormGroup/form-group.scss +18 -7
- package/scss/Components/Forms/Select/select.scss +1 -1
- package/scss/Components/Forms/TextInput/text-input.scss +1 -1
- package/scss/Components/Forms/_form-base.scss +68 -61
- package/scss/Components/Gallery/gallery.scss +71 -70
- package/scss/Components/Hero/hero.scss +241 -74
- package/scss/Components/HighlightBox/highlight-box.scss +3 -3
- package/scss/Components/MegaMenu/mega-menu.scss +73 -76
- package/scss/Components/OnThisPageNav/on-this-page-nav.scss +36 -37
- package/scss/Components/PageHeader/page-header.scss +7 -7
- package/scss/Components/Pager/pager.scss +85 -62
- package/scss/Components/PreviewAccess/preview-access.scss +35 -35
- package/scss/Components/QuoteHighlight/quote-highlight.scss +32 -32
- package/scss/Components/ScrollContainer/scroll-container.scss +52 -32
- package/scss/Components/Snackbar/snackbar.scss +24 -31
- package/scss/Components/SyndicationSearchWidget/syndication-search-widget.scss +147 -139
- package/scss/Components/Tab/tab.scss +215 -34
- package/scss/Components/TableOfContents/table-of-contents.scss +6 -6
- package/scss/Components/TextCta/text-cta.scss +69 -23
- package/scss/Components/UserFeedback/user-feedback.scss +69 -0
- package/scss/Molecules/ImageCaption/image-caption.scss +16 -16
- package/scss/Molecules/SectionHeader/section-header.scss +1 -1
- package/scss/Utilities/FullWidth/full-width.scss +1 -1
- package/scss/Utilities/Loader/loader.scss +4 -4
- package/scss/assets/scss/_components.scss +3 -2
- package/scss/assets/scss/_foundational.scss +44 -26
- package/scss/assets/scss/_mixins.scss +34 -1
- package/scss/assets/scss/_theme-delta.scss +68 -0
- package/scss/assets/scss/_theme-irp.scss +39 -0
- package/scss/assets/scss/_theme-mcr.scss +56 -0
- package/scss/assets/scss/_theme-preventionweb.scss +37 -0
- package/scss/assets/scss/_utility.scss +112 -112
- package/scss/assets/scss/_variables.scss +358 -354
- package/scss/assets/scss/style-all.scss +19 -0
- package/scss/assets/scss/style-delta.scss +1 -1
- package/scss/assets/scss/style-irp.scss +1 -1
- package/scss/assets/scss/style-mcr.scss +1 -1
- package/scss/assets/scss/style-preventionweb.scss +1 -1
- package/css/style-irp-legacy.css +0 -476
- package/css/style-irp-legacy.css.map +0 -1
- package/css/style-legacy.css +0 -469
- package/css/style-legacy.css.map +0 -1
- package/css/style-mcr-legacy.css +0 -476
- package/css/style-mcr-legacy.css.map +0 -1
- package/css/style-preventionweb-legacy.css +0 -476
- package/css/style-preventionweb-legacy.css.map +0 -1
- package/scss/Components/Forms/_form-legacy.scss +0 -152
- package/scss/Components/Pagination/pagination.scss +0 -112
- package/scss/assets/scss/_variables-delta.scss +0 -110
- package/scss/assets/scss/_variables-irp.scss +0 -50
- package/scss/assets/scss/_variables-mcr.scss +0 -65
- package/scss/assets/scss/_variables-preventionweb.scss +0 -48
- package/scss/assets/scss/style-irp-legacy.scss +0 -20
- package/scss/assets/scss/style-legacy.scss +0 -20
- package/scss/assets/scss/style-mcr-legacy.scss +0 -20
- package/scss/assets/scss/style-preventionweb-legacy.scss +0 -20
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.mg-gallery {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: grid;
|
|
5
|
-
gap:
|
|
5
|
+
gap: var(--mg-spacing-200);
|
|
6
6
|
width: 100%;
|
|
7
7
|
|
|
8
8
|
// Mobile: stack vertically (main → description → thumbnails)
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
&__main {
|
|
38
38
|
grid-area: main;
|
|
39
39
|
position: relative;
|
|
40
|
-
background-color:
|
|
40
|
+
background-color: rgb(var(--mg-color-white));
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&:focus-visible {
|
|
50
|
-
outline: 2px solid
|
|
50
|
+
outline: 2px solid rgb(var(--mg-color-interactive));
|
|
51
51
|
outline-offset: 2px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&__image-wrapper {
|
|
55
55
|
width: 100%;
|
|
56
56
|
aspect-ratio: 16 / 9;
|
|
57
|
-
background-color:
|
|
57
|
+
background-color: rgb(var(--mg-color-neutral-50));
|
|
58
58
|
display: flex;
|
|
59
59
|
align-items: center;
|
|
60
60
|
justify-content: center;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
width: 100%;
|
|
85
85
|
height: 100%;
|
|
86
86
|
overflow: auto;
|
|
87
|
-
padding:
|
|
87
|
+
padding: var(--mg-spacing-200);
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
90
|
align-items: center;
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&__spinner {
|
|
105
|
-
width:
|
|
106
|
-
height:
|
|
107
|
-
border: 4px solid
|
|
108
|
-
border-top-color:
|
|
105
|
+
width: var(--mg-spacing-300); // 30px
|
|
106
|
+
height: var(--mg-spacing-300);
|
|
107
|
+
border: 4px solid rgb(var(--mg-color-neutral-300));
|
|
108
|
+
border-top-color: rgb(var(--mg-color-interactive));
|
|
109
109
|
border-radius: 50%;
|
|
110
110
|
animation: mg-gallery-spin 0.8s linear infinite;
|
|
111
111
|
}
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
// Description area
|
|
120
120
|
&__description {
|
|
121
121
|
grid-area: description;
|
|
122
|
-
padding:
|
|
122
|
+
padding: var(--mg-spacing-150) 0;
|
|
123
123
|
|
|
124
124
|
@include devicebreak(medium) {
|
|
125
|
-
padding:
|
|
125
|
+
padding: var(--mg-spacing-150);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -130,13 +130,13 @@
|
|
|
130
130
|
font-family: $mg-font-family-headings;
|
|
131
131
|
font-size: $mg-font-size-400;
|
|
132
132
|
font-weight: 700;
|
|
133
|
-
margin-bottom:
|
|
134
|
-
color:
|
|
133
|
+
margin-bottom: var(--mg-spacing-50);
|
|
134
|
+
color: rgb(var(--mg-color-text));
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
&__caption {
|
|
138
138
|
font-size: $mg-font-size-300;
|
|
139
|
-
color:
|
|
139
|
+
color: rgb(var(--mg-color-neutral-800));
|
|
140
140
|
line-height: 1.5;
|
|
141
141
|
margin: 0;
|
|
142
142
|
}
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
&__thumbnails {
|
|
146
146
|
grid-area: thumbnails;
|
|
147
147
|
display: flex;
|
|
148
|
-
gap:
|
|
149
|
-
padding:
|
|
148
|
+
gap: var(--mg-spacing-100);
|
|
149
|
+
padding: var(--mg-spacing-100) 0;
|
|
150
150
|
|
|
151
151
|
// Mobile: horizontal scroll
|
|
152
152
|
flex-direction: row;
|
|
@@ -172,22 +172,22 @@
|
|
|
172
172
|
|
|
173
173
|
// Custom scrollbar styling
|
|
174
174
|
scrollbar-width: thin;
|
|
175
|
-
scrollbar-color:
|
|
175
|
+
scrollbar-color: rgb(var(--mg-color-neutral-500)) rgb(var(--mg-color-neutral-100));
|
|
176
176
|
|
|
177
177
|
&::-webkit-scrollbar {
|
|
178
|
-
width:
|
|
179
|
-
height:
|
|
178
|
+
width: var(--mg-spacing-50);
|
|
179
|
+
height: var(--mg-spacing-50);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
&::-webkit-scrollbar-track {
|
|
183
|
-
background:
|
|
183
|
+
background: rgb(var(--mg-color-neutral-100));
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
&::-webkit-scrollbar-thumb {
|
|
187
|
-
background:
|
|
187
|
+
background: rgb(var(--mg-color-neutral-500));
|
|
188
188
|
|
|
189
189
|
&:hover {
|
|
190
|
-
background:
|
|
190
|
+
background: rgb(var(--mg-color-neutral-600));
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
}
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
// Individual thumbnail button
|
|
196
196
|
&__thumbnail {
|
|
197
197
|
flex-shrink: 0;
|
|
198
|
-
width:
|
|
199
|
-
height:
|
|
198
|
+
width: var(--mg-spacing-400); // 50px
|
|
199
|
+
height: var(--mg-spacing-400);
|
|
200
200
|
border: none;
|
|
201
201
|
border-left: 4px solid transparent;
|
|
202
202
|
overflow: hidden;
|
|
203
203
|
cursor: pointer;
|
|
204
|
-
background:
|
|
204
|
+
background: rgb(var(--mg-color-neutral-100));
|
|
205
205
|
padding: 0;
|
|
206
206
|
position: relative;
|
|
207
207
|
|
|
@@ -214,8 +214,8 @@
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.mg-gallery--thumbnails-bottom & {
|
|
217
|
-
width:
|
|
218
|
-
height:
|
|
217
|
+
width: var(--mg-spacing-400);
|
|
218
|
+
height: var(--mg-spacing-400);
|
|
219
219
|
border-left: none;
|
|
220
220
|
border-bottom: 4px solid transparent;
|
|
221
221
|
}
|
|
@@ -229,11 +229,11 @@
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
&:hover {
|
|
232
|
-
border-left-color:
|
|
232
|
+
border-left-color: rgb(var(--mg-color-neutral-400));
|
|
233
233
|
|
|
234
234
|
.mg-gallery--thumbnails-bottom & {
|
|
235
235
|
border-left-color: transparent;
|
|
236
|
-
border-bottom-color:
|
|
236
|
+
border-bottom-color: rgb(var(--mg-color-neutral-400));
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -242,12 +242,12 @@
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
&:focus-visible {
|
|
245
|
-
outline: 2px solid
|
|
245
|
+
outline: 2px solid rgb(var(--mg-color-interactive));
|
|
246
246
|
outline-offset: 2px;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
&--active {
|
|
250
|
-
border-left-color:
|
|
250
|
+
border-left-color: rgb(var(--mg-color-interactive));
|
|
251
251
|
|
|
252
252
|
&::after {
|
|
253
253
|
content: "";
|
|
@@ -257,13 +257,13 @@
|
|
|
257
257
|
bottom: 0;
|
|
258
258
|
width: 1px;
|
|
259
259
|
opacity: 0.5;
|
|
260
|
-
background:
|
|
260
|
+
background: rgb(var(--mg-color-white));
|
|
261
261
|
pointer-events: none;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
.mg-gallery--thumbnails-bottom & {
|
|
265
265
|
border-left-color: transparent;
|
|
266
|
-
border-bottom-color:
|
|
266
|
+
border-bottom-color: rgb(var(--mg-color-interactive));
|
|
267
267
|
|
|
268
268
|
&::after {
|
|
269
269
|
top: auto;
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
&--html {
|
|
280
|
-
background:
|
|
280
|
+
background: rgb(var(--mg-color-neutral-200));
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
width: 100%;
|
|
289
289
|
height: 100%;
|
|
290
290
|
font-size: $mg-font-size-400;
|
|
291
|
-
color:
|
|
291
|
+
color: rgb(var(--mg-color-neutral-600));
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
&__thumbnail-html-preview {
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
display: flex;
|
|
302
302
|
align-items: center;
|
|
303
303
|
justify-content: center;
|
|
304
|
-
background:
|
|
304
|
+
background: rgb(var(--mg-color-neutral-50));
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
&__thumbnail-html-content {
|
|
@@ -329,13 +329,13 @@
|
|
|
329
329
|
top: 50%;
|
|
330
330
|
left: 50%;
|
|
331
331
|
transform: translate(-50%, -50%);
|
|
332
|
-
width:
|
|
333
|
-
height:
|
|
332
|
+
width: var(--mg-spacing-200); // 20px
|
|
333
|
+
height: var(--mg-spacing-200);
|
|
334
334
|
display: flex;
|
|
335
335
|
align-items: center;
|
|
336
336
|
justify-content: center;
|
|
337
337
|
background: rgb(0 0 0 / 0.6);
|
|
338
|
-
color:
|
|
338
|
+
color: rgb(var(--mg-color-white));
|
|
339
339
|
font-size: $mg-font-size-100; // 10px
|
|
340
340
|
pointer-events: none;
|
|
341
341
|
padding-left: 2px;
|
|
@@ -346,11 +346,12 @@
|
|
|
346
346
|
position: absolute;
|
|
347
347
|
top: 50%;
|
|
348
348
|
transform: translateY(-50%);
|
|
349
|
-
width:
|
|
350
|
-
height:
|
|
349
|
+
width: mg-rem(44);
|
|
350
|
+
height: mg-rem(44);
|
|
351
351
|
border: none;
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
border-radius: 50%;
|
|
353
|
+
background: rgb(var(--mg-color-neutral-700));
|
|
354
|
+
color: rgb(var(--mg-color-white));
|
|
354
355
|
font-size: $mg-font-size-400;
|
|
355
356
|
cursor: pointer;
|
|
356
357
|
z-index: 2; // nav button above gallery images — local to gallery stacking context
|
|
@@ -361,7 +362,7 @@
|
|
|
361
362
|
@include transition(background-color 0.2s, opacity 0.2s);
|
|
362
363
|
|
|
363
364
|
&:hover {
|
|
364
|
-
background:
|
|
365
|
+
background: rgb(var(--mg-color-neutral-600));
|
|
365
366
|
}
|
|
366
367
|
|
|
367
368
|
&:focus {
|
|
@@ -369,36 +370,35 @@
|
|
|
369
370
|
}
|
|
370
371
|
|
|
371
372
|
&:focus-visible {
|
|
372
|
-
outline: 2px solid
|
|
373
|
+
outline: 2px solid rgb(var(--mg-color-interactive));
|
|
373
374
|
outline-offset: 2px;
|
|
374
375
|
}
|
|
375
376
|
|
|
376
377
|
&:disabled {
|
|
377
|
-
background:
|
|
378
|
+
background: rgb(var(--mg-color-neutral-300));
|
|
378
379
|
cursor: not-allowed;
|
|
379
380
|
opacity: 0.5;
|
|
380
381
|
}
|
|
381
382
|
|
|
382
383
|
&--prev {
|
|
383
|
-
left:
|
|
384
|
+
left: var(--mg-spacing-100);
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
&--next {
|
|
387
|
-
right:
|
|
388
|
+
right: var(--mg-spacing-100);
|
|
388
389
|
}
|
|
389
390
|
|
|
390
|
-
//
|
|
391
|
+
// Keep the recommended target size on touch viewports; use the inset to
|
|
392
|
+
// reduce overlap with the media rather than shrinking the control.
|
|
391
393
|
@include devicebreak(small) {
|
|
392
|
-
width: $mg-spacing-250;
|
|
393
|
-
height: $mg-spacing-250;
|
|
394
394
|
font-size: $mg-font-size-300;
|
|
395
395
|
|
|
396
396
|
&--prev {
|
|
397
|
-
left:
|
|
397
|
+
left: var(--mg-spacing-50);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
&--next {
|
|
401
|
-
right:
|
|
401
|
+
right: var(--mg-spacing-50);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
}
|
|
@@ -406,19 +406,20 @@
|
|
|
406
406
|
// Corner arrow controls (bottom right position)
|
|
407
407
|
&__arrow-controls {
|
|
408
408
|
position: absolute;
|
|
409
|
-
bottom:
|
|
410
|
-
right:
|
|
409
|
+
bottom: var(--mg-spacing-100);
|
|
410
|
+
right: var(--mg-spacing-100);
|
|
411
411
|
display: flex;
|
|
412
|
-
gap:
|
|
412
|
+
gap: var(--mg-spacing-100);
|
|
413
413
|
z-index: 2; // arrow controls above gallery images — local to gallery stacking context
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
&__arrow-button {
|
|
417
|
-
width:
|
|
418
|
-
height:
|
|
417
|
+
width: mg-rem(44);
|
|
418
|
+
height: mg-rem(44);
|
|
419
419
|
border: none;
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
border-radius: 50%;
|
|
421
|
+
background: rgb(var(--mg-color-neutral-700));
|
|
422
|
+
color: rgb(var(--mg-color-white));
|
|
422
423
|
font-size: $mg-font-size-400;
|
|
423
424
|
cursor: pointer;
|
|
424
425
|
display: flex;
|
|
@@ -428,7 +429,7 @@
|
|
|
428
429
|
@include transition(background-color 0.2s, opacity 0.2s);
|
|
429
430
|
|
|
430
431
|
&:hover {
|
|
431
|
-
background:
|
|
432
|
+
background: rgb(var(--mg-color-neutral-600));
|
|
432
433
|
}
|
|
433
434
|
|
|
434
435
|
&:focus {
|
|
@@ -436,12 +437,12 @@
|
|
|
436
437
|
}
|
|
437
438
|
|
|
438
439
|
&:focus-visible {
|
|
439
|
-
outline: 2px solid
|
|
440
|
+
outline: 2px solid rgb(var(--mg-color-interactive));
|
|
440
441
|
outline-offset: 2px;
|
|
441
442
|
}
|
|
442
443
|
|
|
443
444
|
&:disabled {
|
|
444
|
-
background:
|
|
445
|
+
background: rgb(var(--mg-color-neutral-300));
|
|
445
446
|
cursor: not-allowed;
|
|
446
447
|
opacity: 0.5;
|
|
447
448
|
}
|
|
@@ -460,11 +461,11 @@
|
|
|
460
461
|
border-right: 4px solid transparent;
|
|
461
462
|
|
|
462
463
|
&:hover {
|
|
463
|
-
border-right-color:
|
|
464
|
+
border-right-color: rgb(var(--mg-color-neutral-400));
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
&--active {
|
|
467
|
-
border-right-color:
|
|
468
|
+
border-right-color: rgb(var(--mg-color-interactive));
|
|
468
469
|
|
|
469
470
|
&::after {
|
|
470
471
|
left: auto;
|
|
@@ -475,25 +476,25 @@
|
|
|
475
476
|
|
|
476
477
|
&__arrow--prev {
|
|
477
478
|
left: auto;
|
|
478
|
-
right:
|
|
479
|
+
right: var(--mg-spacing-100);
|
|
479
480
|
|
|
480
481
|
@include devicebreak(small) {
|
|
481
|
-
right:
|
|
482
|
+
right: var(--mg-spacing-50);
|
|
482
483
|
}
|
|
483
484
|
}
|
|
484
485
|
|
|
485
486
|
&__arrow--next {
|
|
486
487
|
right: auto;
|
|
487
|
-
left:
|
|
488
|
+
left: var(--mg-spacing-100);
|
|
488
489
|
|
|
489
490
|
@include devicebreak(small) {
|
|
490
|
-
left:
|
|
491
|
+
left: var(--mg-spacing-50);
|
|
491
492
|
}
|
|
492
493
|
}
|
|
493
494
|
|
|
494
495
|
&__arrow-controls {
|
|
495
496
|
right: auto;
|
|
496
|
-
left:
|
|
497
|
+
left: var(--mg-spacing-100);
|
|
497
498
|
}
|
|
498
499
|
}
|
|
499
500
|
}
|