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");
62 background: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0) no-repeat center;
70 .fullscreenButton:hover {
71 background-color: rgba(255,207,0,0.75);
72 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 16, 32, 0);
75 .fullscreenButton[fullscreened] {
76 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
79 .fullscreenButton[fullscreened]:hover {
80 background-color: rgba(255,207,0,0.75);
81 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 32, 32, 16);
87 background-color: rgba(156,156,255,0.74);
88 /* use negative margin to place stack over the mute button to its left. */
89 margin: -70px 3px 28px -31px;
90 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
91 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
93 border-radius: 3px 3px 0 0;
100 /* .scale-thumb is an element inside the <scale> implementation. */
101 .volumeControl .scale-thumb {
102 /* Override the default thumb appearance with a custom image. */
103 -moz-appearance: none;
104 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
105 border: none !important;
109 .volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
110 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
113 .volumeBackgroundBar {
114 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
116 background-color: rgba(0,0,0,0.5);
117 border-radius: 2.5px;
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 /* Override the default thumb appearance with a custom image. */
189 background: transparent;
190 border: none !important;
194 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
197 -moz-box-pack: center;
200 .timeThumb[showhours="true"] {
201 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
205 .timeThumb:hover, .timeThumb:active {
206 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
211 color: rgba(0,0,0,0.75);
213 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
214 text-shadow: rgba(255,259,0, 0.3) 0 1px;
219 -moz-box-align: center;
220 -moz-box-pack: center;
221 background-color: rgba(0,0,0,0.55);
225 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
230 .statusIcon[type="throbber"] {
231 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
234 .statusIcon[type="throbber"][stalled] {
235 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
238 .statusIcon[type="error"] {
239 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
242 /* Overlay Play button */
246 -moz-box-pack: center;
247 -moz-box-align: center;
249 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
250 url("chrome://global/skin/media/videoClickToPlayButton.svg");
251 background-repeat: repeat, no-repeat;
252 background-position: center, center;
253 background-size: auto, 64px 64px;
254 background-color: hsla(0,0%,10%,.5);
260 /* Statistics formatting */
270 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
279 background: rgba(68,68,111,.7);
281 border-collapse: collapse;
285 /* CSS Transitions */
287 -moz-transition-property: opacity, background-size;
288 -moz-transition-duration: 400ms, 400ms;
290 .clickToPlay[fadeout] {
291 background-size: auto, 192px 192px;
294 .clickToPlay[fadeout][immediate] {
295 -moz-transition-property: opacity, background-size;
296 -moz-transition-duration: 0s, 0s;
298 .controlBar:not([immediate]) {
299 -moz-transition-property: opacity;
300 -moz-transition-duration: 200ms;
302 .controlBar[fadeout] {
305 .volumeStack:not([immediate]) {
306 -moz-transition-property: opacity, margin-top;
307 -moz-transition-duration: 200ms, 200ms;
309 .volumeStack[fadeout] {
313 .statusOverlay:not([immediate]) {
314 -moz-transition-property: opacity;
315 -moz-transition-duration: 300ms;
316 -moz-transition-delay: 750ms;
318 .statusOverlay[fadeout] {
322 /* Error description formatting */
324 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;