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. */
9 /* Keep any changes to these styles in sync with plugin-doorhanger.inc.css */
15 background-color: #000000;
17 -moz-user-select: none;
22 box-sizing: border-box;
24 vertical-align: middle;
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;
34 :-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay,
35 :-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay,
36 :-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay,
37 :-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay,
38 :-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay,
39 :-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay {
43 :-moz-handler-vulnerable-updatable .hoverBox,
44 :-moz-handler-vulnerable-no-update .hoverBox,
45 :-moz-handler-blocked .hoverBox,
46 :-moz-handler-crashed .hoverBox {
56 background-position: center;
57 background-repeat: no-repeat;
59 background-color: transparent;
60 -moz-user-focus: ignore;
64 :-moz-handler-clicktoplay .icon,
65 :-moz-handler-vulnerable-updatable .icon,
66 :-moz-handler-vulnerable-no-update .icon {
67 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
68 -moz-user-focus: normal;
70 :-moz-handler-blocked .icon {
71 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
73 :-moz-handler-clicktoplay .icon {
74 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
75 -moz-user-focus: normal;
77 :-moz-handler-crashed .icon {
78 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
82 padding-left: 16px; /* width of the background image */
83 background: url("chrome://global/skin/icons/loading.png") no-repeat;
89 text-decoration: underline;
92 @media not all and (-moz-touch-enabled) {
93 :-moz-handler-clicktoplay .msgTapToPlay,
99 @media (-moz-touch-enabled) {
100 :-moz-handler-clicktoplay .msgClickToPlay,
107 min-height: 19px; /* height of biggest line (with throbber) */
117 font-family: inherit;
129 .mainBox[chromedir="rtl"] .submitURLOptIn {
142 .mainBox[chromedir="rtl"] .submitButton {
148 display: inline-block;
151 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
156 .mainBox[chromedir="rtl"] .helpIcon {
165 margin-inline-start: -20px;
166 margin-inline-end: 4px;
168 background-color: transparent;
169 background-image: url("mozapps/skin/plugins/contentPluginClose.png");
170 background-repeat: no-repeat;
174 .closeIcon:hover:active {
175 background-position: -16px 0;
179 display: inline-block;
181 background-color: #C09070;
185 text-decoration: none;
187 .action-link:active {
188 background-color: #FFCF00;
191 :-moz-handler-vulnerable-updatable .action-link {
192 background-color: #a81b0c;
194 :-moz-handler-vulnerable-updatable .action-link:active {
195 background-color: #801409;