-
Notifications
You must be signed in to change notification settings - Fork 0
/
aap.css
247 lines (221 loc) · 4.87 KB
/
aap.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/* Stylesheet for Accessible Audio Player (AAP)
http://terrillthompson.com/music/aap
Author: Terrill Thompson
Version: 2.1.3
Last update: September 10, 2011
*/
audio#aap-audio,
object#aap-flashPlayer {
height: 1px;
}
#aap-player {
font-family: Arial, Helvetica, sans-serif;
background-color: #000000; /* background color of player (appears on top & bottom) */
border: 1px solid #000000; /* border around entire player */
width: 467px;
border-radius: 15px;
-moz-border-radius: 15px;
}
#aap-controller {
position: relative;
border: 2px solid #4c4c4c;
background-color: #3D3D3D; /* background color of controller bar */
width: 464px;
height: 30px;
line-height: 30px;
}
audio#aap-audio {
border: 2px solid #FFFFFF; /* masked against background until audio has focus */
}
#aap-controller input {
border: 2px solid #000000; /* masked against background until input has focus*/
background-position: center center;
background-repeat: no-repeat;
position: absolute;
}
audio#aap-audio:focus,
audio#aap-audio:active,
audio#aap-audio:hover,
#aap-controller input:focus,
#aap-controller input:hover,
#aap-controller input:active {
border-color: #ffff00 !important; /* color of border when a control receives focus */
}
#aap-controller input#aap-playpause {
width: 34px;
height: 30px;
background-color: transparent;
background-image: url('images/audio_play.gif');
color: transparent;
top: 0px;
left: 0px;
}
#aap-controller #aap-seekBar {
height: 26px;
background-color: transparent;
top: 0px;
left: 40px;
width: 200px;
}
#aap-controller input#aap-seekBack {
width: 34px;
height: 30px;
background-color: transparent;
background-image: url('images/audio_rewind.gif');
color: transparent;
top: 0px;
left: 40px;
}
#aap-controller input#aap-seekForward {
width: 34px;
height: 30px;
background-color: transparent;
background-image: url('images/audio_forward.gif');
color: transparent;
top: 0px;
left: 80px;
}
#aap-controller span#aap-timer {
/* contains both span#elapsedTime and span#duration */
position: absolute;
color: #ffffff;
width: 100px;
left: 250px;
}
#aap-controller input#aap-mute {
width: 34px;
height: 30px;
background-color: transparent;
background-image: url('images/audio_volume.gif');
color: transparent;
top: 0px;
left: 360px;
border-left-color: #848484;
}
#aap-controller input#aap-volumeControl {
/* not used, but here for future reference */
display: none;
height: 100px;
width: 30px;
background-color: #666666;
border: 2px solid #4c4c4c;
color: #ffffff;
left: 360px;
top: -105px;
}
#aap-controller input#aap-volumeUp {
width: 34px;
height: 30px;
background-color: transparent;
background-image: url('images/audio_volumeUp.gif');
color: transparent;
top: 0px;
left: 395px;
}
#aap-controller input#aap-volumeDown {
width: 34px;
height: 30px;
background-color: transparent;
background-image: url('images/audio_volumeDown.gif');
color: transparent;
top: 0px;
left: 430px;
}
#aap-playlist {
font-size: 0.9em;
list-style-type: none;
margin: 0;
background-color: #FFFFFF;
padding: 5px 0;
}
#aap-playlist li {
background-color: #DDDDDD; /* background color of each item in playlist */
margin: 5px;
padding: 5px;
border-radius: 15px;
-moz-border-radius: 15px;
}
#aap-playlist li.focus {
background-color: #FFEEB3; /* background color of playlist item that is currently playing */
font-weight: bold;
}
#aap-playlist a {
width: 100%;
color: #333;
text-decoration: none;
margin: 0;
padding: 5px;
}
#aap-playlist a:hover,
#aap-playlist a:focus,
#aap-playlist a:active {
width: 100%;
color: #000000; /* text color of playlist items when they have focus */
text-decoration: none;
font-weight: bold;
background-color: transparent;
}
#aap-now-playing {
text-align: center;
font-weight: bold;
font-size: 1.1em;
color: #FFFFFF;
background-color: transparent;
padding: 0.5em 0.5em 1em;
}
#aap-now-playing span {
font-size: 0.9em;
}
#aap-player span#aap-status {
float: right;
height: 30px;
color: #FFFFFF;
font-style: italic;
background-color: transparent;
top: 0px;
padding-right: 5px;
}
#aap-player #aap-status-bar {
background-color: transparent;
color: #FFFFFF;
font-size: 0.9em;
font-style: italic;
text-align: right;
padding: 0.5em 1em;
}
.aap-offscreen {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
#aap-error {
display: block;
background: #ffc;
border: 2px solid #000;
color: #FF0000;
margin: 0.75em;
padding: 0.5em;
}
#aap-debug {
/* only displayed if useDebug is true (will appear dynamically) */
/* A completely separate div, not part of the player */
/* Stylize as you see fit */
display: none;
float: left;
width: 20em;
border-left: 1px solid black;
margin: 0;
padding: 0 0.75em;
}
#aap-debug-heading {
font-size: 1.4em;
margin-top: 0;
margin-bottom: 0;
}
.disabled {
opacity: 0.5;
filter:alpha(opacity=50); /* for IE */
}