X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmozapps%2Fplugins%2FpluginProblem.css;h=23d0f40e8fa92807d4ce48193d3c8bd4ccf0b13f;hp=e0b6f2ad0905a220a02e7d3c2a9665176714c52e;hb=c60d23d202dd9e6ec3e47e1c54e20329d0afb68b;hpb=569543b3d2d5099d602cc6644b026ee2adf3e00a diff --git a/EarlyBlue/mozapps/plugins/pluginProblem.css b/EarlyBlue/mozapps/plugins/pluginProblem.css index e0b6f2ad..23d0f40e 100644 --- a/EarlyBlue/mozapps/plugins/pluginProblem.css +++ b/EarlyBlue/mozapps/plugins/pluginProblem.css @@ -3,14 +3,14 @@ /* These styles affect only the bound element, not other page content. */ .mainBox { - 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; + 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; } html|a { @@ -18,48 +18,71 @@ html|a { } .icon { - min-width: 48px; - min-height: 48px; - background-position: center; - background-repeat: no-repeat; + min-width: 48px; + min-height: 48px; + background-position: center; + background-repeat: no-repeat; } :-moz-type-unsupported .icon { - background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png"); + 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-handler-clicktoplay .icon { + background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlay.png"); } :-moz-handler-disabled .icon { - background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png"); + background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png"); } :-moz-handler-blocked .icon { - background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png"); + background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png"); } :-moz-handler-crashed .icon { - background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.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; + font-size: 12px; + cursor: default; +} + +:-moz-handler-clicktoplay, +.msgClickToPlay { + cursor: pointer; +} + +@media not all and (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgTapToPlay { + display: none; + } +} + +@media (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgClickToPlay { + display: none; + } } .submitStatus div { - min-height: 19px; /* height of biggest line (with throbber) */ + min-height: 19px; /* height of biggest line (with throbber) */ } .msgBottomLinks { - padding-left: 2px; - padding-right: 2px; + padding-left: 2px; + padding-right: 2px; } .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; }