-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathplayer.css
170 lines (140 loc) · 3.46 KB
/
player.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
.player {
cursor: default;
overflow: hidden;
}
.player .header {
width: 482px;
height: 23px;
background-color: #EEE;
background-image: -moz-repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 50%, transparent 100%);
background-image: -webkit-repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 50%, transparent 100%);
border-radius: 10px 10px 0px 0px;
}
.player .subcon {
position: relative;
width: 480px;
height: 360px;
border: solid 1px black;
border-top: none;
overflow: hidden;
}
.player .title {
float: left;
font: 12px Arial, Helvetica, sans-serif;
margin: 3px 3px;
}
.player .progress {
position: absolute;
top: 130px;
left: 40px;
width: 400px;
height: 100px;
z-index: 10000;
background-color: grey;
border: 1px solid grey;
box-shadow: inset 0 0 6px #000000;
border-radius: 12px;
-webkit-transition: opacity 1s ease-in;
-moz-transition: opacity 1s ease-in;
}
.player .progress .message {
color: red;
font-family: Verdana;
font-size: 2em;
font-weight: bold;
position: absolute;
top: 28px;
left: 0px;
width: 100%;
text-align: center;
}
.player .fade {
opacity: 0;
}
.player .progress .bar {
width: 0px;
height: 98px;
margin: 1px 1px;
border-radius: 12px;
box-shadow: inset 0 0 6px #000000;
background-color: orange;
background-image: -moz-repeating-linear-gradient(45deg, rgba(255,255,255,.5), rgba(255,255,255,.5) 10px, transparent 10px, transparent 20px);
background-image: -webkit-repeating-linear-gradient(45deg, rgba(255,255,255,.5), rgba(255,255,255,.5) 10px, transparent 10px, transparent 20px);
background-size: 28px 100%;
-moz-animation-duration: 1s;
-moz-animation-name: loading;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
-webkit-animation-duration: 1s;
-webkit-animation-name: loading;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-webkit-transition: width 1s ease-in-out;
}
@-moz-keyframes loading {
from {
background-position: 0px 0px;
}
to {
background-position: 28px 0px;
}
}
@-webkit-keyframes loading {
from {
background-position: 0px 0px;
}
to {
background-position: 28px 0px;
}
}
.player .button {
position: relative;
float: right;
margin: 0px 5px;
background: url('icons.png');
}
.player .stop {
background-position: -17px 0px;
width: 17px;
height: 17px;
top: 3px;
}
.player .stop:hover {
background-position: -17px -17px;
}
.player .start {
background-position: -17px -34px;
width: 20px;
height: 17px;
top: 3px;
}
.player .start:hover {
background-position: -17px -51px;
}
.player input[type="checkbox"] {
width: 17px;
height: 17px;
top: 3px;
background-position: 0px -34px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.player input[type="checkbox"]:hover {
background-position: 0px -51px;
}
.player input[type="checkbox"]:checked {
background-position: 0px 0px;
}
.player input[type="checkbox"]:checked:hover {
background-position: 0px -17px;
}
.player .status {
float: right;
font: bold 10px Arial, Helvetica, sans-serif bold;
color: #FFFF00;
margin: 5px 3px;
}
.player canvas {
position: relative;
}