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-color: transparent;
63 list-style-image: url("chrome://global/skin/media/fullscreenButton.png");
64 -moz-image-region: rect(0px, 16px, 16px, 0px);
65 -moz-appearance: none;
73 .fullscreenButton:hover {
74 background-color: rgba(255,207,0,0.75);
75 -moz-image-region: rect(16px, 16px, 32px, 0px);
78 .fullscreenButton[fullscreened] {
79 -moz-image-region: rect(0px, 32px, 16px, 16px);
82 .fullscreenButton[fullscreened]:hover {
83 background-color: rgba(255,207,0,0.75);
84 -moz-image-region: rect(16px, 32px, 32px, 16px);
90 background-color: rgba(156,156,255,0.74);
91 /* use negative margin to place stack over the mute button to its left. */
92 margin: -70px 3px 28px -31px;
93 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
94 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
96 border-radius: 3px 3px 0 0;
103 /* .scale-thumb is an element inside the <scale> implementation. */
104 .volumeControl .scale-thumb {
105 /* Override the default thumb appearance with a custom image. */
106 -moz-appearance: none;
107 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
108 border: none !important;
112 .volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
113 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
116 .volumeBackgroundBar {
117 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
119 background-color: rgba(0,0,0,0.5);
120 border-radius: 4px 4px;
124 -moz-box-pack: center;
128 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
129 padding-left: 8px; /* don't bump into the scrubber bar */
130 padding-top: 0px; /* center vertically with scrubber bar */
131 color: rgba(0,0,0,0.75);
133 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
141 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
142 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
144 background-color: rgba(0,0,0,0.75);
145 border-radius: 4px 4px;
148 .bufferBar, .progressBar {
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. */
153 background-color: transparent;
158 /* .progress-bar is an element inside the <progressmeter> implementation. */
159 .bufferBar .progress-bar {
161 * Note that this is drawn on top of the .backgroundBar. So although this
162 * has the same background-color specified, the semitransparent
163 * compositing gives it a different visual appearance.
165 background-color: rgba(255,159,0,0.75);
166 border-radius: 4px 4px;
167 -moz-appearance: none;
170 .progressBar .progress-bar {
171 background-color: #008484;
172 border-radius: 4px 0px 0px 4px;
173 -moz-appearance: none;
176 /* .scale-slider is an element inside the <scale> implementation. */
177 .scrubber .scale-slider, .volumeControl .scale-slider {
178 /* Hide the default horizontal bar. */
183 .scrubber .scale-slider {
184 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
189 /* .scale-thumb is an element inside the <scale> implementation. */
190 .scrubber .scale-thumb {
191 /* Override the default thumb appearance with a custom image. */
192 background: transparent;
193 border: none !important;
197 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
200 -moz-box-pack: center;
203 .timeThumb[showhours="true"] {
204 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
208 .timeThumb:hover, .timeThumb:active {
209 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
214 color: rgba(0,0,0,0.75);
216 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
217 text-shadow: rgba(255,259,0, 0.3) 0 1px;
222 -moz-box-align: center;
223 -moz-box-pack: center;
224 background-color: rgba(0,0,0,0.55);
228 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
233 .statusIcon[type="throbber"] {
234 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
237 .statusIcon[type="throbber"][stalled] {
238 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
241 .statusIcon[type="error"] {
242 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
245 /* Statistics formatting */
255 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
264 background: rgba(68,68,111,.7);
266 border-collapse: collapse;
270 /* CSS Transitions */
271 .controlBar:not([immediate]) {
272 -moz-transition-property: opacity;
273 -moz-transition-duration: 200ms;
275 .controlBar[fadeout] {
278 .volumeStack:not([immediate]) {
279 -moz-transition-property: opacity, margin-top;
280 -moz-transition-duration: 200ms, 200ms;
282 .volumeStack[fadeout] {
286 .statusOverlay:not([immediate]) {
287 -moz-transition-property: opacity;
288 -moz-transition-duration: 300ms;
289 -moz-transition-delay: 750ms;
291 .statusOverlay[fadeout] {
295 /* Error description formatting */
297 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;