This commit is contained in:
Gerard 2019-02-08 15:09:47 +01:00
parent 77600d4d11
commit 815985e5de
2 changed files with 4 additions and 3 deletions

View File

@ -34,6 +34,7 @@ import './paging/paging';
import './pagination/pagination'; import './pagination/pagination';
import './searchbar/searchbar'; import './searchbar/searchbar';
import './table'; import './table';
import './td-editable';
import './th'; import './th';
import './input-range'; import './input-range';
import './chip'; import './chip';

View File

@ -64,7 +64,7 @@ vn-table {
vn-th { vn-th {
font-weight: bold font-weight: bold
} }
vn-td, vn-th { vn-td, vn-th, vn-td-editable {
vertical-align: middle; vertical-align: middle;
display: table-cell; display: table-cell;
text-align: left; text-align: left;
@ -92,14 +92,14 @@ vn-table {
&.clickable { &.clickable {
@extend %clickable; @extend %clickable;
} }
&.success, & > vn-td.success { &.success, & > vn-td.success, & > vn-td-editable.success {
background-color: rgba(163, 209, 49, 0.3); background-color: rgba(163, 209, 49, 0.3);
&:hover { &:hover {
background-color: rgba(163, 209, 49, 0.5); background-color: rgba(163, 209, 49, 0.5);
} }
} }
&.warning, & > vn-td.warning { &.warning, & > vn-td.warning, & > vn-td-editable.warning {
background-color: rgba(247, 147, 30, 0.3); background-color: rgba(247, 147, 30, 0.3);
&:hover { &:hover {