2017-07-11 16:50:29 +02:00
|
|
|
@import "colors";
|
2017-07-06 16:25:51 +02:00
|
|
|
@import "constants";
|
|
|
|
@import "mixins";
|
|
|
|
|
2017-07-27 16:02:35 +02:00
|
|
|
.table { // TODO : tester de remplacer par l'élément table uniquement
|
2017-07-06 16:25:51 +02:00
|
|
|
width: 100%;
|
|
|
|
|
2017-07-27 16:02:35 +02:00
|
|
|
tbody tr {
|
|
|
|
border-top: 1px solid $border-grey;
|
|
|
|
}
|
|
|
|
|
2022-11-29 17:21:50 +01:00
|
|
|
td,
|
|
|
|
th[scope="row"] {
|
2017-07-27 16:02:35 +02:00
|
|
|
@include vertical-padding($default-spacer);
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-12-21 12:28:17 +01:00
|
|
|
th,
|
|
|
|
td.libelle {
|
2017-07-27 16:02:35 +02:00
|
|
|
text-align: left;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: (3 * $default-spacer) 2px;
|
2017-07-06 16:25:51 +02:00
|
|
|
|
2021-12-21 12:28:17 +01:00
|
|
|
&.padded {
|
|
|
|
padding-left: (2 * $default-spacer);
|
|
|
|
}
|
2019-01-30 17:20:02 +01:00
|
|
|
}
|
|
|
|
|
2017-07-27 16:27:29 +02:00
|
|
|
&.hoverable {
|
|
|
|
tbody tr:hover {
|
|
|
|
background: $light-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-27 15:30:25 +02:00
|
|
|
&.vertical {
|
2017-10-16 17:39:01 +02:00
|
|
|
font-size: 16px;
|
2017-07-27 15:30:25 +02:00
|
|
|
line-height: 22px;
|
2017-07-11 16:50:29 +02:00
|
|
|
|
2017-07-27 16:02:35 +02:00
|
|
|
tr {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2021-12-21 12:28:17 +01:00
|
|
|
th,
|
|
|
|
td.libelle {
|
2017-07-27 16:02:35 +02:00
|
|
|
@include vertical-padding($default-spacer);
|
2017-07-27 15:30:25 +02:00
|
|
|
|
|
|
|
&.header-section {
|
2021-09-20 15:04:24 +02:00
|
|
|
color: $blue-france-500;
|
2017-07-27 15:30:25 +02:00
|
|
|
font-size: 20px;
|
|
|
|
}
|
2017-07-11 16:50:29 +02:00
|
|
|
}
|
2017-07-06 16:25:51 +02:00
|
|
|
}
|
|
|
|
}
|
2022-12-02 17:16:29 +01:00
|
|
|
|
|
|
|
.force-table-100 {
|
2022-11-21 16:32:17 +01:00
|
|
|
width: calc(100vw);
|
|
|
|
}
|
2022-12-05 10:38:34 +01:00
|
|
|
|
|
|
|
.fr-table--bordered {
|
|
|
|
.table {
|
|
|
|
&.hoverable {
|
|
|
|
tbody tr:hover {
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|