]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix buttons hovering background color in tables
authorChocobozzz <me@florianbigard.com>
Fri, 10 Jun 2022 12:13:57 +0000 (14:13 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 10 Jun 2022 12:14:03 +0000 (14:14 +0200)
client/src/sass/application.scss

index 44c0d13ffa9e732867e689dd8459f8da897d13e3..460356422bb05bb646792f60a5f6c4aab9fabe5e 100644 (file)
@@ -272,14 +272,17 @@ my-input-toggle-hidden ::ng-deep input {
 
 // In tables, don't have a hover different background
 table {
-  .action-button-edit,
-  .action-button-delete {
-    &:hover,
-    &:active,
-    &:focus,
-    &[disabled],
-    &.disabled {
-      background-color: $grey-background-color !important;
+  my-edit-button,
+  my-delete-button {
+    .action-button {
+      &:hover,
+      &:active,
+      &:focus,
+      &[disabled],
+      &.disabled {
+        background-color: pvar(--greyBackgroundColor) !important;
+        opacity: 0.8;
+      }
     }
   }
 }