+ min-width: 70px;
+ min-height: 60px;
+ background: url(chrome://global/skin/media/error.png) no-repeat center;
+ background-size: contain;
+}
+
+/* Overlay Play button */
+.clickToPlay {
+ min-width: 48px;
+ min-height: 48px;
+ border-radius: 50%;
+ background-image: url(chrome://global/skin/media/playButton.svg#play);
+ background-repeat: no-repeat;
+ background-position: 54% 50%;
+ background-size: 40% 40%;
+ background-color: #1a1a1a;
+ opacity: 0.8;
+ position: relative;
+ top: 20px;
+}
+
+.controlsSpacerStack:hover > .clickToPlay,
+.clickToPlay:hover {
+ opacity: 0.55;
+}
+
+.controlsSpacerStack:hover > .clickToPlay[fadeout] {
+ opacity: 0;
+}
+
+.controlBar[fullscreen-unavailable] .fullscreenButton {
+ display: none;
+}
+
+/* CSS Transitions */
+.clickToPlay {
+ transition-property: transform, opacity;
+ transition-duration: 400ms, 400ms;
+}
+
+.controlsSpacer[fadeout] {
+ opacity: 0;
+}
+
+.clickToPlay[fadeout] {
+ transform: scale(3);
+ opacity: 0;
+}
+
+.clickToPlay[fadeout][immediate] {
+ transition-property: opacity, background-size;
+ transition-duration: 0s, 0s;
+}
+.controlBar:not([immediate]) {
+ transition-property: opacity;
+ transition-duration: 200ms;
+}
+.controlBar[fadeout] {
+ opacity: 0;
+}
+.volumeStack:not([immediate]) {
+ transition-property: opacity, margin-top;
+ transition-duration: 200ms, 200ms;
+}
+.statusOverlay:not([immediate]) {
+ transition-property: opacity;
+ transition-duration: 300ms;
+ transition-delay: 750ms;
+}
+.statusOverlay[fadeout] {
+ opacity: 0;
+}
+
+/* Error description formatting */
+.errorLabel {
+ padding: 0 10px;
+ text-align: center;
+ font: message-box;
+ font-size: 14px;
+ color: #ffffff;
+}
+
+.errorLabel {
+ display: none;
+}
+
+[error="errorAborted"] > [anonid="errorAborted"],
+[error="errorNetwork"] > [anonid="errorNetwork"],
+[error="errorDecode"] > [anonid="errorDecode"],
+[error="errorSrcNotSupported"] > [anonid="errorSrcNotSupported"],
+[error="errorNoSource"] > [anonid="errorNoSource"],
+[error="errorGeneric"] > [anonid="errorGeneric"] {
+ display: inline;
+}
+
+/* For high contrast theme in Windows */
+%ifdef XP_WIN
+.controlsSpacer,
+.clickToPlay {
+ background-color: transparent;
+}
+
+@media (-moz-windows-default-theme) {
+ .controlsSpacer {
+ background-color: rgba(255,255,255,.4);
+ }
+
+ .clickToPlay {
+ background-color: #1a1a1a;
+ }