UI: Fixed table style specificity

This commit is contained in:
Artem Dzhereleiko 2023-09-20 14:39:08 +03:00
parent 24fd3a1327
commit b9d7dcc16c

View File

@ -738,18 +738,23 @@ mat-label {
} }
} }
.mat-mdc-table {
.mat-mdc-row { .mat-mdc-row {
transition: background-color .2s; transition: background-color .2s;
&:hover:not(.tb-current-entity) { &:hover:not(.tb-current-entity) {
background-color: #f4f4f4; background-color: #f4f4f4;
} }
&.tb-current-entity { &.tb-current-entity {
background-color: #e9e9e9; background-color: #e9e9e9;
} }
&.tb-pointer { &.tb-pointer {
cursor: pointer; cursor: pointer;
} }
} }
}
.mat-mdc-row:not(.mat-row-select), .mat-mdc-header-row:not(.mat-row-select) { .mat-mdc-row:not(.mat-row-select), .mat-mdc-header-row:not(.mat-row-select) {
.mat-mdc-cell:first-child, .mat-mdc-footer-cell:first-child, .mat-mdc-header-cell:first-child { .mat-mdc-cell:first-child, .mat-mdc-footer-cell:first-child, .mat-mdc-header-cell:first-child {