]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/video-thumbnail.component.scss
Mark additional strings as translatable (#2507)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-thumbnail.component.scss
CommitLineData
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%;
17 background-color: var(--mainColor);
18 }
19 }
20
29128b2f 21 .video-thumbnail-watch-later-overlay,
830b4faf
C
22 .video-thumbnail-duration-overlay {
23 @include static-thumbnail-overlay;
24
830b4faf 25 border-radius: 3px;
202f6b6c
C
26 font-size: 12px;
27 font-weight: $font-bold;
41f8f620 28 z-index: 1;
202f6b6c 29 }
29128b2f
RK
30
31 .video-thumbnail-duration-overlay {
32 position: absolute;
33 padding: 0 5px;
34 right: 5px;
35 bottom: 5px;
36 }
37
29128b2f
RK
38 .video-thumbnail-actions-overlay {
39 position: absolute;
40 display: flex;
41 flex-direction: column;
42 right: 5px;
43 top: 5px;
44 opacity: 0;
45
46 div:not(:first-child) {
47 margin-top: 2px;
48 }
49
50 .video-thumbnail-watch-later-overlay {
51 padding: 3px;
52
53 my-global-icon {
54 width: 22px;
55 height: 22px;
56
57 @include apply-svg-color(#fff);
58 }
59 }
60 }
202f6b6c 61}