style: fix some tables in dark theme

This commit is contained in:
Colin Darie 2023-11-28 14:59:18 +01:00
parent e9471d2843
commit 7a936d2481
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -6,7 +6,7 @@
width: 100%;
tbody tr {
border-top: 1px solid $border-grey;
border-top: 1px solid var(--border-default-grey);
}
td,
@ -28,7 +28,7 @@
&.hoverable {
tbody tr:hover {
background-color: $light-grey;
background-color: var(--hover);
}
}
@ -56,22 +56,11 @@
width: calc(100vw);
}
[data-fr-theme="dark"] .fr-table--bordered {
.table {
&.hoverable {
tbody tr:hover {
background-color: var(--background-action-low-blue-france);
}
}
}
}
.fr-table--bordered {
.table {
&.hoverable {
tbody tr:hover {
background-color: $white;
background-color: var(--hover);
}
}
}