sync both themes with toolkit windows theme changes in Mozilla 52 cycle
[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
71a617ff
RK
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");
a6c8d0f5 72}
25fe5264
RK
73:-moz-handler-clicktoplay .icon {
74 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
75 -moz-user-focus: normal;
a6c8d0f5 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
RK
82 padding-left: 16px; /* width of the background image */
83 background: url("chrome://global/skin/icons/loading.gif") no-repeat;
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
a6c8d0f5
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;
a064a540
RK
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;
a6c8d0f5
RK
152 cursor: pointer;
153 float: left;
154}
155
156.mainBox[chromedir="rtl"] .helpIcon {
157 float: right;
158}
159
160.closeIcon {
161 display: block;
a6c8d0f5
RK
162 width: 16px;
163 height: 16px;
1e8874ff 164 margin-top: 4px;
dae45075
RK
165 margin-inline-start: -20px;
166 margin-inline-end: 4px;
a6c8d0f5
RK
167 border: none;
168 background-color: transparent;
25fe5264 169 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");
a6c8d0f5
RK
170 background-repeat: no-repeat;
171}
172
25fe5264
RK
173.action-link {
174 display: inline-block;
175 border-radius: 10px;
176 background-color: #9999CC;
177 padding: 2px 8px;
178 margin-top: 7px;
179 text-decoration: none;
a6c8d0f5 180}
25fe5264
RK
181.action-link:active {
182 background-color: #666699;
a6c8d0f5
RK
183}
184
25fe5264
RK
185:-moz-handler-vulnerable-updatable .action-link {
186 background-color: #CCCC60;
a6c8d0f5 187}
25fe5264
RK
188:-moz-handler-vulnerable-updatable .action-link:active {
189 background-color: #AAAA40;
a064a540 190}