X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fmedia%2Fvideocontrols.css;h=cec2df23c53d557cef5fc544c7831c4fbfad0c62;hb=db6435b42b5bc5e281dffca62a73b2ca35264f09;hp=fa8cbfa343b6a0c3d2d213e1455ece3a73b6e782;hpb=569543b3d2d5099d602cc6644b026ee2adf3e00a;p=themes.git diff --git a/LCARStrek/global/media/videocontrols.css b/LCARStrek/global/media/videocontrols.css index fa8cbfa3..cec2df23 100644 --- a/LCARStrek/global/media/videocontrols.css +++ b/LCARStrek/global/media/videocontrols.css @@ -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; } @@ -106,6 +106,10 @@ 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. */ @@ -206,3 +210,28 @@ .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; +}