nicer borders for volume sliders
[themes.git] / LCARStrek / global / media / videocontrols.css
index fa8cbfa343b6a0c3d2d213e1455ece3a73b6e782..cec2df23c53d557cef5fc544c7831c4fbfad0c62 100644 (file)
@@ -66,6 +66,7 @@
   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;
+  border-radius: 3px 3px 0 0;
 }
 
 .volumeControl {
@@ -92,7 +93,6 @@
   border-radius: 4px 4px;
 }
 
-
 .durationBox {
   -moz-box-pack: center;
 }
   font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
 }
 
+.positionLabel {
+  display: none;
+}
+
 .backgroundBar {
   /* margin top/bottom: make bar 8px tall (control height = 28, minus 2 * 10 margin) */
   /* margin left/right: 1/2 of scrubber thumb width, for overhang. */
 .statusIcon[type="error"] {
   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;
+}