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");
80 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0);
83 .fullscreenButton:hover {
84 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 16, 32, 0);
87 .fullscreenButton[fullscreened] {
88 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
91 .fullscreenButton[fullscreened]:hover {
92 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 32, 32, 16);
98 background-color: rgba(156,156,255,0.74);
99 /* use negative margin to place stack over the mute button to its left. */
100 margin: -70px 3px 28px -31px;
101 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
102 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
104 border-radius: 3px 3px 0 0;
111 /* .scale-thumb is an element inside the <scale> implementation. */
112 .volumeControl .scale-thumb {
113 /* Override the default thumb appearance with a custom image. */
114 -moz-appearance: none;
115 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
116 border: none !important;
120 .volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
121 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
124 .volumeBackgroundBar {
125 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
127 background-color: rgba(0,0,0,0.5);
128 border-radius: 2.5px;
132 -moz-box-pack: center;
136 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
137 padding-left: 8px; /* don't bump into the scrubber bar */
138 padding-top: 0px; /* center vertically with scrubber bar */
139 color: rgba(0,0,0,0.75);
141 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
149 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
150 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
152 background-color: rgba(0,0,0,0.75);
153 border-radius: 2.5px;
156 .bufferBar, .progressBar {
157 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
158 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
161 background-color: transparent;
166 /* .progress-bar is an element inside the <progressmeter> implementation. */
167 .bufferBar .progress-bar {
169 * Note that this is drawn on top of the .backgroundBar. So although this
170 * has the same background-color specified, the semitransparent
171 * compositing gives it a different visual appearance.
173 background-color: rgba(255,159,0,0.75);
174 border-radius: 2.5px;
175 -moz-appearance: none;
178 .progressBar .progress-bar {
179 background-color: #008484;
180 border-radius: 2.5px;
181 -moz-appearance: none;
184 /* .scale-slider is an element inside the <scale> implementation. */
185 .scrubber .scale-slider, .volumeControl .scale-slider {
186 /* Hide the default horizontal bar. */
191 .scrubber .scale-slider {
192 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
197 /* .scale-thumb is an element inside the <scale> implementation. */
198 .scrubber .scale-thumb {
199 /* Override the default thumb appearance with a custom image. */
200 background: transparent;
201 border: none !important;
205 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
208 -moz-box-pack: center;
211 .timeThumb[showhours="true"] {
212 background-image: url("chrome://global/skin/media/scrubberThumbWide.png");
216 .timeThumb:hover, .timeThumb:active {
217 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
222 color: rgba(0,0,0,0.75);
224 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
225 text-shadow: rgba(255,259,0, 0.3) 0 1px;
230 -moz-box-align: center;
231 -moz-box-pack: center;
232 background-color: rgba(0,0,0,0.55);
236 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
241 .statusIcon[type="throbber"] {
242 background: url("chrome://communicator/skin/brand/throbber-anim.png") no-repeat center;
245 .statusIcon[type="throbber"][stalled] {
246 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
249 .statusIcon[type="error"] {
250 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
253 /* Overlay Play button */
257 -moz-box-pack: center;
258 -moz-box-align: center;
260 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
261 url("chrome://global/skin/media/videoClickToPlayButton.svg");
262 background-repeat: repeat, no-repeat;
263 background-position: center, center;
264 background-size: auto, 64px 64px;
265 background-color: hsla(0,0%,10%,.5);
271 /* Statistics formatting */
281 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
290 background: rgba(68,68,111,.7);
292 border-collapse: collapse;
296 /* CSS Transitions */
298 transition-property: opacity, background-size;
299 transition-duration: 400ms, 400ms;
301 .clickToPlay[fadeout] {
302 background-size: auto, 192px 192px;
305 .clickToPlay[fadeout][immediate] {
306 transition-property: opacity, background-size;
307 transition-duration: 0s, 0s;
309 .controlBar:not([immediate]) {
310 transition-property: opacity;
311 transition-duration: 200ms;
313 .controlBar[fadeout] {
316 .volumeStack:not([immediate]) {
317 transition-property: opacity, margin-top;
318 transition-duration: 200ms, 200ms;
320 .volumeStack[fadeout] {
324 .statusOverlay:not([immediate]) {
325 transition-property: opacity;
326 transition-duration: 300ms;
327 transition-delay: 750ms;
329 .statusOverlay[fadeout] {
333 /* Error description formatting */
335 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;