]>
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 | ||
3290f37c C |
17 | img { |
18 | width: $video-thumbnail-width; | |
19 | height: $video-thumbnail-height; | |
20 | ||
21 | &.blur-filter { | |
22 | filter: blur(5px); | |
23 | transform : scale(1.03); | |
24 | } | |
202f6b6c C |
25 | } |
26 | ||
27 | .video-thumbnail-overlay { | |
28 | position: absolute; | |
29 | right: 5px; | |
30 | bottom: 5px; | |
31 | display: inline-block; | |
32 | background-color: rgba(0, 0, 0, 0.7); | |
33 | color: #fff; | |
34 | font-size: 12px; | |
35 | font-weight: $font-bold; | |
36 | border-radius: 3px; | |
37 | padding: 0 5px; | |
38 | } | |
39 | } |