1 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
2 @namespace html url("http://www.w3.org/1999/xhtml");
6 background-color: rgba(156,156,255,0.75);
12 background-color: transparent;
13 background-repeat: no-repeat;
14 background-position: center;
24 .fullscreenButton:hover {
25 background-color: rgba(255,207,0,0.75);
28 .playButton:hover:active,
29 .muteButton:hover:active,
30 .fullscreenButton:hover:active {
31 background-color: rgba(255,159,0,0.75);
34 .playButton:-moz-focusring > .button-box,
35 .muteButton:-moz-focusring > .button-box,
36 .fullscreenButton:-moz-focusring > .button-box {
37 border: 1px dotted rgba(0,0,0,0.75);
41 background-image: url("chrome://global/skin/media/pauseButton.png");
42 margin-right: -22px; /* 1/2 of scrubber thumb width, for overhang. */
43 position: relative; /* Trick to work around negative margin interfering with clicking on the button. */
47 background-image: url("chrome://global/skin/media/pauseButton-hover.png");
51 background-image: url("chrome://global/skin/media/playButton.png");
54 .playButton[paused]:hover {
55 background-image: url("chrome://global/skin/media/playButton-hover.png");
59 background-image: url("chrome://global/skin/media/muteButton.png");
64 background-image: url("chrome://global/skin/media/muteButton-hover.png");
68 background-image: url("chrome://global/skin/media/unmuteButton.png");
71 .muteButton[muted]:hover {
72 background-image: url("chrome://global/skin/media/unmuteButton-hover.png");
75 .muteButton[noAudio] {
76 background-image: url("chrome://global/skin/media/noAudio.png");
79 .muteButton[noAudio] + .volumeStack {
84 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0);
87 .fullscreenButton:hover {
88 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 16, 32, 0);
91 .fullscreenButton[fullscreened] {
92 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
95 .fullscreenButton[fullscreened]:hover {
96 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 32, 32, 16);
106 background-repeat: no-repeat;
107 background-position: center;
112 background-image: url("chrome://global/skin/media/volume-empty.png");
116 background-image: url("chrome://global/skin/media/volume-full.png");
117 background-clip: content-box;
121 -moz-box-pack: center;
125 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
126 padding-left: 8px; /* don't bump into the scrubber bar */
127 padding-top: 0px; /* center vertically with scrubber bar */
128 color: rgba(0,0,0,0.75);
130 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
138 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
139 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
141 background-color: rgba(0,0,0,0.75);
142 border-radius: 2.5px;
145 .bufferBar, .progressBar {
146 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
147 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
150 background-color: transparent;
155 /* .progress-bar is an element inside the <progressmeter> implementation. */
156 .bufferBar .progress-bar {
158 * Note that this is drawn on top of the .backgroundBar. So although this
159 * has the same background-color specified, the semitransparent
160 * compositing gives it a different visual appearance.
162 background-color: rgba(255,159,0,0.75);
163 border-radius: 2.5px;
164 -moz-appearance: none;
167 .progressBar .progress-bar {
168 background-color: #008484;
169 border-radius: 2.5px;
170 -moz-appearance: none;
173 /* .scale-slider is an element inside the <scale> implementation. */
174 .scrubber .scale-slider, .volumeControl .scale-slider {
175 /* Hide the default horizontal bar. */
180 .scrubber .scale-slider {
181 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
186 /* .scale-thumb is an element inside the <scale> implementation. */
187 .scrubber .scale-thumb,
188 .volumeControl .scale-thumb {
189 /* Override the default thumb appearance with a custom image. */
190 background: transparent;
191 border: none !important;
195 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
198 -moz-box-pack: center;
201 .timeThumb[showhours="true"] {
202 background-image: url("chrome://global/skin/media/scrubberThumbWide.png");
206 .timeThumb:hover, .timeThumb:active {
207 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
212 color: rgba(0,0,0,0.75);
214 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
215 text-shadow: rgba(255,259,0, 0.3) 0 1px;
220 -moz-box-align: center;
221 -moz-box-pack: center;
222 background-color: rgba(0,0,0,0.55);
226 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
231 .statusIcon[type="throbber"] {
232 background: url("chrome://communicator/skin/brand/throbber-anim.png") no-repeat center;
235 .statusIcon[type="throbber"][stalled] {
236 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
239 .statusIcon[type="error"] {
240 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
243 /* Overlay Play button */
247 -moz-box-pack: center;
248 -moz-box-align: center;
250 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
251 url("chrome://global/skin/media/videoClickToPlayButton.svg");
252 background-repeat: repeat, no-repeat;
253 background-position: center, center;
254 background-size: auto, 64px 64px;
255 background-color: hsla(0,0%,10%,.5);
261 /* Statistics formatting */
271 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
280 background: rgba(68,68,111,.7);
282 border-collapse: collapse;
286 /* CSS Transitions */
288 transition-property: opacity, background-size;
289 transition-duration: 400ms, 400ms;
291 .clickToPlay[fadeout] {
292 background-size: auto, 192px 192px;
295 .clickToPlay[fadeout][immediate] {
296 transition-property: opacity, background-size;
297 transition-duration: 0s, 0s;
299 .controlBar:not([immediate]) {
300 transition-property: opacity;
301 transition-duration: 200ms;
303 .controlBar[fadeout] {
306 .volumeStack:not([immediate]) {
307 transition-property: opacity, margin-top;
308 transition-duration: 200ms, 200ms;
310 .volumeStack[fadeout] {
314 .statusOverlay:not([immediate]) {
315 transition-property: opacity;
316 transition-duration: 300ms;
317 transition-delay: 750ms;
319 .statusOverlay[fadeout] {
323 /* Error description formatting */
325 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;