start one more development cycle for 2.52
[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
71a617ff
RK
64:-moz-handler-clicktoplay .icon,
65:-moz-handler-vulnerable-updatable .icon,
66:-moz-handler-vulnerable-no-update .icon {
25fe5264
RK
67 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
68 -moz-user-focus: normal;
1e29db46 69}
25fe5264
RK
70:-moz-handler-blocked .icon {
71 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
cf95e678 72}
25fe5264
RK
73:-moz-handler-clicktoplay .icon {
74 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
75 -moz-user-focus: normal;
cf95e678 76}
a064a540 77:-moz-handler-crashed .icon {
f993773d 78 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
a064a540
RK
79}
80
81.throbber {
f993773d 82 padding-left: 16px; /* width of the background image */
7c1e433b 83 background: url("chrome://global/skin/icons/loading.png") no-repeat;
f993773d 84 margin-left: 5px;
a064a540
RK
85}
86
58bfce8a
RK
87.msgTapToPlay,
88.msgClickToPlay {
89 text-decoration: underline;
90}
91
c60d23d2 92@media not all and (-moz-touch-enabled) {
987dae1b
RK
93 :-moz-handler-clicktoplay .msgTapToPlay,
94 a .msgTapToPlay {
c60d23d2
RK
95 display: none;
96 }
97}
98
99@media (-moz-touch-enabled) {
987dae1b
RK
100 :-moz-handler-clicktoplay .msgClickToPlay,
101 a .msgTapToPlay {
c60d23d2
RK
102 display: none;
103 }
104}
105
c0fb45ea 106.submitStatus div {
f993773d 107 min-height: 19px; /* height of biggest line (with throbber) */
c0fb45ea
RK
108}
109
cf95e678
RK
110.submitComment {
111 width: 340px;
112 height: 70px;
113 padding: 5px;
114 border: none;
115 border-radius: 5px;
116 resize: none;
117 font-family: inherit;
118 font-size: inherit;
119}
120
121.submitURLOptInBox {
122 text-align: start;
123}
124
125.submitURLOptIn {
126 margin-left: -1px;
127}
128
129.mainBox[chromedir="rtl"] .submitURLOptIn {
130 margin-left: 0;
131 margin-right: -1px;
132}
133
134.submitButtonBox {
135 margin-top: 7px;
136}
137
138.submitButton {
139 float: right;
140}
141
142.mainBox[chromedir="rtl"] .submitButton {
143 float: left;
144}
145
a064a540 146.helpIcon {
f993773d
RK
147 float: left;
148 display: inline-block;
149 min-width: 16px;
150 min-height: 16px;
151 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
cf95e678
RK
152 cursor: pointer;
153 float: left;
154}
155
156.mainBox[chromedir="rtl"] .helpIcon {
157 float: right;
158}
159
160.closeIcon {
161 display: block;
cf95e678
RK
162 width: 16px;
163 height: 16px;
1e8874ff 164 margin-top: 4px;
dae45075
RK
165 margin-inline-start: -20px;
166 margin-inline-end: 4px;
cf95e678
RK
167 border: none;
168 background-color: transparent;
25fe5264 169 background-image: url("mozapps/skin/plugins/contentPluginClose.png");
cf95e678
RK
170 background-repeat: no-repeat;
171}
172
cf95e678
RK
173.closeIcon:hover,
174.closeIcon:hover:active {
175 background-position: -16px 0;
176}
177
25fe5264
RK
178.action-link {
179 display: inline-block;
180 border-radius: 10px;
181 background-color: #C09070;
182 color: #000000;
183 padding: 2px 8px;
184 margin-top: 7px;
185 text-decoration: none;
cf95e678 186}
25fe5264
RK
187.action-link:active {
188 background-color: #FFCF00;
cf95e678
RK
189}
190
25fe5264
RK
191:-moz-handler-vulnerable-updatable .action-link {
192 background-color: #a81b0c;
cf95e678 193}
25fe5264
RK
194:-moz-handler-vulnerable-updatable .action-link:active {
195 background-color: #801409;
a064a540 196}