update both themes for SeaMonkey classic changes between 2009-02-23 and 2009-05-01
[themes.git] / LCARStrek / global / media / videocontrols.css
CommitLineData
29465e59
RK
1@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
2
6f25e2c5 3.controlBar {
b310ca09 4 height: 28px;
6f25e2c5 5 background-color: rgba(156,156,255,0.75);
29465e59
RK
6}
7
6f25e2c5
RK
8.playButton, .muteButton {
9 /* Remove the usual button appearance and styling */
10 margin: 0px;
11 padding: 0px;
12 border: none;
b310ca09 13 min-height: 28px;
1880ed93
RK
14 background-color: transparent;
15 background-repeat: no-repeat;
16 background-position: center center;
17}
b310ca09
RK
18.playButton {
19 min-width: 28px;
ca710c53
RK
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. */
b310ca09
RK
22}
23.muteButton {
24 min-width: 33px;
25}
1880ed93
RK
26.playButton:hover, .muteButton:hover {
27 background-color: rgba(255,207,0,0.75);
28}
29.playButton:focus > .button-box,
30.muteButton:focus > .button-box {
31 border: 1px dotted rgba(0,0,0,0.75);
29465e59
RK
32}
33
6f25e2c5 34.playButton {
1880ed93 35 background-image: url("chrome://global/skin/media/pauseButton.png");
6f25e2c5
RK
36}
37.playButton:hover {
1880ed93 38 background-image: url("chrome://global/skin/media/pauseButton-hover.png");
29465e59 39}
6f25e2c5 40.playButton[paused="true"] {
1880ed93 41 background-image: url("chrome://global/skin/media/playButton.png");
6f25e2c5
RK
42}
43.playButton[paused="true"]:hover {
1880ed93 44 background-image: url("chrome://global/skin/media/playButton-hover.png");
29465e59
RK
45}
46
6f25e2c5 47.muteButton {
1880ed93 48 background-image: url("chrome://global/skin/media/muteButton.png");
6f25e2c5
RK
49}
50.muteButton:hover {
1880ed93 51 background-image: url("chrome://global/skin/media/muteButton-hover.png");
6f25e2c5
RK
52}
53.muteButton[muted="true"] {
1880ed93 54 background-image: url("chrome://global/skin/media/unmuteButton.png");
6f25e2c5
RK
55}
56.muteButton[muted="true"]:hover {
1880ed93 57 background-image: url("chrome://global/skin/media/unmuteButton-hover.png");
6f25e2c5 58}
b310ca09 59
ca710c53
RK
60.volumeStack {
61 width: 28px;
62 height: 70px;
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. */
68 padding-top: 6px;
69}
70
71.volumeControl {
72 min-height: 64px;
73}
74
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;
81 min-width: 16px;
82 min-height: 11px;
83}
84.volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
85 background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
86}
87
88.volumeBackgroundBar {
89 /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
90 margin: 0px 10px;
91 background-color: rgba(0,0,0,0.5);
92 -moz-border-radius: 4px 4px;
93}
94
95
96.durationBox {
97 -moz-box-pack: center;
98}
99
100.durationLabel {
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);
105 font: 11px sans-serif;
106}
107
b310ca09 108.backgroundBar {
ca710c53
RK
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. */
111 margin: 10px 22px;
b310ca09 112 background-color: rgba(0,0,0,0.75);
ca710c53 113 -moz-border-radius: 4px 4px;
b310ca09
RK
114}
115
116.bufferBar, .progressBar {
ca710c53
RK
117 /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
118 /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
119 margin: 10px 22px;
b310ca09
RK
120 border: none;
121 background-color: transparent;
122 min-width: 0px;
123 min-height: 0px;
124}
125
126/* .progress-bar is an element inside the <progressmeter> implementation. */
127.bufferBar .progress-bar {
128 /*
129 * Note that this is drawn on top of the .backgroundBar. So although this
130 * has the same background-color specified, the semitransparent
131 * compositing gives it a different visual appearance.
132 */
133 background-color: rgba(255,159,0,0.75);
ca710c53 134 -moz-border-radius: 4px 4px;
b310ca09
RK
135 -moz-appearance: none;
136}
137
138.progressBar .progress-bar {
139 background-color: #008484;
ca710c53 140 -moz-border-radius: 4px 0px 0px 4px;
b310ca09
RK
141 -moz-appearance: none;
142}
143
144/* .scale-slider is an element inside the <scale> implementation. */
ca710c53 145.scrubber .scale-slider, .volumeControl .scale-slider {
b310ca09
RK
146 /* Hide the default horizontal bar. */
147 background: none;
ca710c53
RK
148 margin: 0;
149}
150
151.scrubber .scale-slider {
152 /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
153 margin-top: -9px;
154 margin-bottom: 10px;
b310ca09
RK
155}
156
157/* .scale-thumb is an element inside the <scale> implementation. */
ca710c53 158.scrubber .scale-thumb {
b310ca09 159 /* Override the default thumb appearance with a custom image. */
ca710c53 160 background: transparent;
b310ca09 161 border: none !important;
b310ca09
RK
162}
163
ca710c53
RK
164.timeThumb {
165 background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
166 min-width: 45px;
167 min-height: 27px;
168 -moz-box-pack: center;
169}
170
171.timeThumb[showhours="true"] {
172 background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
173}
174
175/*
176.timeThumb:hover, .timeThumb:active {
b310ca09
RK
177 background-image: url("chrome://global/skin/media/scrubberThumb-hover.png");
178}
ca710c53
RK
179*/
180
181.timeLabel {
182 color: rgba(0,0,0,0.75);
183 font: 10px sans-serif;
184 text-shadow: rgba(255,259,0, 0.3) 0 1px;
185 padding-top: 2px;
186}
187
188.timeThumb[showhours="true"] > .timeLabel {
189 padding-top: 1px;
190}
191
192.statusOverlay {
193 background-color: rgba(0,0,0,0.55);
194}
195
196.statusIcon {
197 margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
198 width: 36px;
199 height: 36px;
200}
201
202.statusIcon[type="throbber"] {
203 background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
204}
205
206.statusIcon[type="error"] {
207 background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
208}