1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/plugins/content/pluginProblemContent.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,147 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace html url(http://www.w3.org/1999/xhtml); 1.9 + 1.10 +/* Do not change this without also changing the appropriate line in 1.11 + * browser-plugins.js (near where this file is mentioned). */ 1.12 +html|object:not([width]), html|object[width=""], 1.13 +html|embed:not([width]), html|embed[width=""], 1.14 +html|applet:not([width]), html|applet[width=""] { 1.15 + width: 240px; 1.16 +} 1.17 + 1.18 +/* Do not change this without also changing the appropriate line in 1.19 + * browser-plugins.js (near where this file is mentioned). */ 1.20 +html|object:not([height]), html|object[height=""], 1.21 +html|embed:not([height]), html|embed[height=""], 1.22 +html|applet:not([height]), html|applet[height=""] { 1.23 + height: 200px; 1.24 +} 1.25 + 1.26 +:-moz-type-unsupported .mainBox, 1.27 +:-moz-type-unsupported-platform .mainBox, 1.28 +:-moz-handler-clicktoplay .mainBox, 1.29 +:-moz-handler-vulnerable-updatable .mainBox, 1.30 +:-moz-handler-vulnerable-no-update .mainBox, 1.31 +:-moz-handler-disabled .mainBox, 1.32 +:-moz-handler-blocked .mainBox { 1.33 + -moz-user-focus: normal; 1.34 +} 1.35 +:-moz-type-unsupported .mainBox:focus, 1.36 +:-moz-type-unsupported-platform .mainBox:focus, 1.37 +:-moz-handler-clicktoplay .mainBox:focus, 1.38 +:-moz-handler-vulnerable-updatable .mainBox:focus, 1.39 +:-moz-handler-vulnerable-no-update .mainBox:focus, 1.40 +:-moz-handler-disabled .mainBox:focus, 1.41 +:-moz-handler-blocked .mainBox:focus { 1.42 + outline: 1px dotted; 1.43 +} 1.44 + 1.45 +.mainBox { 1.46 + width: inherit; 1.47 + height: inherit; 1.48 + overflow: hidden; 1.49 + direction: ltr; 1.50 + unicode-bidi: embed; 1.51 + /* used to block inherited properties */ 1.52 + text-transform: none; 1.53 + text-indent: 0; 1.54 + cursor: initial; 1.55 + white-space: initial; 1.56 + word-spacing: initial; 1.57 + letter-spacing: initial; 1.58 + line-height: initial; 1.59 + position: relative; 1.60 +} 1.61 + 1.62 +/* Initialize the overlay with visibility:hidden to prevent flickering if 1.63 +* the plugin is too small to show the overlay */ 1.64 +.mainBox > .hoverBox, 1.65 +.mainBox > .closeIcon { 1.66 + visibility: hidden; 1.67 +} 1.68 + 1.69 +.visible > .hoverBox, 1.70 +.visible > .closeIcon { 1.71 + visibility: visible; 1.72 +} 1.73 + 1.74 +.mainBox[chromedir="rtl"] { 1.75 + direction: rtl; 1.76 +} 1.77 + 1.78 +:-moz-handler-playpreview .mainBox { 1.79 + display: none; 1.80 +} 1.81 + 1.82 +:-moz-handler-clicktoplay .hoverBox, 1.83 +:-moz-handler-vulnerable-updatable .hoverBox, 1.84 +:-moz-handler-vulnerable-no-update .hoverBox { 1.85 + cursor: pointer; 1.86 +} 1.87 + 1.88 +.hoverBox > label { 1.89 + cursor: inherit; 1.90 +} 1.91 +.icon { 1.92 + cursor: inherit; 1.93 +} 1.94 + 1.95 +.previewPluginContent { 1.96 + display: none; 1.97 +} 1.98 + 1.99 +.previewPluginContent > iframe { 1.100 + width: inherit; 1.101 + height: inherit; 1.102 + border: none; 1.103 +} 1.104 + 1.105 +:-moz-handler-playpreview .previewPluginContent { 1.106 + display: block; 1.107 + width: inherit; 1.108 + height: inherit; 1.109 + overflow: hidden; 1.110 +} 1.111 + 1.112 +.msg { 1.113 + display: none; 1.114 +} 1.115 + 1.116 +:-moz-type-unsupported .msgUnsupported, 1.117 +:-moz-type-unsupported-platform .msgUnsupportedPlatform, 1.118 +:-moz-handler-clicktoplay .msgClickToPlay, 1.119 +:-moz-handler-vulnerable-updatable .msgVulnerabilityStatus, 1.120 +:-moz-handler-vulnerable-updatable .msgCheckForUpdates, 1.121 +:-moz-handler-vulnerable-updatable .msgClickToPlay, 1.122 +:-moz-handler-vulnerable-no-update .msgVulnerabilityStatus, 1.123 +:-moz-handler-vulnerable-no-update .msgClickToPlay, 1.124 +:-moz-handler-clicktoplay .msgTapToPlay, 1.125 +:-moz-handler-disabled .msgDisabled, 1.126 +:-moz-handler-disabled .msgManagePlugins, 1.127 +:-moz-handler-blocked .msgBlocked, 1.128 +:-moz-handler-crashed .msgCrashed { 1.129 + display: block; 1.130 +} 1.131 + 1.132 +.installStatus[installable] .msgInstallPlugin { 1.133 + display: block; 1.134 +} 1.135 + 1.136 +.submitStatus[status] { 1.137 + display: -moz-box; 1.138 + -moz-box-align: center; 1.139 + -moz-box-pack: center; 1.140 + height: 160px; 1.141 +} 1.142 + 1.143 +.submitStatus[status="noReport"] .msgNoCrashReport, 1.144 +.submitStatus[status="please"] .msgPleaseSubmit, 1.145 +.submitStatus[status="noSubmit"] .msgNotSubmitted, 1.146 +.submitStatus[status="submitting"] .msgSubmitting, 1.147 +.submitStatus[status="success"] .msgSubmitted, 1.148 +.submitStatus[status="failed"] .msgSubmitFailed { 1.149 + display: block; 1.150 +}