sync both themes to suite classic theme changes in SeaMonkey 2.25 cycle
[themes.git] / EarlyBlue / global / media / videocontrols.css
index 51276bd56295fef27cb17ed4920caaad878a4bf7..3a700c2c999352bdffb27b42f94e61bcaa63a9d9 100644 (file)
   background-image: url("chrome://global/skin/media/noAudio.png");
 }
 
+.muteButton[noAudio] + .volumeStack {
+  display: none;
+}
+
 .fullscreenButton {
   background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0);
 }
   background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
 }
 
-.volumeStack {
-  width: 28px;
-  height: 70px;
-  background-color: rgba(102,102,153,0.74);
-  /* use negative margin to place stack over the mute button to its left. */
-  margin: -70px 3px 28px -31px;
-  overflow: hidden; /* crop it when sliding down, don't grow the control bar */
-  position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
-  padding-top: 6px;
+.volumeControl {
+  width: 32px;
+  opacity: 0;
 }
 
-.volumeControl {
-  min-height: 64px;
+.volumeBackground,
+.volumeForeground {
+  background-repeat: no-repeat;
+  background-position: center;
+  width: 32px;
 }
 
-/* .scale-thumb is an element inside the <scale> implementation. */
-.volumeControl .scale-thumb {
-  /* Override the default thumb appearance with a custom image. */
-  -moz-appearance: none;
-  background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
-  border: none !important;
-  min-width: 20px;
-  min-height: 10px;
+.volumeBackground {
+  background-image: url("chrome://global/skin/media/volume-empty.png");
 }
 
-.volumeBackgroundBar {
-  /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
-  margin: 0px 10px;
-  background-color: rgba(0,0,0,0.5);
+.volumeForeground {
+  background-image: url("chrome://global/skin/media/volume-full.png");
+  background-clip: content-box;
 }
 
 .durationBox {
 }
 
 /* .scale-thumb is an element inside the <scale> implementation. */
-.scrubber .scale-thumb {
+.scrubber .scale-thumb,
+.volumeControl .scale-thumb {
   /* Override the default thumb appearance with a custom image. */
   background: transparent;
   border: none !important;