sync both themes for toolkit changes in toolkit winstripe in the Mozilla 8 cycle
[themes.git] / EarlyBlue / global / media / videocontrols.css
index a6d708c9eec3a5412b59c28efdaafe5dd7776044..992f406d44d02be05b3a8e8352c09aad71327b40 100644 (file)
@@ -69,7 +69,6 @@
   background-color: rgba(0,0,0,0.5);
 }
 
-
 .durationBox {
   -moz-box-pack: center;
 }
   padding-left: 8px; /* don't bump into the scrubber bar */
   padding-top: 0px; /* center vertically with scrubber bar */
   color: rgba(204,208,221,0.75);
-  font: 11px sans-serif;
+  font-size: 11px;
+  font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+}
+
+.positionLabel {
+  display: none;
 }
 
 .backgroundBar {
 }
 
 .scrubber .scale-slider {
-    /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
-    margin-top: -9px;
-    margin-bottom: 10px;
+  /* abs(margin-top) + margin-bottom + bar height == timeThumb height */
+  margin-top: -10px;
+  margin-bottom: 10px;
 }
 
 /* .scale-thumb is an element inside the <scale> implementation. */
 }
 
 .timeThumb {
-    background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
-    min-width: 45px;
-    min-height: 27px;
-    -moz-box-pack: center;
+  background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center;
+  min-width: 45px;
+  min-height: 28px;
+  -moz-box-pack: center;
 }
 
 .timeThumb[showhours="true"] {
-    background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
+  background: url("chrome://global/skin/media/scrubberThumbWide.png") no-repeat center;
 }
 
 /*
 */
 
 .timeLabel {
-    color: rgba(0,0,0,0.75);
-    font: 10px sans-serif;
-    text-shadow: rgba(102,102,153, 0.3) 0 1px;
-    padding-top: 2px;
-}
-
-.timeThumb[showhours="true"] > .timeLabel {
-    padding-top: 1px;
+  color: rgba(0,0,0,0.75);
+  font-size: 10px;
+  font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+  text-shadow: rgba(102,102,153, 0.3) 0 1px;
+  padding-top: 2px;
 }
 
 .statusOverlay {
-    background-color: rgba(0,0,0,0.55);
+  -moz-box-align: center;
+  -moz-box-pack: center;
+  background-color: rgba(0,0,0,0.55);
 }
 
 .statusIcon {
-    margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
-    width: 32px;
-    height: 32px;
+  margin-bottom: 28px; /* same height as .controlBar, to keep icon centered above it */
+  width: 32px;
+  height: 32px;
 }
 
 .statusIcon[type="throbber"] {
-    background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
+  background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center;
 }
-
+/*
+.statusIcon[type="throbber"][stalled] {
+  background: url("chrome://global/skin/media/stalled.png") no-repeat center;
+}
+*/
 .statusIcon[type="error"] {
-    background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
+  background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
+}
+
+/* CSS Transitions */
+.controlBar:not([immediate]) {
+  -moz-transition-property: opacity;
+  -moz-transition-duration: 200ms;
+}
+.controlBar[fadeout] {
+  opacity: 0;
+}
+.volumeStack:not([immediate]) {
+  -moz-transition-property: opacity, margin-top;
+  -moz-transition-duration: 200ms, 200ms;
+}
+.volumeStack[fadeout] {
+  opacity: 0;
+  margin-top: 0;
+}
+.statusOverlay:not([immediate]) {
+  -moz-transition-property: opacity;
+  -moz-transition-duration: 300ms;
+  -moz-transition-delay: 750ms;
+}
+.statusOverlay[fadeout] {
+  opacity: 0;
 }