author | Chloe Laisne <chloe.laisne@gmail.com> |
Mon, 17 Oct 2016 22:21:07 +0530 | |
changeset 349 | 74bbf705a5ca |
parent 340 | f0f3888734bb |
child 350 | c3a6266ebe0a |
permissions | -rw-r--r-- |
210 | 1 |
.player-component { |
224
d284324358b2
Remplace hexadecimal codes with sass variables
Chloe Laisne <chloe.laisne@gmail.com>
parents:
214
diff
changeset
|
2 |
color: $light-white; |
210 | 3 |
text-align: left; |
4 |
padding: 0px 40px; |
|
224
d284324358b2
Remplace hexadecimal codes with sass variables
Chloe Laisne <chloe.laisne@gmail.com>
parents:
214
diff
changeset
|
5 |
height: 80px; |
242 | 6 |
background-color: $dark-blue; |
7 |
overflow: visible; |
|
8 |
position: relative; |
|
210 | 9 |
} |
10 |
||
11 |
.player-component #audio { |
|
12 |
height: 100%; |
|
13 |
} |
|
14 |
||
15 |
.player-component #audio > * { |
|
16 |
display: block; |
|
17 |
float: left; |
|
18 |
height: 100%; |
|
19 |
} |
|
20 |
||
21 |
.player-component #audio .controls i { |
|
22 |
position: relative; |
|
23 |
width: auto; |
|
24 |
height: 40px; |
|
25 |
line-height: 36px; |
|
26 |
float: left; |
|
27 |
top: 50%; |
|
28 |
margin: -20px 0px 0px 0px; |
|
211 | 29 |
cursor: pointer; |
210 | 30 |
} |
31 |
||
212
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
32 |
.player-component #audio .controls i.disabled { |
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
33 |
cursor: pointer; |
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
34 |
pointer-events: none; |
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
35 |
opacity: .1; |
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
36 |
} |
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
37 |
|
210 | 38 |
.player-component #audio .controls i.fa-backward { |
39 |
margin-right: 10px; |
|
40 |
} |
|
41 |
||
211 | 42 |
.player-component #audio .controls i.fa-play, |
43 |
.player-component #audio .controls i.fa-pause { |
|
224
d284324358b2
Remplace hexadecimal codes with sass variables
Chloe Laisne <chloe.laisne@gmail.com>
parents:
214
diff
changeset
|
44 |
border: 2px solid $light-white; |
210 | 45 |
border-radius: 100%; |
46 |
margin-right: 8px; |
|
47 |
margin-left: 8px; |
|
48 |
width: 40px; |
|
49 |
} |
|
50 |
||
51 |
.player-component #audio .controls i::before { |
|
52 |
font-size: 22px; |
|
53 |
} |
|
54 |
||
211 | 55 |
.player-component #audio .controls i.fa-play::before, |
56 |
.player-component #audio .controls i.fa-pause::before { |
|
57 |
font-size: 16px; |
|
58 |
} |
|
59 |
||
210 | 60 |
.player-component #audio .controls i.fa-play::before { |
211 | 61 |
margin-left: 4px; |
210 | 62 |
} |
63 |
||
64 |
.player-component #audio .controls i.fa-forward { |
|
65 |
margin-left: 10px; |
|
66 |
} |
|
67 |
||
254 | 68 |
.player-component #audio .controls.extra i { |
69 |
margin-left: 28px; |
|
70 |
} |
|
71 |
||
72 |
.player-component #audio .controls.extra i:first-child { |
|
73 |
margin-left: 0px; |
|
74 |
} |
|
75 |
||
210 | 76 |
.player-component #audio .progress { |
77 |
position: relative; |
|
349 | 78 |
margin: 0px 50px; |
79 |
background-color: transparent; |
|
80 |
border-radius: 0px; |
|
81 |
box-shadow: none; |
|
210 | 82 |
} |
83 |
||
84 |
.player-component #audio .progress > * { |
|
85 |
display: inline-block; |
|
86 |
line-height: 80px; |
|
87 |
} |
|
88 |
||
89 |
.player-component #audio .progress .head, |
|
90 |
.player-component #audio .progress .remaining { |
|
91 |
position: absolute; |
|
92 |
top: 0px; |
|
93 |
} |
|
94 |
||
95 |
.player-component #audio .progress .head { |
|
96 |
left: 0px; |
|
97 |
} |
|
98 |
||
99 |
.player-component #audio .progress .remaining { |
|
100 |
right: 0px; |
|
101 |
} |
|
102 |
||
103 |
.player-component #audio .progress .bar { |
|
253
0be9770b09b4
Hide/show transcript button in the player - Do not request transscript when property is null in the document request
Chloe Laisne <chloe.laisne@gmail.com>
parents:
251
diff
changeset
|
104 |
width: 303px; |
210 | 105 |
height: 3px; |
225 | 106 |
background-color: $light-white; |
210 | 107 |
margin: -1px 60px 0 60px; |
108 |
position: relative; |
|
109 |
display: block; |
|
110 |
top: 50%; |
|
241
da3c6ba8a80b
Set time from progress bar - Toggle play plause to actions
Chloe Laisne <chloe.laisne@gmail.com>
parents:
232
diff
changeset
|
111 |
cursor: pointer; |
210 | 112 |
} |
113 |
||
253
0be9770b09b4
Hide/show transcript button in the player - Do not request transscript when property is null in the document request
Chloe Laisne <chloe.laisne@gmail.com>
parents:
251
diff
changeset
|
114 |
.player-component #audio.extra .progress .bar { |
0be9770b09b4
Hide/show transcript button in the player - Do not request transscript when property is null in the document request
Chloe Laisne <chloe.laisne@gmail.com>
parents:
251
diff
changeset
|
115 |
width: 226px; |
0be9770b09b4
Hide/show transcript button in the player - Do not request transscript when property is null in the document request
Chloe Laisne <chloe.laisne@gmail.com>
parents:
251
diff
changeset
|
116 |
} |
0be9770b09b4
Hide/show transcript button in the player - Do not request transscript when property is null in the document request
Chloe Laisne <chloe.laisne@gmail.com>
parents:
251
diff
changeset
|
117 |
|
254 | 118 |
.player-component #audio.extra.multiple .progress .bar { |
119 |
width: 181px; |
|
120 |
} |
|
121 |
||
210 | 122 |
.player-component #audio .progress .bar .value { |
212
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
123 |
width: 0%; |
210 | 124 |
height: 100%; |
225 | 125 |
background-color: $blue; |
210 | 126 |
display: block; |
127 |
} |
|
128 |
||
340 | 129 |
.player-component #audio .meta { |
130 |
width: 431px; |
|
131 |
} |
|
132 |
||
210 | 133 |
.player-component #audio .meta p { |
134 |
float: left; |
|
135 |
width: 170px; |
|
349 | 136 |
margin: 0px 0px 0px 50px; |
210 | 137 |
padding: 0px; |
138 |
box-sizing: border-box; |
|
139 |
top: 50%; |
|
140 |
margin-top: -22px; |
|
141 |
display: block; |
|
142 |
position: relative; |
|
143 |
} |
|
144 |
||
340 | 145 |
.player-component #audio .meta p:last-child { |
146 |
margin-left: 0px; |
|
147 |
float: right; |
|
148 |
} |
|
149 |
||
210 | 150 |
.player-component #audio .meta p > * { |
151 |
white-space: nowrap; |
|
152 |
text-overflow: ellipsis; |
|
153 |
overflow: hidden; |
|
154 |
line-height: 22px; |
|
155 |
display: block; |
|
156 |
} |
|
157 |
||
158 |
.player-component #audio .meta .language, |
|
159 |
.player-component #audio .meta .date { |
|
160 |
|
|
161 |
} |
|
162 |
||
288
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
163 |
.player-component #audio .meta .language a { |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
164 |
text-transform: capitalize; |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
165 |
text-decoration: none; |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
166 |
pointer-events: none; |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
167 |
cursor: default; |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
168 |
color: inherit; |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
169 |
} |
f2b77873a156
Notice link color and underline
Chloe Laisne <chloe.laisne@gmail.com>
parents:
254
diff
changeset
|
170 |
|
210 | 171 |
.player-component #audio .meta .title, |
172 |
.player-component #audio .meta .author { |
|
302
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
173 |
position: relative; |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
174 |
height: 22px; |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
175 |
text-overflow: clip; |
210 | 176 |
} |
177 |
||
302
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
178 |
.player-component #audio .meta .title span, |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
179 |
.player-component #audio .meta .author span { |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
180 |
position: absolute; |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
181 |
overflow: auto; |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
182 |
text-overflow: initial; |
973df1349591
Animate player text-overflow
Chloe Laisne <chloe.laisne@gmail.com>
parents:
288
diff
changeset
|
183 |
} |
210 | 184 |
|
185 |
.player-component #audio .meta .title { |
|
186 |
font-weight: bold; |
|
242 | 187 |
} |
188 |
||
189 |
.player-component #video { |
|
190 |
display: none; |
|
254 | 191 |
background-color: #000000; |
242 | 192 |
border: none; |
193 |
z-index: 1; |
|
194 |
left: 0px; |
|
195 |
position: absolute; |
|
196 |
width: 554px; |
|
197 |
} |
|
198 |
||
254 | 199 |
body.videoscreen .player-component.video #video { |
242 | 200 |
display: block; |
201 |
} |
|
202 |
||
203 |
.player-component #video #popcorn-audio { |
|
204 |
width: 100%; |
|
254 | 205 |
height: 308px; |
242 | 206 |
display: block; |
207 |
margin: 0 auto; |
|
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
208 |
} |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
209 |
|
332
7f5fd48fa6c2
Change bars to text icon for transcript
Chloe Laisne <chloe.laisne@gmail.com>
parents:
303
diff
changeset
|
210 |
.player-component #audio .controls.extra i.fa-text-height { |
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
211 |
position: relative; |
332
7f5fd48fa6c2
Change bars to text icon for transcript
Chloe Laisne <chloe.laisne@gmail.com>
parents:
303
diff
changeset
|
212 |
overflow: hidden; |
7f5fd48fa6c2
Change bars to text icon for transcript
Chloe Laisne <chloe.laisne@gmail.com>
parents:
303
diff
changeset
|
213 |
display: inline-block; |
7f5fd48fa6c2
Change bars to text icon for transcript
Chloe Laisne <chloe.laisne@gmail.com>
parents:
303
diff
changeset
|
214 |
width: 16px; |
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
215 |
} |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
216 |
|
332
7f5fd48fa6c2
Change bars to text icon for transcript
Chloe Laisne <chloe.laisne@gmail.com>
parents:
303
diff
changeset
|
217 |
.player-component #audio .controls.extra i.fa-text-height::before { |
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
218 |
font-size: 21px; |
303
2fef8007c2b2
Transcript icon in player white by default and blue when active + Transcript font color darker
Chloe Laisne <chloe.laisne@gmail.com>
parents:
302
diff
changeset
|
219 |
} |
2fef8007c2b2
Transcript icon in player white by default and blue when active + Transcript font color darker
Chloe Laisne <chloe.laisne@gmail.com>
parents:
302
diff
changeset
|
220 |
|
332
7f5fd48fa6c2
Change bars to text icon for transcript
Chloe Laisne <chloe.laisne@gmail.com>
parents:
303
diff
changeset
|
221 |
.player-component #audio .controls.extra i.fa-text-height.active::before { |
303
2fef8007c2b2
Transcript icon in player white by default and blue when active + Transcript font color darker
Chloe Laisne <chloe.laisne@gmail.com>
parents:
302
diff
changeset
|
222 |
color: $blue; |
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
223 |
} |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
224 |
|
254 | 225 |
.player-component #audio .controls.extra i.fa-expand::before, |
226 |
.player-component #audio .controls.extra i.fa-compress::before { |
|
227 |
font-size: 19px; |
|
303
2fef8007c2b2
Transcript icon in player white by default and blue when active + Transcript font color darker
Chloe Laisne <chloe.laisne@gmail.com>
parents:
302
diff
changeset
|
228 |
} |