On hovering, all the tr should be colored

This needs to be respecified with an `!important` keyword

Even if already defined in `app/webpacker/css/admin/openfoodnetwork.scss`
This commit is contained in:
Jean-Baptiste Bellet
2023-01-06 10:49:26 +01:00
parent c7d4c4c195
commit 73a2b90e1b

View File

@@ -115,6 +115,10 @@ table {
}
}
table tbody tr:hover > td {
background-color: #e9f3fc !important; // needs to be important because of already defined with important
}
table#listing_orders {
td {
// When the table is the listing of orders, we need to increase the height of the cells
@@ -125,3 +129,13 @@ table#listing_orders {
}
}
}
table#listing_order_cycles tr.open td {
background-color: #d9fccb !important; // needs to be important because of already defined with important
}
table#listing_order_cycles tr.closed td {
background-color: #eee !important; // needs to be important because of already defined with important
}
table#listing_order_cycles tr.upcoming td {
background-color: #fbfccb !important; // needs to be important because of already defined with important
}