author | Chloe Laisne <chloe.laisne@gmail.com> |
Tue, 16 Aug 2016 00:16:08 +0200 | |
changeset 254 | a7cf2887e993 |
parent 253 | 0be9770b09b4 |
child 288 | f2b77873a156 |
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; |
|
78 |
margin: 0px 59px; |
|
79 |
} |
|
80 |
||
81 |
.player-component #audio .progress > * { |
|
82 |
display: inline-block; |
|
83 |
line-height: 80px; |
|
84 |
} |
|
85 |
||
86 |
.player-component #audio .progress .head, |
|
87 |
.player-component #audio .progress .remaining { |
|
88 |
position: absolute; |
|
89 |
top: 0px; |
|
90 |
} |
|
91 |
||
92 |
.player-component #audio .progress .head { |
|
93 |
left: 0px; |
|
94 |
} |
|
95 |
||
96 |
.player-component #audio .progress .remaining { |
|
97 |
right: 0px; |
|
98 |
} |
|
99 |
||
100 |
.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
|
101 |
width: 303px; |
210 | 102 |
height: 3px; |
225 | 103 |
background-color: $light-white; |
210 | 104 |
margin: -1px 60px 0 60px; |
105 |
position: relative; |
|
106 |
display: block; |
|
107 |
top: 50%; |
|
241
da3c6ba8a80b
Set time from progress bar - Toggle play plause to actions
Chloe Laisne <chloe.laisne@gmail.com>
parents:
232
diff
changeset
|
108 |
cursor: pointer; |
210 | 109 |
} |
110 |
||
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
|
111 |
.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
|
112 |
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
|
113 |
} |
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 |
|
254 | 115 |
.player-component #audio.extra.multiple .progress .bar { |
116 |
width: 181px; |
|
117 |
} |
|
118 |
||
210 | 119 |
.player-component #audio .progress .bar .value { |
212
f2c6080a73aa
Player backward/forward design logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
211
diff
changeset
|
120 |
width: 0%; |
210 | 121 |
height: 100%; |
225 | 122 |
background-color: $blue; |
210 | 123 |
display: block; |
124 |
} |
|
125 |
||
126 |
.player-component #audio .meta p { |
|
127 |
float: left; |
|
128 |
width: 170px; |
|
129 |
margin: 0px 0px 0px 30px; |
|
130 |
padding: 0px; |
|
131 |
box-sizing: border-box; |
|
132 |
top: 50%; |
|
133 |
margin-top: -22px; |
|
134 |
display: block; |
|
135 |
position: relative; |
|
136 |
} |
|
137 |
||
138 |
.player-component #audio .meta p:first-child { |
|
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
|
139 |
margin-left: 0px; |
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
|
140 |
} |
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
|
141 |
|
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
|
142 |
.player-component #audio.extra .meta p:first-child { |
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
143 |
margin-left: 59px; |
210 | 144 |
} |
145 |
||
146 |
.player-component #audio .meta p > * { |
|
147 |
white-space: nowrap; |
|
148 |
text-overflow: ellipsis; |
|
149 |
overflow: hidden; |
|
150 |
line-height: 22px; |
|
151 |
display: block; |
|
152 |
} |
|
153 |
||
154 |
.player-component #audio .meta .language, |
|
155 |
.player-component #audio .meta .date { |
|
156 |
|
|
157 |
} |
|
158 |
||
159 |
.player-component #audio .meta .title, |
|
160 |
.player-component #audio .meta .author { |
|
161 |
|
|
162 |
} |
|
163 |
||
164 |
||
165 |
||
166 |
.player-component #audio .meta .title { |
|
167 |
font-weight: bold; |
|
242 | 168 |
} |
169 |
||
170 |
.player-component #video { |
|
171 |
display: none; |
|
254 | 172 |
background-color: #000000; |
242 | 173 |
border: none; |
174 |
z-index: 1; |
|
175 |
left: 0px; |
|
176 |
position: absolute; |
|
177 |
width: 554px; |
|
178 |
} |
|
179 |
||
254 | 180 |
body.videoscreen .player-component.video #video { |
242 | 181 |
display: block; |
182 |
} |
|
183 |
||
184 |
.player-component #video #popcorn-audio { |
|
185 |
width: 100%; |
|
254 | 186 |
height: 308px; |
242 | 187 |
display: block; |
188 |
margin: 0 auto; |
|
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
189 |
} |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
190 |
|
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
191 |
.player-component #audio .controls.extra i.fa-bars { |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
192 |
position: relative; |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
193 |
} |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
194 |
|
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
195 |
.player-component #audio .controls.extra i.fa-bars::before { |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
196 |
font-size: 21px; |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
197 |
transition: opacity .15s; |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
198 |
} |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
199 |
|
254 | 200 |
.player-component #audio .controls.extra i.fa-expand::before, |
201 |
.player-component #audio .controls.extra i.fa-compress::before { |
|
202 |
font-size: 19px; |
|
203 |
} |
|
204 |
||
251
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
205 |
.player-component #audio .controls.extra i.fa-bars:not(.active)::before { |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
206 |
opacity: .1; |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
207 |
} |
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 |
.player-component #audio .controls.extra i.fa-bars:not(.active):hover::before { |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
210 |
opacity: 1; |
ac320de33ec7
Add transcript button to player-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
211 |
} |