]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-watch/video-watch-playlist.component.scss
Move to sass @use
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / video-watch-playlist.component.scss
CommitLineData
fa12eacc
C
1@use '_variables';
2@use '_mixins';
3@use '_bootstrap-variables';
4@use '_miniature';
72675ebe
C
5
6.playlist {
7 min-width: 200px;
8 max-width: 470px;
9 height: 66vh;
e66883b3 10 background-color: pvar(--mainBackgroundColor);
72675ebe
C
11 overflow-y: auto;
12 border-bottom: 1px solid $separator-border-color;
13
14 .playlist-info {
15 padding: 5px 30px;
16 background-color: #e4e4e4;
17
18 .playlist-display-name {
19 font-size: 18px;
20 font-weight: $font-semibold;
21 margin-bottom: 5px;
22 }
23
24 .playlist-by-index {
e66883b3 25 color: pvar(--greyForegroundColor);
72675ebe
C
26 display: flex;
27
28 .playlist-by {
27bc9586 29 @include margin-right(5px);
72675ebe
C
30 }
31
32 .playlist-index span:first-child::after {
33 content: '/';
34 margin: 0 3px;
35 }
36 }
bee29df8
RK
37
38 .playlist-controls {
39 display: flex;
40 margin: 10px 0;
41
88a7f93f 42 my-global-icon:not(:last-child) {
27bc9586 43 @include margin-right(.5rem);
88a7f93f
RK
44 }
45
bee29df8
RK
46 my-global-icon {
47 &:not(.active) {
931d3430 48 opacity: .5;
bee29df8
RK
49 }
50
51 ::ng-deep {
52 cursor: pointer;
53 }
54 }
55 }
72675ebe
C
56 }
57
58 my-video-playlist-element-miniature {
03652b31 59 ::ng-deep {
72675ebe
C
60 .video {
61 .position {
27bc9586 62 @include margin-right(0);
72675ebe
C
63 }
64
65 .video-info {
66 .video-info-name {
67 font-size: 15px;
68 }
69 }
70 }
71
72 my-video-thumbnail {
73 @include thumbnail-size-component(90px, 50px);
74 }
bfbd9128
C
75
76 .fake-thumbnail {
77 width: 90px;
78 height: 50px;
79 }
72675ebe
C
80 }
81 }
82}
83