sync both themes with toolkit windows/shared theme changes in Mozilla 26
[themes.git] / LCARStrek / mozapps / plugins / pluginProblem.css
CommitLineData
cf95e678
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
9.mainBox {
f993773d 10 text-align: center;
25fe5264
RK
11 display: table;
12 width: 100%;
13 height: 100%;
f993773d
RK
14 background-color: #000000;
15 color: #FFCF00;
f993773d 16 -moz-user-select: none;
a6c8d0f5 17 position: relative;
a064a540
RK
18}
19
cf95e678 20.hoverBox {
25fe5264
RK
21 display: table-cell;
22 -moz-box-sizing: border-box;
cf95e678 23 padding: 5px;
25fe5264
RK
24 vertical-align: middle;
25 width: 100%;
26 height: 100%;
27}
28:-moz-handler-vulnerable-updatable .hoverBox:active,
29:-moz-handler-vulnerable-no-update .hoverBox:active,
30:-moz-handler-clicktoplay .hoverBox:active {
31 background-color: #404000;
32}
33
58bfce8a
RK
34:-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay,
35:-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay,
36:-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay,
37:-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay,
38:-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay,
39:-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay {
40 color: #FF0000;
41}
42
25fe5264
RK
43:-moz-handler-vulnerable-updatable .hoverBox,
44:-moz-handler-vulnerable-no-update .hoverBox,
45:-moz-handler-blocked .hoverBox,
46:-moz-handler-crashed .hoverBox {
cf95e678
RK
47}
48
a064a540
RK
49html|a {
50 color: #FFCF00;
51}
52
53.icon {
cf95e678
RK
54 width: 48px;
55 height: 48px;
f993773d
RK
56 background-position: center;
57 background-repeat: no-repeat;
cf95e678
RK
58 border: none;
59 background-color: transparent;
25fe5264
RK
60 -moz-user-focus: ignore;
61 margin-bottom: 6px;
a064a540 62}
25fe5264 63
24547055
RK
64:-moz-type-unsupported .icon,
65:-moz-type-unsupported-platform .icon {
f993773d
RK
66 background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
67}
68989a96 68:-moz-type-unsupported .icon[installable] {
f993773d 69 background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
a064a540 70}
71a617ff
RK
71:-moz-handler-clicktoplay .icon,
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");
cf95e678 79}
25fe5264
RK
80:-moz-handler-clicktoplay .icon {
81 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
82 -moz-user-focus: normal;
cf95e678 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
cf95e678
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;
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;
cf95e678
RK
160 cursor: pointer;
161 float: left;
162}
163
164.mainBox[chromedir="rtl"] .helpIcon {
165 float: right;
166}
167
168.closeIcon {
169 display: block;
170 position: absolute;
171 width: 16px;
172 height: 16px;
173 top: 4px;
174 right: 4px;
175 border: none;
176 background-color: transparent;
25fe5264 177 background-image: url("mozapps/skin/plugins/contentPluginClose.png");
cf95e678
RK
178 background-repeat: no-repeat;
179}
180
25fe5264 181.mainBox[chromedir="rtl"] .closeIcon(rtl) {
cf95e678
RK
182 right: auto;
183 left: 4px;
184}
185
186.closeIcon:hover,
187.closeIcon:hover:active {
188 background-position: -16px 0;
189}
190
25fe5264
RK
191.action-link {
192 display: inline-block;
193 border-radius: 10px;
194 background-color: #C09070;
195 color: #000000;
196 padding: 2px 8px;
197 margin-top: 7px;
198 text-decoration: none;
cf95e678 199}
25fe5264
RK
200.action-link:active {
201 background-color: #FFCF00;
cf95e678
RK
202}
203
25fe5264
RK
204:-moz-handler-vulnerable-updatable .action-link {
205 background-color: #a81b0c;
cf95e678 206}
25fe5264
RK
207:-moz-handler-vulnerable-updatable .action-link:active {
208 background-color: #801409;
a064a540 209}