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/. */
5 @namespace html url(http://www.w3.org/1999/xhtml);
7 /* These styles affect only the bound element, not other page content. */
11 background-color: #000000;
14 /* recessed effect with 'disabled' shadow */
15 box-shadow: inset 0 1px 5px #8050B0;
17 -moz-user-select: none;
30 display: inline-block;
33 background-position: center;
34 background-repeat: no-repeat;
36 background-color: transparent;
38 :-moz-type-unsupported .icon,
39 :-moz-type-unsupported-platform .icon {
40 background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
42 :-moz-type-unsupported .icon[installable] {
43 background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
45 :-moz-handler-clicktoplay .icon,
46 :-moz-handler-vulnerable-updatable .icon,
47 :-moz-handler-vulnerable-no-update .icon {
48 background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlay.png");
51 :-moz-handler-clicktoplay .icon {
52 background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlayPlain.png");
53 background-position: 0 0;
55 :-moz-handler-clicktoplay .hoverBox:hover .icon,
56 :-moz-handler-clicktoplay .hoverBox:hover:active .icon {
57 background-position: -48px 0;
60 :-moz-handler-disabled .icon {
61 background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png");
63 :-moz-handler-blocked .icon {
64 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
66 :-moz-handler-crashed .icon {
67 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
71 padding-left: 16px; /* width of the background image */
72 background: url("chrome://global/skin/icons/loading.gif") no-repeat;
81 :-moz-handler-clicktoplay .mainBox,
82 :-moz-handler-clicktoplay .icon,
83 :-moz-handler-clicktoplay .msgClickToPlay,
84 :-moz-handler-vulnerable-updatable .msgClickToPlay,
85 :-moz-handler-vulnerable-no-update .msgClickToPlay {
89 @media not all and (-moz-touch-enabled) {
90 :-moz-handler-clicktoplay .msgTapToPlay {
95 @media (-moz-touch-enabled) {
96 :-moz-handler-clicktoplay .msgClickToPlay {
102 min-height: 19px; /* height of biggest line (with throbber) */
112 font-family: inherit;
124 .mainBox[chromedir="rtl"] .submitURLOptIn {
137 .mainBox[chromedir="rtl"] .submitButton {
143 display: inline-block;
146 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
151 .mainBox[chromedir="rtl"] .helpIcon {
163 background-color: transparent;
164 background-image: url("chrome://global/skin/icons/close.png");
165 background-repeat: no-repeat;
168 .closeIcon:-moz-locale-dir(rtl) {
174 .closeIcon:hover:active {
175 background-position: -16px 0;
178 :-moz-handler-clicktoplay .mainBox {
179 background-image: none;
180 background-color: rgba(0, 0, 0, .2);
181 border: 2px dashed rgba(255, 207, 0, 0.7);
186 transition: background-color 150ms ease;
189 :-moz-handler-clicktoplay .mainBox:hover,
190 :-moz-handler-clicktoplay .mainBox:hover:active {
191 background-color: rgba(0, 0, 0, .8);
194 :-moz-handler-clicktoplay .mainBox,
195 :-moz-handler-clicktoplay html|a {
199 :-moz-handler-clicktoplay .hoverBox:hover,
200 :-moz-handler-clicktoplay .hoverBox:hover html|a,
201 :-moz-handler-clicktoplay .hoverBox:hover:active,
202 :-moz-handler-clicktoplay .hoverBox:hover:active html|a {
206 :-moz-handler-clicktoplay .closeIcon {
207 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");