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);
12 background-color: transparent;
13 background-repeat: no-repeat;
14 background-position: center;
23 background-image: url("chrome://global/skin/media/pauseButton.png");
24 margin-right: -22px; /* 1/2 of scrubber thumb width, for overhang. */
25 position: relative; /* Trick to work around negative margin interfering with clicking on the button. */
29 background-image: url("chrome://global/skin/media/playButton.png");
33 background-image: url("chrome://global/skin/media/muteButton.png");
38 background-image: url("chrome://global/skin/media/unmuteButton.png");
41 .muteButton[noAudio] {
42 background-image: url("chrome://global/skin/media/noAudio.png");
46 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0);
49 .fullscreenButton[fullscreened] {
50 background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
56 background-color: rgba(102,102,153,0.74);
57 /* use negative margin to place stack over the mute button to its left. */
58 margin: -70px 3px 28px -31px;
59 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
60 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
68 /* .scale-thumb is an element inside the <scale> implementation. */
69 .volumeControl .scale-thumb {
70 /* Override the default thumb appearance with a custom image. */
71 -moz-appearance: none;
72 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
73 border: none !important;
78 .volumeBackgroundBar {
79 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
81 background-color: rgba(0,0,0,0.5);
85 -moz-box-pack: center;
89 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
90 padding-left: 8px; /* don't bump into the scrubber bar */
91 padding-top: 0px; /* center vertically with scrubber bar */
92 color: rgba(204,208,221,0.75);
94 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
102 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
103 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
105 background-color: rgba(0,0,0,0.75);
108 .bufferBar, .progressBar {
109 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
110 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
113 background-color: transparent;
118 /* .progress-bar is an element inside the <progressmeter> implementation. */
119 .bufferBar .progress-bar {
121 * Note that this is drawn on top of the .backgroundBar. So although this
122 * has the same background-color specified, the semitransparent
123 * compositing gives it a different visual appearance.
125 background-color: rgba(204,208,221,0.75);
126 -moz-appearance: none;
129 .progressBar .progress-bar {
130 background-color: #336699;
131 -moz-appearance: none;
134 /* .scale-slider is an element inside the <scale> implementation. */
135 .scrubber .scale-slider, .volumeControl .scale-slider {
136 /* Hide the default horizontal bar. */
141 .scrubber .scale-slider {
142 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
147 /* .scale-thumb is an element inside the <scale> implementation. */
148 .scrubber .scale-thumb {
149 /* Override the default thumb appearance with a custom image. */
150 background: transparent;
151 border: none !important;
155 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
158 -moz-box-pack: center;
161 .timeThumb[showhours="true"] {
162 background-image: url("chrome://global/skin/media/scrubberThumbWide.png");
166 .timeThumb:hover, .timeThumb:active {
167 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
172 color: rgba(0,0,0,0.75);
174 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
175 text-shadow: rgba(102,102,153, 0.3) 0 1px;
180 -moz-box-align: center;
181 -moz-box-pack: center;
182 background-color: rgba(0,0,0,0.55);
186 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
191 .statusIcon[type="throbber"] {
192 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
195 .statusIcon[type="throbber"][stalled] {
196 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
199 .statusIcon[type="error"] {
200 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
203 /* Overlay Play button */
207 -moz-box-pack: center;
208 -moz-box-align: center;
210 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
211 url("chrome://global/skin/media/videoClickToPlayButton.svg");
212 background-repeat: repeat, no-repeat;
213 background-position: center, center;
214 background-size: auto, 64px 64px;
215 background-color: hsla(0,0%,10%,.5);
221 /* Statistics formatting */
231 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
240 background: rgba(68,68,68,.7);
242 border-collapse: collapse;
246 /* CSS Transitions */
248 transition-property: opacity, background-size;
249 transition-duration: 400ms, 400ms;
251 .clickToPlay[fadeout] {
252 background-size: auto, 192px 192px;
255 .clickToPlay[fadeout][immediate] {
256 transition-property: opacity, background-size;
257 transition-duration: 0s, 0s;
259 .controlBar:not([immediate]) {
260 transition-property: opacity;
261 transition-duration: 200ms;
263 .controlBar[fadeout] {
266 .volumeStack:not([immediate]) {
267 transition-property: opacity, margin-top;
268 transition-duration: 200ms, 200ms;
270 .volumeStack[fadeout] {
274 .statusOverlay:not([immediate]) {
275 transition-property: opacity;
276 transition-duration: 300ms;
277 transition-delay: 750ms;
279 .statusOverlay[fadeout] {
283 /* Error description formatting */
285 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;