1 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
5 background-color: rgba(102,102,153,0.75);
8 .playButton, .muteButton {
9 /* Remove the usual button appearance and styling */
14 background-color: transparent;
15 background-repeat: no-repeat;
16 background-position: center center;
20 margin-right: -22px; /* 1/2 of scrubber thumb width, for overhang. */
21 position: relative; /* Trick to work around negative margin interfering with clicking on the button. */
28 background-image: url("chrome://global/skin/media/pauseButton.png");
30 .playButton[paused="true"] {
31 background-image: url("chrome://global/skin/media/playButton.png");
35 background-image: url("chrome://global/skin/media/muteButton.png");
37 .muteButton[muted="true"] {
38 background-image: url("chrome://global/skin/media/unmuteButton.png");
44 background-color: rgba(102,102,153,0.74);
45 /* use negative margin to place stack over the mute button to its left. */
46 margin: -70px 3px 28px -31px;
47 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
48 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
56 /* .scale-thumb is an element inside the <scale> implementation. */
57 .volumeControl .scale-thumb {
58 /* Override the default thumb appearance with a custom image. */
59 -moz-appearance: none;
60 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
61 border: none !important;
66 .volumeBackgroundBar {
67 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
69 background-color: rgba(0,0,0,0.5);
73 -moz-box-pack: center;
77 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
78 padding-left: 8px; /* don't bump into the scrubber bar */
79 padding-top: 0px; /* center vertically with scrubber bar */
80 color: rgba(204,208,221,0.75);
82 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
91 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
93 background-color: rgba(0,0,0,0.75);
96 .bufferBar, .progressBar {
97 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
98 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
101 background-color: transparent;
106 /* .progress-bar is an element inside the <progressmeter> implementation. */
107 .bufferBar .progress-bar {
109 * Note that this is drawn on top of the .backgroundBar. So although this
110 * has the same background-color specified, the semitransparent
111 * compositing gives it a different visual appearance.
113 background-color: rgba(204,208,221,0.75);
114 -moz-appearance: none;
117 .progressBar .progress-bar {
118 background-color: #336699;
119 -moz-appearance: none;
122 /* .scale-slider is an element inside the <scale> implementation. */
123 .scrubber .scale-slider, .volumeControl .scale-slider {
124 /* Hide the default horizontal bar. */
129 .scrubber .scale-slider {
130 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
135 /* .scale-thumb is an element inside the <scale> implementation. */
136 .scrubber .scale-thumb {
137 /* Override the default thumb appearance with a custom image. */
138 background: transparent;
139 border: none !important;
143 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
146 -moz-box-pack: center;
149 .timeThumb[showhours="true"] {
150 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
154 .timeThumb:hover, .timeThumb:active {
155 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
160 color: rgba(0,0,0,0.75);
162 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
163 text-shadow: rgba(102,102,153, 0.3) 0 1px;
168 -moz-box-align: center;
169 -moz-box-pack: center;
170 background-color: rgba(0,0,0,0.55);
174 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
179 .statusIcon[type="throbber"] {
180 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
183 .statusIcon[type="throbber"][stalled] {
184 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
187 .statusIcon[type="error"] {
188 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
191 /* CSS Transitions */
192 .controlBar:not([immediate]) {
193 -moz-transition-property: opacity;
194 -moz-transition-duration: 200ms;
196 .controlBar[fadeout] {
199 .volumeStack:not([immediate]) {
200 -moz-transition-property: opacity, margin-top;
201 -moz-transition-duration: 200ms, 200ms;
203 .volumeStack[fadeout] {
207 .statusOverlay:not([immediate]) {
208 -moz-transition-property: opacity;
209 -moz-transition-duration: 300ms;
210 -moz-transition-delay: 750ms;
212 .statusOverlay[fadeout] {