-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathjquery.playable.css
121 lines (121 loc) · 3 KB
/
jquery.playable.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
/*!
* jQuery Sound Manager Style
* http://github.com/adriengibrat/jQuery-SoundManager
*
* Copyright (c) 2009 Adrien Gibrat
* Dual licensed under the MIT and GPL licenses.
* http://opensource.org/licenses/mit-license.php
*/
.playable {
text-decoration: none;
font-weight: bold;
display: block;
padding: .5em;
margin: .5em 0;
outline: none;
}
/* Button UI */
.button .playable {
padding-left: 2.5em;
min-height: 16px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAANVJREFUKM+dkjEKhDAQRb8aBdMIYpczGKwCXtPj2FoINjbWKSysBAUhhWjcyt1VU2z2w8CQ8JiZPwMpZXFYSkpZOOu6Htu2wUaEEBCtNVzXtQK11iC20CnX8zzcoyxLDMMA098Zxop1XaNpGgghkGUZGGPPOU1thGGIZVlQVRW6rkOaphBCIEmSD9j3/QPc9/2dT9OEtm0RxzGUUt/OPoue66GUgnMOzjmCILi4T3zff4BRFIExhjzPQSk1uurM83zcH8dxvMxjBJVSxz97NLb6k/498hfYyKxXb/z/BQAAAABJRU5ErkJggg==);
background-repeat: no-repeat;
background-position: .5em center;
}
.button .playable.playing {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAHlJREFUKM+dkssNBCEMQz1gKJoCKGAKzIEKOCMU5jbSZmFX4NtzZOWjQETusSkRua/W2ui9Y0ckQVWFc24rqKrgbujt6r3/MFJKAICc85Tf4Kqj9b8Yh2IpZVqwvmWSXJ78J4cQpkHrW75qreNoxxjj2XFWo/7V6ZM/wC+LtFpy49oAAAAASUVORK5CYII=);
}
/* Simple UI */
.playable .ui {
display: none;
}
.playable.playing .ui,
.playable.paused .ui {
display: block;
}
.playable .ui.progress,
.playable .ui.progress .loading,
.playable .ui.progress .position {
height: .5em;
}
.playable .ui.progress {
position: relative;
border: 1px solid transparent;
margin: .25em 0 0 0;
overflow: hidden;
cursor:ew-resize;
cursor:-moz-grab;
cursor:grab;
}
.playable .ui.progress .loading,
.playable .ui.progress .position {
display: block;
position: absolute;
left: 0;
top: 0;
}
.playable .ui.timing {
float: right;
border: 1px solid transparent;
font-size: 50%;
font-weight: normal;
line-height: 1em;
padding: .1em .25em;
margin-left: 1em;
height: 1em;
min-width: 5em;
cursor: text;
}
.playable.paused .ui.timing .elapsed {
text-decoration: blink;
}
/* Corners */
.playable,
.playable .ui.timing,
.playable .ui.progress {
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.playable .ui.progress .loading,
.playable .ui.progress .position {
-moz-border-radius-topleft: 2px;
-moz-border-radius-bottomleft: 2px;
-webkit-border-top-left-radius: 2px;
-webkit-border-bottom-left-radius: 2px;
}
/* Color Scheme */
.playable {
color: #FFF;
background-color: #333;
}
.playable.playing {
background-color: #69C;
}
.playable.paused {
background-color: #CCC;
}
.playable .ui.timing {
background-color: #58B;
border-color: #9CF;
color: #FFF;
}
.playable.paused .ui.timing {
background-color: #888;
border-color: #FFF;
}
.playable .ui.progress {
border-color: #FFF;
background-color: #CDF;
}
.playable.paused .ui.progress {
background-color: #CCC;
}
.playable .ui.progress .loading {
background-color: #EEE;
}
.playable .ui.progress .position {
background-color: #369;
}
.playable.paused .ui.progress .position {
background-color: #666;
}