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;
29 display: inline-block;
32 background-position: center;
33 background-repeat: no-repeat;
35 background-color: transparent;
37 :-moz-type-unsupported .icon,
38 :-moz-type-unsupported-platform .icon {
39 background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png");
41 :-moz-type-unsupported .icon[status="ready"] {
42 background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
44 :-moz-handler-clicktoplay .icon,
45 :-moz-handler-vulnerable-updatable .icon,
46 :-moz-handler-vulnerable-no-update .icon {
47 background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlay.png");
50 :-moz-handler-clicktoplay .icon {
51 background-image: url("chrome://mozapps/skin/plugins/contentPluginClickToPlayPlain.png");
52 background-position: 0 0;
54 :-moz-handler-clicktoplay .hoverBox:hover .icon,
55 :-moz-handler-clicktoplay .hoverBox:hover:active .icon {
56 background-position: -48px 0;
59 :-moz-handler-disabled .icon {
60 background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png");
62 :-moz-handler-blocked .icon {
63 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
65 :-moz-handler-crashed .icon {
66 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
70 padding-left: 16px; /* width of the background image */
71 background: url("chrome://global/skin/icons/loading.gif") no-repeat;
80 :-moz-handler-clicktoplay .mainBox,
81 :-moz-handler-clicktoplay .icon,
82 :-moz-handler-clicktoplay .msgClickToPlay,
83 :-moz-handler-vulnerable-updatable .msgClickToPlay,
84 :-moz-handler-vulnerable-no-update .msgClickToPlay {
88 @media not all and (-moz-touch-enabled) {
89 :-moz-handler-clicktoplay .msgTapToPlay {
94 @media (-moz-touch-enabled) {
95 :-moz-handler-clicktoplay .msgClickToPlay {
101 min-height: 19px; /* height of biggest line (with throbber) */
111 font-family: inherit;
123 .mainBox[chromedir="rtl"] .submitURLOptIn {
136 .mainBox[chromedir="rtl"] .submitButton {
147 display: inline-block;
150 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
155 .mainBox[chromedir="rtl"] .helpIcon {
167 background-color: transparent;
168 background-image: url("chrome://global/skin/icons/close.png");
169 background-repeat: no-repeat;
172 .closeIcon:-moz-locale-dir(rtl) {
178 .closeIcon:hover:active {
179 background-position: -16px 0;
182 :-moz-handler-clicktoplay .mainBox {
183 background-image: none;
184 background-color: rgba(0, 0, 0, .2);
185 border: 2px dashed rgba(255, 207, 0, 0.7);
190 transition: background-color 150ms ease;
193 :-moz-handler-clicktoplay .mainBox:hover,
194 :-moz-handler-clicktoplay .mainBox:hover:active {
195 background-color: rgba(0, 0, 0, .8);
198 :-moz-handler-clicktoplay .mainBox,
199 :-moz-handler-clicktoplay html|a {
203 :-moz-handler-clicktoplay .hoverBox:hover,
204 :-moz-handler-clicktoplay .hoverBox:hover html|a,
205 :-moz-handler-clicktoplay .hoverBox:hover:active,
206 :-moz-handler-clicktoplay .hoverBox:hover:active html|a {
210 :-moz-handler-clicktoplay .closeIcon {
211 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");