X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmozapps%2Fplugins%2FpluginProblem.css;h=08d4838ca78106b73abbbdf570781fd14fff4c71;hp=a8ee73c931cedbe48f42def96ba69f8b93356263;hb=a6c8d0f5eca89404094b51eee861f983d2a2a483;hpb=a064a54072180bda29a2d7b0ce33cd1e57612218 diff --git a/EarlyBlue/mozapps/plugins/pluginProblem.css b/EarlyBlue/mozapps/plugins/pluginProblem.css index a8ee73c9..08d4838c 100644 --- a/EarlyBlue/mozapps/plugins/pluginProblem.css +++ b/EarlyBlue/mozapps/plugins/pluginProblem.css @@ -1,16 +1,25 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + @namespace html url(http://www.w3.org/1999/xhtml); /* These styles affect only the bound element, not other page content. */ .mainBox { - text-align: center; - background-color: #CCD0DD; - color: #000000; - -moz-border-radius: 12px; - /* recessed effect with 'disabled' shadow */ - -moz-box-shadow: inset 0 1px 5px #808080; - padding: 5px; - -moz-user-select: none; + text-align: center; + background-color: #CCD0DD; + color: #000000; + border-radius: 12px; + /* recessed effect with 'disabled' shadow */ + box-shadow: inset 0 1px 5px #808080; + padding: 5px; + -moz-user-select: none; + position: relative; +} + +.hoverBox { + padding: 5px; } html|a { @@ -18,51 +27,174 @@ html|a { } .icon { - min-width: 48px; - min-height: 48px; - background-position: center; - background-repeat: no-repeat; + display: inline-block; + width: 48px; + height: 48px; + background-position: center; + background-repeat: no-repeat; + border: none; + background-color: transparent; +} +:-moz-type-unsupported .icon, +:-moz-type-unsupported-platform .icon { + background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png"); +} +:-moz-type-unsupported .icon[status="ready"] { + background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png"); } -:-moz-type-unsupported .icon { - background-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +:-moz-handler-vulnerable-updatable .icon, +:-moz-handler-vulnerable-no-update .icon { + background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlay.png"); } + +:-moz-handler-clicktoplay .icon { + background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlayPlain.png"); + background-position: 0 0; +} +:-moz-handler-clicktoplay .hoverBox:hover .icon, +:-moz-handler-clicktoplay .hoverBox:hover:active .icon { + background-position: -48px 0; +} + :-moz-handler-disabled .icon { - background-image: url("chrome://mozapps/skin/plugins/pluginDisabled.png"); + background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png"); } :-moz-handler-blocked .icon { - background-image: url("chrome://mozapps/skin/plugins/pluginBlocked.png"); + background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png"); } :-moz-handler-crashed .icon { - background-image: url("chrome://mozapps/skin/plugins/pluginCrashed.png"); + background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png"); } .throbber { - padding-left: 16px; /* width of the background image */ - background: url("chrome://global/skin/icons/loading.gif") no-repeat; - margin-left: 5px; + padding-left: 16px; /* width of the background image */ + background: url("chrome://global/skin/icons/loading.gif") no-repeat; + margin-left: 5px; } .msg { - font-size: 12px; - cursor: default; + cursor: default; + width: 100%; +} + +:-moz-handler-clicktoplay .mainBox, +:-moz-handler-clicktoplay .icon, +:-moz-handler-clicktoplay .msgClickToPlay, +:-moz-handler-vulnerable-updatable .msgClickToPlay, +:-moz-handler-vulnerable-no-update .msgClickToPlay { + cursor: pointer; } -.msgBottomLinks { - padding-left: 2px; - padding-right: 2px; +@media not all and (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgTapToPlay { + display: none; + } } -.msgBottomLinks div { - text-align: right; - margin-right: 4px; - margin-bottom: -19px; - min-height: 19px; /* height of biggest line (with throbber) */ +@media (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgClickToPlay { + display: none; + } +} + +.submitStatus div { + min-height: 19px; /* height of biggest line (with throbber) */ +} + +.submitComment { + width: 340px; + height: 70px; + padding: 5px; + border: none; + border-radius: 5px; + resize: none; + font-family: inherit; + font-size: inherit; +} + +.submitURLOptInBox { + text-align: start; +} + +.submitURLOptIn { + margin-left: -1px; +} + +.mainBox[chromedir="rtl"] .submitURLOptIn { + margin-left: 0; + margin-right: -1px; +} + +.submitButtonBox { + margin-top: 7px; +} + +.submitButton { + float: right; +} + +.mainBox[chromedir="rtl"] .submitButton { + float: left; } .helpIcon { - float: left; - display: inline-block; - min-width: 16px; - min-height: 16px; - background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat; + float: left; + display: inline-block; + min-width: 16px; + min-height: 16px; + background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat; + cursor: pointer; + float: left; +} + +.mainBox[chromedir="rtl"] .helpIcon { + float: right; +} + +.closeIcon { + display: block; + position: absolute; + width: 16px; + height: 16px; + top: 4px; + right: 4px; + border: none; + background-color: transparent; + background-image: url("chrome://global/skin/icons/close-button.gif"); + background-repeat: no-repeat; +} + +.closeIcon:-moz-locale-dir(rtl) { + right: auto; + left: 4px; +} + +:-moz-handler-clicktoplay .mainBox { + background-image: none; + background-color: rgba(255, 255, 255, .2); + border: 1px dashed rgba(128, 128, 128, 0.5); + color: #808080; + text-shadow: none; + box-shadow: none; + transition: background-color 150ms ease; +} + +:-moz-handler-clicktoplay .mainBox:hover, +:-moz-handler-clicktoplay .mainBox:hover:active { + background-color: rgba(255, 255, 255, .8); +} + +:-moz-handler-clicktoplay .mainBox, +:-moz-handler-clicktoplay html|a { + color: #000000; +} + +:-moz-handler-clicktoplay .hoverBox:hover, +:-moz-handler-clicktoplay .hoverBox:hover html|a, +:-moz-handler-clicktoplay .hoverBox:hover:active, +:-moz-handler-clicktoplay .hoverBox:hover:active html|a { +} + +:-moz-handler-clicktoplay .closeIcon { + background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png"); }