X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fmedia%2Fvideocontrols.css;h=1c7d9fc46fd4052a4d46535f7c432daac19f32c0;hp=003f6afe1e449cfdf35296b6dbc32eb1b85146b2;hb=f0071a71f9136df06916ed7f38023a413c686ebd;hpb=9162a092d2729702ec879ee58403181514202e50 diff --git a/LCARStrek/global/media/videocontrols.css b/LCARStrek/global/media/videocontrols.css index 003f6afe..1c7d9fc4 100644 --- a/LCARStrek/global/media/videocontrols.css +++ b/LCARStrek/global/media/videocontrols.css @@ -1,4 +1,5 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); .controlBar { height: 28px; @@ -37,10 +38,10 @@ .playButton:hover { background-image: url("chrome://global/skin/media/pauseButton-hover.png"); } -.playButton[paused="true"] { +.playButton[paused] { background-image: url("chrome://global/skin/media/playButton.png"); } -.playButton[paused="true"]:hover { +.playButton[paused]:hover { background-image: url("chrome://global/skin/media/playButton-hover.png"); } @@ -50,13 +51,39 @@ .muteButton:hover { background-image: url("chrome://global/skin/media/muteButton-hover.png"); } -.muteButton[muted="true"] { +.muteButton[muted] { background-image: url("chrome://global/skin/media/unmuteButton.png"); } -.muteButton[muted="true"]:hover { +.muteButton[muted]:hover { background-image: url("chrome://global/skin/media/unmuteButton-hover.png"); } +.fullscreenButton { + background-color: transparent; + list-style-image: url("chrome://global/skin/media/fullscreenButton.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + -moz-appearance: none; + margin: 0; + padding: 0; + min-height: 28px; + min-width: 28px; + border: none; +} + +.fullscreenButton:hover { + background-color: rgba(255,207,0,0.75); + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +.fullscreenButton[fullscreened] { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +.fullscreenButton[fullscreened]:hover { + background-color: rgba(255,207,0,0.75); + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + .volumeStack { width: 28px; height: 70px; @@ -66,6 +93,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 { @@ -205,11 +233,40 @@ .statusIcon[type="throbber"] { background: url("chrome://communicator/skin/brand/throbber-anim.gif") no-repeat center; } - +/* +.statusIcon[type="throbber"][stalled] { + background: url("chrome://global/skin/media/stalled.png") no-repeat center; +} +*/ .statusIcon[type="error"] { background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center; } +/* Statistics formatting */ +html|*.statsDiv { + position: relative; +} +html|td { + height: 1em; + max-height: 1em; + padding: 0 2px; +} +html|table { + font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + font-size: 11px; + color: white; + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; + min-width: 100%; + background: rgba(68,68,111,.7); + table-layout: fixed; + border-collapse: collapse; + position: absolute; +} + /* CSS Transitions */ .controlBar:not([immediate]) { -moz-transition-property: opacity; @@ -234,3 +291,17 @@ .statusOverlay[fadeout] { opacity: 0; } + +/* Error description formatting */ +.errorLabel { + font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + font-size: 11px; + color: #E7ADE7; + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; + padding: 0 10px; + text-align: center; +}