X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fmedia%2Fvideocontrols.css;h=ed06a384390d9eefea057e79f74a9df9f44647b8;hb=1f0c82bb9de8e738721734805e06e3c130c561a4;hp=7ac72755df0e796737978935c65d4f679e8f6bb5;hpb=1e140ad9404c156764e2dfddf7551f222cf630b7;p=themes.git diff --git a/EarlyBlue/global/media/videocontrols.css b/EarlyBlue/global/media/videocontrols.css index 7ac72755..ed06a384 100644 --- a/EarlyBlue/global/media/videocontrols.css +++ b/EarlyBlue/global/media/videocontrols.css @@ -69,7 +69,6 @@ background-color: rgba(0,0,0,0.5); } - .durationBox { -moz-box-pack: center; } @@ -80,7 +79,11 @@ padding-top: 0px; /* center vertically with scrubber bar */ color: rgba(204,208,221,0.75); font-size: 11px; - font-family: helvetica,arial,tahoma,sans-serif; + font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +.positionLabel { + display: none; } .backgroundBar { @@ -124,9 +127,9 @@ } .scrubber .scale-slider { - /* abs(margin-top) + margin-bottom + bar height == timeThumb height */ - margin-top: -10px; - 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 implementation. */ @@ -137,14 +140,14 @@ } .timeThumb { - background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center; - min-width: 45px; - min-height: 28px; - -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; } /* @@ -154,27 +157,54 @@ */ .timeLabel { - color: rgba(0,0,0,0.75); - font-size: 10px; - font-family: helvetica,arial,tahoma,sans-serif; - text-shadow: rgba(102,102,153, 0.3) 0 1px; - padding-top: 2px; + 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="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; }