@maboussoleaidant/design-system 0.1.13 → 0.1.15
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/dist/mba-design-system.css +130 -139
- package/dist/mba-design-system.css.map +1 -1
- package/dist/mba-design-system.min.css +1 -1
- package/dist/mba-tailwind.css +1747 -1696
- package/dist/mba-tailwind.css.map +1 -1
- package/dist/mba-tailwind.min.css +1 -1
- package/dist/mba-tokens-only.css +6 -0
- package/dist/mba-tokens-only.css.map +1 -1
- package/package.json +1 -1
- package/src/tokens/_spacing.css +5 -0
- package/src/tokens/_typography.css +1 -0
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
/* ===========================================
|
|
177
177
|
TAILLES DE POLICE (Figma Scale)
|
|
178
178
|
=========================================== */
|
|
179
|
+
--mba-font-size-xxxs: 0.75rem; /* 12px - feedback, captions */
|
|
179
180
|
--mba-font-size-xxs: 0.875rem; /* 14px */
|
|
180
181
|
--mba-font-size-xs: 1rem; /* 16px */
|
|
181
182
|
--mba-font-size-sm: 1.125rem; /* 18px */
|
|
@@ -347,6 +348,11 @@
|
|
|
347
348
|
=========================================== */
|
|
348
349
|
--mba-space-0: 0;
|
|
349
350
|
--mba-space-px: 1px;
|
|
351
|
+
|
|
352
|
+
/* ===========================================
|
|
353
|
+
CONTAINER
|
|
354
|
+
=========================================== */
|
|
355
|
+
--mba-container-width: 70rem; /* 1120px */
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
/**
|
|
@@ -1015,11 +1021,12 @@ a:hover {
|
|
|
1015
1021
|
* Source: Design System Figma
|
|
1016
1022
|
*/
|
|
1017
1023
|
|
|
1024
|
+
@layer components {
|
|
1025
|
+
|
|
1018
1026
|
/* ===========================================
|
|
1019
1027
|
BASE BUTTON (Primary - Large/Default)
|
|
1020
1028
|
height: 38px, padding: 8px 16px, gap: 8px
|
|
1021
1029
|
=========================================== */
|
|
1022
|
-
|
|
1023
1030
|
.mba-btn {
|
|
1024
1031
|
display: inline-flex;
|
|
1025
1032
|
height: 38px;
|
|
@@ -1035,7 +1042,7 @@ a:hover {
|
|
|
1035
1042
|
border: 1px solid transparent;
|
|
1036
1043
|
border-radius: var(--mba-radius-xs);
|
|
1037
1044
|
cursor: pointer;
|
|
1038
|
-
transition: all
|
|
1045
|
+
transition: all var(--mba-transition-base);
|
|
1039
1046
|
user-select: none;
|
|
1040
1047
|
white-space: nowrap;
|
|
1041
1048
|
|
|
@@ -1068,7 +1075,6 @@ a:hover {
|
|
|
1068
1075
|
SECONDARY BUTTON (Large/Default)
|
|
1069
1076
|
height: 38px, padding: 8px 16px, gap: 8px
|
|
1070
1077
|
=========================================== */
|
|
1071
|
-
|
|
1072
1078
|
.mba-btn-secondary {
|
|
1073
1079
|
display: inline-flex;
|
|
1074
1080
|
height: 38px;
|
|
@@ -1083,7 +1089,7 @@ a:hover {
|
|
|
1083
1089
|
text-decoration: none;
|
|
1084
1090
|
border-radius: var(--mba-radius-xs);
|
|
1085
1091
|
cursor: pointer;
|
|
1086
|
-
transition: all
|
|
1092
|
+
transition: all var(--mba-transition-base);
|
|
1087
1093
|
user-select: none;
|
|
1088
1094
|
white-space: nowrap;
|
|
1089
1095
|
|
|
@@ -1116,7 +1122,6 @@ a:hover {
|
|
|
1116
1122
|
TERTIARY BUTTON (Large/Default)
|
|
1117
1123
|
height: 38px, padding: 8px 16px, gap: 8px
|
|
1118
1124
|
=========================================== */
|
|
1119
|
-
|
|
1120
1125
|
.mba-btn-tertiary {
|
|
1121
1126
|
display: inline-flex;
|
|
1122
1127
|
height: 38px;
|
|
@@ -1132,7 +1137,7 @@ a:hover {
|
|
|
1132
1137
|
border: none;
|
|
1133
1138
|
border-radius: var(--mba-radius-xs);
|
|
1134
1139
|
cursor: pointer;
|
|
1135
|
-
transition: all
|
|
1140
|
+
transition: all var(--mba-transition-base);
|
|
1136
1141
|
user-select: none;
|
|
1137
1142
|
white-space: nowrap;
|
|
1138
1143
|
|
|
@@ -1162,7 +1167,6 @@ a:hover {
|
|
|
1162
1167
|
INLINE BUTTON
|
|
1163
1168
|
height: 24px, padding: 8px 16px, gap: 4px
|
|
1164
1169
|
=========================================== */
|
|
1165
|
-
|
|
1166
1170
|
.mba-btn-inline {
|
|
1167
1171
|
display: inline-flex;
|
|
1168
1172
|
height: 24px;
|
|
@@ -1178,7 +1182,7 @@ a:hover {
|
|
|
1178
1182
|
border: none;
|
|
1179
1183
|
border-radius: var(--mba-radius-xs);
|
|
1180
1184
|
cursor: pointer;
|
|
1181
|
-
transition: all
|
|
1185
|
+
transition: all var(--mba-transition-base);
|
|
1182
1186
|
user-select: none;
|
|
1183
1187
|
white-space: nowrap;
|
|
1184
1188
|
|
|
@@ -1207,7 +1211,6 @@ a:hover {
|
|
|
1207
1211
|
}
|
|
1208
1212
|
|
|
1209
1213
|
/* Alert-Error state */
|
|
1210
|
-
|
|
1211
1214
|
.mba-btn-inline.is-error {
|
|
1212
1215
|
background-color: var(--mba-color-white);
|
|
1213
1216
|
color: var(--mba-color-error-500);
|
|
@@ -1218,7 +1221,6 @@ a:hover {
|
|
|
1218
1221
|
LIGHT BUTTON (Large/Default)
|
|
1219
1222
|
height: 30px, padding: 4px 12px, gap: 4px
|
|
1220
1223
|
=========================================== */
|
|
1221
|
-
|
|
1222
1224
|
.mba-btn-light {
|
|
1223
1225
|
display: inline-flex;
|
|
1224
1226
|
height: 30px;
|
|
@@ -1234,7 +1236,7 @@ a:hover {
|
|
|
1234
1236
|
border: 1.5px solid var(--mba-color-primary-400);
|
|
1235
1237
|
border-radius: var(--mba-radius-sm);
|
|
1236
1238
|
cursor: pointer;
|
|
1237
|
-
transition: all
|
|
1239
|
+
transition: all var(--mba-transition-base);
|
|
1238
1240
|
user-select: none;
|
|
1239
1241
|
white-space: nowrap;
|
|
1240
1242
|
|
|
@@ -1267,7 +1269,6 @@ a:hover {
|
|
|
1267
1269
|
ANNUAIRE BUTTON (Large/Default)
|
|
1268
1270
|
height: 38px, padding: 8px 16px, gap: 8px
|
|
1269
1271
|
=========================================== */
|
|
1270
|
-
|
|
1271
1272
|
.mba-btn-annuaire {
|
|
1272
1273
|
display: inline-flex;
|
|
1273
1274
|
height: 38px;
|
|
@@ -1283,7 +1284,7 @@ a:hover {
|
|
|
1283
1284
|
border: 1px solid var(--mba-color-grey-100);
|
|
1284
1285
|
border-radius: var(--mba-radius-xs);
|
|
1285
1286
|
cursor: pointer;
|
|
1286
|
-
transition: all
|
|
1287
|
+
transition: all var(--mba-transition-base);
|
|
1287
1288
|
user-select: none;
|
|
1288
1289
|
white-space: nowrap;
|
|
1289
1290
|
|
|
@@ -1315,7 +1316,6 @@ a:hover {
|
|
|
1315
1316
|
PIN BUTTON
|
|
1316
1317
|
width: 40px, height: 40px, icon: 20px
|
|
1317
1318
|
=========================================== */
|
|
1318
|
-
|
|
1319
1319
|
.mba-btn-pin {
|
|
1320
1320
|
display: inline-flex;
|
|
1321
1321
|
width: 40px;
|
|
@@ -1326,7 +1326,7 @@ a:hover {
|
|
|
1326
1326
|
border: 1px solid var(--mba-color-primary-500);
|
|
1327
1327
|
border-radius: 50%;
|
|
1328
1328
|
cursor: pointer;
|
|
1329
|
-
transition: all
|
|
1329
|
+
transition: all var(--mba-transition-base);
|
|
1330
1330
|
user-select: none;
|
|
1331
1331
|
|
|
1332
1332
|
background-color: var(--mba-color-white);
|
|
@@ -1345,7 +1345,6 @@ a:hover {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
|
|
1347
1347
|
/* Deja-vu state */
|
|
1348
|
-
|
|
1349
1348
|
.mba-btn-pin.is-deja-vu {
|
|
1350
1349
|
border-color: var(--mba-color-grey-300);
|
|
1351
1350
|
background-color: var(--mba-color-grey-50);
|
|
@@ -1353,7 +1352,6 @@ a:hover {
|
|
|
1353
1352
|
}
|
|
1354
1353
|
|
|
1355
1354
|
/* Activated state */
|
|
1356
|
-
|
|
1357
1355
|
.mba-btn-pin.is-activated {
|
|
1358
1356
|
border-color: var(--mba-color-primary-500);
|
|
1359
1357
|
background-color: var(--mba-color-primary-500);
|
|
@@ -1375,7 +1373,6 @@ a:hover {
|
|
|
1375
1373
|
ICON BUTTON
|
|
1376
1374
|
width: 24px, height: 24px, icon: 16px
|
|
1377
1375
|
=========================================== */
|
|
1378
|
-
|
|
1379
1376
|
.mba-btn-icon-only {
|
|
1380
1377
|
display: inline-flex;
|
|
1381
1378
|
width: 24px;
|
|
@@ -1385,7 +1382,7 @@ a:hover {
|
|
|
1385
1382
|
align-items: center;
|
|
1386
1383
|
border-radius: var(--mba-radius-xs);
|
|
1387
1384
|
cursor: pointer;
|
|
1388
|
-
transition: all
|
|
1385
|
+
transition: all var(--mba-transition-base);
|
|
1389
1386
|
user-select: none;
|
|
1390
1387
|
border: 1px solid var(--mba-color-black);
|
|
1391
1388
|
background-color: var(--mba-color-white);
|
|
@@ -1409,7 +1406,6 @@ a:hover {
|
|
|
1409
1406
|
}
|
|
1410
1407
|
|
|
1411
1408
|
/* Activated state */
|
|
1412
|
-
|
|
1413
1409
|
.mba-btn-icon-only.is-activated {
|
|
1414
1410
|
border-color: var(--mba-color-primary-500);
|
|
1415
1411
|
background-color: var(--mba-color-white);
|
|
@@ -1422,7 +1418,6 @@ a:hover {
|
|
|
1422
1418
|
}
|
|
1423
1419
|
|
|
1424
1420
|
/* Disabled state */
|
|
1425
|
-
|
|
1426
1421
|
.mba-btn-icon-only:disabled,
|
|
1427
1422
|
.mba-btn-icon-only.is-disabled {
|
|
1428
1423
|
border-color: var(--mba-color-grey-300);
|
|
@@ -1433,7 +1428,6 @@ a:hover {
|
|
|
1433
1428
|
}
|
|
1434
1429
|
|
|
1435
1430
|
/* Alert state */
|
|
1436
|
-
|
|
1437
1431
|
.mba-btn-icon-only.is-alert {
|
|
1438
1432
|
border-color: var(--mba-color-error-500);
|
|
1439
1433
|
background-color: var(--mba-color-white);
|
|
@@ -1449,7 +1443,6 @@ a:hover {
|
|
|
1449
1443
|
SMALL BUTTON
|
|
1450
1444
|
padding: 4px 8px, gap: 8px
|
|
1451
1445
|
=========================================== */
|
|
1452
|
-
|
|
1453
1446
|
.mba-btn-sm {
|
|
1454
1447
|
height: auto;
|
|
1455
1448
|
padding: var(--mba-space-xxs) var(--mba-space-xs);
|
|
@@ -1460,7 +1453,6 @@ a:hover {
|
|
|
1460
1453
|
/* ===========================================
|
|
1461
1454
|
ICON ALIGNMENT
|
|
1462
1455
|
=========================================== */
|
|
1463
|
-
|
|
1464
1456
|
.mba-btn-icon-only i,
|
|
1465
1457
|
.mba-btn-icon-only svg,
|
|
1466
1458
|
.mba-btn i,
|
|
@@ -1471,7 +1463,6 @@ a:hover {
|
|
|
1471
1463
|
}
|
|
1472
1464
|
|
|
1473
1465
|
/* Arrow forward icon alignment */
|
|
1474
|
-
|
|
1475
1466
|
.mba-btn .arrow-forward,
|
|
1476
1467
|
.mba-btn-secondary .arrow-forward {
|
|
1477
1468
|
vertical-align: middle;
|
|
@@ -1482,7 +1473,6 @@ a:hover {
|
|
|
1482
1473
|
=========================================== */
|
|
1483
1474
|
|
|
1484
1475
|
/* Full width */
|
|
1485
|
-
|
|
1486
1476
|
.mba-btn-block {
|
|
1487
1477
|
display: block;
|
|
1488
1478
|
width: 100%;
|
|
@@ -1492,7 +1482,6 @@ a:hover {
|
|
|
1492
1482
|
/* ===========================================
|
|
1493
1483
|
RESPONSIVE (full width on mobile)
|
|
1494
1484
|
=========================================== */
|
|
1495
|
-
|
|
1496
1485
|
@media (max-width: 767px) {
|
|
1497
1486
|
.mba-btn,
|
|
1498
1487
|
.mba-btn-secondary {
|
|
@@ -1502,6 +1491,10 @@ a:hover {
|
|
|
1502
1491
|
}
|
|
1503
1492
|
}
|
|
1504
1493
|
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/* end @layer components */
|
|
1497
|
+
|
|
1505
1498
|
/**
|
|
1506
1499
|
* MBA Design System - Links
|
|
1507
1500
|
*
|
|
@@ -1518,6 +1511,8 @@ a:hover {
|
|
|
1518
1511
|
* </a>
|
|
1519
1512
|
*/
|
|
1520
1513
|
|
|
1514
|
+
@layer components {
|
|
1515
|
+
|
|
1521
1516
|
.mba-link {
|
|
1522
1517
|
display: inline-flex;
|
|
1523
1518
|
align-items: center;
|
|
@@ -1527,7 +1522,7 @@ a:hover {
|
|
|
1527
1522
|
font-weight: var(--mba-font-weight-semibold);
|
|
1528
1523
|
color: var(--mba-color-primary-500);
|
|
1529
1524
|
text-decoration: none;
|
|
1530
|
-
transition: color
|
|
1525
|
+
transition: color var(--mba-transition-base);
|
|
1531
1526
|
}
|
|
1532
1527
|
|
|
1533
1528
|
.mba-link:hover {
|
|
@@ -1535,10 +1530,9 @@ a:hover {
|
|
|
1535
1530
|
}
|
|
1536
1531
|
|
|
1537
1532
|
/* Underline uniquement sur le texte, pas l'icône */
|
|
1538
|
-
|
|
1539
1533
|
.mba-link__text {
|
|
1540
1534
|
text-decoration: none;
|
|
1541
|
-
transition: text-decoration
|
|
1535
|
+
transition: text-decoration var(--mba-transition-base);
|
|
1542
1536
|
}
|
|
1543
1537
|
|
|
1544
1538
|
.mba-link:hover .mba-link__text {
|
|
@@ -1546,20 +1540,22 @@ a:hover {
|
|
|
1546
1540
|
}
|
|
1547
1541
|
|
|
1548
1542
|
/* Icône */
|
|
1549
|
-
|
|
1550
1543
|
.mba-link .material-symbols-rounded {
|
|
1551
1544
|
font-size: 20px;
|
|
1552
1545
|
text-decoration: none;
|
|
1553
1546
|
}
|
|
1554
1547
|
|
|
1555
1548
|
/* Focus state */
|
|
1556
|
-
|
|
1557
1549
|
.mba-link:focus-visible {
|
|
1558
1550
|
outline: none;
|
|
1559
1551
|
box-shadow: var(--mba-focus-ring);
|
|
1560
1552
|
border-radius: var(--mba-radius-2xs);
|
|
1561
1553
|
}
|
|
1562
1554
|
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
/* end @layer components */
|
|
1558
|
+
|
|
1563
1559
|
/**
|
|
1564
1560
|
* MBA Design System - Cards
|
|
1565
1561
|
*
|
|
@@ -1567,11 +1563,12 @@ a:hover {
|
|
|
1567
1563
|
* Source: Design System Figma
|
|
1568
1564
|
*/
|
|
1569
1565
|
|
|
1566
|
+
@layer components {
|
|
1567
|
+
|
|
1570
1568
|
/* ===========================================
|
|
1571
1569
|
BASE CARD (Large / Default)
|
|
1572
1570
|
padding: 24px (MD), border-radius: 16px (SM)
|
|
1573
1571
|
=========================================== */
|
|
1574
|
-
|
|
1575
1572
|
.mba-card {
|
|
1576
1573
|
display: flex;
|
|
1577
1574
|
flex-direction: column;
|
|
@@ -1579,7 +1576,7 @@ a:hover {
|
|
|
1579
1576
|
border-radius: var(--mba-radius-sm);
|
|
1580
1577
|
background-color: var(--mba-color-beige);
|
|
1581
1578
|
border: 2px solid transparent;
|
|
1582
|
-
transition: border-color
|
|
1579
|
+
transition: border-color var(--mba-transition-base);
|
|
1583
1580
|
cursor: pointer;
|
|
1584
1581
|
}
|
|
1585
1582
|
|
|
@@ -1590,7 +1587,6 @@ a:hover {
|
|
|
1590
1587
|
/* ===========================================
|
|
1591
1588
|
SMALL CARD
|
|
1592
1589
|
=========================================== */
|
|
1593
|
-
|
|
1594
1590
|
.mba-card--sm {
|
|
1595
1591
|
padding: var(--mba-space-sm);
|
|
1596
1592
|
}
|
|
@@ -1598,7 +1594,6 @@ a:hover {
|
|
|
1598
1594
|
/* ===========================================
|
|
1599
1595
|
CARD PARTS
|
|
1600
1596
|
=========================================== */
|
|
1601
|
-
|
|
1602
1597
|
.mba-card__header {
|
|
1603
1598
|
display: flex;
|
|
1604
1599
|
justify-content: space-between;
|
|
@@ -1631,7 +1626,7 @@ a:hover {
|
|
|
1631
1626
|
flex-shrink: 0;
|
|
1632
1627
|
color: var(--mba-color-primary-500);
|
|
1633
1628
|
font-size: 24px;
|
|
1634
|
-
transition: transform
|
|
1629
|
+
transition: transform var(--mba-transition-base);
|
|
1635
1630
|
}
|
|
1636
1631
|
|
|
1637
1632
|
.mba-card__icon svg {
|
|
@@ -1646,7 +1641,6 @@ a:hover {
|
|
|
1646
1641
|
/* ===========================================
|
|
1647
1642
|
CARD GRID
|
|
1648
1643
|
=========================================== */
|
|
1649
|
-
|
|
1650
1644
|
.mba-card-grid {
|
|
1651
1645
|
display: grid;
|
|
1652
1646
|
gap: var(--mba-space-md);
|
|
@@ -1671,13 +1665,11 @@ a:hover {
|
|
|
1671
1665
|
=========================================== */
|
|
1672
1666
|
|
|
1673
1667
|
/* White background */
|
|
1674
|
-
|
|
1675
1668
|
.mba-card--white {
|
|
1676
1669
|
background-color: var(--mba-color-white);
|
|
1677
1670
|
}
|
|
1678
1671
|
|
|
1679
1672
|
/* Non-interactive (no hover) */
|
|
1680
|
-
|
|
1681
1673
|
.mba-card--static {
|
|
1682
1674
|
cursor: default;
|
|
1683
1675
|
}
|
|
@@ -1690,7 +1682,6 @@ a:hover {
|
|
|
1690
1682
|
CAROUSEL CARD (Testimonial)
|
|
1691
1683
|
Bordure gradient sunset
|
|
1692
1684
|
=========================================== */
|
|
1693
|
-
|
|
1694
1685
|
.mba-carousel-card {
|
|
1695
1686
|
position: relative;
|
|
1696
1687
|
display: flex;
|
|
@@ -1754,14 +1745,13 @@ a:hover {
|
|
|
1754
1745
|
STATS CARD
|
|
1755
1746
|
Bordure gradient sunset
|
|
1756
1747
|
=========================================== */
|
|
1757
|
-
|
|
1758
1748
|
.mba-stats-card {
|
|
1759
1749
|
position: relative;
|
|
1760
1750
|
padding: var(--mba-space-md);
|
|
1761
1751
|
background-color: var(--mba-color-white);
|
|
1762
1752
|
border-radius: var(--mba-radius-md);
|
|
1763
1753
|
box-shadow: var(--mba-shadow-xs);
|
|
1764
|
-
transition: transform
|
|
1754
|
+
transition: transform var(--mba-transition-slow), box-shadow var(--mba-transition-slow);
|
|
1765
1755
|
}
|
|
1766
1756
|
|
|
1767
1757
|
.mba-stats-card::before {
|
|
@@ -1813,7 +1803,6 @@ a:hover {
|
|
|
1813
1803
|
/* ===========================================
|
|
1814
1804
|
STATS GRID
|
|
1815
1805
|
=========================================== */
|
|
1816
|
-
|
|
1817
1806
|
.mba-stats-grid {
|
|
1818
1807
|
display: grid;
|
|
1819
1808
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1837,7 +1826,6 @@ a:hover {
|
|
|
1837
1826
|
ARTICLE CARD (avec image)
|
|
1838
1827
|
Image en haut, tag, titre, texte, lien
|
|
1839
1828
|
=========================================== */
|
|
1840
|
-
|
|
1841
1829
|
.mba-article-card {
|
|
1842
1830
|
display: flex;
|
|
1843
1831
|
flex-direction: column;
|
|
@@ -1845,7 +1833,7 @@ a:hover {
|
|
|
1845
1833
|
border-radius: var(--mba-radius-sm);
|
|
1846
1834
|
overflow: hidden;
|
|
1847
1835
|
box-shadow: var(--mba-shadow-xs);
|
|
1848
|
-
transition: box-shadow
|
|
1836
|
+
transition: box-shadow var(--mba-transition-base), transform var(--mba-transition-base);
|
|
1849
1837
|
}
|
|
1850
1838
|
|
|
1851
1839
|
.mba-article-card:hover {
|
|
@@ -1854,7 +1842,6 @@ a:hover {
|
|
|
1854
1842
|
}
|
|
1855
1843
|
|
|
1856
1844
|
/* Image container (pour positionner le tag) */
|
|
1857
|
-
|
|
1858
1845
|
.mba-article-card__image-wrapper {
|
|
1859
1846
|
position: relative;
|
|
1860
1847
|
}
|
|
@@ -1868,7 +1855,6 @@ a:hover {
|
|
|
1868
1855
|
}
|
|
1869
1856
|
|
|
1870
1857
|
/* Tag/badge sur l'image */
|
|
1871
|
-
|
|
1872
1858
|
.mba-article-card__tag {
|
|
1873
1859
|
position: absolute;
|
|
1874
1860
|
bottom: 0;
|
|
@@ -1908,7 +1894,6 @@ a:hover {
|
|
|
1908
1894
|
}
|
|
1909
1895
|
|
|
1910
1896
|
/* Footer avec lien */
|
|
1911
|
-
|
|
1912
1897
|
.mba-article-card__footer {
|
|
1913
1898
|
display: flex;
|
|
1914
1899
|
justify-content: flex-end;
|
|
@@ -1925,7 +1910,7 @@ a:hover {
|
|
|
1925
1910
|
font-weight: var(--mba-font-weight-semibold);
|
|
1926
1911
|
color: var(--mba-color-primary-500);
|
|
1927
1912
|
text-decoration: none;
|
|
1928
|
-
transition: color
|
|
1913
|
+
transition: color var(--mba-transition-base);
|
|
1929
1914
|
}
|
|
1930
1915
|
|
|
1931
1916
|
.mba-article-card__link:hover {
|
|
@@ -1941,7 +1926,6 @@ a:hover {
|
|
|
1941
1926
|
}
|
|
1942
1927
|
|
|
1943
1928
|
/* Grid pour article cards */
|
|
1944
|
-
|
|
1945
1929
|
.mba-article-card-grid {
|
|
1946
1930
|
display: grid;
|
|
1947
1931
|
gap: var(--mba-space-md);
|
|
@@ -1961,6 +1945,10 @@ a:hover {
|
|
|
1961
1945
|
}
|
|
1962
1946
|
}
|
|
1963
1947
|
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
/* end @layer components */
|
|
1951
|
+
|
|
1964
1952
|
/**
|
|
1965
1953
|
* MBA Design System - Arrow Buttons
|
|
1966
1954
|
*
|
|
@@ -1973,6 +1961,8 @@ a:hover {
|
|
|
1973
1961
|
* - disabled: Grey-300
|
|
1974
1962
|
*/
|
|
1975
1963
|
|
|
1964
|
+
@layer components {
|
|
1965
|
+
|
|
1976
1966
|
.mba-arrow {
|
|
1977
1967
|
display: inline-flex;
|
|
1978
1968
|
align-items: center;
|
|
@@ -1983,7 +1973,7 @@ a:hover {
|
|
|
1983
1973
|
color: var(--mba-color-white);
|
|
1984
1974
|
border: none;
|
|
1985
1975
|
cursor: pointer;
|
|
1986
|
-
transition: background-color
|
|
1976
|
+
transition: background-color var(--mba-transition-base);
|
|
1987
1977
|
}
|
|
1988
1978
|
|
|
1989
1979
|
.mba-arrow:hover {
|
|
@@ -1996,7 +1986,6 @@ a:hover {
|
|
|
1996
1986
|
}
|
|
1997
1987
|
|
|
1998
1988
|
/* Disabled state */
|
|
1999
|
-
|
|
2000
1989
|
.mba-arrow:disabled,
|
|
2001
1990
|
.mba-arrow.is-disabled {
|
|
2002
1991
|
background-color: var(--mba-color-grey-300);
|
|
@@ -2009,11 +1998,14 @@ a:hover {
|
|
|
2009
1998
|
}
|
|
2010
1999
|
|
|
2011
2000
|
/* Icon sizing */
|
|
2012
|
-
|
|
2013
2001
|
.mba-arrow .material-symbols-rounded {
|
|
2014
2002
|
font-size: 24px;
|
|
2015
2003
|
}
|
|
2016
2004
|
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
/* end @layer components */
|
|
2008
|
+
|
|
2017
2009
|
/**
|
|
2018
2010
|
* MBA Design System - Radio & Checkbox
|
|
2019
2011
|
*
|
|
@@ -2021,10 +2013,11 @@ a:hover {
|
|
|
2021
2013
|
* Source: Design System Figma
|
|
2022
2014
|
*/
|
|
2023
2015
|
|
|
2016
|
+
@layer components {
|
|
2017
|
+
|
|
2024
2018
|
/* ===========================================
|
|
2025
2019
|
RADIO BUTTON - Aidants (Primary)
|
|
2026
2020
|
=========================================== */
|
|
2027
|
-
|
|
2028
2021
|
.mba-radio {
|
|
2029
2022
|
position: relative;
|
|
2030
2023
|
display: inline-flex;
|
|
@@ -2051,7 +2044,7 @@ a:hover {
|
|
|
2051
2044
|
border-radius: 8px;
|
|
2052
2045
|
border: 1px solid var(--mba-color-primary-900);
|
|
2053
2046
|
background-color: var(--mba-color-white);
|
|
2054
|
-
transition: all
|
|
2047
|
+
transition: all var(--mba-transition-base);
|
|
2055
2048
|
}
|
|
2056
2049
|
|
|
2057
2050
|
.mba-radio .mba-radio__control::after {
|
|
@@ -2064,11 +2057,10 @@ a:hover {
|
|
|
2064
2057
|
height: 12px;
|
|
2065
2058
|
border-radius: 50%;
|
|
2066
2059
|
background-color: var(--mba-color-primary-400);
|
|
2067
|
-
transition: transform
|
|
2060
|
+
transition: transform var(--mba-transition-base);
|
|
2068
2061
|
}
|
|
2069
2062
|
|
|
2070
2063
|
/* Hover state (pas sur disabled) */
|
|
2071
|
-
|
|
2072
2064
|
.mba-radio:hover:not(:has(input:disabled)) .mba-radio__control::after {
|
|
2073
2065
|
transform: translate(-50%, -50%) scale(1);
|
|
2074
2066
|
width: 10px;
|
|
@@ -2076,7 +2068,6 @@ a:hover {
|
|
|
2076
2068
|
}
|
|
2077
2069
|
|
|
2078
2070
|
/* Selected state */
|
|
2079
|
-
|
|
2080
2071
|
.mba-radio input:checked + .mba-radio__control::after {
|
|
2081
2072
|
transform: translate(-50%, -50%) scale(1);
|
|
2082
2073
|
width: 12px;
|
|
@@ -2084,13 +2075,11 @@ a:hover {
|
|
|
2084
2075
|
}
|
|
2085
2076
|
|
|
2086
2077
|
/* Focus state */
|
|
2087
|
-
|
|
2088
2078
|
.mba-radio input:focus + .mba-radio__control {
|
|
2089
2079
|
box-shadow: var(--mba-focus-ring);
|
|
2090
2080
|
}
|
|
2091
2081
|
|
|
2092
2082
|
/* Disabled state */
|
|
2093
|
-
|
|
2094
2083
|
.mba-radio input:disabled + .mba-radio__control {
|
|
2095
2084
|
border-color: var(--mba-color-grey-300);
|
|
2096
2085
|
background-color: var(--mba-color-grey-50);
|
|
@@ -2108,7 +2097,6 @@ a:hover {
|
|
|
2108
2097
|
/* ===========================================
|
|
2109
2098
|
RADIO BUTTON - Partenaire (PrimaryPro)
|
|
2110
2099
|
=========================================== */
|
|
2111
|
-
|
|
2112
2100
|
.mba-radio--pro .mba-radio__control {
|
|
2113
2101
|
border-color: var(--mba-color-primary-pro-800);
|
|
2114
2102
|
}
|
|
@@ -2120,7 +2108,6 @@ a:hover {
|
|
|
2120
2108
|
/* ===========================================
|
|
2121
2109
|
CHECKBOX - Aidants (Primary)
|
|
2122
2110
|
=========================================== */
|
|
2123
|
-
|
|
2124
2111
|
.mba-checkbox {
|
|
2125
2112
|
position: relative;
|
|
2126
2113
|
display: inline-flex;
|
|
@@ -2147,7 +2134,7 @@ a:hover {
|
|
|
2147
2134
|
border-radius: var(--mba-radius-2xs);
|
|
2148
2135
|
border: 1px solid var(--mba-color-primary-900);
|
|
2149
2136
|
background-color: var(--mba-color-white);
|
|
2150
|
-
transition: all
|
|
2137
|
+
transition: all var(--mba-transition-base);
|
|
2151
2138
|
}
|
|
2152
2139
|
|
|
2153
2140
|
.mba-checkbox .mba-checkbox__control::after {
|
|
@@ -2160,11 +2147,10 @@ a:hover {
|
|
|
2160
2147
|
height: 12px;
|
|
2161
2148
|
border-radius: 2px;
|
|
2162
2149
|
background-color: var(--mba-color-primary-400);
|
|
2163
|
-
transition: transform
|
|
2150
|
+
transition: transform var(--mba-transition-base);
|
|
2164
2151
|
}
|
|
2165
2152
|
|
|
2166
2153
|
/* Hover state (pas sur disabled) */
|
|
2167
|
-
|
|
2168
2154
|
.mba-checkbox:hover:not(:has(input:disabled)) .mba-checkbox__control::after {
|
|
2169
2155
|
transform: translate(-50%, -50%) scale(1);
|
|
2170
2156
|
width: 10px;
|
|
@@ -2172,7 +2158,6 @@ a:hover {
|
|
|
2172
2158
|
}
|
|
2173
2159
|
|
|
2174
2160
|
/* Selected state */
|
|
2175
|
-
|
|
2176
2161
|
.mba-checkbox input:checked + .mba-checkbox__control::after {
|
|
2177
2162
|
transform: translate(-50%, -50%) scale(1);
|
|
2178
2163
|
width: 12px;
|
|
@@ -2180,13 +2165,11 @@ a:hover {
|
|
|
2180
2165
|
}
|
|
2181
2166
|
|
|
2182
2167
|
/* Focus state */
|
|
2183
|
-
|
|
2184
2168
|
.mba-checkbox input:focus + .mba-checkbox__control {
|
|
2185
2169
|
box-shadow: var(--mba-focus-ring);
|
|
2186
2170
|
}
|
|
2187
2171
|
|
|
2188
2172
|
/* Disabled state */
|
|
2189
|
-
|
|
2190
2173
|
.mba-checkbox input:disabled + .mba-checkbox__control {
|
|
2191
2174
|
border-color: var(--mba-color-grey-300);
|
|
2192
2175
|
background-color: var(--mba-color-grey-50);
|
|
@@ -2204,7 +2187,6 @@ a:hover {
|
|
|
2204
2187
|
/* ===========================================
|
|
2205
2188
|
CHECKBOX - Partenaire (PrimaryPro)
|
|
2206
2189
|
=========================================== */
|
|
2207
|
-
|
|
2208
2190
|
.mba-checkbox--pro .mba-checkbox__control {
|
|
2209
2191
|
border-color: var(--mba-color-primary-pro-800);
|
|
2210
2192
|
}
|
|
@@ -2216,7 +2198,6 @@ a:hover {
|
|
|
2216
2198
|
/* ===========================================
|
|
2217
2199
|
WITH LABEL
|
|
2218
2200
|
=========================================== */
|
|
2219
|
-
|
|
2220
2201
|
.mba-radio-label,
|
|
2221
2202
|
.mba-checkbox-label {
|
|
2222
2203
|
display: inline-flex;
|
|
@@ -2234,6 +2215,10 @@ a:hover {
|
|
|
2234
2215
|
color: var(--mba-color-grey-400);
|
|
2235
2216
|
}
|
|
2236
2217
|
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
/* end @layer components */
|
|
2221
|
+
|
|
2237
2222
|
/**
|
|
2238
2223
|
* MBA Design System - Pagination
|
|
2239
2224
|
*
|
|
@@ -2241,11 +2226,12 @@ a:hover {
|
|
|
2241
2226
|
* Source: Design System Figma
|
|
2242
2227
|
*/
|
|
2243
2228
|
|
|
2229
|
+
@layer components {
|
|
2230
|
+
|
|
2244
2231
|
/* ===========================================
|
|
2245
2232
|
PAGINATION CONTAINER
|
|
2246
2233
|
height: hug (32px), gap: 16px (SM)
|
|
2247
2234
|
=========================================== */
|
|
2248
|
-
|
|
2249
2235
|
.mba-pagination {
|
|
2250
2236
|
display: inline-flex;
|
|
2251
2237
|
align-items: center;
|
|
@@ -2259,7 +2245,6 @@ a:hover {
|
|
|
2259
2245
|
PAGINATION ITEM
|
|
2260
2246
|
width: 32px, height: 32px
|
|
2261
2247
|
=========================================== */
|
|
2262
|
-
|
|
2263
2248
|
.mba-pagination-item {
|
|
2264
2249
|
display: inline-flex;
|
|
2265
2250
|
width: 32px;
|
|
@@ -2268,15 +2253,14 @@ a:hover {
|
|
|
2268
2253
|
justify-content: center;
|
|
2269
2254
|
align-items: center;
|
|
2270
2255
|
font-family: var(--mba-font-family-text);
|
|
2271
|
-
font-size: var(--mba-font-size-
|
|
2256
|
+
font-size: var(--mba-font-size-sm);
|
|
2272
2257
|
font-weight: var(--mba-font-weight-semibold);
|
|
2273
|
-
font-size: 18px;
|
|
2274
2258
|
line-height: var(--mba-leading-snug);
|
|
2275
2259
|
text-decoration: none;
|
|
2276
2260
|
border: none;
|
|
2277
2261
|
border-radius: var(--mba-radius-xs);
|
|
2278
2262
|
cursor: pointer;
|
|
2279
|
-
transition: all
|
|
2263
|
+
transition: all var(--mba-transition-base);
|
|
2280
2264
|
user-select: none;
|
|
2281
2265
|
background-color: var(--mba-color-white);
|
|
2282
2266
|
color: var(--mba-color-black);
|
|
@@ -2293,7 +2277,6 @@ a:hover {
|
|
|
2293
2277
|
}
|
|
2294
2278
|
|
|
2295
2279
|
/* Active state */
|
|
2296
|
-
|
|
2297
2280
|
.mba-pagination-item.is-active {
|
|
2298
2281
|
background-color: var(--mba-color-secondary-500);
|
|
2299
2282
|
border-radius: 50%;
|
|
@@ -2302,7 +2285,6 @@ a:hover {
|
|
|
2302
2285
|
}
|
|
2303
2286
|
|
|
2304
2287
|
/* Disabled state */
|
|
2305
|
-
|
|
2306
2288
|
.mba-pagination-item:disabled,
|
|
2307
2289
|
.mba-pagination-item.is-disabled {
|
|
2308
2290
|
background-color: var(--mba-color-white);
|
|
@@ -2314,7 +2296,6 @@ a:hover {
|
|
|
2314
2296
|
/* ===========================================
|
|
2315
2297
|
PAGINATION ELLIPSIS
|
|
2316
2298
|
=========================================== */
|
|
2317
|
-
|
|
2318
2299
|
.mba-pagination-ellipsis {
|
|
2319
2300
|
display: inline-flex;
|
|
2320
2301
|
width: 32px;
|
|
@@ -2335,7 +2316,6 @@ a:hover {
|
|
|
2335
2316
|
PAGINATION ARROW BUTTON
|
|
2336
2317
|
width: 32px, height: 32px
|
|
2337
2318
|
=========================================== */
|
|
2338
|
-
|
|
2339
2319
|
.mba-pagination-arrow {
|
|
2340
2320
|
display: inline-flex;
|
|
2341
2321
|
width: 32px;
|
|
@@ -2346,7 +2326,7 @@ a:hover {
|
|
|
2346
2326
|
border: none;
|
|
2347
2327
|
border-radius: var(--mba-radius-xs);
|
|
2348
2328
|
cursor: pointer;
|
|
2349
|
-
transition: all
|
|
2329
|
+
transition: all var(--mba-transition-base);
|
|
2350
2330
|
user-select: none;
|
|
2351
2331
|
background-color: var(--mba-color-white);
|
|
2352
2332
|
color: var(--mba-color-black);
|
|
@@ -2380,7 +2360,6 @@ a:hover {
|
|
|
2380
2360
|
DOTS PAGINATION (Carrousel)
|
|
2381
2361
|
Indicateurs de slide sous forme de points
|
|
2382
2362
|
=========================================== */
|
|
2383
|
-
|
|
2384
2363
|
.mba-dots {
|
|
2385
2364
|
display: inline-flex;
|
|
2386
2365
|
align-items: center;
|
|
@@ -2398,7 +2377,7 @@ a:hover {
|
|
|
2398
2377
|
border: none;
|
|
2399
2378
|
padding: 0;
|
|
2400
2379
|
cursor: pointer;
|
|
2401
|
-
transition: background-color
|
|
2380
|
+
transition: background-color var(--mba-transition-base);
|
|
2402
2381
|
}
|
|
2403
2382
|
|
|
2404
2383
|
.mba-dot:hover:not(.is-active) {
|
|
@@ -2415,6 +2394,10 @@ a:hover {
|
|
|
2415
2394
|
cursor: default;
|
|
2416
2395
|
}
|
|
2417
2396
|
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
/* end @layer components */
|
|
2400
|
+
|
|
2418
2401
|
/**
|
|
2419
2402
|
* MBA Design System - Inputs
|
|
2420
2403
|
*
|
|
@@ -2422,10 +2405,11 @@ a:hover {
|
|
|
2422
2405
|
* Source: Design System Figma
|
|
2423
2406
|
*/
|
|
2424
2407
|
|
|
2408
|
+
@layer components {
|
|
2409
|
+
|
|
2425
2410
|
/* ===========================================
|
|
2426
2411
|
LABEL
|
|
2427
2412
|
=========================================== */
|
|
2428
|
-
|
|
2429
2413
|
.mba-label {
|
|
2430
2414
|
display: flex;
|
|
2431
2415
|
align-items: center;
|
|
@@ -2438,14 +2422,12 @@ a:hover {
|
|
|
2438
2422
|
}
|
|
2439
2423
|
|
|
2440
2424
|
/* Asterisque required */
|
|
2441
|
-
|
|
2442
2425
|
.mba-label__required {
|
|
2443
2426
|
color: var(--mba-color-error-500);
|
|
2444
2427
|
font-size: var(--mba-font-size-xxs);
|
|
2445
2428
|
}
|
|
2446
2429
|
|
|
2447
2430
|
/* Icone info */
|
|
2448
|
-
|
|
2449
2431
|
.mba-label__icon {
|
|
2450
2432
|
font-size: 16px;
|
|
2451
2433
|
color: var(--mba-color-grey-400);
|
|
@@ -2454,7 +2436,6 @@ a:hover {
|
|
|
2454
2436
|
/* ===========================================
|
|
2455
2437
|
TEXTAREA - Base
|
|
2456
2438
|
=========================================== */
|
|
2457
|
-
|
|
2458
2439
|
.mba-textarea {
|
|
2459
2440
|
display: block;
|
|
2460
2441
|
width: 100%;
|
|
@@ -2467,17 +2448,15 @@ a:hover {
|
|
|
2467
2448
|
font-weight: var(--mba-font-weight-regular);
|
|
2468
2449
|
color: var(--mba-color-black);
|
|
2469
2450
|
resize: vertical;
|
|
2470
|
-
transition: border-color
|
|
2451
|
+
transition: border-color var(--mba-transition-base), box-shadow var(--mba-transition-base);
|
|
2471
2452
|
}
|
|
2472
2453
|
|
|
2473
2454
|
/* Placeholder */
|
|
2474
|
-
|
|
2475
2455
|
.mba-textarea::placeholder {
|
|
2476
2456
|
color: var(--mba-color-grey-400);
|
|
2477
2457
|
}
|
|
2478
2458
|
|
|
2479
2459
|
/* Focus state */
|
|
2480
|
-
|
|
2481
2460
|
.mba-textarea:focus {
|
|
2482
2461
|
outline: none;
|
|
2483
2462
|
border-color: var(--mba-color-info-400);
|
|
@@ -2485,13 +2464,11 @@ a:hover {
|
|
|
2485
2464
|
}
|
|
2486
2465
|
|
|
2487
2466
|
/* Active state (typing) - placeholder devient noir si visible */
|
|
2488
|
-
|
|
2489
2467
|
.mba-textarea:focus::placeholder {
|
|
2490
2468
|
color: var(--mba-color-black);
|
|
2491
2469
|
}
|
|
2492
2470
|
|
|
2493
2471
|
/* Disabled state */
|
|
2494
|
-
|
|
2495
2472
|
.mba-textarea:disabled {
|
|
2496
2473
|
background-color: var(--mba-color-grey-50);
|
|
2497
2474
|
border-color: var(--mba-color-grey-100);
|
|
@@ -2503,14 +2480,12 @@ a:hover {
|
|
|
2503
2480
|
}
|
|
2504
2481
|
|
|
2505
2482
|
/* Hover state */
|
|
2506
|
-
|
|
2507
2483
|
.mba-textarea:hover:not(:focus):not(:disabled):not(.mba-textarea--error):not(.mba-textarea--valid) {
|
|
2508
2484
|
border-color: var(--mba-color-info-400);
|
|
2509
2485
|
box-shadow: 0 0 0 1.5px var(--mba-color-info-100);
|
|
2510
2486
|
}
|
|
2511
2487
|
|
|
2512
2488
|
/* Error state */
|
|
2513
|
-
|
|
2514
2489
|
.mba-textarea--error {
|
|
2515
2490
|
border-color: var(--mba-color-error-500);
|
|
2516
2491
|
box-shadow: 0 0 0 1.5px var(--mba-color-error-100);
|
|
@@ -2522,7 +2497,6 @@ a:hover {
|
|
|
2522
2497
|
}
|
|
2523
2498
|
|
|
2524
2499
|
/* Valid state */
|
|
2525
|
-
|
|
2526
2500
|
.mba-textarea--valid {
|
|
2527
2501
|
border-color: var(--mba-color-success-500);
|
|
2528
2502
|
box-shadow: 0 0 0 1.5px var(--mba-color-success-100);
|
|
@@ -2536,7 +2510,6 @@ a:hover {
|
|
|
2536
2510
|
/* ===========================================
|
|
2537
2511
|
INPUT - Base
|
|
2538
2512
|
=========================================== */
|
|
2539
|
-
|
|
2540
2513
|
.mba-input {
|
|
2541
2514
|
display: block;
|
|
2542
2515
|
width: 100%;
|
|
@@ -2548,24 +2521,21 @@ a:hover {
|
|
|
2548
2521
|
font-size: var(--mba-font-size-xxs);
|
|
2549
2522
|
font-weight: var(--mba-font-weight-regular);
|
|
2550
2523
|
color: var(--mba-color-black);
|
|
2551
|
-
transition: border-color
|
|
2524
|
+
transition: border-color var(--mba-transition-base), box-shadow var(--mba-transition-base);
|
|
2552
2525
|
}
|
|
2553
2526
|
|
|
2554
2527
|
/* Placeholder */
|
|
2555
|
-
|
|
2556
2528
|
.mba-input::placeholder {
|
|
2557
2529
|
color: var(--mba-color-grey-400);
|
|
2558
2530
|
}
|
|
2559
2531
|
|
|
2560
2532
|
/* Hover state */
|
|
2561
|
-
|
|
2562
2533
|
.mba-input:hover:not(:focus):not(:disabled):not(.mba-input--error):not(.mba-input--valid) {
|
|
2563
2534
|
border-color: var(--mba-color-info-400);
|
|
2564
2535
|
box-shadow: 0 0 0 1.5px var(--mba-color-info-100);
|
|
2565
2536
|
}
|
|
2566
2537
|
|
|
2567
2538
|
/* Focus state */
|
|
2568
|
-
|
|
2569
2539
|
.mba-input:focus {
|
|
2570
2540
|
outline: none;
|
|
2571
2541
|
border-color: var(--mba-color-info-400);
|
|
@@ -2573,7 +2543,6 @@ a:hover {
|
|
|
2573
2543
|
}
|
|
2574
2544
|
|
|
2575
2545
|
/* Disabled state */
|
|
2576
|
-
|
|
2577
2546
|
.mba-input:disabled {
|
|
2578
2547
|
background-color: var(--mba-color-grey-50);
|
|
2579
2548
|
border-color: var(--mba-color-grey-100);
|
|
@@ -2587,7 +2556,6 @@ a:hover {
|
|
|
2587
2556
|
/* ===========================================
|
|
2588
2557
|
INPUT - Error state
|
|
2589
2558
|
=========================================== */
|
|
2590
|
-
|
|
2591
2559
|
.mba-input--error {
|
|
2592
2560
|
border-color: var(--mba-color-error-500);
|
|
2593
2561
|
box-shadow: 0 0 0 1.5px var(--mba-color-error-100);
|
|
@@ -2601,7 +2569,6 @@ a:hover {
|
|
|
2601
2569
|
/* ===========================================
|
|
2602
2570
|
INPUT - Validate state
|
|
2603
2571
|
=========================================== */
|
|
2604
|
-
|
|
2605
2572
|
.mba-input--valid {
|
|
2606
2573
|
border-color: var(--mba-color-success-500);
|
|
2607
2574
|
box-shadow: 0 0 0 1.5px var(--mba-color-success-100);
|
|
@@ -2615,10 +2582,9 @@ a:hover {
|
|
|
2615
2582
|
/* ===========================================
|
|
2616
2583
|
FEEDBACK MESSAGE (error / success)
|
|
2617
2584
|
=========================================== */
|
|
2618
|
-
|
|
2619
2585
|
.mba-feedback {
|
|
2620
2586
|
font-family: var(--mba-font-family-text);
|
|
2621
|
-
font-size:
|
|
2587
|
+
font-size: var(--mba-font-size-xxxs);
|
|
2622
2588
|
font-weight: var(--mba-font-weight-regular);
|
|
2623
2589
|
}
|
|
2624
2590
|
|
|
@@ -2633,7 +2599,6 @@ a:hover {
|
|
|
2633
2599
|
/* ===========================================
|
|
2634
2600
|
DROPDOWN
|
|
2635
2601
|
=========================================== */
|
|
2636
|
-
|
|
2637
2602
|
.mba-dropdown {
|
|
2638
2603
|
position: relative;
|
|
2639
2604
|
display: inline-block;
|
|
@@ -2641,7 +2606,6 @@ a:hover {
|
|
|
2641
2606
|
}
|
|
2642
2607
|
|
|
2643
2608
|
/* Trigger (select-like button) */
|
|
2644
|
-
|
|
2645
2609
|
.mba-dropdown__trigger {
|
|
2646
2610
|
display: flex;
|
|
2647
2611
|
align-items: center;
|
|
@@ -2656,7 +2620,7 @@ a:hover {
|
|
|
2656
2620
|
font-weight: var(--mba-font-weight-regular);
|
|
2657
2621
|
color: var(--mba-color-black);
|
|
2658
2622
|
cursor: pointer;
|
|
2659
|
-
transition: border-color
|
|
2623
|
+
transition: border-color var(--mba-transition-base), box-shadow var(--mba-transition-base);
|
|
2660
2624
|
}
|
|
2661
2625
|
|
|
2662
2626
|
.mba-dropdown__trigger--placeholder {
|
|
@@ -2682,11 +2646,10 @@ a:hover {
|
|
|
2682
2646
|
}
|
|
2683
2647
|
|
|
2684
2648
|
/* Chevron icon */
|
|
2685
|
-
|
|
2686
2649
|
.mba-dropdown__chevron {
|
|
2687
2650
|
font-size: 20px;
|
|
2688
2651
|
color: var(--mba-color-grey-400);
|
|
2689
|
-
transition: transform
|
|
2652
|
+
transition: transform var(--mba-transition-base);
|
|
2690
2653
|
}
|
|
2691
2654
|
|
|
2692
2655
|
.mba-dropdown--open .mba-dropdown__chevron {
|
|
@@ -2694,7 +2657,6 @@ a:hover {
|
|
|
2694
2657
|
}
|
|
2695
2658
|
|
|
2696
2659
|
/* Error state */
|
|
2697
|
-
|
|
2698
2660
|
.mba-dropdown--error .mba-dropdown__trigger {
|
|
2699
2661
|
border-color: var(--mba-color-error-500);
|
|
2700
2662
|
box-shadow: 0 0 0 1.5px var(--mba-color-error-100);
|
|
@@ -2706,7 +2668,6 @@ a:hover {
|
|
|
2706
2668
|
}
|
|
2707
2669
|
|
|
2708
2670
|
/* Valid state */
|
|
2709
|
-
|
|
2710
2671
|
.mba-dropdown--valid .mba-dropdown__trigger {
|
|
2711
2672
|
border-color: var(--mba-color-success-500);
|
|
2712
2673
|
box-shadow: 0 0 0 1.5px var(--mba-color-success-100);
|
|
@@ -2718,7 +2679,6 @@ a:hover {
|
|
|
2718
2679
|
}
|
|
2719
2680
|
|
|
2720
2681
|
/* Panel */
|
|
2721
|
-
|
|
2722
2682
|
.mba-dropdown__panel {
|
|
2723
2683
|
position: absolute;
|
|
2724
2684
|
top: calc(100% + 4px);
|
|
@@ -2741,7 +2701,6 @@ a:hover {
|
|
|
2741
2701
|
}
|
|
2742
2702
|
|
|
2743
2703
|
/* Custom scrollbar */
|
|
2744
|
-
|
|
2745
2704
|
.mba-dropdown__panel::-webkit-scrollbar {
|
|
2746
2705
|
width: 6px;
|
|
2747
2706
|
}
|
|
@@ -2756,7 +2715,6 @@ a:hover {
|
|
|
2756
2715
|
}
|
|
2757
2716
|
|
|
2758
2717
|
/* Option */
|
|
2759
|
-
|
|
2760
2718
|
.mba-dropdown__option {
|
|
2761
2719
|
padding: var(--mba-space-xs);
|
|
2762
2720
|
border-radius: var(--mba-radius-xs);
|
|
@@ -2765,7 +2723,7 @@ a:hover {
|
|
|
2765
2723
|
font-weight: var(--mba-font-weight-regular);
|
|
2766
2724
|
color: var(--mba-color-black);
|
|
2767
2725
|
cursor: pointer;
|
|
2768
|
-
transition: background-color
|
|
2726
|
+
transition: background-color var(--mba-transition-fast);
|
|
2769
2727
|
}
|
|
2770
2728
|
|
|
2771
2729
|
.mba-dropdown__option:hover {
|
|
@@ -2778,7 +2736,6 @@ a:hover {
|
|
|
2778
2736
|
}
|
|
2779
2737
|
|
|
2780
2738
|
/* Option selected - Pro variant */
|
|
2781
|
-
|
|
2782
2739
|
.mba-dropdown--pro .mba-dropdown__option--selected {
|
|
2783
2740
|
border-color: var(--mba-color-primary-pro-400);
|
|
2784
2741
|
}
|
|
@@ -2787,7 +2744,6 @@ a:hover {
|
|
|
2787
2744
|
TOGGLE SWITCH
|
|
2788
2745
|
width: 42px, height: 24px, cercle: 20px
|
|
2789
2746
|
=========================================== */
|
|
2790
|
-
|
|
2791
2747
|
.mba-toggle {
|
|
2792
2748
|
position: relative;
|
|
2793
2749
|
display: inline-block;
|
|
@@ -2809,7 +2765,7 @@ a:hover {
|
|
|
2809
2765
|
right: 0;
|
|
2810
2766
|
bottom: 0;
|
|
2811
2767
|
background-color: var(--mba-color-grey-300);
|
|
2812
|
-
transition: all
|
|
2768
|
+
transition: all var(--mba-transition-slow);
|
|
2813
2769
|
border-radius: 32px;
|
|
2814
2770
|
}
|
|
2815
2771
|
|
|
@@ -2821,7 +2777,7 @@ a:hover {
|
|
|
2821
2777
|
left: 2px;
|
|
2822
2778
|
top: 2px;
|
|
2823
2779
|
background-color: var(--mba-color-white);
|
|
2824
|
-
transition: all
|
|
2780
|
+
transition: all var(--mba-transition-slow);
|
|
2825
2781
|
border-radius: 50%;
|
|
2826
2782
|
}
|
|
2827
2783
|
|
|
@@ -2845,7 +2801,6 @@ a:hover {
|
|
|
2845
2801
|
/* ===========================================
|
|
2846
2802
|
INPUT WITH ICON
|
|
2847
2803
|
=========================================== */
|
|
2848
|
-
|
|
2849
2804
|
.mba-input-icon {
|
|
2850
2805
|
display: flex;
|
|
2851
2806
|
align-items: center;
|
|
@@ -2854,7 +2809,7 @@ a:hover {
|
|
|
2854
2809
|
border-radius: var(--mba-radius-xs);
|
|
2855
2810
|
border: 1px solid var(--mba-color-grey-100);
|
|
2856
2811
|
background-color: var(--mba-color-white);
|
|
2857
|
-
transition: border-color
|
|
2812
|
+
transition: border-color var(--mba-transition-base), box-shadow var(--mba-transition-base);
|
|
2858
2813
|
}
|
|
2859
2814
|
|
|
2860
2815
|
.mba-input-icon input {
|
|
@@ -2879,13 +2834,12 @@ a:hover {
|
|
|
2879
2834
|
}
|
|
2880
2835
|
|
|
2881
2836
|
/* Icon clickable (button) */
|
|
2882
|
-
|
|
2883
2837
|
button.mba-input-icon__icon {
|
|
2884
2838
|
background: none;
|
|
2885
2839
|
border: none;
|
|
2886
2840
|
padding: 0;
|
|
2887
2841
|
cursor: pointer;
|
|
2888
|
-
transition: color
|
|
2842
|
+
transition: color var(--mba-transition-base);
|
|
2889
2843
|
}
|
|
2890
2844
|
|
|
2891
2845
|
button.mba-input-icon__icon:hover {
|
|
@@ -2893,21 +2847,18 @@ button.mba-input-icon__icon:hover {
|
|
|
2893
2847
|
}
|
|
2894
2848
|
|
|
2895
2849
|
/* Hover state */
|
|
2896
|
-
|
|
2897
2850
|
.mba-input-icon:hover:not(:focus-within):not(.mba-input-icon--disabled):not(.mba-input-icon--error) {
|
|
2898
2851
|
border-color: var(--mba-color-info-400);
|
|
2899
2852
|
box-shadow: 0 0 0 1.5px var(--mba-color-info-100);
|
|
2900
2853
|
}
|
|
2901
2854
|
|
|
2902
2855
|
/* Focus state */
|
|
2903
|
-
|
|
2904
2856
|
.mba-input-icon:focus-within {
|
|
2905
2857
|
border-color: var(--mba-color-info-400);
|
|
2906
2858
|
box-shadow: 0 0 0 1.5px var(--mba-color-info-300);
|
|
2907
2859
|
}
|
|
2908
2860
|
|
|
2909
2861
|
/* Disabled state */
|
|
2910
|
-
|
|
2911
2862
|
.mba-input-icon--disabled {
|
|
2912
2863
|
background-color: var(--mba-color-grey-50);
|
|
2913
2864
|
cursor: not-allowed;
|
|
@@ -2919,7 +2870,6 @@ button.mba-input-icon__icon:hover {
|
|
|
2919
2870
|
}
|
|
2920
2871
|
|
|
2921
2872
|
/* Error state */
|
|
2922
|
-
|
|
2923
2873
|
.mba-input-icon--error {
|
|
2924
2874
|
border-color: var(--mba-color-error-500);
|
|
2925
2875
|
box-shadow: 0 0 0 1.5px var(--mba-color-error-100);
|
|
@@ -2937,7 +2887,6 @@ button.mba-input-icon__icon:hover {
|
|
|
2937
2887
|
/* ===========================================
|
|
2938
2888
|
INPUT GROUP (input + button)
|
|
2939
2889
|
=========================================== */
|
|
2940
|
-
|
|
2941
2890
|
.mba-input-group {
|
|
2942
2891
|
display: flex;
|
|
2943
2892
|
align-items: stretch;
|
|
@@ -2952,13 +2901,16 @@ button.mba-input-icon__icon:hover {
|
|
|
2952
2901
|
/* ===========================================
|
|
2953
2902
|
FORM GROUP (label + input)
|
|
2954
2903
|
=========================================== */
|
|
2955
|
-
|
|
2956
2904
|
.mba-form-group {
|
|
2957
2905
|
display: flex;
|
|
2958
2906
|
flex-direction: column;
|
|
2959
2907
|
gap: var(--mba-space-xxs);
|
|
2960
2908
|
}
|
|
2961
2909
|
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
/* end @layer components */
|
|
2913
|
+
|
|
2962
2914
|
/**
|
|
2963
2915
|
* MBA Design System - Wave
|
|
2964
2916
|
*
|
|
@@ -2978,6 +2930,8 @@ button.mba-input-icon__icon:hover {
|
|
|
2978
2930
|
* <div class="mba-wave mba-wave--sm mba-wave--lavender mba-wave--top"></div>
|
|
2979
2931
|
*/
|
|
2980
2932
|
|
|
2933
|
+
@layer components {
|
|
2934
|
+
|
|
2981
2935
|
.mba-wave {
|
|
2982
2936
|
display: block;
|
|
2983
2937
|
width: 100%;
|
|
@@ -2992,7 +2946,6 @@ button.mba-input-icon__icon:hover {
|
|
|
2992
2946
|
}
|
|
2993
2947
|
|
|
2994
2948
|
/* Position variants */
|
|
2995
|
-
|
|
2996
2949
|
.mba-wave--top {
|
|
2997
2950
|
-webkit-mask-image: var(--mba-wave-dip-down-mask);
|
|
2998
2951
|
mask-image: var(--mba-wave-dip-down-mask);
|
|
@@ -3004,7 +2957,6 @@ button.mba-input-icon__icon:hover {
|
|
|
3004
2957
|
}
|
|
3005
2958
|
|
|
3006
2959
|
/* Size variants */
|
|
3007
|
-
|
|
3008
2960
|
.mba-wave--sm {
|
|
3009
2961
|
height: var(--mba-wave-sm-height);
|
|
3010
2962
|
-webkit-mask-image: var(--mba-wave-sm-dip-up-mask);
|
|
@@ -3017,7 +2969,6 @@ button.mba-input-icon__icon:hover {
|
|
|
3017
2969
|
}
|
|
3018
2970
|
|
|
3019
2971
|
/* Color variants */
|
|
3020
|
-
|
|
3021
2972
|
.mba-wave--lavender {
|
|
3022
2973
|
background-color: var(--mba-color-pastel-lavender);
|
|
3023
2974
|
}
|
|
@@ -3034,6 +2985,10 @@ button.mba-input-icon__icon:hover {
|
|
|
3034
2985
|
background-color: var(--mba-color-primary-50);
|
|
3035
2986
|
}
|
|
3036
2987
|
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
/* end @layer components */
|
|
2991
|
+
|
|
3037
2992
|
/**
|
|
3038
2993
|
* MBA Design System - Section
|
|
3039
2994
|
*
|
|
@@ -3062,6 +3017,8 @@ button.mba-input-icon__icon:hover {
|
|
|
3062
3017
|
* </section>
|
|
3063
3018
|
*/
|
|
3064
3019
|
|
|
3020
|
+
@layer components {
|
|
3021
|
+
|
|
3065
3022
|
.mba-section {
|
|
3066
3023
|
position: relative;
|
|
3067
3024
|
width: 100%;
|
|
@@ -3070,7 +3027,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3070
3027
|
.mba-section__content {
|
|
3071
3028
|
position: relative;
|
|
3072
3029
|
z-index: 1;
|
|
3073
|
-
max-width:
|
|
3030
|
+
max-width: var(--mba-container-width);
|
|
3074
3031
|
margin: 0 auto;
|
|
3075
3032
|
padding: var(--mba-space-xxl) 0;
|
|
3076
3033
|
}
|
|
@@ -3079,7 +3036,6 @@ button.mba-input-icon__icon:hover {
|
|
|
3079
3036
|
WAVE INSET (opt-in)
|
|
3080
3037
|
Ajoute du padding pour que le contenu commence après la wave
|
|
3081
3038
|
=========================================== */
|
|
3082
|
-
|
|
3083
3039
|
.mba-section--wave-inset.mba-section--wave-top .mba-section__content,
|
|
3084
3040
|
.mba-section--wave-inset.mba-section--wave-both .mba-section__content {
|
|
3085
3041
|
padding-top: calc(var(--mba-wave-height) + var(--mba-space-xxl));
|
|
@@ -3091,7 +3047,6 @@ button.mba-input-icon__icon:hover {
|
|
|
3091
3047
|
}
|
|
3092
3048
|
|
|
3093
3049
|
/* Wave inset pour petites waves */
|
|
3094
|
-
|
|
3095
3050
|
.mba-section--wave-inset.mba-section--wave-sm.mba-section--wave-top .mba-section__content,
|
|
3096
3051
|
.mba-section--wave-inset.mba-section--wave-sm.mba-section--wave-both .mba-section__content {
|
|
3097
3052
|
padding-top: calc(var(--mba-wave-sm-height) + var(--mba-space-xxl));
|
|
@@ -3204,6 +3159,10 @@ button.mba-input-icon__icon:hover {
|
|
|
3204
3159
|
background-color: var(--mba-color-primary-50);
|
|
3205
3160
|
}
|
|
3206
3161
|
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
/* end @layer components */
|
|
3165
|
+
|
|
3207
3166
|
/**
|
|
3208
3167
|
* MBA Design System - Footer
|
|
3209
3168
|
*
|
|
@@ -3223,6 +3182,8 @@ button.mba-input-icon__icon:hover {
|
|
|
3223
3182
|
* - .mba-footer--pro - Version partenaire (primary-pro)
|
|
3224
3183
|
*/
|
|
3225
3184
|
|
|
3185
|
+
@layer components {
|
|
3186
|
+
|
|
3226
3187
|
/* ===========================================
|
|
3227
3188
|
FOOTER CONTAINER
|
|
3228
3189
|
=========================================== */
|
|
@@ -3237,7 +3198,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3237
3198
|
=========================================== */
|
|
3238
3199
|
|
|
3239
3200
|
.mba-footer__main {
|
|
3240
|
-
max-width:
|
|
3201
|
+
max-width: var(--mba-container-width);
|
|
3241
3202
|
margin: 0 auto;
|
|
3242
3203
|
padding: var(--mba-space-xl) var(--mba-space-sm) var(--mba-space-sm);
|
|
3243
3204
|
display: flex;
|
|
@@ -3294,7 +3255,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3294
3255
|
.mba-footer__mission {
|
|
3295
3256
|
font-family: var(--mba-font-family-text);
|
|
3296
3257
|
font-size: var(--mba-font-size-xxs);
|
|
3297
|
-
line-height: var(--mba-
|
|
3258
|
+
line-height: var(--mba-leading-relaxed);
|
|
3298
3259
|
color: var(--mba-color-text);
|
|
3299
3260
|
margin: 0;
|
|
3300
3261
|
max-width: 300px;
|
|
@@ -3331,6 +3292,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3331
3292
|
}
|
|
3332
3293
|
}
|
|
3333
3294
|
|
|
3295
|
+
|
|
3334
3296
|
.mba-footer__nav-group {
|
|
3335
3297
|
display: flex;
|
|
3336
3298
|
flex-direction: column;
|
|
@@ -3439,6 +3401,7 @@ button.mba-input-icon__icon:hover {
|
|
|
3439
3401
|
align-items: center;
|
|
3440
3402
|
}
|
|
3441
3403
|
|
|
3404
|
+
|
|
3442
3405
|
.mba-footer__social-link {
|
|
3443
3406
|
display: flex;
|
|
3444
3407
|
align-items: center;
|
|
@@ -3467,8 +3430,9 @@ button.mba-input-icon__icon:hover {
|
|
|
3467
3430
|
background-color: var(--mba-color-pastel-lavender);
|
|
3468
3431
|
}
|
|
3469
3432
|
|
|
3433
|
+
|
|
3470
3434
|
.mba-footer__legal {
|
|
3471
|
-
max-width:
|
|
3435
|
+
max-width: var(--mba-container-width);
|
|
3472
3436
|
margin: 0 auto;
|
|
3473
3437
|
padding: var(--mba-space-md) var(--mba-space-sm);
|
|
3474
3438
|
display: flex;
|
|
@@ -3576,6 +3540,10 @@ button.mba-input-icon__icon:hover {
|
|
|
3576
3540
|
border-top-color: var(--mba-color-primary-pro-400);
|
|
3577
3541
|
}
|
|
3578
3542
|
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
/* end @layer components */
|
|
3546
|
+
|
|
3579
3547
|
/* @import "./_forms.css"; */
|
|
3580
3548
|
|
|
3581
3549
|
/* @import "./_alerts.css"; */
|
|
@@ -3614,6 +3582,29 @@ button.mba-input-icon__icon:hover {
|
|
|
3614
3582
|
ACCESSIBILITY UTILITIES
|
|
3615
3583
|
=========================================== */
|
|
3616
3584
|
|
|
3585
|
+
/* Reduced motion - Respect user preference for reduced animations
|
|
3586
|
+
Triggered when user enables "Reduce motion" in system settings
|
|
3587
|
+
(macOS, Windows, iOS, Android)
|
|
3588
|
+
|
|
3589
|
+
Benefits:
|
|
3590
|
+
- Users with vestibular disorders
|
|
3591
|
+
- Users with epilepsy or seizure disorders
|
|
3592
|
+
- Users with migraines or motion sensitivity
|
|
3593
|
+
|
|
3594
|
+
WCAG 2.1 Success Criterion 2.3.3 (AAA)
|
|
3595
|
+
*/
|
|
3596
|
+
|
|
3597
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3598
|
+
*,
|
|
3599
|
+
*::before,
|
|
3600
|
+
*::after {
|
|
3601
|
+
animation-duration: 0.01ms !important;
|
|
3602
|
+
animation-iteration-count: 1 !important;
|
|
3603
|
+
transition-duration: 0.01ms !important;
|
|
3604
|
+
scroll-behavior: auto !important;
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3617
3608
|
/* Visually hidden (accessible) */
|
|
3618
3609
|
|
|
3619
3610
|
.mba-sr-only {
|