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: #CCD0DD;
14 /* recessed effect with 'disabled' shadow */
15 box-shadow: inset 0 1px 5px #808080;
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[status="ready"] {
43 background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png");
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 {
142 display: inline-block;
145 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
150 .mainBox[chromedir="rtl"] .helpIcon {
162 background-color: transparent;
163 background-image: url("chrome://global/skin/icons/close-button.gif");
164 background-repeat: no-repeat;
167 .closeIcon:-moz-locale-dir(rtl) {
172 :-moz-handler-clicktoplay .mainBox {
173 background-image: none;
174 background-color: rgba(255, 255, 255, .2);
175 border: 1px dashed rgba(128, 128, 128, 0.5);
179 transition: background-color 150ms ease;
182 :-moz-handler-clicktoplay .mainBox:hover,
183 :-moz-handler-clicktoplay .mainBox:hover:active {
184 background-color: rgba(255, 255, 255, .8);
187 :-moz-handler-clicktoplay .mainBox,
188 :-moz-handler-clicktoplay html|a {
192 :-moz-handler-clicktoplay .hoverBox:hover,
193 :-moz-handler-clicktoplay .hoverBox:hover html|a,
194 :-moz-handler-clicktoplay .hoverBox:hover:active,
195 :-moz-handler-clicktoplay .hoverBox:hover:active html|a {
198 :-moz-handler-clicktoplay .closeIcon {
199 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");