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(102,102,153,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. */
29 background-image: url("chrome://global/skin/media/pauseButton.png");
32 background-image: url("chrome://global/skin/media/playButton.png");
36 background-image: url("chrome://global/skin/media/muteButton.png");
39 background-image: url("chrome://global/skin/media/unmuteButton.png");
42 .muteButton[noAudio] {
43 background-image: url("chrome://global/skin/media/noAudio.png");
47 background: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0) no-repeat center;
55 .fullscreenButton[fullscreened] {
56 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
62 background-color: rgba(102,102,153,0.74);
63 /* use negative margin to place stack over the mute button to its left. */
64 margin: -70px 3px 28px -31px;
65 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
66 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
74 /* .scale-thumb is an element inside the <scale> implementation. */
75 .volumeControl .scale-thumb {
76 /* Override the default thumb appearance with a custom image. */
77 -moz-appearance: none;
78 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
79 border: none !important;
84 .volumeBackgroundBar {
85 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
87 background-color: rgba(0,0,0,0.5);
91 -moz-box-pack: center;
95 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
96 padding-left: 8px; /* don't bump into the scrubber bar */
97 padding-top: 0px; /* center vertically with scrubber bar */
98 color: rgba(204,208,221,0.75);
100 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
108 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
109 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
111 background-color: rgba(0,0,0,0.75);
114 .bufferBar, .progressBar {
115 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
116 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
119 background-color: transparent;
124 /* .progress-bar is an element inside the <progressmeter> implementation. */
125 .bufferBar .progress-bar {
127 * Note that this is drawn on top of the .backgroundBar. So although this
128 * has the same background-color specified, the semitransparent
129 * compositing gives it a different visual appearance.
131 background-color: rgba(204,208,221,0.75);
132 -moz-appearance: none;
135 .progressBar .progress-bar {
136 background-color: #336699;
137 -moz-appearance: none;
140 /* .scale-slider is an element inside the <scale> implementation. */
141 .scrubber .scale-slider, .volumeControl .scale-slider {
142 /* Hide the default horizontal bar. */
147 .scrubber .scale-slider {
148 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
153 /* .scale-thumb is an element inside the <scale> implementation. */
154 .scrubber .scale-thumb {
155 /* Override the default thumb appearance with a custom image. */
156 background: transparent;
157 border: none !important;
161 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
164 -moz-box-pack: center;
167 .timeThumb[showhours="true"] {
168 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
172 .timeThumb:hover, .timeThumb:active {
173 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
178 color: rgba(0,0,0,0.75);
180 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
181 text-shadow: rgba(102,102,153, 0.3) 0 1px;
186 -moz-box-align: center;
187 -moz-box-pack: center;
188 background-color: rgba(0,0,0,0.55);
192 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
197 .statusIcon[type="throbber"] {
198 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
201 .statusIcon[type="throbber"][stalled] {
202 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
205 .statusIcon[type="error"] {
206 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
209 /* Overlay Play button */
213 -moz-box-pack: center;
214 -moz-box-align: center;
216 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
217 url("chrome://global/skin/media/videoClickToPlayButton.svg");
218 background-repeat: repeat, no-repeat;
219 background-position: center, center;
220 background-size: auto, 64px 64px;
221 background-color: hsla(0,0%,10%,.5);
227 /* Statistics formatting */
237 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
246 background: rgba(68,68,68,.7);
248 border-collapse: collapse;
252 /* CSS Transitions */
254 transition-property: opacity, background-size;
255 transition-duration: 400ms, 400ms;
257 .clickToPlay[fadeout] {
258 background-size: auto, 192px 192px;
261 .clickToPlay[fadeout][immediate] {
262 transition-property: opacity, background-size;
263 transition-duration: 0s, 0s;
265 .controlBar:not([immediate]) {
266 transition-property: opacity;
267 transition-duration: 200ms;
269 .controlBar[fadeout] {
272 .volumeStack:not([immediate]) {
273 transition-property: opacity, margin-top;
274 transition-duration: 200ms, 200ms;
276 .volumeStack[fadeout] {
280 .statusOverlay:not([immediate]) {
281 transition-property: opacity;
282 transition-duration: 300ms;
283 transition-delay: 750ms;
285 .statusOverlay[fadeout] {
289 /* Error description formatting */
291 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;