]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
202f6b6c C |
4 | .video-thumbnail { |
5 | display: inline-block; | |
6 | position: relative; | |
7 | border-radius: 4px; | |
8 | overflow: hidden; | |
d6bd50ba C |
9 | width: $video-thumbnail-width; |
10 | height: $video-thumbnail-height; | |
11 | background-color: #ececec; | |
202f6b6c C |
12 | |
13 | &:hover { | |
14 | text-decoration: none !important; | |
15 | } | |
16 | ||
e78980eb RK |
17 | @include disable-outline; |
18 | &.focus-visible { | |
19 | box-shadow: 0 0 0 2px var(--mainColor); | |
20 | } | |
21 | ||
3290f37c C |
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 | } | |
202f6b6c C |
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 | } |