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");
43 background: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0) no-repeat center;
51 .fullscreenButton[fullscreened] {
52 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
58 background-color: rgba(102,102,153,0.74);
59 /* use negative margin to place stack over the mute button to its left. */
60 margin: -70px 3px 28px -31px;
61 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
62 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
70 /* .scale-thumb is an element inside the <scale> implementation. */
71 .volumeControl .scale-thumb {
72 /* Override the default thumb appearance with a custom image. */
73 -moz-appearance: none;
74 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
75 border: none !important;
80 .volumeBackgroundBar {
81 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
83 background-color: rgba(0,0,0,0.5);
87 -moz-box-pack: center;
91 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
92 padding-left: 8px; /* don't bump into the scrubber bar */
93 padding-top: 0px; /* center vertically with scrubber bar */
94 color: rgba(204,208,221,0.75);
96 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
104 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
105 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
107 background-color: rgba(0,0,0,0.75);
110 .bufferBar, .progressBar {
111 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
112 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
115 background-color: transparent;
120 /* .progress-bar is an element inside the <progressmeter> implementation. */
121 .bufferBar .progress-bar {
123 * Note that this is drawn on top of the .backgroundBar. So although this
124 * has the same background-color specified, the semitransparent
125 * compositing gives it a different visual appearance.
127 background-color: rgba(204,208,221,0.75);
128 -moz-appearance: none;
131 .progressBar .progress-bar {
132 background-color: #336699;
133 -moz-appearance: none;
136 /* .scale-slider is an element inside the <scale> implementation. */
137 .scrubber .scale-slider, .volumeControl .scale-slider {
138 /* Hide the default horizontal bar. */
143 .scrubber .scale-slider {
144 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
149 /* .scale-thumb is an element inside the <scale> implementation. */
150 .scrubber .scale-thumb {
151 /* Override the default thumb appearance with a custom image. */
152 background: transparent;
153 border: none !important;
157 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
160 -moz-box-pack: center;
163 .timeThumb[showhours="true"] {
164 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
168 .timeThumb:hover, .timeThumb:active {
169 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
174 color: rgba(0,0,0,0.75);
176 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
177 text-shadow: rgba(102,102,153, 0.3) 0 1px;
182 -moz-box-align: center;
183 -moz-box-pack: center;
184 background-color: rgba(0,0,0,0.55);
188 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
193 .statusIcon[type="throbber"] {
194 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
197 .statusIcon[type="throbber"][stalled] {
198 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
201 .statusIcon[type="error"] {
202 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
205 /* Overlay Play button */
209 -moz-box-pack: center;
210 -moz-box-align: center;
212 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
213 url("chrome://global/skin/media/videoClickToPlayButton.svg");
214 background-repeat: repeat, no-repeat;
215 background-position: center, center;
216 background-size: auto, 64px 64px;
217 background-color: hsla(0,0%,10%,.5);
223 /* Statistics formatting */
233 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
242 background: rgba(68,68,68,.7);
244 border-collapse: collapse;
248 /* CSS Transitions */
250 -moz-transition-property: opacity, background-size;
251 -moz-transition-duration: 400ms, 400ms;
253 .clickToPlay[fadeout] {
254 background-size: auto, 192px 192px;
257 .clickToPlay[fadeout][immediate] {
258 -moz-transition-property: opacity, background-size;
259 -moz-transition-duration: 0s, 0s;
261 .controlBar:not([immediate]) {
262 -moz-transition-property: opacity;
263 -moz-transition-duration: 200ms;
265 .controlBar[fadeout] {
268 .volumeStack:not([immediate]) {
269 -moz-transition-property: opacity, margin-top;
270 -moz-transition-duration: 200ms, 200ms;
272 .volumeStack[fadeout] {
276 .statusOverlay:not([immediate]) {
277 -moz-transition-property: opacity;
278 -moz-transition-duration: 300ms;
279 -moz-transition-delay: 750ms;
281 .statusOverlay[fadeout] {
285 /* Error description formatting */
287 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;