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");
31 .playButton[paused="true"] {
32 background-image: url("chrome://global/skin/media/playButton.png");
36 background-image: url("chrome://global/skin/media/muteButton.png");
38 .muteButton[muted="true"] {
39 background-image: url("chrome://global/skin/media/unmuteButton.png");
45 background-color: rgba(102,102,153,0.74);
46 /* use negative margin to place stack over the mute button to its left. */
47 margin: -70px 3px 28px -31px;
48 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
49 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
57 /* .scale-thumb is an element inside the <scale> implementation. */
58 .volumeControl .scale-thumb {
59 /* Override the default thumb appearance with a custom image. */
60 -moz-appearance: none;
61 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
62 border: none !important;
67 .volumeBackgroundBar {
68 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
70 background-color: rgba(0,0,0,0.5);
74 -moz-box-pack: center;
78 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
79 padding-left: 8px; /* don't bump into the scrubber bar */
80 padding-top: 0px; /* center vertically with scrubber bar */
81 color: rgba(204,208,221,0.75);
83 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
91 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
92 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
94 background-color: rgba(0,0,0,0.75);
97 .bufferBar, .progressBar {
98 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
99 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
102 background-color: transparent;
107 /* .progress-bar is an element inside the <progressmeter> implementation. */
108 .bufferBar .progress-bar {
110 * Note that this is drawn on top of the .backgroundBar. So although this
111 * has the same background-color specified, the semitransparent
112 * compositing gives it a different visual appearance.
114 background-color: rgba(204,208,221,0.75);
115 -moz-appearance: none;
118 .progressBar .progress-bar {
119 background-color: #336699;
120 -moz-appearance: none;
123 /* .scale-slider is an element inside the <scale> implementation. */
124 .scrubber .scale-slider, .volumeControl .scale-slider {
125 /* Hide the default horizontal bar. */
130 .scrubber .scale-slider {
131 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
136 /* .scale-thumb is an element inside the <scale> implementation. */
137 .scrubber .scale-thumb {
138 /* Override the default thumb appearance with a custom image. */
139 background: transparent;
140 border: none !important;
144 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
147 -moz-box-pack: center;
150 .timeThumb[showhours="true"] {
151 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
155 .timeThumb:hover, .timeThumb:active {
156 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
161 color: rgba(0,0,0,0.75);
163 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
164 text-shadow: rgba(102,102,153, 0.3) 0 1px;
169 -moz-box-align: center;
170 -moz-box-pack: center;
171 background-color: rgba(0,0,0,0.55);
175 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
180 .statusIcon[type="throbber"] {
181 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
184 .statusIcon[type="throbber"][stalled] {
185 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
188 .statusIcon[type="error"] {
189 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
192 /* Statistics formatting */
202 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
211 background: rgba(68,68,68,.7);
213 border-collapse: collapse;
217 /* CSS Transitions */
218 .controlBar:not([immediate]) {
219 -moz-transition-property: opacity;
220 -moz-transition-duration: 200ms;
222 .controlBar[fadeout] {
225 .volumeStack:not([immediate]) {
226 -moz-transition-property: opacity, margin-top;
227 -moz-transition-duration: 200ms, 200ms;
229 .volumeStack[fadeout] {
233 .statusOverlay:not([immediate]) {
234 -moz-transition-property: opacity;
235 -moz-transition-duration: 300ms;
236 -moz-transition-delay: 750ms;
238 .statusOverlay[fadeout] {