]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/video/video-thumbnail.component.scss
Fix videos list user NSFW policy
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-thumbnail.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 .video-thumbnail {
5 display: inline-block;
6 position: relative;
7 border-radius: 4px;
8 overflow: hidden;
9 width: $video-thumbnail-width;
10 height: $video-thumbnail-height;
11 background-color: #ececec;
12
13 &:hover {
14 text-decoration: none !important;
15 }
16
17 @include disable-outline;
18 &.focus-visible {
19 box-shadow: 0 0 0 2px var(--mainColor);
20 }
21
22 img {
23 width: $video-thumbnail-width;
24 height: $video-thumbnail-height;
25
26 &.blur-filter {
27 filter: blur(5px);
28 transform : scale(1.03);
29 }
30 }
31
32 .video-thumbnail-overlay {
33 position: absolute;
34 right: 5px;
35 bottom: 5px;
36 display: inline-block;
37 background-color: rgba(0, 0, 0, 0.7);
38 color: #fff;
39 font-size: 12px;
40 font-weight: $font-bold;
41 border-radius: 3px;
42 padding: 0 5px;
43 }
44 }