bump maxversions
[themes.git] / EarlyBlue / mozapps / plugins / pluginProblem.css
CommitLineData
a6c8d0f5
RK
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
a064a540
RK
5@namespace html url(http://www.w3.org/1999/xhtml);
6
7/* These styles affect only the bound element, not other page content. */
8
2c225fcb 9/* Keep any changes to these styles in sync with plugin-doorhanger.inc.css */
a064a540 10.mainBox {
f993773d 11 text-align: center;
25fe5264
RK
12 display: table;
13 width: 100%;
14 height: 100%;
f993773d
RK
15 background-color: #CCD0DD;
16 color: #000000;
f993773d 17 -moz-user-select: none;
a6c8d0f5
RK
18 position: relative;
19}
20
21.hoverBox {
25fe5264
RK
22 display: table-cell;
23 -moz-box-sizing: border-box;
a6c8d0f5 24 padding: 5px;
25fe5264
RK
25 vertical-align: middle;
26 width: 100%;
27 height: 100%;
28}
58bfce8a 29
25fe5264
RK
30:-moz-handler-vulnerable-updatable .hoverBox:active,
31:-moz-handler-vulnerable-no-update .hoverBox:active,
32:-moz-handler-clicktoplay .hoverBox:active {
33 background-color: #CCCCCC;
34}
35
58bfce8a
RK
36:-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay,
37:-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay,
38:-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay,
39:-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay,
40:-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay,
41:-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay {
42 color: red;
43}
44
25fe5264
RK
45:-moz-handler-vulnerable-updatable .hoverBox,
46:-moz-handler-vulnerable-no-update .hoverBox,
47:-moz-handler-blocked .hoverBox,
48:-moz-handler-crashed .hoverBox {
a064a540
RK
49}
50
51html|a {
52 color: #000000;
53}
54
55.icon {
a6c8d0f5
RK
56 width: 48px;
57 height: 48px;
f993773d
RK
58 background-position: center;
59 background-repeat: no-repeat;
a6c8d0f5
RK
60 border: none;
61 background-color: transparent;
25fe5264
RK
62 -moz-user-focus: ignore;
63 margin-bottom: 6px;
a064a540 64}
25fe5264 65
24547055
RK
66:-moz-type-unsupported .icon,
67:-moz-type-unsupported-platform .icon {
f993773d
RK
68 background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
69}
68989a96 70:-moz-type-unsupported .icon[installable] {
f993773d 71 background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
a064a540 72}
71a617ff
RK
73:-moz-handler-vulnerable-updatable .icon,
74:-moz-handler-vulnerable-no-update .icon {
25fe5264
RK
75 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
76 -moz-user-focus: normal;
1e29db46 77}
25fe5264
RK
78:-moz-handler-blocked .icon {
79 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
a6c8d0f5 80}
25fe5264
RK
81:-moz-handler-clicktoplay .icon {
82 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
83 -moz-user-focus: normal;
a6c8d0f5 84}
a064a540 85:-moz-handler-disabled .icon {
f993773d 86 background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png");
a064a540 87}
a064a540 88:-moz-handler-crashed .icon {
f993773d 89 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
a064a540
RK
90}
91
92.throbber {
f993773d
RK
93 padding-left: 16px; /* width of the background image */
94 background: url("chrome://global/skin/icons/loading.gif") no-repeat;
95 margin-left: 5px;
a064a540
RK
96}
97
58bfce8a
RK
98.msgTapToPlay,
99.msgClickToPlay {
100 text-decoration: underline;
101}
102
c60d23d2
RK
103@media not all and (-moz-touch-enabled) {
104 :-moz-handler-clicktoplay .msgTapToPlay {
105 display: none;
106 }
107}
108
109@media (-moz-touch-enabled) {
110 :-moz-handler-clicktoplay .msgClickToPlay {
111 display: none;
112 }
113}
114
c0fb45ea 115.submitStatus div {
f993773d 116 min-height: 19px; /* height of biggest line (with throbber) */
c0fb45ea
RK
117}
118
a6c8d0f5
RK
119.submitComment {
120 width: 340px;
121 height: 70px;
122 padding: 5px;
123 border: none;
124 border-radius: 5px;
125 resize: none;
126 font-family: inherit;
127 font-size: inherit;
128}
129
130.submitURLOptInBox {
131 text-align: start;
132}
133
134.submitURLOptIn {
135 margin-left: -1px;
136}
137
138.mainBox[chromedir="rtl"] .submitURLOptIn {
139 margin-left: 0;
140 margin-right: -1px;
141}
142
143.submitButtonBox {
144 margin-top: 7px;
145}
146
147.submitButton {
148 float: right;
149}
150
151.mainBox[chromedir="rtl"] .submitButton {
152 float: left;
a064a540
RK
153}
154
a064a540 155.helpIcon {
f993773d
RK
156 float: left;
157 display: inline-block;
158 min-width: 16px;
159 min-height: 16px;
160 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
a6c8d0f5
RK
161 cursor: pointer;
162 float: left;
163}
164
165.mainBox[chromedir="rtl"] .helpIcon {
166 float: right;
167}
168
169.closeIcon {
170 display: block;
171 position: absolute;
172 width: 16px;
173 height: 16px;
174 top: 4px;
175 right: 4px;
176 border: none;
177 background-color: transparent;
25fe5264 178 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");
a6c8d0f5
RK
179 background-repeat: no-repeat;
180}
181
25fe5264 182.mainBox[chromedir="rtl"] .closeIcon {
a6c8d0f5
RK
183 right: auto;
184 left: 4px;
185}
186
25fe5264
RK
187.action-link {
188 display: inline-block;
189 border-radius: 10px;
190 background-color: #9999CC;
191 padding: 2px 8px;
192 margin-top: 7px;
193 text-decoration: none;
a6c8d0f5 194}
25fe5264
RK
195.action-link:active {
196 background-color: #666699;
a6c8d0f5
RK
197}
198
25fe5264
RK
199:-moz-handler-vulnerable-updatable .action-link {
200 background-color: #CCCC60;
a6c8d0f5 201}
25fe5264
RK
202:-moz-handler-vulnerable-updatable .action-link:active {
203 background-color: #AAAA40;
a064a540 204}