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: #CCD0DD;
17 -moz-user-select: none;
22 box-sizing: border-box;
24 vertical-align: middle;
29 :-moz-handler-vulnerable-updatable .hoverBox:active,
30 :-moz-handler-vulnerable-no-update .hoverBox:active,
31 :-moz-handler-clicktoplay .hoverBox:active {
32 background-color: #CCCCCC;
35 :-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay,
36 :-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay,
37 :-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay {
41 :-moz-handler-vulnerable-updatable .hoverBox,
42 :-moz-handler-vulnerable-no-update .hoverBox,
43 :-moz-handler-blocked .hoverBox,
44 :-moz-handler-crashed .hoverBox {
54 background-position: center;
55 background-repeat: no-repeat;
57 background-color: transparent;
58 -moz-user-focus: ignore;
62 :-moz-handler-vulnerable-updatable .icon,
63 :-moz-handler-vulnerable-no-update .icon {
64 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
65 -moz-user-focus: normal;
67 :-moz-handler-blocked .icon {
68 background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png");
70 :-moz-handler-clicktoplay .icon {
71 background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png");
72 -moz-user-focus: normal;
74 :-moz-handler-crashed .icon {
75 background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png");
79 padding-left: 16px; /* width of the background image */
80 background: url("chrome://global/skin/icons/loading.gif") no-repeat;
85 text-decoration: underline;
88 /* on desktop, don't ever show the tap-to-play UI: that is for mobile only */
89 :-moz-handler-clicktoplay .msgTapToPlay,
95 min-height: 19px; /* height of biggest line (with throbber) */
105 font-family: inherit;
117 .mainBox[chromedir="rtl"] .submitURLOptIn {
130 .mainBox[chromedir="rtl"] .submitButton {
136 display: inline-block;
139 background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat;
144 .mainBox[chromedir="rtl"] .helpIcon {
153 margin-inline-start: -20px;
154 margin-inline-end: 4px;
156 background-color: transparent;
157 background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png");
158 background-repeat: no-repeat;
162 display: inline-block;
164 background-color: #9999CC;
167 text-decoration: none;
169 .action-link:active {
170 background-color: #666699;
173 :-moz-handler-vulnerable-updatable .action-link {
174 background-color: #CCCC60;
176 :-moz-handler-vulnerable-updatable .action-link:active {
177 background-color: #AAAA40;