Commit | Line | Data |
---|---|---|
a6c8d0f5 RK |
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/. */ | |
4 | ||
a064a540 RK |
5 | @namespace html url(http://www.w3.org/1999/xhtml); |
6 | ||
7 | /* These styles affect only the bound element, not other page content. */ | |
8 | ||
9 | .mainBox { | |
f993773d | 10 | text-align: center; |
25fe5264 RK |
11 | display: table; |
12 | width: 100%; | |
13 | height: 100%; | |
f993773d RK |
14 | background-color: #CCD0DD; |
15 | color: #000000; | |
f993773d | 16 | -moz-user-select: none; |
a6c8d0f5 RK |
17 | position: relative; |
18 | } | |
19 | ||
20 | .hoverBox { | |
25fe5264 RK |
21 | display: table-cell; |
22 | -moz-box-sizing: border-box; | |
a6c8d0f5 | 23 | padding: 5px; |
25fe5264 RK |
24 | vertical-align: middle; |
25 | width: 100%; | |
26 | height: 100%; | |
27 | } | |
28 | :-moz-handler-vulnerable-updatable .hoverBox:active, | |
29 | :-moz-handler-vulnerable-no-update .hoverBox:active, | |
30 | :-moz-handler-clicktoplay .hoverBox:active { | |
31 | background-color: #CCCCCC; | |
32 | } | |
33 | ||
34 | :-moz-handler-vulnerable-updatable .hoverBox, | |
35 | :-moz-handler-vulnerable-no-update .hoverBox, | |
36 | :-moz-handler-blocked .hoverBox, | |
37 | :-moz-handler-crashed .hoverBox { | |
a064a540 RK |
38 | } |
39 | ||
40 | html|a { | |
41 | color: #000000; | |
42 | } | |
43 | ||
44 | .icon { | |
a6c8d0f5 RK |
45 | width: 48px; |
46 | height: 48px; | |
f993773d RK |
47 | background-position: center; |
48 | background-repeat: no-repeat; | |
a6c8d0f5 RK |
49 | border: none; |
50 | background-color: transparent; | |
25fe5264 RK |
51 | -moz-user-focus: ignore; |
52 | margin-bottom: 6px; | |
a064a540 | 53 | } |
25fe5264 | 54 | |
24547055 RK |
55 | :-moz-type-unsupported .icon, |
56 | :-moz-type-unsupported-platform .icon { | |
f993773d RK |
57 | background-image: url("chrome://mozapps/skin/plugins/contentPluginMissing.png"); |
58 | } | |
68989a96 | 59 | :-moz-type-unsupported .icon[installable] { |
f993773d | 60 | background-image: url("chrome://mozapps/skin/plugins/contentPluginDownload.png"); |
a064a540 | 61 | } |
71a617ff RK |
62 | :-moz-handler-vulnerable-updatable .icon, |
63 | :-moz-handler-vulnerable-no-update .icon { | |
25fe5264 RK |
64 | background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png"); |
65 | -moz-user-focus: normal; | |
1e29db46 | 66 | } |
25fe5264 RK |
67 | :-moz-handler-blocked .icon { |
68 | background-image: url("chrome://mozapps/skin/plugins/contentPluginBlocked.png"); | |
a6c8d0f5 | 69 | } |
25fe5264 RK |
70 | :-moz-handler-clicktoplay .icon { |
71 | background-image: url("chrome://mozapps/skin/plugins/contentPluginActivate.png"); | |
72 | -moz-user-focus: normal; | |
a6c8d0f5 | 73 | } |
a064a540 | 74 | :-moz-handler-disabled .icon { |
f993773d | 75 | background-image: url("chrome://mozapps/skin/plugins/contentPluginDisabled.png"); |
a064a540 | 76 | } |
a064a540 | 77 | :-moz-handler-crashed .icon { |
f993773d | 78 | background-image: url("chrome://mozapps/skin/plugins/contentPluginCrashed.png"); |
a064a540 RK |
79 | } |
80 | ||
81 | .throbber { | |
f993773d RK |
82 | padding-left: 16px; /* width of the background image */ |
83 | background: url("chrome://global/skin/icons/loading.gif") no-repeat; | |
84 | margin-left: 5px; | |
a064a540 RK |
85 | } |
86 | ||
c60d23d2 RK |
87 | @media not all and (-moz-touch-enabled) { |
88 | :-moz-handler-clicktoplay .msgTapToPlay { | |
89 | display: none; | |
90 | } | |
91 | } | |
92 | ||
93 | @media (-moz-touch-enabled) { | |
94 | :-moz-handler-clicktoplay .msgClickToPlay { | |
95 | display: none; | |
96 | } | |
97 | } | |
98 | ||
c0fb45ea | 99 | .submitStatus div { |
f993773d | 100 | min-height: 19px; /* height of biggest line (with throbber) */ |
c0fb45ea RK |
101 | } |
102 | ||
a6c8d0f5 RK |
103 | .submitComment { |
104 | width: 340px; | |
105 | height: 70px; | |
106 | padding: 5px; | |
107 | border: none; | |
108 | border-radius: 5px; | |
109 | resize: none; | |
110 | font-family: inherit; | |
111 | font-size: inherit; | |
112 | } | |
113 | ||
114 | .submitURLOptInBox { | |
115 | text-align: start; | |
116 | } | |
117 | ||
118 | .submitURLOptIn { | |
119 | margin-left: -1px; | |
120 | } | |
121 | ||
122 | .mainBox[chromedir="rtl"] .submitURLOptIn { | |
123 | margin-left: 0; | |
124 | margin-right: -1px; | |
125 | } | |
126 | ||
127 | .submitButtonBox { | |
128 | margin-top: 7px; | |
129 | } | |
130 | ||
131 | .submitButton { | |
132 | float: right; | |
133 | } | |
134 | ||
135 | .mainBox[chromedir="rtl"] .submitButton { | |
136 | float: left; | |
a064a540 RK |
137 | } |
138 | ||
a064a540 | 139 | .helpIcon { |
f993773d RK |
140 | float: left; |
141 | display: inline-block; | |
142 | min-width: 16px; | |
143 | min-height: 16px; | |
144 | background: url("chrome://mozapps/skin/plugins/pluginHelp-16.png") no-repeat; | |
a6c8d0f5 RK |
145 | cursor: pointer; |
146 | float: left; | |
147 | } | |
148 | ||
149 | .mainBox[chromedir="rtl"] .helpIcon { | |
150 | float: right; | |
151 | } | |
152 | ||
153 | .closeIcon { | |
154 | display: block; | |
155 | position: absolute; | |
156 | width: 16px; | |
157 | height: 16px; | |
158 | top: 4px; | |
159 | right: 4px; | |
160 | border: none; | |
161 | background-color: transparent; | |
25fe5264 | 162 | background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png"); |
a6c8d0f5 RK |
163 | background-repeat: no-repeat; |
164 | } | |
165 | ||
25fe5264 | 166 | .mainBox[chromedir="rtl"] .closeIcon { |
a6c8d0f5 RK |
167 | right: auto; |
168 | left: 4px; | |
169 | } | |
170 | ||
25fe5264 RK |
171 | .action-link { |
172 | display: inline-block; | |
173 | border-radius: 10px; | |
174 | background-color: #9999CC; | |
175 | padding: 2px 8px; | |
176 | margin-top: 7px; | |
177 | text-decoration: none; | |
a6c8d0f5 | 178 | } |
25fe5264 RK |
179 | .action-link:active { |
180 | background-color: #666699; | |
a6c8d0f5 RK |
181 | } |
182 | ||
25fe5264 RK |
183 | :-moz-handler-vulnerable-updatable .action-link { |
184 | background-color: #CCCC60; | |
a6c8d0f5 | 185 | } |
25fe5264 RK |
186 | :-moz-handler-vulnerable-updatable .action-link:active { |
187 | background-color: #AAAA40; | |
a064a540 | 188 | } |