summaryrefslogtreecommitdiffstats
path: root/toolkit/pluginproblem/content/pluginProblemContent.css
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/pluginproblem/content/pluginProblemContent.css')
-rw-r--r--toolkit/pluginproblem/content/pluginProblemContent.css116
1 files changed, 116 insertions, 0 deletions
diff --git a/toolkit/pluginproblem/content/pluginProblemContent.css b/toolkit/pluginproblem/content/pluginProblemContent.css
new file mode 100644
index 000000000..43a9f52dc
--- /dev/null
+++ b/toolkit/pluginproblem/content/pluginProblemContent.css
@@ -0,0 +1,116 @@
+/* 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);
+
+/* Do not change this without also changing the appropriate line in
+ * browser-plugins.js (near where this file is mentioned). */
+html|object:not([width]), html|object[width=""],
+html|embed:not([width]), html|embed[width=""],
+html|applet:not([width]), html|applet[width=""] {
+ width: 240px;
+}
+
+/* Do not change this without also changing the appropriate line in
+ * browser-plugins.js (near where this file is mentioned). */
+html|object:not([height]), html|object[height=""],
+html|embed:not([height]), html|embed[height=""],
+html|applet:not([height]), html|applet[height=""] {
+ height: 200px;
+}
+
+a .mainBox,
+:-moz-handler-clicktoplay .mainBox,
+:-moz-handler-vulnerable-updatable .mainBox,
+:-moz-handler-vulnerable-no-update .mainBox,
+:-moz-handler-blocked .mainBox {
+ -moz-user-focus: normal;
+}
+a .mainBox:focus,
+:-moz-handler-clicktoplay .mainBox:focus,
+:-moz-handler-vulnerable-updatable .mainBox:focus,
+:-moz-handler-vulnerable-no-update .mainBox:focus,
+:-moz-handler-blocked .mainBox:focus {
+ outline: 1px dotted;
+}
+
+.mainBox {
+ width: inherit;
+ height: inherit;
+ overflow: hidden;
+ direction: ltr;
+ unicode-bidi: embed;
+ /* used to block inherited properties */
+ text-transform: none;
+ text-indent: 0;
+ cursor: initial;
+ white-space: initial;
+ word-spacing: initial;
+ letter-spacing: initial;
+ line-height: initial;
+}
+
+/* Initialize the overlay with visibility:hidden to prevent flickering if
+* the plugin is too small to show the overlay */
+.mainBox > .hoverBox,
+.mainBox > .closeIcon {
+ visibility: hidden;
+}
+
+.visible > .hoverBox,
+.visible > .closeIcon {
+ visibility: visible;
+}
+
+.mainBox[chromedir="rtl"] {
+ direction: rtl;
+}
+
+a .hoverBox,
+:-moz-handler-clicktoplay .hoverBox,
+:-moz-handler-vulnerable-updatable .hoverBox,
+:-moz-handler-vulnerable-no-update .hoverBox {
+ cursor: pointer;
+}
+
+.hoverBox > label {
+ cursor: inherit;
+}
+.icon {
+ cursor: inherit;
+}
+
+.msg {
+ display: none;
+}
+
+a .msgClickToPlay,
+a .msgTapToPlay,
+:-moz-handler-clicktoplay .msgClickToPlay,
+:-moz-handler-vulnerable-updatable .msgVulnerabilityStatus,
+:-moz-handler-vulnerable-updatable .msgCheckForUpdates,
+:-moz-handler-vulnerable-updatable .msgClickToPlay,
+:-moz-handler-vulnerable-no-update .msgVulnerabilityStatus,
+:-moz-handler-vulnerable-no-update .msgClickToPlay,
+:-moz-handler-clicktoplay .msgTapToPlay,
+:-moz-handler-blocked .msgBlocked,
+:-moz-handler-crashed .msgCrashed {
+ display: block;
+}
+
+.submitStatus[status] {
+ display: -moz-box;
+ -moz-box-align: center;
+ -moz-box-pack: center;
+ height: 160px;
+}
+
+.submitStatus[status="noReport"] .msgNoCrashReport,
+.submitStatus[status="please"] .msgPleaseSubmit,
+.submitStatus[status="noSubmit"] .msgNotSubmitted,
+.submitStatus[status="submitting"] .msgSubmitting,
+.submitStatus[status="success"] .msgSubmitted,
+.submitStatus[status="failed"] .msgSubmitFailed {
+ display: block;
+}