mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user