]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
Remove deprecated abuse api
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-thumbnail / video-thumbnail.component.scss
... / ...
CommitLineData
1@import '_variables';
2@import '_mixins';
3@import '_miniature';
4
5.video-thumbnail {
6 @include miniature-thumbnail;
7
8 .progress-bar {
9 height: 3px;
10 width: 100%;
11 position: absolute;
12 bottom: 0;
13 background-color: rgba(0, 0, 0, 0.20);
14
15 div {
16 height: 100%;
17 background-color: pvar(--mainColor);
18 }
19 }
20
21 .video-thumbnail-watch-later-overlay,
22 .video-thumbnail-label-overlay,
23 .video-thumbnail-duration-overlay,
24 .video-thumbnail-live-overlay {
25 @include static-thumbnail-overlay;
26
27 border-radius: 3px;
28 font-size: 12px;
29 font-weight: $font-semibold;
30 line-height: 1.2;
31 z-index: z(miniature);
32 }
33
34 .video-thumbnail-label-overlay {
35 position: absolute;
36 padding: 0 5px;
37 left: 5px;
38 top: 5px;
39 font-weight: $font-bold;
40
41 &.warning { background-color: orange; }
42 &.danger { background-color: red; }
43 }
44
45 .video-thumbnail-duration-overlay,
46 .video-thumbnail-live-overlay {
47 position: absolute;
48 padding: 0 3px;
49 right: 5px;
50 bottom: 5px;
51 }
52
53 .video-thumbnail-live-overlay {
54 background-color: rgba(224, 8, 8, 0.7);
55 color: #fff;
56 font-weight: $font-semibold;
57 }
58
59 .video-thumbnail-actions-overlay {
60 position: absolute;
61 display: flex;
62 flex-direction: column;
63 right: 5px;
64 top: 5px;
65 opacity: 0;
66
67 div:not(:first-child) {
68 margin-top: 2px;
69 }
70
71 .video-thumbnail-watch-later-overlay {
72 padding: 3px;
73
74 my-global-icon {
75 width: 22px;
76 height: 22px;
77
78 @include apply-svg-color(#fff);
79 }
80 }
81 }
82}