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");
41 .playButton[paused="true"] {
42 background-image: url("chrome://global/skin/media/playButton.png");
44 .playButton[paused="true"]: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");
54 .muteButton[muted="true"] {
55 background-image: url("chrome://global/skin/media/unmuteButton.png");
57 .muteButton[muted="true"]:hover {
58 background-image: url("chrome://global/skin/media/unmuteButton-hover.png");
64 background-color: rgba(156,156,255,0.74);
65 /* use negative margin to place stack over the mute button to its left. */
66 margin: -70px 3px 28px -31px;
67 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
68 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
70 border-radius: 3px 3px 0 0;
77 /* .scale-thumb is an element inside the <scale> implementation. */
78 .volumeControl .scale-thumb {
79 /* Override the default thumb appearance with a custom image. */
80 -moz-appearance: none;
81 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
82 border: none !important;
86 .volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
87 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
90 .volumeBackgroundBar {
91 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
93 background-color: rgba(0,0,0,0.5);
94 border-radius: 4px 4px;
98 -moz-box-pack: center;
102 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
103 padding-left: 8px; /* don't bump into the scrubber bar */
104 padding-top: 0px; /* center vertically with scrubber bar */
105 color: rgba(0,0,0,0.75);
107 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
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. */
118 background-color: rgba(0,0,0,0.75);
119 border-radius: 4px 4px;
122 .bufferBar, .progressBar {
123 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
124 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
127 background-color: transparent;
132 /* .progress-bar is an element inside the <progressmeter> implementation. */
133 .bufferBar .progress-bar {
135 * Note that this is drawn on top of the .backgroundBar. So although this
136 * has the same background-color specified, the semitransparent
137 * compositing gives it a different visual appearance.
139 background-color: rgba(255,159,0,0.75);
140 border-radius: 4px 4px;
141 -moz-appearance: none;
144 .progressBar .progress-bar {
145 background-color: #008484;
146 border-radius: 4px 0px 0px 4px;
147 -moz-appearance: none;
150 /* .scale-slider is an element inside the <scale> implementation. */
151 .scrubber .scale-slider, .volumeControl .scale-slider {
152 /* Hide the default horizontal bar. */
157 .scrubber .scale-slider {
158 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
163 /* .scale-thumb is an element inside the <scale> implementation. */
164 .scrubber .scale-thumb {
165 /* Override the default thumb appearance with a custom image. */
166 background: transparent;
167 border: none !important;
171 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
174 -moz-box-pack: center;
177 .timeThumb[showhours="true"] {
178 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
182 .timeThumb:hover, .timeThumb:active {
183 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
188 color: rgba(0,0,0,0.75);
190 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
191 text-shadow: rgba(255,259,0, 0.3) 0 1px;
196 -moz-box-align: center;
197 -moz-box-pack: center;
198 background-color: rgba(0,0,0,0.55);
202 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
207 .statusIcon[type="throbber"] {
208 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
211 .statusIcon[type="throbber"][stalled] {
212 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
215 .statusIcon[type="error"] {
216 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
219 /* Statistics formatting */
229 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
238 background: rgba(68,68,111,.7);
240 border-collapse: collapse;
244 /* CSS Transitions */
245 .controlBar:not([immediate]) {
246 -moz-transition-property: opacity;
247 -moz-transition-duration: 200ms;
249 .controlBar[fadeout] {
252 .volumeStack:not([immediate]) {
253 -moz-transition-property: opacity, margin-top;
254 -moz-transition-duration: 200ms, 200ms;
256 .volumeStack[fadeout] {
260 .statusOverlay:not([immediate]) {
261 -moz-transition-property: opacity;
262 -moz-transition-duration: 300ms;
263 -moz-transition-delay: 750ms;
265 .statusOverlay[fadeout] {