67 lines
1 KiB
SCSS
67 lines
1 KiB
SCSS
@import "colors";
|
|
@import "constants";
|
|
@import "mixins";
|
|
|
|
.table { // TODO : tester de remplacer par l'élément table uniquement
|
|
width: 100%;
|
|
|
|
tbody tr {
|
|
border-top: 1px solid $border-grey;
|
|
}
|
|
|
|
td,
|
|
th[scope="row"] {
|
|
@include vertical-padding($default-spacer);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
th,
|
|
td.libelle {
|
|
text-align: left;
|
|
font-weight: bold;
|
|
padding: (3 * $default-spacer) 2px;
|
|
|
|
&.padded {
|
|
padding-left: (2 * $default-spacer);
|
|
}
|
|
}
|
|
|
|
&.hoverable {
|
|
tbody tr:hover {
|
|
background-color: $light-grey;
|
|
}
|
|
}
|
|
|
|
&.vertical {
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
|
|
tr {
|
|
border-top: none;
|
|
}
|
|
|
|
th,
|
|
td.libelle {
|
|
@include vertical-padding($default-spacer);
|
|
|
|
&.header-section {
|
|
color: $blue-france-500;
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.force-table-100 {
|
|
width: calc(100vw);
|
|
}
|
|
|
|
.fr-table--bordered {
|
|
.table {
|
|
&.hoverable {
|
|
tbody tr:hover {
|
|
background-color: $white;
|
|
}
|
|
}
|
|
}
|
|
}
|