diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:13:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:14:03 +0200 |
commit | 221489caab6843bb0f9b50df140f64c27f8a5fda (patch) | |
tree | a39b51ad0dfe131cb9f14bd9356c49ed5f43a143 | |
parent | 1fef6bccd939842408fdd666cc72fed9f2ef6456 (diff) | |
download | PeerTube-221489caab6843bb0f9b50df140f64c27f8a5fda.tar.gz PeerTube-221489caab6843bb0f9b50df140f64c27f8a5fda.tar.zst PeerTube-221489caab6843bb0f9b50df140f64c27f8a5fda.zip |
Fix buttons hovering background color in tables
-rw-r--r-- | client/src/sass/application.scss | 19 |
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 |
274 | table { | 274 | table { |
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 | } |