@maboussoleaidant/design-system 0.1.37 → 0.1.38
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.
|
@@ -4668,6 +4668,19 @@ button.mba-input-icon__icon:hover {
|
|
|
4668
4668
|
background-color: transparent;
|
|
4669
4669
|
}
|
|
4670
4670
|
|
|
4671
|
+
/* ===========================================
|
|
4672
|
+
IMBRICATION (parent → sous-éléments)
|
|
4673
|
+
- Parent : séparateur ligne pleine (défaut .mba-accordion--line).
|
|
4674
|
+
- Sous-élément imbriqué dans le panneau du parent : ligne pointillés.
|
|
4675
|
+
- Replier le parent replie visuellement les sous-éléments : ils vivent
|
|
4676
|
+
dans .mba-accordion__panel (display:none tant que le parent est fermé).
|
|
4677
|
+
=========================================== */
|
|
4678
|
+
|
|
4679
|
+
/* Tout accordion line imbriqué dans le panneau d'un parent → trait pointillés */
|
|
4680
|
+
.mba-accordion__panel .mba-accordion--line .mba-accordion__header {
|
|
4681
|
+
border-bottom-style: dashed;
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4671
4684
|
.mba-accordion__title-wrapper {
|
|
4672
4685
|
display: flex;
|
|
4673
4686
|
align-items: center;
|
|
@@ -4725,7 +4738,8 @@ button.mba-input-icon__icon:hover {
|
|
|
4725
4738
|
transition: transform var(--mba-transition-base);
|
|
4726
4739
|
}
|
|
4727
4740
|
|
|
4728
|
-
|
|
4741
|
+
/* Enfant direct uniquement : ne pas piloter l'icône des accordions imbriqués */
|
|
4742
|
+
.mba-accordion--open > .mba-accordion__header .mba-accordion__icon {
|
|
4729
4743
|
transform: rotate(180deg);
|
|
4730
4744
|
}
|
|
4731
4745
|
|
|
@@ -4737,7 +4751,9 @@ button.mba-input-icon__icon:hover {
|
|
|
4737
4751
|
background-color: var(--mba-color-white);
|
|
4738
4752
|
}
|
|
4739
4753
|
|
|
4740
|
-
|
|
4754
|
+
/* Enfant direct uniquement : chaque accordion contrôle son propre panneau,
|
|
4755
|
+
sans forcer l'ouverture des panneaux des accordions imbriqués */
|
|
4756
|
+
.mba-accordion--open > .mba-accordion__panel {
|
|
4741
4757
|
display: block;
|
|
4742
4758
|
}
|
|
4743
4759
|
|