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