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);
9 .playButton, .muteButton {
10 /* Remove the usual button appearance and styling */
15 background-color: transparent;
16 background-repeat: no-repeat;
17 background-position: center center;
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. */
27 .playButton:hover, .muteButton:hover {
28 background-color: rgba(255,207,0,0.75);
30 .playButton:-moz-focusring > .button-box,
31 .muteButton:-moz-focusring > .button-box {
32 border: 1px dotted rgba(0,0,0,0.75);
36 background-image: url("chrome://global/skin/media/pauseButton.png");
39 background-image: url("chrome://global/skin/media/pauseButton-hover.png");
42 background-image: url("chrome://global/skin/media/playButton.png");
44 .playButton[paused]:hover {
45 background-image: url("chrome://global/skin/media/playButton-hover.png");
49 background-image: url("chrome://global/skin/media/muteButton.png");
52 background-image: url("chrome://global/skin/media/muteButton-hover.png");
55 background-image: url("chrome://global/skin/media/unmuteButton.png");
57 .muteButton[muted]:hover {
58 background-image: url("chrome://global/skin/media/unmuteButton-hover.png");
61 .muteButton[noAudio] {
62 background-image: url("chrome://global/skin/media/noAudio.png");
66 background: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0) no-repeat center;
74 .fullscreenButton:hover {
75 background-color: rgba(255,207,0,0.75);
76 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 16, 32, 0);
79 .fullscreenButton[fullscreened] {
80 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
83 .fullscreenButton[fullscreened]:hover {
84 background-color: rgba(255,207,0,0.75);
85 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 32, 32, 16);
91 background-color: rgba(156,156,255,0.74);
92 /* use negative margin to place stack over the mute button to its left. */
93 margin: -70px 3px 28px -31px;
94 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
95 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
97 border-radius: 3px 3px 0 0;
104 /* .scale-thumb is an element inside the <scale> implementation. */
105 .volumeControl .scale-thumb {
106 /* Override the default thumb appearance with a custom image. */
107 -moz-appearance: none;
108 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
109 border: none !important;
113 .volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
114 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
117 .volumeBackgroundBar {
118 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
120 background-color: rgba(0,0,0,0.5);
121 border-radius: 2.5px;
125 -moz-box-pack: center;
129 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
130 padding-left: 8px; /* don't bump into the scrubber bar */
131 padding-top: 0px; /* center vertically with scrubber bar */
132 color: rgba(0,0,0,0.75);
134 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
142 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
143 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
145 background-color: rgba(0,0,0,0.75);
146 border-radius: 2.5px;
149 .bufferBar, .progressBar {
150 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
151 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
154 background-color: transparent;
159 /* .progress-bar is an element inside the <progressmeter> implementation. */
160 .bufferBar .progress-bar {
162 * Note that this is drawn on top of the .backgroundBar. So although this
163 * has the same background-color specified, the semitransparent
164 * compositing gives it a different visual appearance.
166 background-color: rgba(255,159,0,0.75);
167 border-radius: 2.5px;
168 -moz-appearance: none;
171 .progressBar .progress-bar {
172 background-color: #008484;
173 border-radius: 2.5px;
174 -moz-appearance: none;
177 /* .scale-slider is an element inside the <scale> implementation. */
178 .scrubber .scale-slider, .volumeControl .scale-slider {
179 /* Hide the default horizontal bar. */
184 .scrubber .scale-slider {
185 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
190 /* .scale-thumb is an element inside the <scale> implementation. */
191 .scrubber .scale-thumb {
192 /* Override the default thumb appearance with a custom image. */
193 background: transparent;
194 border: none !important;
198 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
201 -moz-box-pack: center;
204 .timeThumb[showhours="true"] {
205 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
209 .timeThumb:hover, .timeThumb:active {
210 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
215 color: rgba(0,0,0,0.75);
217 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
218 text-shadow: rgba(255,259,0, 0.3) 0 1px;
223 -moz-box-align: center;
224 -moz-box-pack: center;
225 background-color: rgba(0,0,0,0.55);
229 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
234 .statusIcon[type="throbber"] {
235 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
238 .statusIcon[type="throbber"][stalled] {
239 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
242 .statusIcon[type="error"] {
243 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
246 /* Overlay Play button */
250 -moz-box-pack: center;
251 -moz-box-align: center;
253 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
254 url("chrome://global/skin/media/videoClickToPlayButton.svg");
255 background-repeat: repeat, no-repeat;
256 background-position: center, center;
257 background-size: auto, 64px 64px;
258 background-color: hsla(0,0%,10%,.5);
264 /* Statistics formatting */
274 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
283 background: rgba(68,68,111,.7);
285 border-collapse: collapse;
289 /* CSS Transitions */
291 transition-property: opacity, background-size;
292 transition-duration: 400ms, 400ms;
294 .clickToPlay[fadeout] {
295 background-size: auto, 192px 192px;
298 .clickToPlay[fadeout][immediate] {
299 transition-property: opacity, background-size;
300 transition-duration: 0s, 0s;
302 .controlBar:not([immediate]) {
303 transition-property: opacity;
304 transition-duration: 200ms;
306 .controlBar[fadeout] {
309 .volumeStack:not([immediate]) {
310 transition-property: opacity, margin-top;
311 transition-duration: 200ms, 200ms;
313 .volumeStack[fadeout] {
317 .statusOverlay:not([immediate]) {
318 transition-property: opacity;
319 transition-duration: 300ms;
320 transition-delay: 750ms;
322 .statusOverlay[fadeout] {
326 /* Error description formatting */
328 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;