fix checkboxes and expander in clear recernt history window
[themes.git] / EarlyBlue / global / media / videocontrols.css
CommitLineData
29465e59 1@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
1e29db46 2@namespace html url("http://www.w3.org/1999/xhtml");
29465e59 3
6f25e2c5 4.controlBar {
b310ca09 5 height: 28px;
6f25e2c5 6 background-color: rgba(102,102,153,0.75);
29465e59
RK
7}
8
6f25e2c5
RK
9.playButton, .muteButton {
10 /* Remove the usual button appearance and styling */
11 margin: 0px;
12 padding: 0px;
13 border: none;
b310ca09
RK
14 min-height: 28px;
15 background-color: transparent;
16 background-repeat: no-repeat;
17 background-position: center center;
18}
19.playButton {
20 min-width: 28px;
ca710c53
RK
21 margin-right: -22px; /* 1/2 of scrubber thumb width, for overhang. */
22 position: relative; /* Trick to work around negative margin interfering with clicking on the button. */
b310ca09
RK
23}
24.muteButton {
25 min-width: 33px;
29465e59
RK
26}
27
6f25e2c5 28.playButton {
b310ca09 29 background-image: url("chrome://global/skin/media/pauseButton.png");
29465e59 30}
f128e38f 31.playButton[paused] {
b310ca09 32 background-image: url("chrome://global/skin/media/playButton.png");
29465e59
RK
33}
34
6f25e2c5 35.muteButton {
b310ca09 36 background-image: url("chrome://global/skin/media/muteButton.png");
6f25e2c5 37}
f128e38f 38.muteButton[muted] {
b310ca09
RK
39 background-image: url("chrome://global/skin/media/unmuteButton.png");
40}
41
f128e38f 42.fullscreenButton {
f777a4f1 43 background: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0) no-repeat center;
f128e38f
RK
44 margin: 0;
45 padding: 0;
46 min-height: 28px;
47 min-width: 28px;
48 border: none;
49}
50
51.fullscreenButton[fullscreened] {
f777a4f1 52 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
f128e38f
RK
53}
54
ca710c53
RK
55.volumeStack {
56 width: 28px;
57 height: 70px;
58 background-color: rgba(102,102,153,0.74);
59 /* use negative margin to place stack over the mute button to its left. */
60 margin: -70px 3px 28px -31px;
61 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
62 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
63 padding-top: 6px;
64}
65
66.volumeControl {
67 min-height: 64px;
68}
69
70/* .scale-thumb is an element inside the <scale> implementation. */
71.volumeControl .scale-thumb {
72 /* Override the default thumb appearance with a custom image. */
73 -moz-appearance: none;
74 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
75 border: none !important;
76 min-width: 16px;
77 min-height: 11px;
78}
79
80.volumeBackgroundBar {
81 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
82 margin: 0px 10px;
83 background-color: rgba(0,0,0,0.5);
84}
85
ca710c53
RK
86.durationBox {
87 -moz-box-pack: center;
88}
89
90.durationLabel {
91 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
92 padding-left: 8px; /* don't bump into the scrubber bar */
93 padding-top: 0px; /* center vertically with scrubber bar */
94 color: rgba(204,208,221,0.75);
1e140ad9 95 font-size: 11px;
3327253e 96 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
ca710c53
RK
97}
98
9162a092
RK
99.positionLabel {
100 display: none;
101}
102
b310ca09 103.backgroundBar {
ca710c53
RK
104 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
105 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
106 margin: 10px 22px;
b310ca09
RK
107 background-color: rgba(0,0,0,0.75);
108}
109
110.bufferBar, .progressBar {
ca710c53
RK
111 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
112 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
113 margin: 10px 22px;
b310ca09
RK
114 border: none;
115 background-color: transparent;
116 min-width: 0px;
117 min-height: 0px;
118}
119
120/* .progress-bar is an element inside the <progressmeter> implementation. */
121.bufferBar .progress-bar {
122 /*
123 * Note that this is drawn on top of the .backgroundBar. So although this
124 * has the same background-color specified, the semitransparent
125 * compositing gives it a different visual appearance.
126 */
127 background-color: rgba(204,208,221,0.75);
128 -moz-appearance: none;
129}
130
131.progressBar .progress-bar {
132 background-color: #336699;
133 -moz-appearance: none;
134}
135
136/* .scale-slider is an element inside the <scale> implementation. */
ca710c53 137.scrubber .scale-slider, .volumeControl .scale-slider {
b310ca09
RK
138 /* Hide the default horizontal bar. */
139 background: none;
ca710c53
RK
140 margin: 0;
141}
142
143.scrubber .scale-slider {
3327253e
RK
144 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
145 margin-top: -10px;
146 margin-bottom: 10px;
b310ca09
RK
147}
148
149/* .scale-thumb is an element inside the <scale> implementation. */
ca710c53 150.scrubber .scale-thumb {
b310ca09 151 /* Override the default thumb appearance with a custom image. */
ca710c53 152 background: transparent;
b310ca09 153 border: none !important;
ca710c53
RK
154}
155
156.timeThumb {
3327253e
RK
157 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
158 min-width: 45px;
159 min-height: 28px;
160 -moz-box-pack: center;
ca710c53
RK
161}
162
163.timeThumb[showhours="true"] {
3327253e 164 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
ca710c53
RK
165}
166
167/*
168.timeThumb:hover, .timeThumb:active {
169 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
170}
171*/
172
173.timeLabel {
3327253e
RK
174 color: rgba(0,0,0,0.75);
175 font-size: 10px;
176 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
177 text-shadow: rgba(102,102,153, 0.3) 0 1px;
f777a4f1 178 padding-top: 5px;
ca710c53
RK
179}
180
ca710c53 181.statusOverlay {
3327253e
RK
182 -moz-box-align: center;
183 -moz-box-pack: center;
184 background-color: rgba(0,0,0,0.55);
ca710c53
RK
185}
186
187.statusIcon {
3327253e
RK
188 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
189 width: 32px;
190 height: 32px;
ca710c53
RK
191}
192
193.statusIcon[type="throbber"] {
3327253e 194 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
ca710c53 195}
154ee8b3
RK
196/*
197.statusIcon[type="throbber"][stalled] {
198 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
199}
200*/
ca710c53 201.statusIcon[type="error"] {
3327253e 202 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
6f25e2c5 203}
4b1ccdb4 204
044b5d49
RK
205/* Overlay Play button */
206.clickToPlay {
207 width: 64px;
208 height: 64px;
209 -moz-box-pack: center;
210 -moz-box-align: center;
211 opacity: 0.7;
212 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
213 url("chrome://global/skin/media/videoClickToPlayButton.svg");
214 background-repeat: repeat, no-repeat;
215 background-position: center, center;
216 background-size: auto, 64px 64px;
217 background-color: hsla(0,0%,10%,.5);
218}
219.clickToPlay:hover {
220 opacity: 1;
221}
222
1e29db46
RK
223/* Statistics formatting */
224html|*.statsDiv {
225 position: relative;
226}
227html|td {
228 height: 1em;
229 max-height: 1em;
230 padding: 0 2px;
231}
232html|table {
233 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
234 font-size: 11px;
235 color: white;
236 text-shadow:
237 -1px -1px 0 #000,
238 1px -1px 0 #000,
239 -1px 1px 0 #000,
240 1px 1px 0 #000;
241 min-width: 100%;
242 background: rgba(68,68,68,.7);
243 table-layout: fixed;
244 border-collapse: collapse;
245 position: absolute;
246}
247
4b1ccdb4 248/* CSS Transitions */
044b5d49
RK
249.clickToPlay {
250 -moz-transition-property: opacity, background-size;
251 -moz-transition-duration: 400ms, 400ms;
252}
253.clickToPlay[fadeout] {
254 background-size: auto, 192px 192px;
255 opacity: 0;
256}
257.clickToPlay[fadeout][immediate] {
258 -moz-transition-property: opacity, background-size;
259 -moz-transition-duration: 0s, 0s;
260}
4b1ccdb4
RK
261.controlBar:not([immediate]) {
262 -moz-transition-property: opacity;
263 -moz-transition-duration: 200ms;
264}
265.controlBar[fadeout] {
266 opacity: 0;
267}
268.volumeStack:not([immediate]) {
269 -moz-transition-property: opacity, margin-top;
270 -moz-transition-duration: 200ms, 200ms;
271}
272.volumeStack[fadeout] {
273 opacity: 0;
274 margin-top: 0;
275}
276.statusOverlay:not([immediate]) {
277 -moz-transition-property: opacity;
278 -moz-transition-duration: 300ms;
279 -moz-transition-delay: 750ms;
280}
281.statusOverlay[fadeout] {
282 opacity: 0;
283}
f128e38f
RK
284
285/* Error description formatting */
286.errorLabel {
287 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
288 font-size: 11px;
289 color: #CCD0DD;
290 text-shadow:
291 -1px -1px 0 #000,
292 1px -1px 0 #000,
293 -1px 1px 0 #000,
294 1px 1px 0 #000;
295 padding: 0 10px;
296 text-align: center;
297}