X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fmedia%2Fvideocontrols.css;h=783e0c2b0db2e1d18135908d8cd61466cb5dab78;hp=4f11c9f55aff9d020802f467cb66b6cfabcd67ed;hb=4b1ccdb4c3b21dd1933b2e9e97a90f883dd833ef;hpb=3327253ed3b6be3c4cc98847e444c55f9a268d45 diff --git a/LCARStrek/global/media/videocontrols.css b/LCARStrek/global/media/videocontrols.css index 4f11c9f5..783e0c2b 100644 --- a/LCARStrek/global/media/videocontrols.css +++ b/LCARStrek/global/media/videocontrols.css @@ -89,7 +89,7 @@ /* 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; } @@ -111,7 +111,7 @@ /* 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 +132,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 +206,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; +}