]>
Commit | Line | Data |
---|---|---|
4572c3d0 C |
1 | $playlist-menu-width: 350px; |
2 | ||
3 | .vjs-playlist-menu { | |
4 | position: absolute; | |
5 | right: 0; | |
6 | height: 100%; | |
7 | width: $playlist-menu-width; | |
b9244002 C |
8 | // !important to prevent none background set on focus |
9 | background: rgba(0, 0, 0, 0.8) !important; | |
4572c3d0 C |
10 | z-index: 101; |
11 | transition: right 0.2s; | |
92d54714 | 12 | overflow-y: scroll; |
4572c3d0 C |
13 | |
14 | // Hidden | |
15 | right: -$playlist-menu-width; | |
16 | ||
17 | ol { | |
18 | padding: 0; | |
19 | margin: 0; | |
20 | } | |
21 | ||
22 | .header { | |
23 | border-bottom: 1px solid $header-border-color; | |
24 | padding: 20px 10px; | |
25 | display: flex; | |
26 | justify-content: space-between; | |
27 | ||
28 | .title { | |
56674bb9 C |
29 | @include ellipsis; |
30 | ||
4572c3d0 C |
31 | font-size: 14px; |
32 | margin-bottom: 5px; | |
4572c3d0 C |
33 | } |
34 | ||
35 | .channel { | |
56674bb9 C |
36 | @include ellipsis; |
37 | ||
4572c3d0 C |
38 | font-size: 11px; |
39 | color: #bfbfbf; | |
4572c3d0 C |
40 | } |
41 | ||
42 | .cross { | |
43 | cursor: pointer; | |
44 | width: 20px; | |
45 | height: 20px; | |
46 | mask-image: url('#{$assets-path}/images/feather/x.svg'); | |
931d3430 | 47 | background-color: #fff; |
4572c3d0 | 48 | mask-size: cover; |
4572c3d0 C |
49 | } |
50 | } | |
51 | } | |
52 | ||
53 | .playlist-menu-displayed { | |
54 | ||
55 | .vjs-playlist-menu { | |
56 | right: 0; | |
57 | display: block; | |
58 | } | |
59 | ||
60 | .vjs-playlist-button { | |
61 | display: none; | |
62 | } | |
63 | } | |
64 | ||
65 | @media screen and (max-width: $playlist-menu-width) { | |
66 | .vjs-playlist-menu { | |
67 | width: 100%; | |
68 | min-width: unset; | |
69 | display: none; | |
70 | } | |
71 | ||
72 | .playlist-menu-displayed .vjs-playlist-menu { | |
73 | display: block; | |
74 | } | |
75 | } | |
76 | ||
77 | .vjs-playlist-button { | |
78 | font-size: 15px; | |
79 | position: absolute; | |
80 | right: 0; | |
81 | top: 0; | |
82 | z-index: 100; | |
a75292db | 83 | padding: $dock-padding; |
4572c3d0 C |
84 | cursor: pointer; |
85 | } | |
86 | ||
87 | .vjs-playlist-icon { | |
88 | width: 22px; | |
89 | height: 22px; | |
90 | mask-image: url('#{$assets-path}/images/feather/list.svg'); | |
931d3430 | 91 | background-color: #fff; |
4572c3d0 | 92 | mask-size: cover; |
4572c3d0 C |
93 | margin-bottom: 3px; |
94 | } | |
95 | ||
96 | .vjs-playing.vjs-user-inactive .vjs-playlist-button { | |
97 | opacity: 0; | |
98 | ||
99 | transition: opacity 1s; | |
100 | } | |
101 | ||
102 | .vjs-playing.vjs-no-flex.vjs-user-inactive .vjs-playlist-button { | |
103 | display: none; | |
104 | } | |
105 | ||
106 | .vjs-playlist-menu-item { | |
4572c3d0 C |
107 | display: flex; |
108 | padding: 10px 0; | |
56674bb9 C |
109 | height: 60px; |
110 | ||
111 | &:not(.vjs-disabled) { | |
112 | cursor: pointer; | |
113 | } | |
4572c3d0 C |
114 | |
115 | .item-position-block { | |
116 | position: relative; | |
117 | display: flex; | |
118 | align-items: center; | |
119 | justify-content: center; | |
120 | width: 30px; | |
56674bb9 C |
121 | flex-shrink: 0; |
122 | } | |
123 | ||
124 | .item-unavailable { | |
125 | position: relative; | |
126 | display: flex; | |
127 | align-items: center; | |
128 | justify-content: center; | |
4572c3d0 C |
129 | } |
130 | ||
131 | .item-player { | |
4572c3d0 | 132 | @include play-icon(20px, 16px); |
931d3430 C |
133 | |
134 | display: none; | |
4572c3d0 C |
135 | } |
136 | ||
137 | &.vjs-selected { | |
138 | background-color: rgba(150, 150, 150, 0.3); | |
139 | ||
140 | .item-position { | |
141 | display: none; | |
142 | } | |
143 | ||
144 | .item-player { | |
145 | display: block; | |
146 | } | |
147 | } | |
148 | ||
56674bb9 | 149 | &:hover:not(.vjs-disabled) { |
4572c3d0 C |
150 | background-color: rgba(150, 150, 150, 0.2); |
151 | } | |
152 | ||
153 | img { | |
154 | width: 80px; | |
155 | height: 40px; | |
156 | } | |
157 | ||
158 | .info-block { | |
56674bb9 C |
159 | margin: 0 10px; |
160 | min-width: 1px; | |
4572c3d0 C |
161 | |
162 | .title { | |
56674bb9 C |
163 | @include ellipsis; |
164 | ||
4572c3d0 | 165 | font-size: 13px; |
1a8c2d74 | 166 | margin-bottom: 3px; |
4572c3d0 C |
167 | } |
168 | ||
1a8c2d74 C |
169 | .channel, |
170 | .timestamps { | |
56674bb9 C |
171 | @include ellipsis; |
172 | ||
4572c3d0 C |
173 | font-size: 11px; |
174 | color: #bfbfbf; | |
4572c3d0 | 175 | } |
1a8c2d74 C |
176 | |
177 | .timestamps { | |
178 | font-size: 10px; | |
179 | margin-top: 3px; | |
180 | } | |
4572c3d0 C |
181 | } |
182 | } |