sync both themes with toolkit windows theme changes in Mozilla 55 cycle
[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 34:-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay,
58bfce8a 35:-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay,
58bfce8a
RK
36:-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay {
37 color: #FF0000;
38}
39
25fe5264
RK
40:-moz-handler-vulnerable-updatable .hoverBox,
41:-moz-handler-vulnerable-no-update .hoverBox,
42:-moz-handler-blocked .hoverBox,
43:-moz-handler-crashed .hoverBox {
cf95e678
RK
44}
45
a064a540
RK
46html|a {
47 color: #FFCF00;
48}
49
50.icon {
cf95e678
RK
51 width: 48px;
52 height: 48px;
f993773d
RK
53 background-position: center;
54 background-repeat: no-repeat;
cf95e678
RK
55 border: none;
56 background-color: transparent;
25fe5264
RK
57 -moz-user-focus: ignore;
58 margin-bottom: 6px;
a064a540 59}
25fe5264 60
71a617ff
RK
61:-moz-handler-clicktoplay .icon,
62:-moz-handler-vulnerable-updatable .icon,
63:-moz-handler-vulnerable-no-update .icon {
25fe5264
RK
64 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
65 -moz-user-focus: normal;
1e29db46 66}
25fe5264
RK
67:-moz-handler-blocked .icon {
68 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
cf95e678 69}
25fe5264
RK
70:-moz-handler-clicktoplay .icon {
71 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
72 -moz-user-focus: normal;
cf95e678 73}
a064a540 74:-moz-handler-crashed .icon {
f993773d 75 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
a064a540
RK
76}
77
78.throbber {
f993773d 79 padding-left: 16px; /* width of the background image */
7c1e433b 80 background: url("chrome://global/skin/icons/loading.png") no-repeat;
f993773d 81 margin-left: 5px;
a064a540
RK
82}
83
58bfce8a
RK
84.msgClickToPlay {
85 text-decoration: underline;
86}
87
dbad77ea
RK
88/* on desktop, don't ever show the tap-to-play UI: that is for mobile only */
89:-moz-handler-clicktoplay .msgTapToPlay,
90a .msgTapToPlay {
91 display: none;
c60d23d2
RK
92}
93
c0fb45ea 94.submitStatus div {
f993773d 95 min-height: 19px; /* height of biggest line (with throbber) */
c0fb45ea
RK
96}
97
cf95e678
RK
98.submitComment {
99 width: 340px;
100 height: 70px;
101 padding: 5px;
102 border: none;
103 border-radius: 5px;
104 resize: none;
105 font-family: inherit;
106 font-size: inherit;
107}
108
109.submitURLOptInBox {
110 text-align: start;
111}
112
113.submitURLOptIn {
114 margin-left: -1px;
115}
116
117.mainBox[chromedir="rtl"] .submitURLOptIn {
118 margin-left: 0;
119 margin-right: -1px;
120}
121
122.submitButtonBox {
123 margin-top: 7px;
124}
125
126.submitButton {
127 float: right;
128}
129
130.mainBox[chromedir="rtl"] .submitButton {
131 float: left;
132}
133
a064a540 134.helpIcon {
f993773d
RK
135 float: left;
136 display: inline-block;
137 min-width: 16px;
138 min-height: 16px;
139 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
cf95e678
RK
140 cursor: pointer;
141 float: left;
142}
143
144.mainBox[chromedir="rtl"] .helpIcon {
145 float: right;
146}
147
148.closeIcon {
149 display: block;
cf95e678
RK
150 width: 16px;
151 height: 16px;
1e8874ff 152 margin-top: 4px;
dae45075
RK
153 margin-inline-start: -20px;
154 margin-inline-end: 4px;
cf95e678
RK
155 border: none;
156 background-color: transparent;
25fe5264 157 background-image: url("mozapps/skin/plugins/contentPluginClose.png");
cf95e678
RK
158 background-repeat: no-repeat;
159}
160
cf95e678
RK
161.closeIcon:hover,
162.closeIcon:hover:active {
163 background-position: -16px 0;
164}
165
25fe5264
RK
166.action-link {
167 display: inline-block;
168 border-radius: 10px;
169 background-color: #C09070;
170 color: #000000;
171 padding: 2px 8px;
172 margin-top: 7px;
173 text-decoration: none;
cf95e678 174}
25fe5264
RK
175.action-link:active {
176 background-color: #FFCF00;
cf95e678
RK
177}
178
25fe5264
RK
179:-moz-handler-vulnerable-updatable .action-link {
180 background-color: #a81b0c;
cf95e678 181}
25fe5264
RK
182:-moz-handler-vulnerable-updatable .action-link:active {
183 background-color: #801409;
a064a540 184}