mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Fixing styling for table rows within index panels
This commit is contained in:
@@ -98,7 +98,7 @@ tbody.panel-ctrl {
|
||||
|
||||
tr.panel-row {
|
||||
&:hover {
|
||||
td {
|
||||
>td {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
15
app/assets/stylesheets/admin/tables.css.scss
Normal file
15
app/assets/stylesheets/admin/tables.css.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
table tbody tr:hover td {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
table tbody tr:hover >td {
|
||||
background-color: #e9f3fc;
|
||||
}
|
||||
|
||||
table.layout {
|
||||
tr, tr:hover {
|
||||
td {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
#add-line-item
|
||||
%fieldset
|
||||
%legend{ align: 'center'}= t(:products)
|
||||
%table.no-borders
|
||||
%table.no-borders.layout
|
||||
%col{ width: '60%' }
|
||||
%col{ width: '20%' }
|
||||
%col{ width: '20%' }
|
||||
|
||||
Reference in New Issue
Block a user