@undrr/undrr-mangrove 1.3.2 → 1.4.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/README.md +32 -25
- package/components/BarChart.js +2 -2
- package/components/BookCard.js +6 -0
- package/components/BookCard.js.LICENSE.txt +11 -0
- package/components/Breadcrumbs.js +6 -0
- package/components/Breadcrumbs.js.LICENSE.txt +9 -0
- package/components/Checkbox.js +6 -0
- package/components/Checkbox.js.LICENSE.txt +9 -0
- package/components/Chips.js +6 -0
- package/components/Chips.js.LICENSE.txt +9 -0
- package/components/CtaButton.js +6 -0
- package/components/CtaButton.js.LICENSE.txt +9 -0
- package/components/EmbedContainer.js +6 -0
- package/components/EmbedContainer.js.LICENSE.txt +9 -0
- package/components/Fetcher.js +2 -2
- package/components/Footer.js +6 -0
- package/components/Footer.js.LICENSE.txt +9 -0
- package/components/FormErrorSummary.js +6 -0
- package/components/FormErrorSummary.js.LICENSE.txt +9 -0
- package/components/FormGroup.js +6 -0
- package/components/FormGroup.js.LICENSE.txt +9 -0
- package/components/FullWidth.js +6 -0
- package/components/FullWidth.js.LICENSE.txt +9 -0
- package/components/Gallery.js +2 -2
- package/components/Hero.js +6 -0
- package/components/Hero.js.LICENSE.txt +9 -0
- package/components/HighlightBox.js +6 -0
- package/components/HighlightBox.js.LICENSE.txt +9 -0
- package/components/HorizontalBookCard.js +6 -0
- package/components/HorizontalBookCard.js.LICENSE.txt +11 -0
- package/components/HorizontalCard.js +6 -0
- package/components/HorizontalCard.js.LICENSE.txt +11 -0
- package/components/IconCard.js +2 -2
- package/components/IconCard.js.LICENSE.txt +1 -1
- package/components/Loader.js +6 -0
- package/components/Loader.js.LICENSE.txt +9 -0
- package/components/MapComponent.js +2 -2
- package/components/MegaMenu.js +2 -2
- package/components/PageHeader.js +6 -0
- package/components/PageHeader.js.LICENSE.txt +9 -0
- package/components/Pager.js +2 -2
- package/components/QuoteHighlight.js +2 -2
- package/components/Radio.js +6 -0
- package/components/Radio.js.LICENSE.txt +9 -0
- package/components/ScrollContainer.js +2 -2
- package/components/Select.js +6 -0
- package/components/Select.js.LICENSE.txt +9 -0
- package/components/ShareButtons.js +2 -2
- package/components/ShowMore.js +6 -0
- package/components/ShowMore.js.LICENSE.txt +9 -0
- package/components/StatsCard.js +2 -2
- package/components/SyndicationSearchWidget.js +2 -2
- package/components/Tab.js +6 -0
- package/components/Tab.js.LICENSE.txt +9 -0
- package/components/TextCta.js +6 -0
- package/components/TextCta.js.LICENSE.txt +11 -0
- package/components/TextInput.js +6 -0
- package/components/TextInput.js.LICENSE.txt +9 -0
- package/components/Textarea.js +6 -0
- package/components/Textarea.js.LICENSE.txt +9 -0
- package/components/VerticalCard.js +6 -0
- package/components/VerticalCard.js.LICENSE.txt +11 -0
- package/components/hydrate.js +5 -0
- package/css/style-delta.css +464 -0
- package/css/style-delta.css.map +1 -0
- package/css/style-gutenberg.css +19 -18
- package/css/style-gutenberg.css.map +1 -1
- package/css/style-irp-legacy.css +469 -0
- package/css/style-irp-legacy.css.map +1 -0
- package/css/style-irp.css +96 -103
- package/css/style-irp.css.map +1 -1
- package/css/style-legacy.css +462 -0
- package/css/style-legacy.css.map +1 -0
- package/css/style-mcr-legacy.css +469 -0
- package/css/style-mcr-legacy.css.map +1 -0
- package/css/style-mcr.css +96 -103
- package/css/style-mcr.css.map +1 -1
- package/css/style-preventionweb-legacy.css +469 -0
- package/css/style-preventionweb-legacy.css.map +1 -0
- package/css/style-preventionweb.css +96 -103
- package/css/style-preventionweb.css.map +1 -1
- package/css/style.css +96 -103
- package/css/style.css.map +1 -1
- package/error-pages/401.html +10 -11
- package/error-pages/403.html +11 -12
- package/error-pages/404.html +13 -14
- package/error-pages/429.html +12 -13
- package/error-pages/500.html +10 -11
- package/error-pages/502.html +12 -13
- package/error-pages/503.html +12 -13
- package/error-pages/504.html +10 -11
- package/error-pages/5xx.html +10 -11
- package/error-pages/challenge.html +12 -13
- package/error-pages/managed-challenge.html +12 -13
- package/js/tabs.js +427 -88
- package/package.json +1 -1
- package/scss/Atom/BaseTypography/Blockquote/blockquote.scss +1 -8
- package/scss/Atom/BaseTypography/Cite/cite.scss +2 -2
- package/scss/Atom/Images/AuthorImage/author-image.scss +4 -4
- package/scss/Atom/Images/ImageCaptionCredit/image-caption-credit.scss +24 -28
- package/scss/Atom/Images/ImageCredit/image-credit.scss +1 -1
- package/scss/Atom/Layout/Container/container.scss +2 -2
- package/scss/Atom/Layout/Grid/grid.scss +1 -1
- package/scss/Atom/ReachElement/Details/details.scss +6 -6
- package/scss/Atom/ReachElement/Figcaption/figcaption.scss +1 -1
- package/scss/Atom/Table/table.scss +0 -8
- package/scss/Components/Boilerplate/boilerplate.scss +2 -2
- package/scss/Components/Breadcrumbs/breadcrumbs.scss +2 -9
- package/scss/Components/Buttons/Chips/chips.scss +5 -19
- package/scss/Components/Buttons/CtaButton/buttons.scss +3 -124
- package/scss/Components/Buttons/CtaButton/cta-button.scss +124 -0
- package/scss/Components/Buttons/ShareButtons/share-buttons.scss +2 -2
- package/scss/Components/Cards/Card/card.scss +41 -2
- package/scss/Components/ErrorPages/error-pages.scss +12 -12
- package/scss/Components/Footer/footer.scss +72 -4
- package/scss/Components/Forms/Select/select.scss +2 -2
- package/scss/Components/Forms/_form-base.scss +5 -5
- package/scss/Components/Forms/_form-legacy.scss +1 -1
- package/scss/Components/Gallery/gallery.scss +4 -4
- package/scss/Components/Hero/hero.scss +18 -17
- package/scss/Components/HighlightBox/highlight-box.scss +5 -5
- package/scss/Components/MegaMenu/mega-menu.scss +750 -0
- package/scss/Components/MegaMenu/megamenu.scss +3 -659
- package/scss/Components/PageHeader/page-header.scss +4 -4
- package/scss/Components/Pagination/pagination.scss +2 -2
- package/scss/Components/SyndicationSearchWidget/SyndicationSearchWidget.scss +3 -1480
- package/scss/Components/SyndicationSearchWidget/syndication-search-widget.scss +1515 -0
- package/scss/Components/Tab/tab.scss +66 -7
- package/scss/Components/TextCta/text-cta.scss +129 -0
- package/scss/Components/TextCta/textcta.scss +3 -27
- package/scss/Molecules/ImageCaption/image-caption.scss +6 -16
- package/scss/Molecules/SectionHeader/section-header.scss +8 -0
- package/scss/Molecules/SectionHeader/sectionheader.scss +3 -8
- package/scss/Utilities/FullWidth/FullWidth.scss +3 -23
- package/scss/Utilities/FullWidth/full-width.scss +23 -0
- package/scss/Utilities/Loader/loader.scss +1 -1
- package/scss/Utilities/ShowMore/ShowMore.scss +3 -26
- package/scss/Utilities/ShowMore/show-more.scss +26 -0
- package/scss/assets/scss/_components.scss +14 -9
- package/scss/assets/scss/_foundational.scss +13 -7
- package/scss/assets/scss/_mixins.scss +9 -314
- package/scss/assets/scss/_utility.scss +19 -71
- package/scss/assets/scss/_variables-delta.scss +105 -0
- package/scss/assets/scss/_variables-irp.scss +1 -1
- package/scss/assets/scss/_variables-mcr.scss +1 -1
- package/scss/assets/scss/_variables-preventionweb.scss +1 -1
- package/scss/assets/scss/_variables.scss +68 -34
- package/scss/assets/scss/style-delta.scss +8 -0
- package/scss/assets/scss/style-gutenberg.scss +2 -2
- package/scss/assets/scss/style-irp-legacy.scss +20 -0
- package/scss/assets/scss/style-legacy.scss +20 -0
- package/scss/assets/scss/style-mcr-legacy.scss +20 -0
- package/scss/assets/scss/style-preventionweb-legacy.scss +20 -0
- package/scss/Components/BlockquoteComponent/blockquotecomp.scss +0 -31
- package/scss/Components/Buttons/CtaLink/cta-link.scss +0 -61
- /package/scss/Components/TableOfContents/{TableOfContents.scss → table-of-contents.scss} +0 -0
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
|
|
66
66
|
.mg-tabs__link {
|
|
67
67
|
position: relative;
|
|
68
|
-
padding-right:
|
|
68
|
+
padding-right: mg-rem(40); // space for the chevron to theright
|
|
69
69
|
|
|
70
70
|
&:hover,
|
|
71
|
-
&:focus {
|
|
71
|
+
&:focus-visible {
|
|
72
72
|
border: none;
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -83,13 +83,20 @@
|
|
|
83
83
|
transform: rotate(-45deg);
|
|
84
84
|
vertical-align: top;
|
|
85
85
|
width: 0.45em;
|
|
86
|
-
transition: transform 0;
|
|
86
|
+
transition: transform 0.3s ease;
|
|
87
|
+
|
|
88
|
+
@media (prefers-reduced-motion: reduce) {
|
|
89
|
+
transition: none;
|
|
90
|
+
}
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
&.mg-tabs__stacked--open:before {
|
|
90
94
|
top: 30%;
|
|
91
95
|
transform: rotate(135deg);
|
|
92
|
-
|
|
96
|
+
|
|
97
|
+
@media (prefers-reduced-motion: reduce) {
|
|
98
|
+
transition: none;
|
|
99
|
+
}
|
|
93
100
|
}
|
|
94
101
|
}
|
|
95
102
|
}
|
|
@@ -150,14 +157,13 @@
|
|
|
150
157
|
line-height: 1.421;
|
|
151
158
|
margin: 0;
|
|
152
159
|
display: block;
|
|
153
|
-
outline: 0;
|
|
154
160
|
padding: $mg-padding-tab;
|
|
155
161
|
position: relative;
|
|
156
162
|
text-decoration: none;
|
|
157
163
|
}
|
|
158
164
|
|
|
159
165
|
.mg-tabs__link:hover,
|
|
160
|
-
.mg-tabs__link:focus {
|
|
166
|
+
.mg-tabs__link:focus-visible {
|
|
161
167
|
background: $mg-color-tab-background--hover;
|
|
162
168
|
border-bottom: $mg-spacing-25 solid $mg-color-tab-border--hover;
|
|
163
169
|
color: $mg-color-text-tab--hover;
|
|
@@ -165,6 +171,11 @@
|
|
|
165
171
|
text-decoration: none;
|
|
166
172
|
}
|
|
167
173
|
|
|
174
|
+
.mg-tabs__link:focus-visible {
|
|
175
|
+
outline: 2px solid $mg-color-interactive;
|
|
176
|
+
outline-offset: -2px;
|
|
177
|
+
}
|
|
178
|
+
|
|
168
179
|
.mg-tabs__link.is-active {
|
|
169
180
|
color: $mg-color-text-tab-active;
|
|
170
181
|
background-color: $mg-color-tab-background;
|
|
@@ -173,7 +184,7 @@
|
|
|
173
184
|
}
|
|
174
185
|
|
|
175
186
|
.mg-tabs__link.is-active:hover,
|
|
176
|
-
.mg-tabs__link.is-active:focus {
|
|
187
|
+
.mg-tabs__link.is-active:focus-visible {
|
|
177
188
|
background: $mg-color-tab-background;
|
|
178
189
|
border-bottom: $mg-spacing-25 solid $mg-color-tab-border--hover;
|
|
179
190
|
color: $mg-color-text-tab-active;
|
|
@@ -206,6 +217,30 @@
|
|
|
206
217
|
}
|
|
207
218
|
}
|
|
208
219
|
}
|
|
220
|
+
|
|
221
|
+
// Flip stacked chevron for RTL
|
|
222
|
+
.mg-tabs--stacked .mg-tabs__link {
|
|
223
|
+
padding-right: $mg-padding-tab;
|
|
224
|
+
padding-left: mg-rem(40);
|
|
225
|
+
|
|
226
|
+
&:before {
|
|
227
|
+
right: auto;
|
|
228
|
+
left: $mg-spacing-150;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// Horizontal tabs only have chevrons at mobile breakpoint
|
|
233
|
+
@media (max-width: $mg-breakpoint-mobile) {
|
|
234
|
+
.mg-tabs--horizontal .mg-tabs__link {
|
|
235
|
+
padding-right: $mg-padding-tab;
|
|
236
|
+
padding-left: mg-rem(40);
|
|
237
|
+
|
|
238
|
+
&:before {
|
|
239
|
+
right: auto;
|
|
240
|
+
left: $mg-spacing-150;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
209
244
|
}
|
|
210
245
|
|
|
211
246
|
// Arabic
|
|
@@ -215,4 +250,28 @@
|
|
|
215
250
|
}
|
|
216
251
|
}
|
|
217
252
|
|
|
253
|
+
// Filter input for stacked tabs
|
|
254
|
+
.mg-tabs__filter {
|
|
255
|
+
margin-bottom: $mg-spacing-150;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.mg-tabs__filter-input {
|
|
259
|
+
width: 100%;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.mg-tabs__item--hidden,
|
|
263
|
+
.mg-tabs-content--hidden {
|
|
264
|
+
display: none;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.mg-tabs__no-results {
|
|
268
|
+
padding: $mg-spacing-150;
|
|
269
|
+
color: $mg-color-text-tab-no-results;
|
|
270
|
+
font-style: italic;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.mg-tabs__no-results--hidden {
|
|
274
|
+
display: none;
|
|
275
|
+
}
|
|
276
|
+
|
|
218
277
|
/* Tab end */
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* CTA banner start */
|
|
2
|
+
|
|
3
|
+
.mg-cta {
|
|
4
|
+
padding: $mg-cta-padding;
|
|
5
|
+
background-color: var(--mg-cta-bg, initial);
|
|
6
|
+
|
|
7
|
+
&__inner {
|
|
8
|
+
// Uses mg-container from markup for max-width
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__body {
|
|
12
|
+
max-width: 800px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__headline {
|
|
16
|
+
color: $mg-color-white;
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
margin-bottom: $mg-spacing-100;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__text {
|
|
22
|
+
color: rgba($mg-color-white, 0.9);
|
|
23
|
+
margin-bottom: $mg-spacing-150;
|
|
24
|
+
|
|
25
|
+
p {
|
|
26
|
+
margin-bottom: $mg-spacing-75;
|
|
27
|
+
|
|
28
|
+
&:last-child {
|
|
29
|
+
margin-bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
a {
|
|
34
|
+
color: $mg-color-white;
|
|
35
|
+
text-decoration: underline;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__actions {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
gap: $mg-spacing-100;
|
|
43
|
+
margin-top: $mg-spacing-150;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__image {
|
|
47
|
+
img {
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: auto;
|
|
50
|
+
display: block;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Center-aligned variant (default for text-only CTA banners)
|
|
55
|
+
&--centered {
|
|
56
|
+
text-align: center;
|
|
57
|
+
|
|
58
|
+
.mg-cta__body {
|
|
59
|
+
margin-inline: auto;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.mg-cta__actions {
|
|
63
|
+
justify-content: center;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Side-by-side layout when image is present
|
|
68
|
+
&--with-image {
|
|
69
|
+
.mg-cta__inner {
|
|
70
|
+
display: grid;
|
|
71
|
+
grid-template-columns: 1fr;
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: $mg-spacing-200;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.mg-cta__body {
|
|
77
|
+
max-width: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.mg-cta__image {
|
|
81
|
+
max-width: 200px;
|
|
82
|
+
margin-inline: auto;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@include devicebreak(medium) {
|
|
86
|
+
.mg-cta__inner {
|
|
87
|
+
grid-template-columns: 1fr auto;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mg-cta__image {
|
|
91
|
+
max-width: 250px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Color variants — same system as Hero
|
|
97
|
+
&--primary {
|
|
98
|
+
background-color: $mg-color-hero;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&--secondary {
|
|
102
|
+
background-color: $mg-color-hero--secondary;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&--tertiary {
|
|
106
|
+
background-color: $mg-color-hero--tertiary;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&--quaternary {
|
|
110
|
+
background-color: $mg-color-hero--quaternary;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Button overrides for dark backgrounds (matches Hero pattern)
|
|
114
|
+
a.mg-button-primary {
|
|
115
|
+
background-color: $mg-color-neutral-0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
a.mg-button-secondary {
|
|
119
|
+
background-color: rgba($mg-color-neutral-0, 0.9);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
a.mg-button,
|
|
123
|
+
a.mg-button:hover,
|
|
124
|
+
a.mg-button:visited {
|
|
125
|
+
color: $mg-color-hero;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* CTA banner end */
|
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
&--header {
|
|
7
|
-
p {
|
|
8
|
-
margin-top: $mg-spacing-200;
|
|
9
|
-
|
|
10
|
-
@include devicebreak(medium) {
|
|
11
|
-
margin-top: $mg-spacing-400;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.button-arrow {
|
|
16
|
-
margin-top: $mg-spacing-200;
|
|
17
|
-
|
|
18
|
-
@include devicebreak(small) {
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@include devicebreak(medium) {
|
|
23
|
-
margin-top: $mg-spacing-300;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
// textcta.scss — DEPRECATED, use text-cta.scss
|
|
2
|
+
@import "./text-cta";
|
|
3
|
+
@warn "textcta.scss is deprecated. Import text-cta.scss instead.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* image caption start */
|
|
2
|
-
.
|
|
2
|
+
.mg-image-caption {
|
|
3
3
|
border-bottom: 2px solid $mg-color-black;
|
|
4
4
|
|
|
5
5
|
@include devicebreak(medium) {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
margin: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
+ .credits {
|
|
22
|
+
+ .mg-credits {
|
|
23
23
|
border-top: 1px solid $mg-color-neutral-500;
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-shrink: 0;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.credits {
|
|
42
|
+
.mg-credits {
|
|
43
43
|
display: flex;
|
|
44
44
|
margin-bottom: $mg-spacing-50;
|
|
45
45
|
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
[dir="rtl"] {
|
|
64
|
-
.
|
|
64
|
+
.mg-image-caption {
|
|
65
65
|
p {
|
|
66
66
|
@include devicebreak(medium) {
|
|
67
67
|
padding-right: 0;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
+ .credits {
|
|
70
|
+
+ .mg-credits {
|
|
71
71
|
@include devicebreak(medium) {
|
|
72
72
|
border-right: 1px solid $mg-color-neutral-500;
|
|
73
73
|
border-top: 0;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.credits {
|
|
82
|
+
.mg-credits {
|
|
83
83
|
@include devicebreak(medium) {
|
|
84
84
|
border-left: none;
|
|
85
85
|
margin-left: 0;
|
|
@@ -97,14 +97,4 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
// burmese lang
|
|
101
|
-
:lang(my) {
|
|
102
|
-
.image__caption {
|
|
103
|
-
p,
|
|
104
|
-
.credits {
|
|
105
|
-
line-height: 1.7;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
100
|
/* image caption end */
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
margin-bottom: $mg-spacing-100;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* header section end */
|
|
1
|
+
// sectionheader.scss — DEPRECATED, use section-header.scss
|
|
2
|
+
@import "./section-header";
|
|
3
|
+
@warn "sectionheader.scss is deprecated. Import section-header.scss instead.";
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.mg-container-full-width:before {
|
|
6
|
-
background-color: inherit;
|
|
7
|
-
background-image: inherit;
|
|
8
|
-
background-position: inherit;
|
|
9
|
-
background-repeat: inherit;
|
|
10
|
-
background-size: cover;
|
|
11
|
-
content: "";
|
|
12
|
-
grid-column: 1/-1;
|
|
13
|
-
height: 100%;
|
|
14
|
-
margin-left: calc(50% - 50vw);
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 0;
|
|
17
|
-
width: 100vw;
|
|
18
|
-
z-index: -1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
[dir="rtl"] .mg-container-full-width::before {
|
|
22
|
-
margin-right: calc(50% - 50vw);
|
|
23
|
-
}
|
|
1
|
+
// FullWidth.scss — DEPRECATED, use full-width.scss
|
|
2
|
+
@import "./full-width";
|
|
3
|
+
@warn "FullWidth.scss is deprecated. Import full-width.scss instead.";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.mg-container-full-width {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.mg-container-full-width:before {
|
|
6
|
+
background-color: inherit;
|
|
7
|
+
background-image: inherit;
|
|
8
|
+
background-position: inherit;
|
|
9
|
+
background-repeat: inherit;
|
|
10
|
+
background-size: cover;
|
|
11
|
+
content: "";
|
|
12
|
+
grid-column: 1/-1;
|
|
13
|
+
height: 100%;
|
|
14
|
+
margin-left: calc(50% - 50vw);
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
width: 100vw;
|
|
18
|
+
z-index: -1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[dir="rtl"] .mg-container-full-width::before {
|
|
22
|
+
margin-right: calc(50% - 50vw);
|
|
23
|
+
}
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.mg-show-more--collapsed {
|
|
6
|
-
max-height: 200px;
|
|
7
|
-
max-height: var(--mg-show-more-height);
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
position: relative;
|
|
10
|
-
mask-image: linear-gradient(
|
|
11
|
-
to bottom,
|
|
12
|
-
black calc(var(--mg-show-more-height) - 80px),
|
|
13
|
-
transparent var(--mg-show-more-height)
|
|
14
|
-
);
|
|
15
|
-
-webkit-mask-image: linear-gradient(
|
|
16
|
-
to bottom,
|
|
17
|
-
black calc(var(--mg-show-more-height) - 80px),
|
|
18
|
-
transparent var(--mg-show-more-height)
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.mg-show-more--button {
|
|
23
|
-
position: relative;
|
|
24
|
-
z-index: 2;
|
|
25
|
-
padding: 1rem 4rem;
|
|
26
|
-
}
|
|
1
|
+
// ShowMore.scss — DEPRECATED, use show-more.scss
|
|
2
|
+
@import "./show-more";
|
|
3
|
+
@warn "ShowMore.scss is deprecated. Import show-more.scss instead.";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--mg-show-more-height: 200px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.mg-show-more--collapsed {
|
|
6
|
+
max-height: 200px;
|
|
7
|
+
max-height: var(--mg-show-more-height);
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
position: relative;
|
|
10
|
+
mask-image: linear-gradient(
|
|
11
|
+
to bottom,
|
|
12
|
+
black calc(var(--mg-show-more-height) - 80px),
|
|
13
|
+
transparent var(--mg-show-more-height)
|
|
14
|
+
);
|
|
15
|
+
-webkit-mask-image: linear-gradient(
|
|
16
|
+
to bottom,
|
|
17
|
+
black calc(var(--mg-show-more-height) - 80px),
|
|
18
|
+
transparent var(--mg-show-more-height)
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mg-show-more--button {
|
|
23
|
+
position: relative;
|
|
24
|
+
z-index: 2;
|
|
25
|
+
padding: mg-rem(10) mg-rem(40);
|
|
26
|
+
}
|
|
@@ -40,26 +40,31 @@
|
|
|
40
40
|
@import "../../Components/Forms/Radio/radio";
|
|
41
41
|
@import "../../Components/Forms/Select/select";
|
|
42
42
|
@import "../../Components/Breadcrumbs/breadcrumbs";
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
// Deprecated (February 2026) — removal planned by end of 2026. Use Pager instead.
|
|
45
|
+
// @import "../../Components/Pagination/pagination";
|
|
44
46
|
@import "../../Components/Pager/pager";
|
|
45
47
|
@import "../../Components/Gallery/gallery";
|
|
46
48
|
@import "../../Components/HighlightBox/highlight-box";
|
|
47
49
|
@import "../../Components/QuoteHighlight/quote-highlight";
|
|
48
50
|
@import "../../Components/Buttons/Chips/chips";
|
|
49
|
-
@import "../../Components/Buttons/CtaButton/
|
|
50
|
-
@import "../../Components/Buttons/CtaLink/cta-link";
|
|
51
|
+
@import "../../Components/Buttons/CtaButton/cta-button";
|
|
51
52
|
@import "../../Components/Buttons/ShareButtons/share-buttons";
|
|
52
|
-
@import "../../Components/MegaMenu/
|
|
53
|
+
@import "../../Components/MegaMenu/mega-menu";
|
|
53
54
|
@import "../../Components/PageHeader/page-header";
|
|
54
55
|
@import "../../Components/Cards/Card/card";
|
|
55
56
|
@import "../../Components/Cards/StatsCard/stats-card";
|
|
56
57
|
@import "../../Components/Snackbar/snackbar";
|
|
57
58
|
@import "../../Components/Hero/hero";
|
|
59
|
+
@import "../../Components/TextCta/text-cta";
|
|
58
60
|
@import "../../Components/ScrollContainer/scroll-container";
|
|
59
61
|
@import "../../Components/Tab/tab";
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
@import "../../Components/
|
|
62
|
+
|
|
63
|
+
// CSS+vanilla-JS component — Drupal integration via Gutenberg block, not a React export.
|
|
64
|
+
@import "../../Components/TableOfContents/table-of-contents";
|
|
65
|
+
@import "../../Components/SyndicationSearchWidget/syndication-search-widget";
|
|
66
|
+
|
|
67
|
+
// CSS+static-HTML component — not a React export. Static pages in dist/assets/error-pages/.
|
|
63
68
|
@import "../../Components/ErrorPages/error-pages";
|
|
64
69
|
@import "../../Components/Footer/footer";
|
|
65
70
|
|
|
@@ -69,5 +74,5 @@
|
|
|
69
74
|
// Utilities
|
|
70
75
|
@import "../../Utilities/EmbedContainer/embed-container";
|
|
71
76
|
@import "../../Utilities/Loader/loader";
|
|
72
|
-
@import "../../Utilities/FullWidth/
|
|
73
|
-
@import "../../Utilities/ShowMore/
|
|
77
|
+
@import "../../Utilities/FullWidth/full-width";
|
|
78
|
+
@import "../../Utilities/ShowMore/show-more";
|
|
@@ -7,7 +7,13 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
html {
|
|
10
|
-
|
|
10
|
+
// Only override the browser default when using the legacy 10px root.
|
|
11
|
+
// When $mg-html-font-size is 16, skip the override entirely so the
|
|
12
|
+
// browser default (or user-configured) root font-size is respected.
|
|
13
|
+
@if $mg-html-font-size != 16 {
|
|
14
|
+
font-size: $mg-html-font-size * 1px;
|
|
15
|
+
}
|
|
16
|
+
|
|
11
17
|
-webkit-tap-highlight-color: transparent;
|
|
12
18
|
}
|
|
13
19
|
|
|
@@ -36,7 +42,7 @@ caption {
|
|
|
36
42
|
h1 {
|
|
37
43
|
font-family: $mg-font-family;
|
|
38
44
|
font-size: $mg-font-size-600;
|
|
39
|
-
letter-spacing: 0.
|
|
45
|
+
letter-spacing: 0.02em;
|
|
40
46
|
line-height: 1.08;
|
|
41
47
|
text-wrap: balance;
|
|
42
48
|
font-weight: 700;
|
|
@@ -64,7 +70,7 @@ h5 {
|
|
|
64
70
|
h6 {
|
|
65
71
|
font-size: $mg-font-size-200;
|
|
66
72
|
font-weight: 700;
|
|
67
|
-
letter-spacing: 0.
|
|
73
|
+
letter-spacing: 0.024em;
|
|
68
74
|
line-height: 1.15;
|
|
69
75
|
}
|
|
70
76
|
|
|
@@ -131,20 +137,20 @@ a {
|
|
|
131
137
|
ol {
|
|
132
138
|
direction: rtl;
|
|
133
139
|
padding-left: 0;
|
|
134
|
-
padding-right:
|
|
140
|
+
padding-right: mg-rem(11);
|
|
135
141
|
|
|
136
142
|
@include devicebreak(medium) {
|
|
137
|
-
padding-right:
|
|
143
|
+
padding-right: mg-rem(13);
|
|
138
144
|
}
|
|
139
145
|
|
|
140
146
|
li {
|
|
141
147
|
padding-left: 0;
|
|
142
|
-
padding-right:
|
|
148
|
+
padding-right: mg-rem(9);
|
|
143
149
|
|
|
144
150
|
@include devicebreak(medium) {
|
|
145
151
|
// Keep RTL list item text aligned with bullets at medium
|
|
146
152
|
// https://gitlab.com/undrr/web-backlog/-/issues/2444
|
|
147
|
-
padding-right:
|
|
153
|
+
padding-right: mg-rem(9);
|
|
148
154
|
}
|
|
149
155
|
}
|
|
150
156
|
}
|