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-color: transparent;
44 list-style-image: url("chrome://global/skin/media/fullscreenButton.png");
45 -moz-image-region: rect(0px, 16px, 16px, 0px);
46 -moz-appearance: none;
54 .fullscreenButton[fullscreened] {
55 -moz-image-region: rect(0px, 32px, 16px, 16px);
61 background-color: rgba(102,102,153,0.74);
62 /* use negative margin to place stack over the mute button to its left. */
63 margin: -70px 3px 28px -31px;
64 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
65 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
73 /* .scale-thumb is an element inside the <scale> implementation. */
74 .volumeControl .scale-thumb {
75 /* Override the default thumb appearance with a custom image. */
76 -moz-appearance: none;
77 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
78 border: none !important;
83 .volumeBackgroundBar {
84 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
86 background-color: rgba(0,0,0,0.5);
90 -moz-box-pack: center;
94 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
95 padding-left: 8px; /* don't bump into the scrubber bar */
96 padding-top: 0px; /* center vertically with scrubber bar */
97 color: rgba(204,208,221,0.75);
99 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
107 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
108 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
110 background-color: rgba(0,0,0,0.75);
113 .bufferBar, .progressBar {
114 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
115 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
118 background-color: transparent;
123 /* .progress-bar is an element inside the <progressmeter> implementation. */
124 .bufferBar .progress-bar {
126 * Note that this is drawn on top of the .backgroundBar. So although this
127 * has the same background-color specified, the semitransparent
128 * compositing gives it a different visual appearance.
130 background-color: rgba(204,208,221,0.75);
131 -moz-appearance: none;
134 .progressBar .progress-bar {
135 background-color: #336699;
136 -moz-appearance: none;
139 /* .scale-slider is an element inside the <scale> implementation. */
140 .scrubber .scale-slider, .volumeControl .scale-slider {
141 /* Hide the default horizontal bar. */
146 .scrubber .scale-slider {
147 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
152 /* .scale-thumb is an element inside the <scale> implementation. */
153 .scrubber .scale-thumb {
154 /* Override the default thumb appearance with a custom image. */
155 background: transparent;
156 border: none !important;
160 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
163 -moz-box-pack: center;
166 .timeThumb[showhours="true"] {
167 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
171 .timeThumb:hover, .timeThumb:active {
172 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
177 color: rgba(0,0,0,0.75);
179 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
180 text-shadow: rgba(102,102,153, 0.3) 0 1px;
185 -moz-box-align: center;
186 -moz-box-pack: center;
187 background-color: rgba(0,0,0,0.55);
191 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
196 .statusIcon[type="throbber"] {
197 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
200 .statusIcon[type="throbber"][stalled] {
201 background: url("chrome://global/skin/media/stalled.png") no-repeat center;
204 .statusIcon[type="error"] {
205 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
208 /* Overlay Play button */
212 -moz-box-pack: center;
213 -moz-box-align: center;
215 background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
216 url("chrome://global/skin/media/videoClickToPlayButton.svg");
217 background-repeat: repeat, no-repeat;
218 background-position: center, center;
219 background-size: auto, 64px 64px;
220 background-color: hsla(0,0%,10%,.5);
226 /* Statistics formatting */
236 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
245 background: rgba(68,68,68,.7);
247 border-collapse: collapse;
251 /* CSS Transitions */
253 -moz-transition-property: opacity, background-size;
254 -moz-transition-duration: 400ms, 400ms;
256 .clickToPlay[fadeout] {
257 background-size: auto, 192px 192px;
260 .clickToPlay[fadeout][immediate] {
261 -moz-transition-property: opacity, background-size;
262 -moz-transition-duration: 0s, 0s;
264 .controlBar:not([immediate]) {
265 -moz-transition-property: opacity;
266 -moz-transition-duration: 200ms;
268 .controlBar[fadeout] {
271 .volumeStack:not([immediate]) {
272 -moz-transition-property: opacity, margin-top;
273 -moz-transition-duration: 200ms, 200ms;
275 .volumeStack[fadeout] {
279 .statusOverlay:not([immediate]) {
280 -moz-transition-property: opacity;
281 -moz-transition-duration: 300ms;
282 -moz-transition-delay: 750ms;
284 .statusOverlay[fadeout] {
288 /* Error description formatting */
290 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;