1 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
5 background-color: rgba(156,156,255,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. */
26 .playButton:hover, .muteButton:hover {
27 background-color: rgba(255,207,0,0.75);
29 .playButton:focus > .button-box,
30 .muteButton:focus > .button-box {
31 border: 1px dotted rgba(0,0,0,0.75);
35 background-image: url("chrome://global/skin/media/pauseButton.png");
38 background-image: url("chrome://global/skin/media/pauseButton-hover.png");
40 .playButton[paused="true"] {
41 background-image: url("chrome://global/skin/media/playButton.png");
43 .playButton[paused="true"]:hover {
44 background-image: url("chrome://global/skin/media/playButton-hover.png");
48 background-image: url("chrome://global/skin/media/muteButton.png");
51 background-image: url("chrome://global/skin/media/muteButton-hover.png");
53 .muteButton[muted="true"] {
54 background-image: url("chrome://global/skin/media/unmuteButton.png");
56 .muteButton[muted="true"]:hover {
57 background-image: url("chrome://global/skin/media/unmuteButton-hover.png");
63 background-color: rgba(156,156,255,0.74);
64 /* use negative margin to place stack over the mute button to its left. */
65 margin: -70px 3px 28px -31px;
66 overflow: hidden; /* crop it when sliding down, don't grow the control bar */
67 position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
75 /* .scale-thumb is an element inside the <scale> implementation. */
76 .volumeControl .scale-thumb {
77 /* Override the default thumb appearance with a custom image. */
78 -moz-appearance: none;
79 background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
80 border: none !important;
84 .volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
85 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
88 .volumeBackgroundBar {
89 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
91 background-color: rgba(0,0,0,0.5);
92 -moz-border-radius: 4px 4px;
97 -moz-box-pack: center;
101 margin-left: -22px; /* 1/2 of scrubber thumb width, for overhang. */
102 padding-left: 8px; /* don't bump into the scrubber bar */
103 padding-top: 0px; /* center vertically with scrubber bar */
104 color: rgba(0,0,0,0.75);
106 font-family: helvetica,arial,tahoma,sans-serif;
110 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
111 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
113 background-color: rgba(0,0,0,0.75);
114 -moz-border-radius: 4px 4px;
117 .bufferBar, .progressBar {
118 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
119 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
122 background-color: transparent;
127 /* .progress-bar is an element inside the <progressmeter> implementation. */
128 .bufferBar .progress-bar {
130 * Note that this is drawn on top of the .backgroundBar. So although this
131 * has the same background-color specified, the semitransparent
132 * compositing gives it a different visual appearance.
134 background-color: rgba(255,159,0,0.75);
135 -moz-border-radius: 4px 4px;
136 -moz-appearance: none;
139 .progressBar .progress-bar {
140 background-color: #008484;
141 -moz-border-radius: 4px 0px 0px 4px;
142 -moz-appearance: none;
145 /* .scale-slider is an element inside the <scale> implementation. */
146 .scrubber .scale-slider, .volumeControl .scale-slider {
147 /* Hide the default horizontal bar. */
152 .scrubber .scale-slider {
153 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
158 /* .scale-thumb is an element inside the <scale> implementation. */
159 .scrubber .scale-thumb {
160 /* Override the default thumb appearance with a custom image. */
161 background: transparent;
162 border: none !important;
166 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
169 -moz-box-pack: center;
172 .timeThumb[showhours="true"] {
173 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
177 .timeThumb:hover, .timeThumb:active {
178 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
183 color: rgba(0,0,0,0.75);
185 font-family: helvetica,arial,tahoma,sans-serif;
186 text-shadow: rgba(255,259,0, 0.3) 0 1px;
191 background-color: rgba(0,0,0,0.55);
195 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
200 .statusIcon[type="throbber"] {
201 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
204 .statusIcon[type="error"] {
205 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;