toolkit/mozapps/plugins/content/pluginProblemContent.css

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

mercurial