Background orange on sorted columns

This commit is contained in:
Chocobozzz 2017-12-11 10:44:40 +01:00
parent dc595ab7ca
commit c2830fa8f8
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 8 additions and 2 deletions

View File

@ -182,11 +182,18 @@ p-datatable {
font-weight: $font-semibold !important; font-weight: $font-semibold !important;
color: #000 !important; color: #000 !important;
&.ui-state-active, &.ui-sortable-column:hover { &.ui-sortable-column:hover:not(.ui-state-active) {
background-color: #f0f0f0 !important; background-color: #f0f0f0 !important;
border: 1px solid #f0f0f0 !important; border: 1px solid #f0f0f0 !important;
border-width: 0 1px !important; border-width: 0 1px !important;
} }
&.ui-state-active {
color: #fff !important;
background-color: $orange-color !important;
border: 1px solid $orange-color !important;
border-width: 0 1px !important;
}
} }
.action-cell { .action-cell {
@ -281,7 +288,6 @@ p-datatable {
} }
} }
.orange-button { .orange-button {
@include peertube-button; @include peertube-button;
@include orange-button; @include orange-button;