X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-thumbnail.component.scss;h=469b659e93170f37673cb8940847c62468f6942a;hb=dd570a34ff731a6cd98ef8f8bf83f234e804f6c1;hp=0fc2df220028fd31975000b71278e9e7711dbe5e;hpb=63c4db6d71b98523753c51747e308682d9a2e8a0;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss index 0fc2df220..469b659e9 100644 --- a/client/src/app/shared/video/video-thumbnail.component.scss +++ b/client/src/app/shared/video/video-thumbnail.component.scss @@ -1,31 +1,32 @@ @import '_variables'; @import '_mixins'; +@import '_miniature'; .video-thumbnail { - display: inline-block; - position: relative; - border-radius: 4px; - overflow: hidden; + @include miniature-thumbnail; - &:hover { - text-decoration: none !important; - } + .progress-bar { + height: 3px; + width: 100%; + position: absolute; + bottom: 0; + background-color: rgba(0, 0, 0, 0.20); - img.blur-filter { - filter: blur(5px); - transform : scale(1.03); + div { + height: 100%; + background-color: var(--mainColor); + } } - .video-thumbnail-overlay { + .video-thumbnail-duration-overlay { + @include static-thumbnail-overlay; + position: absolute; right: 5px; bottom: 5px; - display: inline-block; - background-color: rgba(0, 0, 0, 0.7); - color: #fff; + padding: 0 5px; + border-radius: 3px; font-size: 12px; font-weight: $font-bold; - border-radius: 3px; - padding: 0 5px; } }