first part of syncing LCARStrek with Firefox 36 windows theme changes
[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
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: #000000;
16 color: #FFCF00;
f993773d 17 -moz-user-select: none;
a064a540
RK
18}
19
cf95e678 20.hoverBox {
25fe5264 21 display: table-cell;
1783ea50 22 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;
cf95e678
RK
170 width: 16px;
171 height: 16px;
1e8874ff
RK
172 margin-top: 4px;
173 -moz-margin-start: -20px;
174 -moz-margin-end: 4px;
cf95e678
RK
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
cf95e678
RK
181.closeIcon:hover,
182.closeIcon:hover:active {
183 background-position: -16px 0;
184}
185
25fe5264
RK
186.action-link {
187 display: inline-block;
188 border-radius: 10px;
189 background-color: #C09070;
190 color: #000000;
191 padding: 2px 8px;
192 margin-top: 7px;
193 text-decoration: none;
cf95e678 194}
25fe5264
RK
195.action-link:active {
196 background-color: #FFCF00;
cf95e678
RK
197}
198
25fe5264
RK
199:-moz-handler-vulnerable-updatable .action-link {
200 background-color: #a81b0c;
cf95e678 201}
25fe5264
RK
202:-moz-handler-vulnerable-updatable .action-link:active {
203 background-color: #801409;
a064a540 204}