Fixing styling for table rows within index panels

This commit is contained in:
Rob Harrington
2016-12-14 08:42:32 +11:00
parent d0f4cc2ee2
commit e4f30cea57
3 changed files with 17 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ tbody.panel-ctrl {
tr.panel-row {
&:hover {
td {
>td {
background-color: #ffffff;
}
}

View 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;
}
}
}

View File

@@ -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%' }