@maboussoleaidant/design-system 0.1.39 → 0.1.40
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/CHANGELOG.md +12 -0
- package/dist/mba-design-system.css +13 -117
- package/dist/mba-design-system.css.map +1 -1
- package/dist/mba-design-system.min.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ Format inspiré de [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/). Ver
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [0.1.40] — 2026-08-07
|
|
10
|
+
|
|
11
|
+
Correctif de **cascade layers**. **100 % rétrocompatible** (aucune classe modifiée).
|
|
12
|
+
|
|
13
|
+
### 🐛 Correctif
|
|
14
|
+
|
|
15
|
+
- **Ordre des `@layer` figé** (`src/main.css`) — ajout de `@layer theme, base, components, utilities;` en 1re règle du CSS compilé.
|
|
16
|
+
- **Problème** : sans ordre déclaré, les layers étaient ordonnés par apparition (`components` puis `base`) → le reset de `@layer base` (ex. `button { background-color: transparent }`, `a { … }`) **écrasait** les composants `.mba-*` de `@layer components`. Symptômes côté consommateur : `.mba-btn` / `.mba-btn-light` / `.mba-input-icon` / `.mba-btn-to-top` sans fond ni couleur, `.is-hidden` sans effet, liens `.mba-breadcrumb__link` en mauvaise couleur — **y compris dans un Shadow DOM** important ce fichier.
|
|
17
|
+
- **Correction** : priorité croissante `theme < base < components < utilities` → les composants gagnent enfin sur le reset, comme attendu. Débloque l'adoption des composants DS dans `mba_front` sans override local.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
9
21
|
## [0.1.39] — 2026-08-07
|
|
10
22
|
|
|
11
23
|
Lot de composants **« Ma vie d'aidant »** (publié en patch pour éviter des publications en cascade). **100 % rétrocompatible** : que des ajouts, aucune classe `.mba-*` existante modifiée de façon cassante. Tout est **CSS pur** (zéro JS dans le DS), tokens uniquement, accessible (0 violation a11y sur les nouvelles stories).
|
|
@@ -1,23 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
@layer theme, base, components, utilities;
|
|
1
3
|
/**
|
|
2
4
|
* MBA Design System
|
|
3
5
|
*
|
|
4
6
|
* Point d'entrée principal (sans Tailwind utilities)
|
|
5
7
|
* Inclut: tokens + base + composants
|
|
6
8
|
*/
|
|
7
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Ordre des cascade layers — DOIT rester la 1re règle du CSS compilé.
|
|
11
|
+
*
|
|
12
|
+
* Sans cette déclaration, les layers étaient ordonnés par ordre d'apparition
|
|
13
|
+
* (`components` puis `base`), ce qui faisait gagner le reset `base`
|
|
14
|
+
* (ex. `button { background-color: transparent }`, `a { … }`) sur les
|
|
15
|
+
* composants `.mba-*` de `@layer components` — y compris à l'intérieur d'un
|
|
16
|
+
* Shadow DOM qui importe ce fichier. En figeant l'ordre priorité croissante
|
|
17
|
+
* `theme < base < components < utilities`, les composants gagnent enfin sur
|
|
18
|
+
* le reset, comme attendu.
|
|
19
|
+
*/
|
|
8
20
|
/**
|
|
9
21
|
* MBA Design System - Tokens
|
|
10
22
|
*
|
|
11
23
|
* Point d'entrée pour tous les design tokens
|
|
12
24
|
*/
|
|
13
|
-
|
|
14
25
|
/**
|
|
15
26
|
* MBA Design System - Couleurs
|
|
16
27
|
*
|
|
17
28
|
* Palette de couleurs extraite du Design System Figma
|
|
18
29
|
* Préfixe: --mba-color-
|
|
19
30
|
*/
|
|
20
|
-
|
|
21
31
|
:root {
|
|
22
32
|
/* ===========================================
|
|
23
33
|
BASICS
|
|
@@ -173,14 +183,12 @@
|
|
|
173
183
|
/* Focus ring (accessibilité) */
|
|
174
184
|
--mba-focus-ring: 0 0 0 3px rgba(112, 57, 115, 0.25);
|
|
175
185
|
}
|
|
176
|
-
|
|
177
186
|
/**
|
|
178
187
|
* MBA Design System - Typographie
|
|
179
188
|
*
|
|
180
189
|
* Polices: Open Sans (textes) + Congenial (titres)
|
|
181
190
|
* Source: Design System Figma
|
|
182
191
|
*/
|
|
183
|
-
|
|
184
192
|
:root {
|
|
185
193
|
/* ===========================================
|
|
186
194
|
FAMILLES DE POLICES
|
|
@@ -229,12 +237,10 @@
|
|
|
229
237
|
--mba-tracking-wider: 0.05em;
|
|
230
238
|
--mba-tracking-widest: 0.1em;
|
|
231
239
|
}
|
|
232
|
-
|
|
233
240
|
/* ===========================================
|
|
234
241
|
HEADING PRESETS (Congenial)
|
|
235
242
|
Wrappé dans @layer components pour être overridable par utilities
|
|
236
243
|
=========================================== */
|
|
237
|
-
|
|
238
244
|
@layer components {
|
|
239
245
|
|
|
240
246
|
/* XXL - 48px Bold */
|
|
@@ -338,16 +344,13 @@
|
|
|
338
344
|
}
|
|
339
345
|
|
|
340
346
|
}
|
|
341
|
-
|
|
342
347
|
/* end @layer components */
|
|
343
|
-
|
|
344
348
|
/**
|
|
345
349
|
* MBA Design System - Espacements
|
|
346
350
|
*
|
|
347
351
|
* Échelle d'espacements extraite du Design System Figma
|
|
348
352
|
* Préfixe: --mba-space-
|
|
349
353
|
*/
|
|
350
|
-
|
|
351
354
|
:root {
|
|
352
355
|
/* ===========================================
|
|
353
356
|
ÉCHELLE FIGMA
|
|
@@ -372,14 +375,12 @@
|
|
|
372
375
|
=========================================== */
|
|
373
376
|
--mba-container-width: 70rem; /* 1120px */
|
|
374
377
|
}
|
|
375
|
-
|
|
376
378
|
/**
|
|
377
379
|
* MBA Design System - Border Radius
|
|
378
380
|
*
|
|
379
381
|
* Échelle de rayons de bordure extraite du Design System Figma
|
|
380
382
|
* Préfixe: --mba-radius-
|
|
381
383
|
*/
|
|
382
|
-
|
|
383
384
|
:root {
|
|
384
385
|
/* ===========================================
|
|
385
386
|
ÉCHELLE FIGMA
|
|
@@ -398,7 +399,6 @@
|
|
|
398
399
|
--mba-radius-none: 0;
|
|
399
400
|
--mba-radius-full: 9999px;
|
|
400
401
|
}
|
|
401
|
-
|
|
402
402
|
/**
|
|
403
403
|
* MBA Design System - Ombres (Elevation)
|
|
404
404
|
*
|
|
@@ -406,7 +406,6 @@
|
|
|
406
406
|
* Couleur de base: Grey 400 (#71717A / rgba(113, 113, 122))
|
|
407
407
|
* Préfixe: --mba-shadow-
|
|
408
408
|
*/
|
|
409
|
-
|
|
410
409
|
:root {
|
|
411
410
|
/* ===========================================
|
|
412
411
|
ÉCHELLE FIGMA (Elevation)
|
|
@@ -450,13 +449,11 @@
|
|
|
450
449
|
--mba-input-ring-success: 0 0 0 1.5px var(--mba-color-success-100);
|
|
451
450
|
--mba-input-ring-success-focus: 0 0 0 1.5px var(--mba-color-success-300);
|
|
452
451
|
}
|
|
453
|
-
|
|
454
452
|
/**
|
|
455
453
|
* MBA Design System - Transitions
|
|
456
454
|
*
|
|
457
455
|
* Durées et easings pour les animations
|
|
458
456
|
*/
|
|
459
|
-
|
|
460
457
|
:root {
|
|
461
458
|
/* ===========================================
|
|
462
459
|
DUREES
|
|
@@ -485,7 +482,6 @@
|
|
|
485
482
|
--mba-transition-base: var(--mba-duration-200) var(--mba-ease-in-out);
|
|
486
483
|
--mba-transition-slow: var(--mba-duration-300) var(--mba-ease-in-out);
|
|
487
484
|
}
|
|
488
|
-
|
|
489
485
|
/**
|
|
490
486
|
* MBA Design System - Breakpoints
|
|
491
487
|
*
|
|
@@ -496,7 +492,6 @@
|
|
|
496
492
|
* Utiliser les classes Tailwind (sm:, md:, lg:, xl:, 2xl:)
|
|
497
493
|
* ou les @media queries directement.
|
|
498
494
|
*/
|
|
499
|
-
|
|
500
495
|
:root {
|
|
501
496
|
/* Breakpoints pour référence (usage JS) */
|
|
502
497
|
--mba-breakpoint-sm: 640px;
|
|
@@ -505,7 +500,6 @@
|
|
|
505
500
|
--mba-breakpoint-xl: 1280px;
|
|
506
501
|
--mba-breakpoint-2xl: 1536px;
|
|
507
502
|
}
|
|
508
|
-
|
|
509
503
|
/*
|
|
510
504
|
Usage en CSS pur (les @media ne supportent pas les custom properties) :
|
|
511
505
|
|
|
@@ -515,7 +509,6 @@
|
|
|
515
509
|
@media (min-width: 1280px) { ... } xl
|
|
516
510
|
@media (min-width: 1536px) { ... } 2xl
|
|
517
511
|
*/
|
|
518
|
-
|
|
519
512
|
/**
|
|
520
513
|
* MBA Design System - Decorations
|
|
521
514
|
*
|
|
@@ -525,7 +518,6 @@
|
|
|
525
518
|
* - dip-up = creux vers le haut ↑ (utilisé en position bottom)
|
|
526
519
|
* - dip-down = creux vers le bas ↓ (utilisé en position top)
|
|
527
520
|
*/
|
|
528
|
-
|
|
529
521
|
:root {
|
|
530
522
|
/* Wave Default (42px) */
|
|
531
523
|
--mba-wave-height: 42px;
|
|
@@ -537,23 +529,19 @@
|
|
|
537
529
|
--mba-wave-sm-dip-up-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 24' preserveAspectRatio='none'%3E%3Cpath d='M1280 24H0V15.8118C95.612 15.8118 246.789 0 360.422 0C499.085 0 780.915 15.8118 914.071 15.8118C1068.75 15.8118 1190.9 0 1280 0V24Z' fill='black'/%3E%3C/svg%3E");
|
|
538
530
|
--mba-wave-sm-dip-down-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1280V8.18824C1184.39 8.18824 1033.21 24 919.578 24C780.915 24 499.085 8.18824 365.929 8.18824C211.248 8.18824 89.1044 24 0 24V0Z' fill='black'/%3E%3C/svg%3E");
|
|
539
531
|
}
|
|
540
|
-
|
|
541
532
|
/**
|
|
542
533
|
* MBA Design System - Base
|
|
543
534
|
*
|
|
544
535
|
* Reset et styles de base
|
|
545
536
|
*/
|
|
546
|
-
|
|
547
537
|
/**
|
|
548
538
|
* MBA Design System - Fonts
|
|
549
539
|
*
|
|
550
540
|
* @font-face declarations pour Open Sans et Congenial
|
|
551
541
|
*/
|
|
552
|
-
|
|
553
542
|
/* ===========================================
|
|
554
543
|
OPEN SANS (Textes)
|
|
555
544
|
=========================================== */
|
|
556
|
-
|
|
557
545
|
@font-face {
|
|
558
546
|
font-family: "Open Sans";
|
|
559
547
|
font-style: normal;
|
|
@@ -561,7 +549,6 @@
|
|
|
561
549
|
font-display: swap;
|
|
562
550
|
src: url("../assets/fonts/OpenSans-Regular.woff2") format("woff2");
|
|
563
551
|
}
|
|
564
|
-
|
|
565
552
|
@font-face {
|
|
566
553
|
font-family: "Open Sans";
|
|
567
554
|
font-style: normal;
|
|
@@ -569,7 +556,6 @@
|
|
|
569
556
|
font-display: swap;
|
|
570
557
|
src: url("../assets/fonts/OpenSans-SemiBold.woff2") format("woff2");
|
|
571
558
|
}
|
|
572
|
-
|
|
573
559
|
@font-face {
|
|
574
560
|
font-family: "Open Sans";
|
|
575
561
|
font-style: normal;
|
|
@@ -577,7 +563,6 @@
|
|
|
577
563
|
font-display: swap;
|
|
578
564
|
src: url("../assets/fonts/OpenSans-Bold.woff2") format("woff2");
|
|
579
565
|
}
|
|
580
|
-
|
|
581
566
|
@font-face {
|
|
582
567
|
font-family: "Open Sans";
|
|
583
568
|
font-style: normal;
|
|
@@ -585,12 +570,10 @@
|
|
|
585
570
|
font-display: swap;
|
|
586
571
|
src: url("../assets/fonts/OpenSans-ExtraBold.woff2") format("woff2");
|
|
587
572
|
}
|
|
588
|
-
|
|
589
573
|
/* ===========================================
|
|
590
574
|
CONGENIAL (Titres)
|
|
591
575
|
Note: ExtraBold non disponible, on utilise Bold pour les titres
|
|
592
576
|
=========================================== */
|
|
593
|
-
|
|
594
577
|
@font-face {
|
|
595
578
|
font-family: "Congenial";
|
|
596
579
|
font-style: normal;
|
|
@@ -598,7 +581,6 @@
|
|
|
598
581
|
font-display: swap;
|
|
599
582
|
src: url("../assets/fonts/Congenial.woff2") format("woff2");
|
|
600
583
|
}
|
|
601
|
-
|
|
602
584
|
@font-face {
|
|
603
585
|
font-family: "Congenial";
|
|
604
586
|
font-style: normal;
|
|
@@ -606,7 +588,6 @@
|
|
|
606
588
|
font-display: swap;
|
|
607
589
|
src: url("../assets/fonts/Congenial-Medium.woff2") format("woff2");
|
|
608
590
|
}
|
|
609
|
-
|
|
610
591
|
@font-face {
|
|
611
592
|
font-family: "Congenial";
|
|
612
593
|
font-style: normal;
|
|
@@ -614,7 +595,6 @@
|
|
|
614
595
|
font-display: swap;
|
|
615
596
|
src: url("../assets/fonts/Congenial-Bold.woff2") format("woff2");
|
|
616
597
|
}
|
|
617
|
-
|
|
618
598
|
/**
|
|
619
599
|
* MBA Design System - Icons
|
|
620
600
|
*
|
|
@@ -626,11 +606,9 @@
|
|
|
626
606
|
* 1. Éditer src/icons/icons.list.txt
|
|
627
607
|
* 2. Lancer: npm run icons:build
|
|
628
608
|
*/
|
|
629
|
-
|
|
630
609
|
/* ===========================================
|
|
631
610
|
FONT FACE - Material Symbols Rounded
|
|
632
611
|
=========================================== */
|
|
633
|
-
|
|
634
612
|
@font-face {
|
|
635
613
|
font-family: 'Material Symbols Rounded';
|
|
636
614
|
font-style: normal;
|
|
@@ -638,12 +616,10 @@
|
|
|
638
616
|
font-display: block;
|
|
639
617
|
src: url('../assets/fonts/MaterialSymbolsRounded.woff2') format('woff2');
|
|
640
618
|
}
|
|
641
|
-
|
|
642
619
|
/* ===========================================
|
|
643
620
|
BASE ICON CLASS
|
|
644
621
|
Wrappé dans @layer base pour permettre aux @layer components de l'overrider
|
|
645
622
|
=========================================== */
|
|
646
|
-
|
|
647
623
|
@layer base {
|
|
648
624
|
|
|
649
625
|
.material-symbols-rounded {
|
|
@@ -766,9 +742,7 @@
|
|
|
766
742
|
}
|
|
767
743
|
|
|
768
744
|
}
|
|
769
|
-
|
|
770
745
|
/* end @layer base */
|
|
771
|
-
|
|
772
746
|
/**
|
|
773
747
|
* MBA Design System - Preflight
|
|
774
748
|
*
|
|
@@ -778,7 +752,6 @@
|
|
|
778
752
|
* Wrappé dans @layer base pour permettre aux utilities Tailwind
|
|
779
753
|
* de l'overrider sans avoir besoin de !important
|
|
780
754
|
*/
|
|
781
|
-
|
|
782
755
|
@layer base {
|
|
783
756
|
|
|
784
757
|
*,
|
|
@@ -1013,15 +986,12 @@ video {
|
|
|
1013
986
|
}
|
|
1014
987
|
|
|
1015
988
|
}
|
|
1016
|
-
|
|
1017
989
|
/* end @layer base */
|
|
1018
|
-
|
|
1019
990
|
/**
|
|
1020
991
|
* MBA Design System - Base Typography
|
|
1021
992
|
*
|
|
1022
993
|
* Styles de base pour le texte
|
|
1023
994
|
*/
|
|
1024
|
-
|
|
1025
995
|
@layer base {
|
|
1026
996
|
|
|
1027
997
|
body {
|
|
@@ -1065,15 +1035,12 @@ a:hover {
|
|
|
1065
1035
|
}
|
|
1066
1036
|
|
|
1067
1037
|
}
|
|
1068
|
-
|
|
1069
1038
|
/* end @layer base */
|
|
1070
|
-
|
|
1071
1039
|
/**
|
|
1072
1040
|
* MBA Design System - Composants
|
|
1073
1041
|
*
|
|
1074
1042
|
* Classes de composants prêtes à l'emploi
|
|
1075
1043
|
*/
|
|
1076
|
-
|
|
1077
1044
|
/**
|
|
1078
1045
|
* MBA Design System - Boutons
|
|
1079
1046
|
*
|
|
@@ -1081,7 +1048,6 @@ a:hover {
|
|
|
1081
1048
|
* Couleur: Primary (Violet #703973)
|
|
1082
1049
|
* Source: Design System Figma
|
|
1083
1050
|
*/
|
|
1084
|
-
|
|
1085
1051
|
@layer components {
|
|
1086
1052
|
|
|
1087
1053
|
/* ===========================================
|
|
@@ -1606,9 +1572,7 @@ a:hover {
|
|
|
1606
1572
|
}
|
|
1607
1573
|
|
|
1608
1574
|
}
|
|
1609
|
-
|
|
1610
1575
|
/* end @layer components */
|
|
1611
|
-
|
|
1612
1576
|
/**
|
|
1613
1577
|
* MBA Design System - Links
|
|
1614
1578
|
*
|
|
@@ -1624,7 +1588,6 @@ a:hover {
|
|
|
1624
1588
|
* <span class="material-symbols-rounded">arrow_forward</span>
|
|
1625
1589
|
* </a>
|
|
1626
1590
|
*/
|
|
1627
|
-
|
|
1628
1591
|
@layer components {
|
|
1629
1592
|
|
|
1630
1593
|
.mba-link {
|
|
@@ -1667,16 +1630,13 @@ a:hover {
|
|
|
1667
1630
|
}
|
|
1668
1631
|
|
|
1669
1632
|
}
|
|
1670
|
-
|
|
1671
1633
|
/* end @layer components */
|
|
1672
|
-
|
|
1673
1634
|
/**
|
|
1674
1635
|
* MBA Design System - Cards
|
|
1675
1636
|
*
|
|
1676
1637
|
* Classes: .mba-card, .mba-card--sm, .mba-card-grid
|
|
1677
1638
|
* Source: Design System Figma
|
|
1678
1639
|
*/
|
|
1679
|
-
|
|
1680
1640
|
@layer components {
|
|
1681
1641
|
|
|
1682
1642
|
/* ===========================================
|
|
@@ -2288,9 +2248,7 @@ a:hover {
|
|
|
2288
2248
|
}
|
|
2289
2249
|
|
|
2290
2250
|
}
|
|
2291
|
-
|
|
2292
2251
|
/* end @layer components */
|
|
2293
|
-
|
|
2294
2252
|
/**
|
|
2295
2253
|
* MBA Design System - Arrow Buttons
|
|
2296
2254
|
*
|
|
@@ -2302,7 +2260,6 @@ a:hover {
|
|
|
2302
2260
|
* - background: Primary-500
|
|
2303
2261
|
* - disabled: Grey-300
|
|
2304
2262
|
*/
|
|
2305
|
-
|
|
2306
2263
|
@layer components {
|
|
2307
2264
|
|
|
2308
2265
|
.mba-arrow {
|
|
@@ -2345,16 +2302,13 @@ a:hover {
|
|
|
2345
2302
|
}
|
|
2346
2303
|
|
|
2347
2304
|
}
|
|
2348
|
-
|
|
2349
2305
|
/* end @layer components */
|
|
2350
|
-
|
|
2351
2306
|
/**
|
|
2352
2307
|
* MBA Design System - Radio & Checkbox
|
|
2353
2308
|
*
|
|
2354
2309
|
* Classes: .mba-radio, .mba-radio--pro, .mba-checkbox, .mba-checkbox--pro
|
|
2355
2310
|
* Source: Design System Figma
|
|
2356
2311
|
*/
|
|
2357
|
-
|
|
2358
2312
|
@layer components {
|
|
2359
2313
|
|
|
2360
2314
|
/* ===========================================
|
|
@@ -2558,16 +2512,13 @@ a:hover {
|
|
|
2558
2512
|
}
|
|
2559
2513
|
|
|
2560
2514
|
}
|
|
2561
|
-
|
|
2562
2515
|
/* end @layer components */
|
|
2563
|
-
|
|
2564
2516
|
/**
|
|
2565
2517
|
* MBA Design System - Pagination
|
|
2566
2518
|
*
|
|
2567
2519
|
* Composant de pagination pour la navigation entre pages
|
|
2568
2520
|
* Source: Design System Figma
|
|
2569
2521
|
*/
|
|
2570
|
-
|
|
2571
2522
|
@layer components {
|
|
2572
2523
|
|
|
2573
2524
|
/* ===========================================
|
|
@@ -2763,16 +2714,13 @@ a:hover {
|
|
|
2763
2714
|
}
|
|
2764
2715
|
|
|
2765
2716
|
}
|
|
2766
|
-
|
|
2767
2717
|
/* end @layer components */
|
|
2768
|
-
|
|
2769
2718
|
/**
|
|
2770
2719
|
* MBA Design System - Inputs
|
|
2771
2720
|
*
|
|
2772
2721
|
* Classes: .mba-textarea, .mba-input, .mba-label
|
|
2773
2722
|
* Source: Design System Figma
|
|
2774
2723
|
*/
|
|
2775
|
-
|
|
2776
2724
|
@layer components {
|
|
2777
2725
|
|
|
2778
2726
|
/* ===========================================
|
|
@@ -3287,9 +3235,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3287
3235
|
}
|
|
3288
3236
|
|
|
3289
3237
|
}
|
|
3290
|
-
|
|
3291
3238
|
/* end @layer components */
|
|
3292
|
-
|
|
3293
3239
|
/**
|
|
3294
3240
|
* MBA Design System - Tabs
|
|
3295
3241
|
*
|
|
@@ -3298,7 +3244,6 @@ button.mba-input-icon__icon:hover {
|
|
|
3298
3244
|
* Couleurs: Primary 500 (MBA), Primary 900 (Partenaires)
|
|
3299
3245
|
* Source: Design System Figma (Tabs - Lina-7347)
|
|
3300
3246
|
*/
|
|
3301
|
-
|
|
3302
3247
|
@layer components {
|
|
3303
3248
|
|
|
3304
3249
|
/* ===========================================
|
|
@@ -3387,9 +3332,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3387
3332
|
}
|
|
3388
3333
|
|
|
3389
3334
|
}
|
|
3390
|
-
|
|
3391
3335
|
/* @layer components */
|
|
3392
|
-
|
|
3393
3336
|
/**
|
|
3394
3337
|
* MBA Design System - Tags (Badges)
|
|
3395
3338
|
*
|
|
@@ -3415,7 +3358,6 @@ button.mba-input-icon__icon:hover {
|
|
|
3415
3358
|
* Note: fonds plus foncés que les pastels de base pour l'accessibilité.
|
|
3416
3359
|
* Source: Design System Figma.
|
|
3417
3360
|
*/
|
|
3418
|
-
|
|
3419
3361
|
@layer components {
|
|
3420
3362
|
|
|
3421
3363
|
.mba-tag {
|
|
@@ -3509,16 +3451,13 @@ button.mba-input-icon__icon:hover {
|
|
|
3509
3451
|
}
|
|
3510
3452
|
|
|
3511
3453
|
}
|
|
3512
|
-
|
|
3513
3454
|
/* end @layer components */
|
|
3514
|
-
|
|
3515
3455
|
/**
|
|
3516
3456
|
* MBA Design System - Header
|
|
3517
3457
|
*
|
|
3518
3458
|
* Navigation principale avec dropdown et version mobile
|
|
3519
3459
|
* Source: Design System Figma
|
|
3520
3460
|
*/
|
|
3521
|
-
|
|
3522
3461
|
@layer components {
|
|
3523
3462
|
|
|
3524
3463
|
/* ===========================================
|
|
@@ -4194,9 +4133,7 @@ button.mba-input-icon__icon:hover {
|
|
|
4194
4133
|
}
|
|
4195
4134
|
|
|
4196
4135
|
}
|
|
4197
|
-
|
|
4198
4136
|
/* end @layer components */
|
|
4199
|
-
|
|
4200
4137
|
/**
|
|
4201
4138
|
* MBA Design System - Wave
|
|
4202
4139
|
*
|
|
@@ -4218,7 +4155,6 @@ button.mba-input-icon__icon:hover {
|
|
|
4218
4155
|
* <div class="mba-wave mba-wave--lavender"></div>
|
|
4219
4156
|
* <div class="mba-wave mba-wave--sm mba-wave--lavender mba-wave--top"></div>
|
|
4220
4157
|
*/
|
|
4221
|
-
|
|
4222
4158
|
@layer components {
|
|
4223
4159
|
|
|
4224
4160
|
.mba-wave {
|
|
@@ -4284,9 +4220,7 @@ button.mba-input-icon__icon:hover {
|
|
|
4284
4220
|
|
|
4285
4221
|
|
|
4286
4222
|
}
|
|
4287
|
-
|
|
4288
4223
|
/* end @layer components */
|
|
4289
|
-
|
|
4290
4224
|
/**
|
|
4291
4225
|
* MBA Design System - Section
|
|
4292
4226
|
*
|
|
@@ -4314,7 +4248,6 @@ button.mba-input-icon__icon:hover {
|
|
|
4314
4248
|
* ...
|
|
4315
4249
|
* </section>
|
|
4316
4250
|
*/
|
|
4317
|
-
|
|
4318
4251
|
@layer components {
|
|
4319
4252
|
|
|
4320
4253
|
.mba-section {
|
|
@@ -4489,9 +4422,7 @@ button.mba-input-icon__icon:hover {
|
|
|
4489
4422
|
}
|
|
4490
4423
|
|
|
4491
4424
|
}
|
|
4492
|
-
|
|
4493
4425
|
/* end @layer components */
|
|
4494
|
-
|
|
4495
4426
|
/**
|
|
4496
4427
|
* MBA Design System - Footer
|
|
4497
4428
|
*
|
|
@@ -4510,7 +4441,6 @@ button.mba-input-icon__icon:hover {
|
|
|
4510
4441
|
* Modificateurs:
|
|
4511
4442
|
* - .mba-footer--pro - Version partenaire (primary-pro)
|
|
4512
4443
|
*/
|
|
4513
|
-
|
|
4514
4444
|
@layer components {
|
|
4515
4445
|
|
|
4516
4446
|
/* ===========================================
|
|
@@ -4898,11 +4828,8 @@ button.mba-input-icon__icon:hover {
|
|
|
4898
4828
|
}
|
|
4899
4829
|
|
|
4900
4830
|
}
|
|
4901
|
-
|
|
4902
4831
|
/* end @layer components */
|
|
4903
|
-
|
|
4904
4832
|
/* @import "./_forms.css"; */
|
|
4905
|
-
|
|
4906
4833
|
/**
|
|
4907
4834
|
* MBA Design System - Alerts
|
|
4908
4835
|
*
|
|
@@ -4930,7 +4857,6 @@ button.mba-input-icon__icon:hover {
|
|
|
4930
4857
|
*
|
|
4931
4858
|
* Source: Design System Figma (node 4660-18800).
|
|
4932
4859
|
*/
|
|
4933
|
-
|
|
4934
4860
|
@layer components {
|
|
4935
4861
|
|
|
4936
4862
|
/* ===========================================
|
|
@@ -5066,7 +4992,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5066
4992
|
}
|
|
5067
4993
|
|
|
5068
4994
|
}
|
|
5069
|
-
|
|
5070
4995
|
/**
|
|
5071
4996
|
* MBA Design System - Accordion
|
|
5072
4997
|
*
|
|
@@ -5075,7 +5000,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5075
5000
|
* - À partir de 5 items (ou si le contenu est trop long),
|
|
5076
5001
|
* utiliser la variante scrollable pour afficher une scrollbar.
|
|
5077
5002
|
*/
|
|
5078
|
-
|
|
5079
5003
|
@layer components {
|
|
5080
5004
|
|
|
5081
5005
|
/* ===========================================
|
|
@@ -5342,7 +5266,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5342
5266
|
}
|
|
5343
5267
|
|
|
5344
5268
|
}
|
|
5345
|
-
|
|
5346
5269
|
/**
|
|
5347
5270
|
* MBA Design System - Carousel
|
|
5348
5271
|
*
|
|
@@ -5368,7 +5291,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5368
5291
|
*
|
|
5369
5292
|
* Source: Design System Figma (nodes 4660-19043 / 4660-19016).
|
|
5370
5293
|
*/
|
|
5371
|
-
|
|
5372
5294
|
@layer components {
|
|
5373
5295
|
|
|
5374
5296
|
.mba-carousel {
|
|
@@ -5462,7 +5384,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5462
5384
|
}
|
|
5463
5385
|
|
|
5464
5386
|
}
|
|
5465
|
-
|
|
5466
5387
|
/**
|
|
5467
5388
|
* MBA Design System - Navigation
|
|
5468
5389
|
*
|
|
@@ -5479,7 +5400,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5479
5400
|
*
|
|
5480
5401
|
* Source: Design System Figma (Breadcrumbs - Ma vie d'aidant, node 4660-18352).
|
|
5481
5402
|
*/
|
|
5482
|
-
|
|
5483
5403
|
@layer components {
|
|
5484
5404
|
|
|
5485
5405
|
/* ===========================================
|
|
@@ -5619,35 +5539,28 @@ button.mba-input-icon__icon:hover {
|
|
|
5619
5539
|
}
|
|
5620
5540
|
|
|
5621
5541
|
}
|
|
5622
|
-
|
|
5623
5542
|
/**
|
|
5624
5543
|
* MBA Design System - Utilities
|
|
5625
5544
|
*
|
|
5626
5545
|
* Classes utilitaires complémentaires à Tailwind
|
|
5627
5546
|
*/
|
|
5628
|
-
|
|
5629
5547
|
/* ===========================================
|
|
5630
5548
|
FONT SIZE UTILITIES (MBA custom scale)
|
|
5631
5549
|
Tailwind génère xs, sm, base, lg, xl, 2xl...
|
|
5632
5550
|
On ajoute nos tailles custom : xxs, md, xxl
|
|
5633
5551
|
=========================================== */
|
|
5634
|
-
|
|
5635
5552
|
.text-xxs {
|
|
5636
5553
|
font-size: var(--mba-font-size-xxs);
|
|
5637
5554
|
}
|
|
5638
|
-
|
|
5639
5555
|
.text-md {
|
|
5640
5556
|
font-size: var(--mba-font-size-md);
|
|
5641
5557
|
}
|
|
5642
|
-
|
|
5643
5558
|
.text-xxl {
|
|
5644
5559
|
font-size: var(--mba-font-size-xxl);
|
|
5645
5560
|
}
|
|
5646
|
-
|
|
5647
5561
|
/* ===========================================
|
|
5648
5562
|
ACCESSIBILITY UTILITIES
|
|
5649
5563
|
=========================================== */
|
|
5650
|
-
|
|
5651
5564
|
/* Reduced motion - Respect user preference for reduced animations
|
|
5652
5565
|
Triggered when user enables "Reduce motion" in system settings
|
|
5653
5566
|
(macOS, Windows, iOS, Android)
|
|
@@ -5659,7 +5572,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5659
5572
|
|
|
5660
5573
|
WCAG 2.1 Success Criterion 2.3.3 (AAA)
|
|
5661
5574
|
*/
|
|
5662
|
-
|
|
5663
5575
|
@media (prefers-reduced-motion: reduce) {
|
|
5664
5576
|
*,
|
|
5665
5577
|
*::before,
|
|
@@ -5670,9 +5582,7 @@ button.mba-input-icon__icon:hover {
|
|
|
5670
5582
|
scroll-behavior: auto !important;
|
|
5671
5583
|
}
|
|
5672
5584
|
}
|
|
5673
|
-
|
|
5674
5585
|
/* Visually hidden (accessible) */
|
|
5675
|
-
|
|
5676
5586
|
.mba-sr-only {
|
|
5677
5587
|
position: absolute;
|
|
5678
5588
|
width: 1px;
|
|
@@ -5684,9 +5594,7 @@ button.mba-input-icon__icon:hover {
|
|
|
5684
5594
|
white-space: nowrap;
|
|
5685
5595
|
border-width: 0;
|
|
5686
5596
|
}
|
|
5687
|
-
|
|
5688
5597
|
/* Not visually hidden */
|
|
5689
|
-
|
|
5690
5598
|
.mba-not-sr-only {
|
|
5691
5599
|
position: static;
|
|
5692
5600
|
width: auto;
|
|
@@ -5697,43 +5605,32 @@ button.mba-input-icon__icon:hover {
|
|
|
5697
5605
|
clip: auto;
|
|
5698
5606
|
white-space: normal;
|
|
5699
5607
|
}
|
|
5700
|
-
|
|
5701
5608
|
/* ===========================================
|
|
5702
5609
|
VISIBILITY UTILITIES
|
|
5703
5610
|
Override pour garantir le masquage même avec
|
|
5704
5611
|
les composants MBA (display: inline-flex, etc.)
|
|
5705
5612
|
=========================================== */
|
|
5706
|
-
|
|
5707
5613
|
/* Hidden - force display: none sur tous les composants */
|
|
5708
|
-
|
|
5709
5614
|
.hidden {
|
|
5710
5615
|
display: none !important;
|
|
5711
5616
|
}
|
|
5712
|
-
|
|
5713
5617
|
/* Visible utilities */
|
|
5714
|
-
|
|
5715
5618
|
.visible {
|
|
5716
5619
|
visibility: visible;
|
|
5717
5620
|
}
|
|
5718
|
-
|
|
5719
5621
|
.invisible {
|
|
5720
5622
|
visibility: hidden;
|
|
5721
5623
|
}
|
|
5722
|
-
|
|
5723
5624
|
/* ===========================================
|
|
5724
5625
|
GRADIENT UTILITIES
|
|
5725
5626
|
=========================================== */
|
|
5726
|
-
|
|
5727
5627
|
.bg-gradient-sunset {
|
|
5728
5628
|
background: var(--mba-gradient-sunset);
|
|
5729
5629
|
}
|
|
5730
|
-
|
|
5731
5630
|
/* Border gradient (hover reveal) — applique un contour gradient sunset via ::before */
|
|
5732
|
-
|
|
5733
5631
|
.mba-border-gradient {
|
|
5734
5632
|
position: relative;
|
|
5735
5633
|
}
|
|
5736
|
-
|
|
5737
5634
|
.mba-border-gradient::before {
|
|
5738
5635
|
content: "";
|
|
5739
5636
|
position: absolute;
|
|
@@ -5750,7 +5647,6 @@ button.mba-input-icon__icon:hover {
|
|
|
5750
5647
|
opacity: 0;
|
|
5751
5648
|
transition: opacity var(--mba-transition-base);
|
|
5752
5649
|
}
|
|
5753
|
-
|
|
5754
5650
|
.mba-border-gradient:hover::before,
|
|
5755
5651
|
.mba-border-gradient--visible::before {
|
|
5756
5652
|
opacity: 1;
|