aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-10 14:13:57 +0200
committerChocobozzz <me@florianbigard.com>2022-06-10 14:14:03 +0200
commit221489caab6843bb0f9b50df140f64c27f8a5fda (patch)
treea39b51ad0dfe131cb9f14bd9356c49ed5f43a143
parent1fef6bccd939842408fdd666cc72fed9f2ef6456 (diff)
downloadPeerTube-221489caab6843bb0f9b50df140f64c27f8a5fda.tar.gz
PeerTube-221489caab6843bb0f9b50df140f64c27f8a5fda.tar.zst
PeerTube-221489caab6843bb0f9b50df140f64c27f8a5fda.zip
Fix buttons hovering background color in tables
-rw-r--r--client/src/sass/application.scss19
1 files changed, 11 insertions, 8 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 44c0d13ff..460356422 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -272,14 +272,17 @@ my-input-toggle-hidden ::ng-deep input {
272 272
273// In tables, don't have a hover different background 273// In tables, don't have a hover different background
274table { 274table {
275 .action-button-edit, 275 my-edit-button,
276 .action-button-delete { 276 my-delete-button {
277 &:hover, 277 .action-button {
278 &:active, 278 &:hover,
279 &:focus, 279 &:active,
280 &[disabled], 280 &:focus,
281 &.disabled { 281 &[disabled],
282 background-color: $grey-background-color !important; 282 &.disabled {
283 background-color: pvar(--greyBackgroundColor) !important;
284 opacity: 0.8;
285 }
283 } 286 }
284 } 287 }
285} 288}