michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace html url(http://www.w3.org/1999/xhtml); michael@0: michael@0: /* Do not change this without also changing the appropriate line in michael@0: * browser-plugins.js (near where this file is mentioned). */ michael@0: html|object:not([width]), html|object[width=""], michael@0: html|embed:not([width]), html|embed[width=""], michael@0: html|applet:not([width]), html|applet[width=""] { michael@0: width: 240px; michael@0: } michael@0: michael@0: /* Do not change this without also changing the appropriate line in michael@0: * browser-plugins.js (near where this file is mentioned). */ michael@0: html|object:not([height]), html|object[height=""], michael@0: html|embed:not([height]), html|embed[height=""], michael@0: html|applet:not([height]), html|applet[height=""] { michael@0: height: 200px; michael@0: } michael@0: michael@0: :-moz-type-unsupported .mainBox, michael@0: :-moz-type-unsupported-platform .mainBox, michael@0: :-moz-handler-clicktoplay .mainBox, michael@0: :-moz-handler-vulnerable-updatable .mainBox, michael@0: :-moz-handler-vulnerable-no-update .mainBox, michael@0: :-moz-handler-disabled .mainBox, michael@0: :-moz-handler-blocked .mainBox { michael@0: -moz-user-focus: normal; michael@0: } michael@0: :-moz-type-unsupported .mainBox:focus, michael@0: :-moz-type-unsupported-platform .mainBox:focus, michael@0: :-moz-handler-clicktoplay .mainBox:focus, michael@0: :-moz-handler-vulnerable-updatable .mainBox:focus, michael@0: :-moz-handler-vulnerable-no-update .mainBox:focus, michael@0: :-moz-handler-disabled .mainBox:focus, michael@0: :-moz-handler-blocked .mainBox:focus { michael@0: outline: 1px dotted; michael@0: } michael@0: michael@0: .mainBox { michael@0: width: inherit; michael@0: height: inherit; michael@0: overflow: hidden; michael@0: direction: ltr; michael@0: unicode-bidi: embed; michael@0: /* used to block inherited properties */ michael@0: text-transform: none; michael@0: text-indent: 0; michael@0: cursor: initial; michael@0: white-space: initial; michael@0: word-spacing: initial; michael@0: letter-spacing: initial; michael@0: line-height: initial; michael@0: position: relative; michael@0: } michael@0: michael@0: /* Initialize the overlay with visibility:hidden to prevent flickering if michael@0: * the plugin is too small to show the overlay */ michael@0: .mainBox > .hoverBox, michael@0: .mainBox > .closeIcon { michael@0: visibility: hidden; michael@0: } michael@0: michael@0: .visible > .hoverBox, michael@0: .visible > .closeIcon { michael@0: visibility: visible; michael@0: } michael@0: michael@0: .mainBox[chromedir="rtl"] { michael@0: direction: rtl; michael@0: } michael@0: michael@0: :-moz-handler-playpreview .mainBox { michael@0: display: none; michael@0: } michael@0: michael@0: :-moz-handler-clicktoplay .hoverBox, michael@0: :-moz-handler-vulnerable-updatable .hoverBox, michael@0: :-moz-handler-vulnerable-no-update .hoverBox { michael@0: cursor: pointer; michael@0: } michael@0: michael@0: .hoverBox > label { michael@0: cursor: inherit; michael@0: } michael@0: .icon { michael@0: cursor: inherit; michael@0: } michael@0: michael@0: .previewPluginContent { michael@0: display: none; michael@0: } michael@0: michael@0: .previewPluginContent > iframe { michael@0: width: inherit; michael@0: height: inherit; michael@0: border: none; michael@0: } michael@0: michael@0: :-moz-handler-playpreview .previewPluginContent { michael@0: display: block; michael@0: width: inherit; michael@0: height: inherit; michael@0: overflow: hidden; michael@0: } michael@0: michael@0: .msg { michael@0: display: none; michael@0: } michael@0: michael@0: :-moz-type-unsupported .msgUnsupported, michael@0: :-moz-type-unsupported-platform .msgUnsupportedPlatform, michael@0: :-moz-handler-clicktoplay .msgClickToPlay, michael@0: :-moz-handler-vulnerable-updatable .msgVulnerabilityStatus, michael@0: :-moz-handler-vulnerable-updatable .msgCheckForUpdates, michael@0: :-moz-handler-vulnerable-updatable .msgClickToPlay, michael@0: :-moz-handler-vulnerable-no-update .msgVulnerabilityStatus, michael@0: :-moz-handler-vulnerable-no-update .msgClickToPlay, michael@0: :-moz-handler-clicktoplay .msgTapToPlay, michael@0: :-moz-handler-disabled .msgDisabled, michael@0: :-moz-handler-disabled .msgManagePlugins, michael@0: :-moz-handler-blocked .msgBlocked, michael@0: :-moz-handler-crashed .msgCrashed { michael@0: display: block; michael@0: } michael@0: michael@0: .installStatus[installable] .msgInstallPlugin { michael@0: display: block; michael@0: } michael@0: michael@0: .submitStatus[status] { michael@0: display: -moz-box; michael@0: -moz-box-align: center; michael@0: -moz-box-pack: center; michael@0: height: 160px; michael@0: } michael@0: michael@0: .submitStatus[status="noReport"] .msgNoCrashReport, michael@0: .submitStatus[status="please"] .msgPleaseSubmit, michael@0: .submitStatus[status="noSubmit"] .msgNotSubmitted, michael@0: .submitStatus[status="submitting"] .msgSubmitting, michael@0: .submitStatus[status="success"] .msgSubmitted, michael@0: .submitStatus[status="failed"] .msgSubmitFailed { michael@0: display: block; michael@0: }