X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fmedia%2Fvideocontrols.css;h=003f6afe1e449cfdf35296b6dbc32eb1b85146b2;hb=319c652960805bfc825e4c20087f0235b3cab27b;hp=4f11c9f55aff9d020802f467cb66b6cfabcd67ed;hpb=3327253ed3b6be3c4cc98847e444c55f9a268d45;p=themes.git diff --git a/LCARStrek/global/media/videocontrols.css b/LCARStrek/global/media/videocontrols.css index 4f11c9f5..003f6afe 100644 --- a/LCARStrek/global/media/videocontrols.css +++ b/LCARStrek/global/media/videocontrols.css @@ -89,10 +89,9 @@ /* 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); - -moz-border-radius: 4px 4px; + border-radius: 4px 4px; } - .durationBox { -moz-box-pack: center; } @@ -106,12 +105,16 @@ 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. */ margin: 10px 22px; background-color: rgba(0,0,0,0.75); - -moz-border-radius: 4px 4px; + border-radius: 4px 4px; } .bufferBar, .progressBar { @@ -132,13 +135,13 @@ * compositing gives it a different visual appearance. */ background-color: rgba(255,159,0,0.75); - -moz-border-radius: 4px 4px; + border-radius: 4px 4px; -moz-appearance: none; } .progressBar .progress-bar { background-color: #008484; - -moz-border-radius: 4px 0px 0px 4px; + border-radius: 4px 0px 0px 4px; -moz-appearance: none; } @@ -206,3 +209,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; +}