]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/video-thumbnail.component.scss
Add miniature quick actions to add video to Watch later playlist
[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
38 &:hover {
39 .video-thumbnail-actions-overlay {
40 opacity: 1;
41 }
42 }
43
44 .video-thumbnail-actions-overlay {
45 position: absolute;
46 display: flex;
47 flex-direction: column;
48 right: 5px;
49 top: 5px;
50 opacity: 0;
51
52 div:not(:first-child) {
53 margin-top: 2px;
54 }
55
56 .video-thumbnail-watch-later-overlay {
57 padding: 3px;
58
59 my-global-icon {
60 width: 22px;
61 height: 22px;
62
63 @include apply-svg-color(#fff);
64 }
65 }
66 }
202f6b6c 67}