From c2830fa8f84f61462098bf36add824f89436dfa9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Dec 2017 10:44:40 +0100 Subject: [PATCH] Background orange on sorted columns --- client/src/sass/application.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 9a93411e9..9d347d566 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -182,11 +182,18 @@ p-datatable { font-weight: $font-semibold !important; color: #000 !important; - &.ui-state-active, &.ui-sortable-column:hover { + &.ui-sortable-column:hover:not(.ui-state-active) { background-color: #f0f0f0 !important; border: 1px solid #f0f0f0 !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 { @@ -281,7 +288,6 @@ p-datatable { } } - .orange-button { @include peertube-button; @include orange-button;