toolkit/mozapps/plugins/content/pluginProblemContent.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 @namespace html url(http://www.w3.org/1999/xhtml);
michael@0 6
michael@0 7 /* Do not change this without also changing the appropriate line in
michael@0 8 * browser-plugins.js (near where this file is mentioned). */
michael@0 9 html|object:not([width]), html|object[width=""],
michael@0 10 html|embed:not([width]), html|embed[width=""],
michael@0 11 html|applet:not([width]), html|applet[width=""] {
michael@0 12 width: 240px;
michael@0 13 }
michael@0 14
michael@0 15 /* Do not change this without also changing the appropriate line in
michael@0 16 * browser-plugins.js (near where this file is mentioned). */
michael@0 17 html|object:not([height]), html|object[height=""],
michael@0 18 html|embed:not([height]), html|embed[height=""],
michael@0 19 html|applet:not([height]), html|applet[height=""] {
michael@0 20 height: 200px;
michael@0 21 }
michael@0 22
michael@0 23 :-moz-type-unsupported .mainBox,
michael@0 24 :-moz-type-unsupported-platform .mainBox,
michael@0 25 :-moz-handler-clicktoplay .mainBox,
michael@0 26 :-moz-handler-vulnerable-updatable .mainBox,
michael@0 27 :-moz-handler-vulnerable-no-update .mainBox,
michael@0 28 :-moz-handler-disabled .mainBox,
michael@0 29 :-moz-handler-blocked .mainBox {
michael@0 30 -moz-user-focus: normal;
michael@0 31 }
michael@0 32 :-moz-type-unsupported .mainBox:focus,
michael@0 33 :-moz-type-unsupported-platform .mainBox:focus,
michael@0 34 :-moz-handler-clicktoplay .mainBox:focus,
michael@0 35 :-moz-handler-vulnerable-updatable .mainBox:focus,
michael@0 36 :-moz-handler-vulnerable-no-update .mainBox:focus,
michael@0 37 :-moz-handler-disabled .mainBox:focus,
michael@0 38 :-moz-handler-blocked .mainBox:focus {
michael@0 39 outline: 1px dotted;
michael@0 40 }
michael@0 41
michael@0 42 .mainBox {
michael@0 43 width: inherit;
michael@0 44 height: inherit;
michael@0 45 overflow: hidden;
michael@0 46 direction: ltr;
michael@0 47 unicode-bidi: embed;
michael@0 48 /* used to block inherited properties */
michael@0 49 text-transform: none;
michael@0 50 text-indent: 0;
michael@0 51 cursor: initial;
michael@0 52 white-space: initial;
michael@0 53 word-spacing: initial;
michael@0 54 letter-spacing: initial;
michael@0 55 line-height: initial;
michael@0 56 position: relative;
michael@0 57 }
michael@0 58
michael@0 59 /* Initialize the overlay with visibility:hidden to prevent flickering if
michael@0 60 * the plugin is too small to show the overlay */
michael@0 61 .mainBox > .hoverBox,
michael@0 62 .mainBox > .closeIcon {
michael@0 63 visibility: hidden;
michael@0 64 }
michael@0 65
michael@0 66 .visible > .hoverBox,
michael@0 67 .visible > .closeIcon {
michael@0 68 visibility: visible;
michael@0 69 }
michael@0 70
michael@0 71 .mainBox[chromedir="rtl"] {
michael@0 72 direction: rtl;
michael@0 73 }
michael@0 74
michael@0 75 :-moz-handler-playpreview .mainBox {
michael@0 76 display: none;
michael@0 77 }
michael@0 78
michael@0 79 :-moz-handler-clicktoplay .hoverBox,
michael@0 80 :-moz-handler-vulnerable-updatable .hoverBox,
michael@0 81 :-moz-handler-vulnerable-no-update .hoverBox {
michael@0 82 cursor: pointer;
michael@0 83 }
michael@0 84
michael@0 85 .hoverBox > label {
michael@0 86 cursor: inherit;
michael@0 87 }
michael@0 88 .icon {
michael@0 89 cursor: inherit;
michael@0 90 }
michael@0 91
michael@0 92 .previewPluginContent {
michael@0 93 display: none;
michael@0 94 }
michael@0 95
michael@0 96 .previewPluginContent > iframe {
michael@0 97 width: inherit;
michael@0 98 height: inherit;
michael@0 99 border: none;
michael@0 100 }
michael@0 101
michael@0 102 :-moz-handler-playpreview .previewPluginContent {
michael@0 103 display: block;
michael@0 104 width: inherit;
michael@0 105 height: inherit;
michael@0 106 overflow: hidden;
michael@0 107 }
michael@0 108
michael@0 109 .msg {
michael@0 110 display: none;
michael@0 111 }
michael@0 112
michael@0 113 :-moz-type-unsupported .msgUnsupported,
michael@0 114 :-moz-type-unsupported-platform .msgUnsupportedPlatform,
michael@0 115 :-moz-handler-clicktoplay .msgClickToPlay,
michael@0 116 :-moz-handler-vulnerable-updatable .msgVulnerabilityStatus,
michael@0 117 :-moz-handler-vulnerable-updatable .msgCheckForUpdates,
michael@0 118 :-moz-handler-vulnerable-updatable .msgClickToPlay,
michael@0 119 :-moz-handler-vulnerable-no-update .msgVulnerabilityStatus,
michael@0 120 :-moz-handler-vulnerable-no-update .msgClickToPlay,
michael@0 121 :-moz-handler-clicktoplay .msgTapToPlay,
michael@0 122 :-moz-handler-disabled .msgDisabled,
michael@0 123 :-moz-handler-disabled .msgManagePlugins,
michael@0 124 :-moz-handler-blocked .msgBlocked,
michael@0 125 :-moz-handler-crashed .msgCrashed {
michael@0 126 display: block;
michael@0 127 }
michael@0 128
michael@0 129 .installStatus[installable] .msgInstallPlugin {
michael@0 130 display: block;
michael@0 131 }
michael@0 132
michael@0 133 .submitStatus[status] {
michael@0 134 display: -moz-box;
michael@0 135 -moz-box-align: center;
michael@0 136 -moz-box-pack: center;
michael@0 137 height: 160px;
michael@0 138 }
michael@0 139
michael@0 140 .submitStatus[status="noReport"] .msgNoCrashReport,
michael@0 141 .submitStatus[status="please"] .msgPleaseSubmit,
michael@0 142 .submitStatus[status="noSubmit"] .msgNotSubmitted,
michael@0 143 .submitStatus[status="submitting"] .msgSubmitting,
michael@0 144 .submitStatus[status="success"] .msgSubmitted,
michael@0 145 .submitStatus[status="failed"] .msgSubmitFailed {
michael@0 146 display: block;
michael@0 147 }

mercurial