From 3fbba1d28a80b9e8bd97b422280a7465c5f7c89f Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 2 Jan 2020 15:45:27 +0100 Subject: Display all miniature actions on hover and focus --- .../src/app/shared/video/video-miniature.component.scss | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared/video/video-miniature.component.scss') diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index ac83c5dfa..b63fd2989 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss @@ -74,10 +74,14 @@ $more-margin-right: 15px; ::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root { opacity: 1; } - } - &:hover .video-actions ::ng-deep .dropdown-root { - opacity: 1; + ::ng-deep .more-icon { + opacity: .6; + + &:hover { + opacity: 1; + } + } } @media screen and (max-width: $small-view) { @@ -96,6 +100,11 @@ $more-margin-right: 15px; } } + &:hover ::ng-deep .video-thumbnail .video-thumbnail-actions-overlay, + &:hover .video-bottom .video-actions ::ng-deep .dropdown-root { + opacity: 1; + } + &.display-as-row { flex-direction: row; margin-bottom: 0; -- cgit v1.2.3