@undrr/undrr-mangrove 1.3.1 → 1.3.3

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.
Files changed (76) hide show
  1. package/README.md +4 -4
  2. package/components/BarChart.js +1 -1
  3. package/components/Fetcher.js +1 -1
  4. package/components/Gallery.js +2 -2
  5. package/components/IconCard.js +2 -2
  6. package/components/IconCard.js.LICENSE.txt +1 -1
  7. package/components/MapComponent.js +2 -2
  8. package/components/MegaMenu.js +2 -2
  9. package/components/Pager.js +1 -1
  10. package/components/QuoteHighlight.js +2 -2
  11. package/components/ScrollContainer.js +2 -2
  12. package/components/ShareButtons.js +2 -2
  13. package/components/StatsCard.js +2 -2
  14. package/components/SyndicationSearchWidget.js +2 -2
  15. package/components/hydrate.js +5 -0
  16. package/css/style-gutenberg.css +11 -2
  17. package/css/style-gutenberg.css.map +1 -1
  18. package/css/style-irp.css +30 -71
  19. package/css/style-irp.css.map +1 -1
  20. package/css/style-mcr.css +30 -71
  21. package/css/style-mcr.css.map +1 -1
  22. package/css/style-preventionweb.css +30 -71
  23. package/css/style-preventionweb.css.map +1 -1
  24. package/css/style.css +30 -71
  25. package/css/style.css.map +1 -1
  26. package/error-pages/401.html +1 -1
  27. package/error-pages/403.html +1 -1
  28. package/error-pages/404.html +1 -1
  29. package/error-pages/429.html +1 -1
  30. package/error-pages/500.html +1 -1
  31. package/error-pages/502.html +1 -1
  32. package/error-pages/503.html +1 -1
  33. package/error-pages/504.html +1 -1
  34. package/error-pages/5xx.html +1 -1
  35. package/error-pages/challenge.html +1 -1
  36. package/error-pages/managed-challenge.html +1 -1
  37. package/js/show-more.js +15 -9
  38. package/js/tabs.js +0 -7
  39. package/package.json +1 -1
  40. package/scss/Atom/Tag/tag.scss +115 -0
  41. package/scss/Components/Boilerplate/boilerplate.scss +15 -0
  42. package/scss/Components/Cards/Card/card.scss +88 -23
  43. package/scss/Components/Cards/StatsCard/stats-card.scss +1 -1
  44. package/scss/Components/Footer/footer.scss +20 -3
  45. package/scss/Components/Forms/Checkbox/checkbox.scss +2 -22
  46. package/scss/Components/Forms/FormGroup/form-group.scss +24 -0
  47. package/scss/Components/Forms/InputFields/input-fields.scss +7 -177
  48. package/scss/Components/Forms/Radio/radio.scss +2 -13
  49. package/scss/Components/Forms/Select/select.scss +6 -15
  50. package/scss/Components/Forms/TextInput/text-input.scss +13 -0
  51. package/scss/Components/Forms/Textarea/textarea.scss +2 -0
  52. package/scss/Components/Forms/_form-base.scss +324 -0
  53. package/scss/Components/Forms/_form-legacy.scss +153 -0
  54. package/scss/Components/Hero/hero.scss +1 -1
  55. package/scss/Components/HighlightBox/highlight-box.scss +0 -9
  56. package/scss/Components/MegaMenu/megamenu.scss +75 -1
  57. package/scss/Components/PageHeader/page-header.scss +1 -1
  58. package/scss/Components/SyndicationSearchWidget/SyndicationSearchWidget.scss +49 -1
  59. package/scss/Utilities/EmbedContainer/embed-container.scss +58 -0
  60. package/scss/Utilities/ShowMore/ShowMore.scss +8 -17
  61. package/scss/assets/scss/_components.scss +7 -10
  62. package/scss/assets/scss/_mixins.scss +4 -68
  63. package/scss/assets/scss/_utility.scss +87 -0
  64. package/scss/assets/scss/_variables-irp.scss +12 -3
  65. package/scss/assets/scss/_variables-mcr.scss +12 -3
  66. package/scss/assets/scss/_variables-preventionweb.scss +10 -2
  67. package/scss/assets/scss/_variables.scss +37 -10
  68. package/scss/Atom/Navigation/LanguageSwitcherRow/language-switcher-row.scss +0 -12
  69. package/scss/Atom/Navigation/ProgressBarNavigation/progress-bar-navigation.scss +0 -70
  70. package/scss/Atom/Navigation/SidebarFirstLevel/sidebar-first-level.scss +0 -26
  71. package/scss/Components/Accordion/accordion.scss +0 -119
  72. package/scss/Components/Forms/Dropdowns/CustomSelect/custom-select.scss +0 -110
  73. package/scss/Components/Forms/Dropdowns/Multiselect/multi-select.scss +0 -228
  74. package/scss/Components/LanguageSwitcher/language-switcher.scss +0 -162
  75. package/scss/Components/Sidebar/sidebar.scss +0 -236
  76. package/scss/Molecules/SidebarData/sidebar-data.scss +0 -44
@@ -0,0 +1,58 @@
1
+ // Responsive embed container
2
+ // Provides aspect-ratio wrapper for iframes, videos, and other embedded media.
3
+ // Default aspect ratio is 16:9. Use modifier classes for other ratios.
4
+ // Usage: <div class="mg-embed-container"><iframe ...></iframe></div>
5
+
6
+ .mg-embed-container {
7
+ position: relative;
8
+ width: 100%;
9
+ padding-bottom: 56.25%; // 16:9 fallback for older browsers
10
+ height: 0;
11
+ overflow: hidden;
12
+
13
+ @supports (aspect-ratio: 16 / 9) {
14
+ aspect-ratio: 16 / 9;
15
+ padding-bottom: 0;
16
+ height: auto;
17
+ }
18
+
19
+ iframe,
20
+ object,
21
+ embed,
22
+ video {
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ width: 100%;
27
+ height: 100%;
28
+ border: 0;
29
+ }
30
+ }
31
+
32
+ // Aspect ratio variants (mg-embed-container only)
33
+ .mg-embed-container--4x3 {
34
+ padding-bottom: 75%; // 4:3 fallback
35
+
36
+ @supports (aspect-ratio: 4 / 3) {
37
+ aspect-ratio: 4 / 3;
38
+ padding-bottom: 0;
39
+ }
40
+ }
41
+
42
+ .mg-embed-container--1x1 {
43
+ padding-bottom: 100%; // 1:1 fallback
44
+
45
+ @supports (aspect-ratio: 1 / 1) {
46
+ aspect-ratio: 1 / 1;
47
+ padding-bottom: 0;
48
+ }
49
+ }
50
+
51
+ .mg-embed-container--21x9 {
52
+ padding-bottom: 42.857%; // 21:9 fallback
53
+
54
+ @supports (aspect-ratio: 21 / 9) {
55
+ aspect-ratio: 21 / 9;
56
+ padding-bottom: 0;
57
+ }
58
+ }
@@ -6,26 +6,17 @@
6
6
  max-height: 200px;
7
7
  max-height: var(--mg-show-more-height);
8
8
  overflow: hidden;
9
- }
10
-
11
- .mg-show-more--collapsed {
12
9
  position: relative;
13
- margin-bottom: -1rem;
14
- }
15
- .mg-show-more--collapsed:before {
16
- content: "";
17
- cursor: s-resize;
18
- display: block;
19
- position: absolute;
20
- background-image: linear-gradient(
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(
21
16
  to bottom,
22
- rgb(255 255 255 / 0),
23
- rgb(255 255 255 / 1)
17
+ black calc(var(--mg-show-more-height) - 80px),
18
+ transparent var(--mg-show-more-height)
24
19
  );
25
- height: 200px;
26
- width: 100%;
27
- z-index: 1;
28
- margin-top: calc(var(--mg-show-more-height) - 200px);
29
20
  }
30
21
 
31
22
  .mg-show-more--button {
@@ -22,21 +22,21 @@
22
22
 
23
23
  // @import "../../Atom/Layout/Spacing/spacing"; // Retried
24
24
  // @import "../../Atom/Navigation/Breadcrumb/breadcrumb"; // Retried
25
- @import "../../Atom/Navigation/LanguageSwitcherRow/language-switcher-row";
26
25
  @import "../../Atom/Navigation/MenuItems/menu-items";
27
- @import "../../Atom/Navigation/ProgressBarNavigation/progress-bar-navigation";
28
- @import "../../Atom/Navigation/SidebarFirstLevel/sidebar-first-level";
29
26
  @import "../../Atom/ReachElement/Details/details";
30
27
  @import "../../Atom/ReachElement/Figcaption/figcaption";
31
28
  @import "../../Atom/Table/table";
29
+ @import "../../Atom/Tag/tag";
32
30
  @import "../../Atom/Video/video";
33
31
 
34
32
  // Components
35
33
  @import "../../Components/Boilerplate/boilerplate";
34
+ @import "../../Components/Forms/form-base";
35
+ @import "../../Components/Forms/form-legacy";
36
+ @import "../../Components/Forms/FormGroup/form-group";
37
+ @import "../../Components/Forms/TextInput/text-input";
38
+ @import "../../Components/Forms/Textarea/textarea";
36
39
  @import "../../Components/Forms/Checkbox/checkbox";
37
- @import "../../Components/Forms/Dropdowns/CustomSelect/custom-select";
38
- @import "../../Components/Forms/Dropdowns/Multiselect/multi-select";
39
- @import "../../Components/Forms/InputFields/input-fields";
40
40
  @import "../../Components/Forms/Radio/radio";
41
41
  @import "../../Components/Forms/Select/select";
42
42
  @import "../../Components/Breadcrumbs/breadcrumbs";
@@ -45,8 +45,6 @@
45
45
  @import "../../Components/Gallery/gallery";
46
46
  @import "../../Components/HighlightBox/highlight-box";
47
47
  @import "../../Components/QuoteHighlight/quote-highlight";
48
- @import "../../Components/Sidebar/sidebar";
49
- @import "../../Components/Accordion/accordion";
50
48
  @import "../../Components/Buttons/Chips/chips";
51
49
  @import "../../Components/Buttons/CtaButton/buttons";
52
50
  @import "../../Components/Buttons/CtaLink/cta-link";
@@ -57,7 +55,6 @@
57
55
  @import "../../Components/Cards/StatsCard/stats-card";
58
56
  @import "../../Components/Snackbar/snackbar";
59
57
  @import "../../Components/Hero/hero";
60
- @import "../../Components/LanguageSwitcher/language-switcher";
61
58
  @import "../../Components/ScrollContainer/scroll-container";
62
59
  @import "../../Components/Tab/tab";
63
60
  @import "../../Components/TableOfContents/TableOfContents";
@@ -68,9 +65,9 @@
68
65
 
69
66
  // Molecules
70
67
  @import "../../Molecules/ImageCaption/image-caption";
71
- @import "../../Molecules/SidebarData/sidebar-data";
72
68
 
73
69
  // Utilities
70
+ @import "../../Utilities/EmbedContainer/embed-container";
74
71
  @import "../../Utilities/Loader/loader";
75
72
  @import "../../Utilities/FullWidth/FullWidth";
76
73
  @import "../../Utilities/ShowMore/ShowMore";
@@ -135,50 +135,9 @@
135
135
  margin-bottom: $mg-spacing-150;
136
136
  }
137
137
 
138
- %sidebar {
139
- align-items: center;
140
- cursor: pointer;
141
- display: flex;
142
- justify-content: space-between;
143
- overflow: hidden;
144
- padding: $mg-spacing-50;
145
- position: relative;
146
138
 
147
- @include devicebreak(medium) {
148
- padding: $mg-spacing-100;
149
- }
150
- }
151
-
152
- %sidebar-selected {
153
- background-color: $mg-color-blue-600;
154
-
155
- h6 {
156
- color: $mg-color-white;
157
- }
158
-
159
- &:hover {
160
- background-color: $mg-color-blue-600;
161
- }
162
- }
163
-
164
- %checbox-radio-before {
165
- -webkit-appearance: none;
166
- appearance: none;
167
- border: 2px solid $mg-color-red-900;
168
- cursor: pointer;
169
- height: 16px;
170
- margin: 0;
171
- width: 16px;
172
-
173
- &:hover {
174
- border-color: $sendai-purple-400;
175
- }
176
-
177
- &:focus-visible {
178
- box-shadow: 0 0 4px $mg-color-blue-800;
179
- outline: 0;
180
- }
181
- }
139
+ // %checbox-radio-before — REMOVED (February 2026)
140
+ // Migrated to .mg-form-check__input in _form-base.scss.
182
141
 
183
142
  %ctaimg {
184
143
  content: "";
@@ -217,18 +176,6 @@
217
176
  width: 100%;
218
177
  }
219
178
 
220
- %sidebar-chevron {
221
- @include transition(all 0.3s ease);
222
- @include transform(translateY(-50%));
223
-
224
- // background: url(#{$img-path-Icon}/chevron-down.svg) no-repeat center center;
225
- content: "";
226
- height: 0.813rem;
227
- position: absolute;
228
- right: 1.188rem;
229
- top: 50%;
230
- width: 20px;
231
- }
232
179
 
233
180
  %language_switcher {
234
181
  border: none;
@@ -248,19 +195,8 @@
248
195
  width: 100%;
249
196
  }
250
197
 
251
- %select_default {
252
- border: 2px solid $mg-color-black;
253
- color: $mg-color-black;
254
- cursor: pointer;
255
- font-size: $mg-font-size-300;
256
- font-weight: 600;
257
- line-height: 1.125rem;
258
- margin: 0;
259
- padding: $mg-spacing-50 $mg-spacing-800 $mg-spacing-50 $mg-spacing-50;
260
- position: relative;
261
- text-transform: uppercase;
262
- width: 100%;
263
- }
198
+ // %select_default — REMOVED (February 2026)
199
+ // Migrated to .mg-form-select in _form-base.scss.
264
200
 
265
201
  %select_option {
266
202
  border: 2px solid $mg-color-black;
@@ -287,3 +287,90 @@ $colors-solid: (
287
287
  .mg-u-color--interactive-active { color: $mg-color-interactive-active; }
288
288
 
289
289
  /* Color utilities end */
290
+
291
+ /* Font size utilities start */
292
+
293
+ .mg-u-font-size-150 {
294
+ font-size: $mg-font-size-150;
295
+ line-height: $mg-font-line-height-700;
296
+ }
297
+
298
+ .mg-u-font-size-200 {
299
+ font-size: $mg-font-size-200;
300
+ line-height: $mg-font-line-height-700;
301
+ }
302
+
303
+ .mg-u-font-size-250 {
304
+ font-size: $mg-font-size-250;
305
+ line-height: $mg-font-line-height-700;
306
+ }
307
+
308
+ .mg-u-font-size-300 {
309
+ font-size: $mg-font-size-300;
310
+ line-height: $mg-font-line-height-700;
311
+ }
312
+
313
+ .mg-u-font-size-400 {
314
+ font-size: $mg-font-size-300;
315
+ line-height: $mg-font-line-height-700;
316
+
317
+ @include devicebreak(medium) {
318
+ font-size: $mg-font-size-400;
319
+ }
320
+ }
321
+
322
+ .mg-u-font-size-500 {
323
+ font-size: $mg-font-size-400;
324
+ line-height: $mg-font-line-height-500;
325
+
326
+ @include devicebreak(medium) {
327
+ font-size: $mg-font-size-500;
328
+ }
329
+ }
330
+
331
+ .mg-u-font-size-600 {
332
+ font-size: $mg-font-size-500;
333
+ line-height: $mg-font-line-height-500;
334
+
335
+ @include devicebreak(medium) {
336
+ font-size: $mg-font-size-600;
337
+ }
338
+ }
339
+
340
+ .mg-u-font-size-800 {
341
+ font-size: $mg-font-size-600;
342
+ line-height: $mg-font-line-height-500;
343
+
344
+ @include devicebreak(medium) {
345
+ font-size: $mg-font-size-800;
346
+ }
347
+ }
348
+
349
+ .mg-u-font-size-900 {
350
+ font-size: $mg-font-size-800;
351
+ line-height: $mg-font-line-height-500;
352
+
353
+ @include devicebreak(medium) {
354
+ font-size: $mg-font-size-900;
355
+ }
356
+ }
357
+
358
+ :lang(my) {
359
+ .mg-u-font-size-400,
360
+ .mg-u-font-size-500,
361
+ .mg-u-font-size-600,
362
+ .mg-u-font-size-800,
363
+ .mg-u-font-size-900 {
364
+ line-height: 1.7;
365
+ }
366
+ }
367
+
368
+ :lang(ar) {
369
+ .mg-u-font-size-600,
370
+ .mg-u-font-size-800,
371
+ .mg-u-font-size-900 {
372
+ line-height: 1.4;
373
+ }
374
+ }
375
+
376
+ /* Font size utilities end */
@@ -14,13 +14,22 @@ $mg-color-interactive: $irp-color-primary;
14
14
  $mg-color-interactive-active: $irp-color-primary;
15
15
 
16
16
  // COMPONENTS
17
- $mg-color-label: $mg-color-interactive;
18
- $mg-color-label--hover: $mg-color-interactive;
19
- $mg-radius-label: $mg-spacing-50;
17
+ $mg-color-tag: $mg-color-interactive;
18
+ $mg-color-tag--hover: $mg-color-interactive-active;
19
+
20
+ // $mg-color-tag-secondary, $mg-color-tag-accent — use defaults
21
+ $mg-radius-tag: $mg-spacing-50;
20
22
  $mg-color-button-background: $irp-color-primary;
21
23
  $mg-color-button-background--hover: $sendai-orange-900;
22
24
  $mg-radius-button: $mg-spacing-50;
23
25
 
26
+ // Form elements
27
+ $mg-color-form-check: $mg-color-interactive;
28
+ $mg-color-form-check--hover: $mg-color-interactive-active;
29
+ $mg-color-form-check--checked: $mg-color-interactive;
30
+ $mg-color-form-focus: $mg-color-interactive;
31
+ $mg-radius-form-input: $mg-spacing-50;
32
+
24
33
  // Hero
25
34
  $mg-color-hero: $mg-color-interactive;
26
35
  $mg-spacing-hero-overlay: 2rem 0;
@@ -21,9 +21,11 @@ $mg-color-interactive: $mcr-color-primary;
21
21
  $mg-color-interactive-active: $mcr-color-primary;
22
22
 
23
23
  // COMPONENTS
24
- $mg-color-label: $mg-color-interactive;
25
- $mg-color-label--hover: $mg-color-interactive;
26
- $mg-radius-label: $mg-spacing-100;
24
+ $mg-color-tag: $mg-color-interactive;
25
+ $mg-color-tag--hover: $mg-color-interactive-active;
26
+
27
+ // $mg-color-tag-secondary, $mg-color-tag-accent — use defaults
28
+ $mg-radius-tag: $mg-spacing-100;
27
29
  $mg-color-button-background: $mcr-color-primary;
28
30
  $mg-color-button-background--hover: $mcr-color-purple-800;
29
31
  $mg-radius-button: $mg-spacing-300;
@@ -31,6 +33,13 @@ $mg-border-width-button: 2px;
31
33
  $mg-padding-button: $mg-spacing-150 $mg-spacing-300;
32
34
  $mg-font-size-button: $mg-font-size-400;
33
35
 
36
+ // Form elements
37
+ $mg-color-form-check: $mg-color-interactive;
38
+ $mg-color-form-check--hover: $mg-color-interactive-active;
39
+ $mg-color-form-check--checked: $mg-color-interactive;
40
+ $mg-color-form-focus: $mg-color-interactive;
41
+ $mg-radius-form-input: $mg-spacing-100;
42
+
34
43
  // Hero
35
44
  $mg-color-hero: $mg-color-interactive;
36
45
  $mg-spacing-hero-overlay: 2rem 0;
@@ -13,12 +13,20 @@ $mg-color-interactive: $pw-color-primary;
13
13
  $mg-color-interactive-active: $pw-color-primary;
14
14
 
15
15
  // PW-COMPONENTS
16
- $mg-color-label: $mg-color-interactive;
17
- $mg-color-label--hover: $mg-color-interactive;
16
+ $mg-color-tag: $mg-color-interactive;
17
+ $mg-color-tag--hover: $mg-color-interactive-active;
18
+
19
+ // $mg-color-tag-secondary, $mg-color-tag-accent — use defaults
18
20
  $mg-color-button-background: $pw-color-primary;
19
21
  $mg-color-button-background--hover: $sendai-orange-900;
20
22
  $mg-radius-button: $mg-spacing-50;
21
23
 
24
+ // Form elements
25
+ $mg-color-form-check: $mg-color-interactive;
26
+ $mg-color-form-check--hover: $mg-color-interactive-active;
27
+ $mg-color-form-check--checked: $mg-color-interactive;
28
+ $mg-color-form-focus: $mg-color-interactive;
29
+
22
30
  // Hero
23
31
  $mg-color-hero: $mg-color-interactive;
24
32
  $mg-spacing-hero-overlay: 2rem 0;
@@ -193,7 +193,7 @@ $mg-font-size-900: 4rem;
193
193
  $mg-font-size-1000: 4.8rem;
194
194
  $mg-font-size-1100: 6.4rem;
195
195
  $mg-font-body: $mg-font-size-300;
196
- $mg-font-label: $mg-font-size-200;
196
+ $mg-font-tag: $mg-font-size-200;
197
197
  $mg-font-line-height-500: 1.25em;
198
198
  $mg-font-line-height-700: 1.5em;
199
199
 
@@ -278,10 +278,14 @@ $mg-container-spacer: $mg-spacing-150;
278
278
  // text
279
279
  $mg-color-text: $mg-color-neutral-800;
280
280
 
281
- // label
282
- $mg-color-label: $mg-color-interactive !default;
283
- $mg-color-label--hover: $mg-color-interactive !default;
284
- $mg-radius-label: $mg-spacing-0 !default;
281
+ // tag
282
+ $mg-color-tag: $mg-color-interactive !default;
283
+ $mg-color-tag--hover: $mg-color-interactive-active !default;
284
+ $mg-color-tag-secondary: $mg-color-neutral-500 !default;
285
+ $mg-color-tag-secondary--hover: $mg-color-neutral-600 !default;
286
+ $mg-color-tag-accent: $mg-color-orange-900 !default;
287
+ $mg-color-tag-accent--hover: $mg-color-orange-800 !default;
288
+ $mg-radius-tag: $mg-spacing-0 !default;
285
289
 
286
290
  // button
287
291
  $mg-color-button: $mg-color-white !default;
@@ -295,11 +299,25 @@ $mg-border-color-button: $mg-color-text-button !default;
295
299
  $mg-padding-button: $mg-spacing-100 $mg-spacing-150 !default;
296
300
  $mg-font-size-button: $mg-font-size-250 !default;
297
301
 
298
- // hero
302
+ // form check (checkbox / radio)
303
+ $mg-color-form-check: $mg-color-interactive !default;
304
+ $mg-color-form-check--hover: $mg-color-interactive-active !default;
305
+ $mg-color-form-check--checked: $mg-color-interactive !default;
306
+
307
+ // form inputs (text, textarea, select)
308
+ $mg-color-form-focus: $mg-color-interactive !default;
309
+ $mg-radius-form-input: $mg-spacing-0 !default;
310
+
311
+ // shared variant accent colours (used by hero, cards, and other components)
312
+ $mg-color-secondary: $mg-color-orange-800 !default;
313
+ $mg-color-tertiary: $mg-color-neutral-900 !default;
314
+ $mg-color-quaternary: $mg-color-red-800 !default;
315
+
316
+ // hero (aliases for backward compatibility)
299
317
  $mg-color-hero: $mg-color-interactive !default;
300
- $mg-color-hero--secondary: $mg-color-orange-800 !default;
301
- $mg-color-hero--tertiary: $mg-color-neutral-900 !default;
302
- $mg-color-hero--quaternary: $mg-color-red-800 !default;
318
+ $mg-color-hero--secondary: $mg-color-secondary !default;
319
+ $mg-color-hero--tertiary: $mg-color-tertiary !default;
320
+ $mg-color-hero--quaternary: $mg-color-quaternary !default;
303
321
  $mg-opacity-hero: 0.85 !default;
304
322
  $mg-spacing-hero-overlay: 0 !default;
305
323
 
@@ -333,7 +351,16 @@ $author-image-radius: 50%;
333
351
  * @tokens-end
334
352
  */
335
353
 
336
- // Legacy: Required by UNDP
354
+ // @deprecated Legacy UNDP color variables — will be removed in a future major release.
355
+ // Migrate to Mangrove's standard color tokens ($mg-color-{hue}-{shade}):
356
+ // $mg-color-green → $mg-color-green-600 or a custom semantic variable
357
+ // $mg-color-green-light → $mg-color-green-200
358
+ // $mg-color-green-dark → $mg-color-green-800
359
+ // $mg-color-yellow → $mg-color-yellow-500
360
+ // $mg-color-yellow-light → $mg-color-yellow-100
361
+ // $mg-color-yellow-dark → $mg-color-yellow-700
362
+ // $mg-color-azure* → $mg-color-blue-100 / $mg-color-neutral-100
363
+ // $mg-color-ebony-clay → $mg-color-neutral-700
337
364
  $mg-color-green: #008484;
338
365
  $mg-color-green-light: #90ee90;
339
366
  $mg-color-yellow: #ff0;
@@ -1,12 +0,0 @@
1
- // * language row start *//
2
- .language__item {
3
- @extend %paragraph-font-200;
4
- @extend %border-bottom;
5
-
6
- display: inline-block;
7
- line-height: 0.9;
8
- min-width: 100px;
9
- padding: $mg-spacing-25 $mg-spacing-50;
10
- }
11
-
12
- // * language row end *//
@@ -1,70 +0,0 @@
1
- // * progress navigation start *//
2
- .progress-container {
3
- background: $mg-color-neutral-300;
4
- height: 0.75rem;
5
- width: 100%;
6
-
7
- @include devicebreak(medium) {
8
- height: 1rem;
9
- }
10
-
11
- &.small {
12
- height: 0.625rem;
13
-
14
- @include devicebreak(medium) {
15
- height: 0.75rem;
16
- }
17
-
18
- .progress-bar {
19
- height: 0.625rem;
20
-
21
- @include devicebreak(medium) {
22
- height: 0.75rem;
23
- }
24
- }
25
- }
26
-
27
- &.yellow {
28
- .progress-bar {
29
- background: $mg-color-yellow;
30
- }
31
- }
32
-
33
- &.red {
34
- .progress-bar {
35
- background: $mg-color-red-900;
36
- }
37
- }
38
-
39
- &.green {
40
- .progress-bar {
41
- background: $mg-color-green;
42
- }
43
- }
44
-
45
- &.blue {
46
- .progress-bar {
47
- background: $mg-color-azure;
48
- }
49
- }
50
- }
51
-
52
- .progress-bar {
53
- @include transition(width 0.2s linear);
54
-
55
- height: 0.75rem;
56
- min-width: 1%;
57
- position: fixed;
58
- width: 34%;
59
- z-index: 1;
60
-
61
- @include devicebreak(medium) {
62
- height: 1rem;
63
- }
64
- }
65
-
66
- .progress-top {
67
- top: 0;
68
- }
69
-
70
- // * progress navigation end *//
@@ -1,26 +0,0 @@
1
- // * Sidebar start *//
2
- .sidebar_item {
3
- @extend %border-bottom;
4
- @extend %sidebar;
5
-
6
- &:hover {
7
- background-color: $mg-color-neutral-200;
8
- }
9
-
10
- &.open {
11
- .arrow {
12
- transform: rotateZ(180deg);
13
- transition: all 0.1s ease;
14
- }
15
- }
16
-
17
- h6 {
18
- margin-bottom: 0;
19
- }
20
-
21
- &.selected {
22
- @extend %sidebar-selected;
23
- }
24
- }
25
-
26
- // * Slidebar end *//