X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-thumbnail.component.scss;h=e48629778044ce4060ac41dbdf093ee1459d25b9;hb=22a73cb879a5cc775d4bec3d72fa9c9cf52e5175;hp=ab4f9bcb14ac525439b87d4a990787f37356f222;hpb=202f6b6c9dcc9b0aec4b0c1b15e455c22a7952a7;p=github%2FChocobozzz%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 ab4f9bcb1..e48629778 100644 --- a/client/src/app/shared/video/video-thumbnail.component.scss +++ b/client/src/app/shared/video/video-thumbnail.component.scss @@ -1,28 +1,33 @@ +@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; + z-index: 1; } }