]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
830b4faf | 3 | @import '_miniature'; |
1aabcae7 | 4 | |
202f6b6c | 5 | .video-thumbnail { |
830b4faf | 6 | @include miniature-thumbnail; |
1aabcae7 | 7 | |
6e46de09 C |
8 | .progress-bar { |
9 | height: 3px; | |
10 | width: 100%; | |
8fc02e47 C |
11 | position: absolute; |
12 | bottom: 0; | |
6e46de09 C |
13 | background-color: rgba(0, 0, 0, 0.20); |
14 | ||
15 | div { | |
16 | height: 100%; | |
e66883b3 | 17 | background-color: pvar(--mainColor); |
6e46de09 C |
18 | } |
19 | } | |
20 | ||
29128b2f | 21 | .video-thumbnail-watch-later-overlay, |
62eacb42 | 22 | .video-thumbnail-label-overlay, |
830b4faf C |
23 | .video-thumbnail-duration-overlay { |
24 | @include static-thumbnail-overlay; | |
25 | ||
830b4faf | 26 | border-radius: 3px; |
202f6b6c | 27 | font-size: 12px; |
e66883b3 RK |
28 | font-weight: $font-semibold; |
29 | line-height: 1.2; | |
555fdc8c | 30 | z-index: z(miniature); |
202f6b6c | 31 | } |
29128b2f | 32 | |
62eacb42 RK |
33 | .video-thumbnail-label-overlay { |
34 | position: absolute; | |
35 | padding: 0 5px; | |
36 | left: 5px; | |
37 | top: 5px; | |
e66883b3 | 38 | font-weight: $font-bold; |
62eacb42 RK |
39 | |
40 | &.warning { background-color: orange; } | |
41 | &.danger { background-color: red; } | |
42 | } | |
43 | ||
29128b2f RK |
44 | .video-thumbnail-duration-overlay { |
45 | position: absolute; | |
e66883b3 | 46 | padding: 0 3px; |
29128b2f RK |
47 | right: 5px; |
48 | bottom: 5px; | |
49 | } | |
50 | ||
29128b2f RK |
51 | .video-thumbnail-actions-overlay { |
52 | position: absolute; | |
53 | display: flex; | |
54 | flex-direction: column; | |
55 | right: 5px; | |
56 | top: 5px; | |
57 | opacity: 0; | |
58 | ||
59 | div:not(:first-child) { | |
60 | margin-top: 2px; | |
61 | } | |
62 | ||
63 | .video-thumbnail-watch-later-overlay { | |
64 | padding: 3px; | |
65 | ||
66 | my-global-icon { | |
67 | width: 22px; | |
68 | height: 22px; | |
69 | ||
70 | @include apply-svg-color(#fff); | |
71 | } | |
72 | } | |
73 | } | |
202f6b6c | 74 | } |