X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-miniature.component.scss;h=b63fd2989efcad94cdf57756c8ae6aaecac64e19;hb=e612209767ebe1deb0af7688c96b7f979bb52b44;hp=3988cc0556380d0135a1eb524a7aeb931e9c1962;hpb=5dfb7c1dec8222b0bbccac5b56ad46da1438747e;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index 3988cc055..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,11 +100,17 @@ $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; height: auto; - width: 100%; + display: flex; + flex-grow: 1; my-video-thumbnail { margin-right: 10px;