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