X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmozapps%2Fplugins%2FpluginProblem.css;h=90dc5de8e54d5dbe1a8decf4bca0a39818ce1378;hp=0dda905fbed60a53025a056388507b70b3e3753f;hb=HEAD;hpb=2c225fcbeaa337cfcdc3d469ab3a9b416f5d8fae diff --git a/EarlyBlue/mozapps/plugins/pluginProblem.css b/EarlyBlue/mozapps/plugins/pluginProblem.css index 0dda905f..90dc5de8 100644 --- a/EarlyBlue/mozapps/plugins/pluginProblem.css +++ b/EarlyBlue/mozapps/plugins/pluginProblem.css @@ -15,12 +15,11 @@ background-color: #CCD0DD; color: #000000; -moz-user-select: none; - position: relative; } .hoverBox { display: table-cell; - -moz-box-sizing: border-box; + box-sizing: border-box; padding: 5px; vertical-align: middle; width: 100%; @@ -33,11 +32,8 @@ background-color: #CCCCCC; } -:-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay, :-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay, -:-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay, :-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay, -:-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay, :-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay { color: red; } @@ -63,13 +59,6 @@ html|a { margin-bottom: 6px; } -:-moz-type-unsupported .icon, -:-moz-type-unsupported-platform .icon { - background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png"); -} -:-moz-type-unsupported .icon[installable] { - background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png"); -} :-moz-handler-vulnerable-updatable .icon, :-moz-handler-vulnerable-no-update .icon { background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png"); @@ -82,9 +71,6 @@ html|a { background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png"); -moz-user-focus: normal; } -:-moz-handler-disabled .icon { - background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png"); -} :-moz-handler-crashed .icon { background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png"); } @@ -95,21 +81,14 @@ html|a { margin-left: 5px; } -.msgTapToPlay, .msgClickToPlay { text-decoration: underline; } -@media not all and (-moz-touch-enabled) { - :-moz-handler-clicktoplay .msgTapToPlay { - display: none; - } -} - -@media (-moz-touch-enabled) { - :-moz-handler-clicktoplay .msgClickToPlay { - display: none; - } +/* on desktop, don't ever show the tap-to-play UI: that is for mobile only */ +:-moz-handler-clicktoplay .msgTapToPlay, +a .msgTapToPlay { + display: none; } .submitStatus div { @@ -168,22 +147,17 @@ html|a { .closeIcon { display: block; - position: absolute; width: 16px; height: 16px; - top: 4px; - right: 4px; + margin-top: 4px; + margin-inline-start: -20px; + margin-inline-end: 4px; border: none; background-color: transparent; background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png"); background-repeat: no-repeat; } -.mainBox[chromedir="rtl"] .closeIcon { - right: auto; - left: 4px; -} - .action-link { display: inline-block; border-radius: 10px;