Commit | Line | Data |
---|---|---|
9099c61d 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/. */ | |
acb0e9b8 | 4 | |
5 | @import url("chrome://global/skin/"); | |
fcaeefc2 | 6 | @import url("downloads/indicator.css"); |
acb0e9b8 | 7 | |
8 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
319c6529 | 9 | @namespace html url("http://www.w3.org/1999/xhtml"); |
cae267ab | 10 | @namespace svg url("http://www.w3.org/2000/svg"); |
319c6529 RK |
11 | |
12 | toolbar { | |
13 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
14 | } | |
acb0e9b8 | 15 | |
7d3f7f14 | 16 | toolbar[customizable="true"] { |
43cc2806 RK |
17 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom"); |
18 | } | |
19 | ||
ee49f520 RK |
20 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { |
21 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
96b206fe RK |
22 | toolbar[customizable="true"]:not([nowindowdrag="true"]) { |
23 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); | |
24 | } | |
25 | } | |
26 | ||
41279e76 RK |
27 | toolbar[type="menubar"][autohide="true"] { |
28 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); | |
29 | } | |
30 | ||
7d3f7f14 | 31 | #toolbar-menubar[autohide="true"] { |
43cc2806 RK |
32 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom"); |
33 | } | |
34 | ||
acb0e9b8 | 35 | menubar { |
319c6529 | 36 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
acb0e9b8 | 37 | } |
38 | ||
319c6529 RK |
39 | #menubar-items { |
40 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 41 | } |
42 | ||
319c6529 RK |
43 | #main-menubar { |
44 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
45 | } | |
46 | ||
63ada306 RK |
47 | /* ::::: primary toolbar ::::: */ |
48 | ||
49 | .toolbar-primary > .toolbar-box > .toolbar-holder { | |
270cbf0c | 50 | background-color: #A09090; |
63ada306 RK |
51 | } |
52 | ||
53 | .toolbar-primary > .toolbar-box > .toolbar-startcap, | |
54 | .toolbar-primary > .toolbar-box > .toolbar-endcap { | |
55 | background-color: #9C9CFF; | |
56 | } | |
57 | ||
e20c83c3 RK |
58 | /* Hides the titlebar-placeholder underneath the window caption buttons when we |
59 | are not autohiding the menubar. */ | |
60 | #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] { | |
61 | display: none; | |
62 | } | |
63 | ||
43cc2806 RK |
64 | /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the |
65 | toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care | |
66 | of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ | |
c0f6797e RK |
67 | #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar, |
68 | #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar { | |
43cc2806 RK |
69 | /* margin-top: 3px;*/ |
70 | } | |
71 | ||
43371c9b RK |
72 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, |
73 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { | |
43cc2806 RK |
74 | /* margin-top: 15px;*/ |
75 | } | |
76 | ||
ee49f520 RK |
77 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
78 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ | |
8d154261 RK |
79 | #toolbar-menubar:not([autohide="true"]) { |
80 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); | |
81 | } | |
58d9f24a RK |
82 | } |
83 | ||
ee49f520 RK |
84 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
85 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
4711fba5 | 86 | #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { |
54d92f05 RK |
87 | padding-left: 60px; |
88 | } | |
43cc2806 RK |
89 | } |
90 | ||
018d70fb RK |
91 | #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap { |
92 | /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */ | |
93 | display: none; | |
43cc2806 | 94 | } |
63ada306 | 95 | |
e20c83c3 RK |
96 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before, |
97 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before, | |
98 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before, | |
99 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before { | |
100 | outline-color: #A09090; | |
101 | } | |
102 | ||
319c6529 RK |
103 | #navigator-toolbox { |
104 | } | |
105 | ||
9abeb12c RK |
106 | #navigator-toolbox::after { |
107 | content: ""; | |
108 | display: -moz-box; | |
109 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
110 | height: 1px; | |
111 | } | |
9abeb12c | 112 | |
319c6529 RK |
113 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
114 | } | |
115 | ||
3d64e0ce RK |
116 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) { |
117 | } | |
118 | ||
9168a62c RK |
119 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { |
120 | overflow: -moz-hidden-unscrollable; | |
121 | max-height: 4em; | |
122 | transition: min-height 170ms ease-out, max-height 170ms ease-out; | |
123 | } | |
124 | ||
125 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { | |
126 | min-height: 0.1px; | |
127 | max-height: 0; | |
128 | transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; | |
129 | } | |
130 | ||
ee49f520 RK |
131 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
132 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ | |
133 | /* Indent also due to non-applicable aero rule in original Windows theme. */ | |
c0f6797e RK |
134 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme), |
135 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) { | |
136 | /* like menubar */ | |
137 | background-color: #6000CF; | |
138 | color: #FF9F00; | |
319c6529 RK |
139 | } |
140 | ||
c0f6797e RK |
141 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive, |
142 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { | |
143 | background-color: #8050B0; | |
144 | color: #FF9F00; | |
319c6529 RK |
145 | } |
146 | ||
dccbbf95 RK |
147 | #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) { |
148 | /*color: inherit;*/ | |
149 | } | |
150 | ||
c0f6797e RK |
151 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { |
152 | visibility: hidden; | |
153 | } | |
319c6529 | 154 | |
c0f6797e RK |
155 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { |
156 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
157 | visibility: visible; | |
158 | } | |
8d154261 RK |
159 | } |
160 | ||
ee49f520 RK |
161 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
162 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
8d154261 RK |
163 | #titlebar-buttonbox > .titlebar-button { |
164 | display: none; | |
165 | } | |
8d154261 | 166 | } |
319c6529 | 167 | |
c0f6797e RK |
168 | #nav-bar { |
169 | /* Position the toolbar above the bottom of background tabs */ | |
170 | position: relative; | |
171 | z-index: 1; | |
82b4252f RK |
172 | } |
173 | ||
c0f6797e RK |
174 | #personal-bookmarks { |
175 | /* min-height: 24px; */ | |
319c6529 RK |
176 | } |
177 | ||
c0f6797e RK |
178 | #print-preview-toolbar:not(:-moz-lwtheme) { |
179 | /* -moz-appearance: toolbox; */ | |
82b4252f RK |
180 | } |
181 | ||
c0f6797e | 182 | #browser-bottombox:not(:-moz-lwtheme) { |
319c6529 RK |
183 | } |
184 | ||
185 | /* ::::: titlebar ::::: */ | |
186 | ||
5305ef8d RK |
187 | #titlebar { |
188 | /* like menubar */ | |
189 | background-color: #6000CF; | |
190 | color: #FF9F00; | |
191 | } | |
192 | #titlebar:-moz-window-inactive { | |
193 | background-color: #8050B0; | |
194 | color: #FF9F00; | |
195 | } | |
196 | ||
319c6529 | 197 | #main-window[sizemode="normal"] > #titlebar { |
5305ef8d RK |
198 | margin-top: -3px; |
199 | margin-bottom: 3px; | |
319c6529 RK |
200 | } |
201 | ||
202 | #main-window[sizemode="maximized"] > #titlebar { | |
5305ef8d | 203 | margin-top: 4px; |
319c6529 RK |
204 | } |
205 | ||
ee49f520 RK |
206 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
207 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
58d9f24a RK |
208 | #main-window[sizemode="normal"] > #titlebar, |
209 | #main-window[sizemode="maximized"] > #titlebar { | |
4711fba5 RK |
210 | margin-top: 19px; |
211 | /* There is a margin-bottom set to -23 by code. */ | |
54d92f05 RK |
212 | } |
213 | } | |
214 | ||
43cc2806 RK |
215 | /* The button box must appear on top of the navigator-toolbox in order for |
216 | * click and hover mouse events to work properly for the button in the restored | |
217 | * window state. Otherwise, elements in the navigator-toolbox, like the menubar, | |
218 | * can swallow those events. It will also place the buttons above the fog on | |
219 | * themes with Aero Glass. | |
220 | */ | |
319c6529 | 221 | #titlebar-buttonbox { |
b7f3670c RK |
222 | -moz-appearance: none; |
223 | margin-top: 6px; | |
224 | margin-top: 4px; | |
5305ef8d | 225 | -moz-margin-end: 3px; |
43cc2806 | 226 | z-index: 1; |
319c6529 RK |
227 | } |
228 | ||
319c6529 RK |
229 | .titlebar-placeholder[type="appmenu-button"] { |
230 | margin-left: 4px; | |
231 | } | |
232 | ||
233 | .titlebar-placeholder[type="caption-buttons"] { | |
234 | margin-left: 10px; | |
235 | } | |
236 | ||
237 | /* titlebar command buttons */ | |
238 | ||
239 | #titlebar-min { | |
5305ef8d RK |
240 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
241 | } | |
242 | ||
243 | #titlebar-min:hover { | |
244 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
319c6529 RK |
245 | } |
246 | ||
247 | #titlebar-max { | |
5305ef8d RK |
248 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
249 | } | |
250 | ||
251 | #titlebar-max:hover { | |
252 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); | |
319c6529 RK |
253 | } |
254 | ||
255 | #main-window[sizemode="maximized"] #titlebar-max { | |
5305ef8d RK |
256 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
257 | } | |
258 | ||
259 | #main-window[sizemode="maximized"] #titlebar-max:hover { | |
260 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
319c6529 RK |
261 | } |
262 | ||
263 | #titlebar-close { | |
5305ef8d RK |
264 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
265 | } | |
266 | ||
267 | #titlebar-close:hover { | |
268 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
acb0e9b8 | 269 | } |
270 | ||
ee49f520 RK |
271 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
272 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
54d92f05 RK |
273 | #titlebar-fullscreen-button { |
274 | -moz-appearance: none; | |
275 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png"); | |
276 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
277 | } | |
278 | ||
279 | #titlebar-fullscreen-button:hover { | |
280 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
281 | } | |
282 | ||
283 | @media (min-resolution: 2dppx) { | |
284 | #titlebar-fullscreen-button { | |
285 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png"); | |
286 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
287 | } | |
288 | ||
289 | #titlebar-fullscreen-button:hover { | |
290 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
291 | } | |
292 | } | |
293 | } | |
294 | ||
295 | ||
acb0e9b8 | 296 | /* ::::: bookmark buttons ::::: */ |
297 | ||
c0f6797e RK |
298 | toolbarbutton.bookmark-item:not(.subviewbutton), |
299 | #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { | |
300 | /* margin: 0; | |
301 | padding: 2px 3px;*/ | |
302 | } | |
303 | ||
304 | toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active, | |
305 | toolbarbutton.bookmark-item[open="true"] { | |
306 | /* padding-top: 3px; | |
307 | padding-bottom: 1px; | |
308 | -moz-padding-start: 4px; | |
309 | -moz-padding-end: 2px;*/ | |
310 | } | |
311 | ||
26125509 RK |
312 | .bookmark-item > .toolbarbutton-icon, |
313 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { | |
acb0e9b8 | 314 | width: 16px; |
315 | height: 16px; | |
316 | } | |
317 | ||
26125509 RK |
318 | /* Force the display of the label for bookmarks */ |
319 | .bookmark-item > .toolbarbutton-text, | |
320 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { | |
acb0e9b8 | 321 | display: -moz-box !important; |
322 | } | |
323 | ||
319c6529 RK |
324 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
325 | display: none; | |
326 | } | |
327 | ||
26125509 | 328 | #bookmarks-toolbar-placeholder { |
8da9da4e | 329 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
319c6529 RK |
330 | } |
331 | ||
e20c83c3 RK |
332 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, |
333 | #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { | |
334 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; | |
335 | } | |
336 | ||
337 | /* ----- BOOKMARK STAR ANIMATION ----- */ | |
338 | ||
339 | @keyframes animation-bookmarkAdded { | |
340 | from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } | |
341 | 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } | |
342 | 80% { opacity: 1; } | |
343 | to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } | |
344 | } | |
345 | ||
346 | @keyframes animation-bookmarkPulse { | |
347 | from { transform: scale(1); } | |
348 | 50% { transform: scale(1.3); } | |
349 | to { transform: scale(1); } | |
350 | } | |
351 | ||
352 | #bookmarked-notification-container { | |
353 | min-height: 1px; | |
354 | min-width: 1px; | |
355 | height: 1px; | |
356 | margin-bottom: -1px; | |
357 | z-index: 5; | |
358 | position: relative; | |
359 | } | |
360 | ||
361 | #bookmarked-notification { | |
362 | background-size: 16px; | |
363 | background-position: center; | |
364 | background-repeat: no-repeat; | |
365 | width: 16px; | |
366 | height: 16px; | |
367 | opacity: 0; | |
368 | } | |
369 | ||
c0f6797e RK |
370 | #bookmarked-notification-dropmarker-anchor { |
371 | z-index: -1; | |
372 | position: relative; | |
373 | } | |
374 | ||
375 | #bookmarked-notification-dropmarker-icon { | |
376 | width: 18px; | |
377 | height: 18px; | |
378 | visibility: hidden; | |
379 | } | |
380 | ||
e20c83c3 RK |
381 | #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { |
382 | background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); | |
383 | animation: animation-bookmarkAdded 800ms; | |
384 | animation-timing-function: ease, ease, ease; | |
385 | } | |
386 | ||
387 | #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
c0f6797e RK |
388 | list-style-image: none !important; |
389 | } | |
390 | ||
391 | #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { | |
392 | visibility: visible; | |
e20c83c3 RK |
393 | animation: animation-bookmarkPulse 300ms; |
394 | animation-delay: 600ms; | |
395 | animation-timing-function: ease-out; | |
396 | } | |
397 | ||
319c6529 RK |
398 | /* ::::: bookmark menus ::::: */ |
399 | ||
400 | menu.bookmark-item, | |
401 | menuitem.bookmark-item { | |
402 | min-width: 0; | |
ab799a7a | 403 | max-width: 32em; |
319c6529 RK |
404 | } |
405 | ||
e20c83c3 | 406 | .bookmark-item:not(.subviewbutton) > .menu-iconic-left { |
319c6529 RK |
407 | margin-top: 0; |
408 | margin-bottom: 0; | |
409 | } | |
410 | ||
411 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
412 | -moz-padding-start: 0px; | |
413 | } | |
414 | ||
415 | /* ::::: bookmark items ::::: */ | |
416 | ||
417 | .bookmark-item { | |
dce90fef | 418 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 419 | -moz-image-region: auto; |
319c6529 RK |
420 | } |
421 | ||
422 | .bookmark-item[container] { | |
423 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 424 | -moz-image-region: auto; |
319c6529 RK |
425 | } |
426 | ||
427 | .bookmark-item[container][open] { | |
428 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 429 | -moz-image-region: auto; |
319c6529 RK |
430 | } |
431 | ||
8da9da4e RK |
432 | .bookmark-item[container][livemark] { |
433 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
319c6529 RK |
434 | -moz-image-region: auto; |
435 | } | |
436 | ||
437 | .bookmark-item[container][livemark] .bookmark-item { | |
8da9da4e | 438 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
719b06bc | 439 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
319c6529 RK |
440 | } |
441 | ||
eec397be | 442 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
719b06bc | 443 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
eec397be RK |
444 | } |
445 | ||
319c6529 | 446 | .bookmark-item[container][query] { |
8da9da4e | 447 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
319c6529 RK |
448 | -moz-image-region: auto; |
449 | } | |
450 | ||
451 | .bookmark-item[query][tagContainer] { | |
452 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
453 | -moz-image-region: auto; | |
454 | } | |
455 | ||
456 | .bookmark-item[query][dayContainer] { | |
8da9da4e | 457 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
319c6529 RK |
458 | -moz-image-region: auto; |
459 | } | |
460 | ||
461 | .bookmark-item[query][hostContainer] { | |
462 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 463 | -moz-image-region: auto; |
319c6529 RK |
464 | } |
465 | ||
466 | .bookmark-item[query][hostContainer][open] { | |
467 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 468 | -moz-image-region: auto; |
319c6529 RK |
469 | } |
470 | ||
b1234db8 RK |
471 | .bookmark-item[cutting] > .toolbarbutton-icon, |
472 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { | |
473 | opacity: 0.5; | |
474 | } | |
475 | ||
476 | .bookmark-item[cutting] > .toolbarbutton-text, | |
477 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { | |
478 | opacity: 0.7; | |
479 | } | |
480 | ||
319c6529 RK |
481 | /* ::::: primary toolbar buttons ::::: */ |
482 | ||
43cc2806 RK |
483 | /* === BEGIN toolbarbuttons.inc.css === */ |
484 | ||
485 | /* Whole section of this included file: */ | |
51994fad RK |
486 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
487 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
488 | #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, | |
489 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, | |
490 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
491 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
22180555 | 492 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button), |
51994fad | 493 | |
7d3f7f14 | 494 | #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
495 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
496 | } | |
497 | ||
7d3f7f14 | 498 | #back-button { |
43cc2806 RK |
499 | -moz-image-region: rect(0, 36px, 18px, 18px); |
500 | } | |
501 | ||
7d3f7f14 | 502 | #back-button:hover:not([disabled="true"]) { |
43cc2806 RK |
503 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
504 | } | |
505 | ||
7d3f7f14 | 506 | #back-button[disabled="true"] { |
43cc2806 RK |
507 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
508 | } | |
509 | ||
7d3f7f14 | 510 | #forward-button { |
43cc2806 RK |
511 | -moz-image-region: rect(0, 72px, 18px, 54px); |
512 | } | |
513 | ||
7d3f7f14 | 514 | #forward-button:hover:not([disabled="true"]) { |
43cc2806 RK |
515 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
516 | } | |
517 | ||
7d3f7f14 | 518 | #forward-button[disabled="true"] { |
43cc2806 RK |
519 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
520 | } | |
521 | ||
7d3f7f14 RK |
522 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
523 | #forward-button:-moz-locale-dir(rtl) { | |
43cc2806 RK |
524 | transform: scaleX(-1); |
525 | } | |
526 | ||
7d3f7f14 | 527 | #home-button[cui-areatype="toolbar"] { |
43cc2806 RK |
528 | -moz-image-region: rect(0, 126px, 18px, 108px); |
529 | } | |
530 | ||
7d3f7f14 | 531 | #home-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
532 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
533 | } | |
534 | ||
7d3f7f14 | 535 | #bookmarks-menu-button[cui-areatype="toolbar"] { |
43cc2806 RK |
536 | -moz-image-region: rect(0, 144px, 18px, 126px); |
537 | } | |
538 | ||
7d3f7f14 RK |
539 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover, |
540 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
541 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
542 | } | |
543 | ||
43ee1307 | 544 | /* When "new tab" page shows up, the menubutton-button (star button) is disabled */ |
7d3f7f14 | 545 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] { |
43ee1307 RK |
546 | -moz-image-region: rect(36px, 144px, 54px, 126px) !important; |
547 | background-color: transparent !important; | |
548 | } | |
549 | ||
7d3f7f14 | 550 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] { |
43cc2806 RK |
551 | -moz-image-region: rect(0, 162px, 18px, 144px); |
552 | } | |
553 | ||
7d3f7f14 | 554 | #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover, |
83e3b5cf RK |
555 | #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"], |
556 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] { | |
557 | /* When starred and clicked (for edit/delete dialog), | |
558 | * then only the menubutton-button itself is open, but not the whole menubutton. */ | |
43cc2806 RK |
559 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
560 | } | |
561 | ||
7d3f7f14 | 562 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
563 | -moz-image-region: rect(0, 630px, 18px, 612px); |
564 | } | |
565 | ||
7d3f7f14 | 566 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
43cc2806 RK |
567 | padding: 1px; |
568 | -moz-box-align: center; | |
569 | } | |
570 | ||
7d3f7f14 RK |
571 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
572 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
43cc2806 RK |
573 | -moz-image-region: rect(18px, 630px, 36px, 612px); |
574 | } | |
575 | ||
7d3f7f14 RK |
576 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
577 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
43cc2806 RK |
578 | padding-top: 2px; |
579 | padding-bottom: 0px; | |
580 | -moz-padding-start: 2px; | |
581 | -moz-padding-end: 0px; | |
582 | } | |
583 | ||
7d3f7f14 | 584 | #history-panelmenu[cui-areatype="toolbar"] { |
43cc2806 RK |
585 | -moz-image-region: rect(0, 180px, 18px, 162px); |
586 | } | |
587 | ||
7d3f7f14 RK |
588 | #history-panelmenu[cui-areatype="toolbar"]:hover, |
589 | #history-panelmenu[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
590 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
591 | } | |
592 | ||
7d3f7f14 | 593 | #downloads-button[cui-areatype="toolbar"] { |
43cc2806 RK |
594 | -moz-image-region: rect(0, 198px, 18px, 180px); |
595 | } | |
596 | ||
7d3f7f14 RK |
597 | #downloads-button[cui-areatype="toolbar"]:hover, |
598 | #downloads-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
599 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
600 | } | |
601 | ||
7d3f7f14 | 602 | #add-ons-button[cui-areatype="toolbar"] { |
43cc2806 RK |
603 | -moz-image-region: rect(0, 216px, 18px, 198px); |
604 | } | |
605 | ||
7d3f7f14 | 606 | #add-ons-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
607 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
608 | } | |
609 | ||
7d3f7f14 | 610 | #open-file-button[cui-areatype="toolbar"] { |
43cc2806 RK |
611 | -moz-image-region: rect(0, 234px, 18px, 216px); |
612 | } | |
613 | ||
7d3f7f14 | 614 | #open-file-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
615 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
616 | } | |
617 | ||
7d3f7f14 | 618 | #save-page-button[cui-areatype="toolbar"] { |
43cc2806 RK |
619 | -moz-image-region: rect(0, 252px, 18px, 234px); |
620 | } | |
621 | ||
7d3f7f14 | 622 | #save-page-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
623 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
624 | } | |
625 | ||
7d3f7f14 | 626 | #sync-button[cui-areatype="toolbar"] { |
43cc2806 RK |
627 | -moz-image-region: rect(0, 270px, 18px, 252px); |
628 | } | |
629 | ||
7d3f7f14 | 630 | #sync-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
631 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
632 | } | |
633 | ||
5401f433 RK |
634 | #sync-button[cui-areatype="toolbar"][status="active"], |
635 | #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) { | |
636 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); | |
637 | -moz-image-region: rect(0, 18px, 18px, 0px); | |
638 | } | |
639 | ||
640 | /* | |
641 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext, | |
642 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) { | |
643 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); | |
644 | } | |
645 | */ | |
646 | ||
7d3f7f14 | 647 | #feed-button[cui-areatype="toolbar"] { |
43cc2806 RK |
648 | -moz-image-region: rect(0, 288px, 18px, 270px); |
649 | } | |
650 | ||
7d3f7f14 | 651 | #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
43cc2806 RK |
652 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
653 | } | |
654 | ||
7d3f7f14 | 655 | #feed-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
656 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
657 | } | |
658 | ||
7d3f7f14 | 659 | #social-share-button[cui-areatype="toolbar"] { |
43cc2806 RK |
660 | -moz-image-region: rect(0px, 306px, 18px, 288px); |
661 | } | |
662 | ||
22180555 RK |
663 | #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
664 | #social-share-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
665 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
666 | } | |
667 | ||
22180555 RK |
668 | #social-share-button[cui-areatype="toolbar"][disabled="true"] { |
669 | -moz-image-region: rect(36px, 306px, 54px, 288px); | |
670 | } | |
671 | ||
7d3f7f14 | 672 | #characterencoding-button[cui-areatype="toolbar"] { |
43cc2806 RK |
673 | -moz-image-region: rect(0, 324px, 18px, 306px); |
674 | } | |
675 | ||
7d3f7f14 RK |
676 | #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
677 | #characterencoding-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
678 | -moz-image-region: rect(18px, 324px, 36px, 306px); |
679 | } | |
680 | ||
7d3f7f14 | 681 | #characterencoding-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
682 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
683 | } | |
684 | ||
7d3f7f14 | 685 | #new-window-button[cui-areatype="toolbar"] { |
43cc2806 RK |
686 | -moz-image-region: rect(0, 342px, 18px, 324px); |
687 | } | |
688 | ||
7d3f7f14 | 689 | #new-window-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
690 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
691 | } | |
692 | ||
46e71434 RK |
693 | #e10s-button[cui-areatype="toolbar"] { |
694 | -moz-image-region: rect(0, 342px, 18px, 324px); | |
695 | } | |
696 | ||
697 | #e10s-button[cui-areatype="toolbar"]:hover { | |
698 | -moz-image-region: rect(18px, 342px, 36px, 324px); | |
699 | } | |
700 | ||
701 | #e10s-button > .toolbarbutton-icon { | |
702 | transform: scaleY(-1); | |
703 | } | |
704 | ||
7d3f7f14 | 705 | #new-tab-button[cui-areatype="toolbar"] { |
43cc2806 RK |
706 | -moz-image-region: rect(0, 360px, 18px, 342px); |
707 | } | |
708 | ||
7d3f7f14 | 709 | #new-tab-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
710 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
711 | } | |
712 | ||
7d3f7f14 | 713 | #privatebrowsing-button[cui-areatype="toolbar"] { |
43cc2806 RK |
714 | -moz-image-region: rect(0, 378px, 18px, 360px); |
715 | } | |
716 | ||
7d3f7f14 | 717 | #privatebrowsing-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
718 | -moz-image-region: rect(18px, 378px, 36px, 360px); |
719 | } | |
720 | ||
7d3f7f14 | 721 | #find-button[cui-areatype="toolbar"] { |
43cc2806 RK |
722 | -moz-image-region: rect(0, 396px, 18px, 378px); |
723 | } | |
724 | ||
7d3f7f14 | 725 | #find-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
726 | -moz-image-region: rect(18px, 396px, 36px, 378px); |
727 | } | |
728 | ||
7d3f7f14 | 729 | #print-button[cui-areatype="toolbar"] { |
43cc2806 RK |
730 | -moz-image-region: rect(0, 414px, 18px, 396px); |
731 | } | |
732 | ||
7d3f7f14 | 733 | #print-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
734 | -moz-image-region: rect(18px, 414px, 36px, 396px); |
735 | } | |
736 | ||
7d3f7f14 | 737 | #fullscreen-button[cui-areatype="toolbar"] { |
43cc2806 RK |
738 | -moz-image-region: rect(0, 432px, 18px, 414px); |
739 | } | |
740 | ||
7d3f7f14 | 741 | #fullscreen-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
742 | -moz-image-region: rect(18px, 432px, 36px, 414px); |
743 | } | |
744 | ||
7d3f7f14 | 745 | #developer-button[cui-areatype="toolbar"] { |
43cc2806 RK |
746 | -moz-image-region: rect(0, 450px, 18px, 432px); |
747 | } | |
748 | ||
7d3f7f14 RK |
749 | #developer-button[cui-areatype="toolbar"]:hover, |
750 | #developer-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
751 | -moz-image-region: rect(18px, 450px, 36px, 432px); |
752 | } | |
753 | ||
7d3f7f14 | 754 | #preferences-button[cui-areatype="toolbar"] { |
43cc2806 RK |
755 | -moz-image-region: rect(0, 468px, 18px, 450px); |
756 | } | |
757 | ||
7d3f7f14 | 758 | #preferences-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
759 | -moz-image-region: rect(18px, 468px, 36px, 450px); |
760 | } | |
761 | ||
7d3f7f14 | 762 | #PanelUI-menu-button { |
43cc2806 RK |
763 | -moz-image-region: rect(0, 486px, 18px, 468px); |
764 | } | |
765 | ||
7d3f7f14 RK |
766 | #PanelUI-menu-button:hover, |
767 | #PanelUI-menu-button[open="true"] { | |
43cc2806 RK |
768 | -moz-image-region: rect(18px, 486px, 36px, 468px); |
769 | } | |
770 | ||
51994fad | 771 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button { |
43cc2806 RK |
772 | -moz-image-region: rect(0, 504px, 18px, 486px); |
773 | } | |
774 | ||
51994fad | 775 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) { |
43cc2806 RK |
776 | -moz-image-region: rect(18px, 504px, 36px, 486px); |
777 | } | |
778 | ||
51994fad | 779 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] { |
cc4b0b0d RK |
780 | -moz-image-region: rect(36px, 504px, 54px, 486px); |
781 | } | |
782 | ||
51994fad | 783 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button { |
43cc2806 RK |
784 | -moz-image-region: rect(0, 522px, 18px, 504px); |
785 | } | |
786 | ||
51994fad | 787 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) { |
43cc2806 RK |
788 | -moz-image-region: rect(18px, 522px, 36px, 504px); |
789 | } | |
790 | ||
51994fad | 791 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] { |
cc4b0b0d RK |
792 | -moz-image-region: rect(36px, 522px, 54px, 504px); |
793 | } | |
794 | ||
51994fad | 795 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button { |
43cc2806 RK |
796 | -moz-image-region: rect(0, 540px, 18px, 522px); |
797 | } | |
798 | ||
51994fad | 799 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) { |
43cc2806 RK |
800 | -moz-image-region: rect(18px, 540px, 36px, 522px); |
801 | } | |
802 | ||
51994fad | 803 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] { |
cc4b0b0d RK |
804 | -moz-image-region: rect(36px, 540px, 54px, 522px); |
805 | } | |
806 | ||
51994fad | 807 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button { |
43cc2806 RK |
808 | -moz-image-region: rect(0, 558px, 18px, 540px); |
809 | } | |
810 | ||
51994fad | 811 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) { |
43cc2806 RK |
812 | -moz-image-region: rect(18px, 558px, 36px, 540px); |
813 | } | |
814 | ||
51994fad | 815 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
816 | -moz-image-region: rect(36px, 558px, 54px, 540px); |
817 | } | |
818 | ||
51994fad | 819 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button { |
43cc2806 RK |
820 | -moz-image-region: rect(0, 576px, 18px, 558px); |
821 | } | |
822 | ||
51994fad | 823 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) { |
43cc2806 RK |
824 | -moz-image-region: rect(18px, 576px, 36px, 558px); |
825 | } | |
826 | ||
51994fad | 827 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
828 | -moz-image-region: rect(36px, 576px, 54px, 558px); |
829 | } | |
830 | ||
7d3f7f14 | 831 | #nav-bar-overflow-button { |
43cc2806 RK |
832 | -moz-image-region: rect(0, 612px, 18px, 594px); |
833 | } | |
834 | ||
7d3f7f14 RK |
835 | #nav-bar-overflow-button:hover, |
836 | #nav-bar-overflow-button[open="true"] { | |
43cc2806 RK |
837 | -moz-image-region: rect(18px, 612px, 36px, 594px); |
838 | } | |
839 | ||
46e71434 RK |
840 | #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
841 | transform: scaleX(-1); | |
842 | } | |
843 | ||
c0f6797e RK |
844 | #tabview-button { |
845 | -moz-image-region: rect(0, 648px, 18px, 630px); | |
846 | } | |
847 | ||
848 | #tabview-button:hover { | |
849 | -moz-image-region: rect(18px, 648px, 36px, 630px); | |
850 | } | |
851 | ||
852 | #email-link-button[cui-areatype="toolbar"] { | |
853 | -moz-image-region: rect(0, 666px, 18px, 648px); | |
854 | } | |
855 | ||
22180555 | 856 | #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
c0f6797e RK |
857 | -moz-image-region: rect(18px, 666px, 36px, 648px); |
858 | } | |
859 | ||
22180555 RK |
860 | #email-button[cui-areatype="toolbar"][disabled="true"] { |
861 | -moz-image-region: rect(36px, 666px, 54px, 648px); | |
862 | } | |
863 | ||
c0f6797e RK |
864 | #sidebar-button[cui-areatype="toolbar"] { |
865 | -moz-image-region: rect(0, 684px, 18px, 666px); | |
866 | } | |
867 | ||
868 | #sidebar-button[cui-areatype="toolbar"]:hover { | |
869 | -moz-image-region: rect(18px, 684px, 36px, 666px); | |
870 | } | |
871 | ||
22180555 RK |
872 | #panic-button[cui-areatype="toolbar"] { |
873 | -moz-image-region: rect(0, 702px, 18px, 684px); | |
874 | } | |
875 | ||
876 | #panic-button[cui-areatype="toolbar"]:hover, | |
877 | #panic-button[cui-areatype="toolbar"][open] { | |
878 | -moz-image-region: rect(18px, 702px, 36px, 684px); | |
879 | } | |
880 | ||
881 | #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
882 | transform: scaleX(-1); | |
883 | } | |
884 | ||
885 | #web-apps-button[cui-areatype="toolbar"] { | |
886 | -moz-image-region: rect(0, 720px, 18px, 702px); | |
887 | } | |
888 | ||
889 | #web-apps-button[cui-areatype="toolbar"]:hover { | |
890 | -moz-image-region: rect(18px, 720px, 36px, 702px); | |
891 | } | |
892 | ||
d0e580f1 RK |
893 | #loop-call-button > .toolbarbutton-badge-container { |
894 | list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); | |
895 | -moz-image-region: rect(0, 18px, 18px, 0); | |
896 | } | |
897 | ||
898 | #loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
899 | -moz-image-region: rect(0, 90px, 18px, 72px); | |
900 | } | |
901 | ||
902 | #loop-call-button[disabled="true"] > .toolbarbutton-badge-container { | |
903 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
904 | } | |
905 | ||
906 | #loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
907 | -moz-image-region: rect(0, 126px, 18px, 108px); | |
908 | } | |
909 | ||
910 | #loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { | |
911 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
912 | } | |
913 | ||
914 | #loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { | |
915 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
916 | } | |
917 | ||
918 | #loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { | |
919 | -moz-image-region: rect(0, 108px, 18px, 90px); | |
920 | } | |
921 | ||
43cc2806 RK |
922 | /* === END toolbarbuttons.inc.css === */ |
923 | ||
924 | /* === BEGIN menupanel.inc.css === */ | |
925 | ||
926 | /* Menu panel and palette styles */ | |
927 | ||
51994fad | 928 | toolbaritem[sdkstylewidget="true"] > toolbarbutton, |
5401f433 RK |
929 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
930 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
1988bb88 | 931 | #social-share-button, #open-file-button, #find-button, #developer-button, |
5401f433 RK |
932 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
933 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
934 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
22180555 | 935 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button)[cui-areatype="menu-panel"], |
5401f433 RK |
936 | toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
937 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
1988bb88 | 938 | #social-share-button, #open-file-button, #find-button, #developer-button, |
5401f433 RK |
939 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
940 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
941 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
22180555 | 942 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button) { |
d0e580f1 | 943 | list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */ |
43cc2806 RK |
944 | } |
945 | ||
946 | #home-button[cui-areatype="menu-panel"], | |
7d3f7f14 | 947 | toolbarpaletteitem[place="palette"] > #home-button { |
43cc2806 RK |
948 | -moz-image-region: rect(0px, 128px, 32px, 96px); |
949 | } | |
950 | ||
cc4b0b0d | 951 | #home-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 952 | toolbarpaletteitem[place="palette"] > #home-button:hover { |
cc4b0b0d RK |
953 | -moz-image-region: rect(32px, 128px, 64px, 96px); |
954 | } | |
955 | ||
43cc2806 | 956 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
7d3f7f14 | 957 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { |
46e71434 | 958 | -moz-image-region: rect(0px, 192px, 32px, 160px); |
43cc2806 RK |
959 | } |
960 | ||
cc4b0b0d | 961 | #bookmarks-menu-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 962 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { |
46e71434 RK |
963 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
964 | } | |
965 | ||
966 | #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
967 | -moz-image-region: rect(32px, 192px, 64px, 160px); | |
cc4b0b0d RK |
968 | } |
969 | ||
43cc2806 | 970 | #history-panelmenu[cui-areatype="menu-panel"], |
7d3f7f14 | 971 | toolbarpaletteitem[place="palette"] > #history-panelmenu { |
43cc2806 RK |
972 | -moz-image-region: rect(0px, 224px, 32px, 192px); |
973 | } | |
974 | ||
cc4b0b0d | 975 | #history-panelmenu[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 976 | toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { |
cc4b0b0d RK |
977 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
978 | } | |
979 | ||
46e71434 RK |
980 | #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
981 | -moz-image-region: rect(32px, 224px, 64px, 192px); | |
982 | } | |
983 | ||
43cc2806 | 984 | #downloads-button[cui-areatype="menu-panel"], |
7d3f7f14 | 985 | toolbarpaletteitem[place="palette"] > #downloads-button { |
43cc2806 RK |
986 | -moz-image-region: rect(0px, 256px, 32px, 224px); |
987 | } | |
988 | ||
cc4b0b0d | 989 | #downloads-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 990 | toolbarpaletteitem[place="palette"] > #downloads-button:hover { |
cc4b0b0d RK |
991 | -moz-image-region: rect(32px, 256px, 64px, 224px); |
992 | } | |
993 | ||
43cc2806 | 994 | #add-ons-button[cui-areatype="menu-panel"], |
7d3f7f14 | 995 | toolbarpaletteitem[place="palette"] > #add-ons-button { |
43cc2806 RK |
996 | -moz-image-region: rect(0px, 288px, 32px, 256px); |
997 | } | |
998 | ||
cc4b0b0d | 999 | #add-ons-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1000 | toolbarpaletteitem[place="palette"] > #add-ons-button:hover { |
cc4b0b0d RK |
1001 | -moz-image-region: rect(32px, 288px, 64px, 256px); |
1002 | } | |
1003 | ||
43cc2806 | 1004 | #open-file-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1005 | toolbarpaletteitem[place="palette"] > #open-file-button { |
43cc2806 RK |
1006 | -moz-image-region: rect(0px, 320px, 32px, 288px); |
1007 | } | |
1008 | ||
cc4b0b0d | 1009 | #open-file-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1010 | toolbarpaletteitem[place="palette"] > #open-file-button:hover { |
cc4b0b0d RK |
1011 | -moz-image-region: rect(32px, 320px, 64px, 288px); |
1012 | } | |
1013 | ||
43cc2806 | 1014 | #save-page-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1015 | toolbarpaletteitem[place="palette"] > #save-page-button { |
43cc2806 RK |
1016 | -moz-image-region: rect(0px, 352px, 32px, 320px); |
1017 | } | |
1018 | ||
cc4b0b0d | 1019 | #save-page-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1020 | toolbarpaletteitem[place="palette"] > #save-page-button:hover { |
cc4b0b0d RK |
1021 | -moz-image-region: rect(32px, 352px, 64px, 320px); |
1022 | } | |
1023 | ||
43cc2806 | 1024 | #sync-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1025 | toolbarpaletteitem[place="palette"] > #sync-button { |
43cc2806 RK |
1026 | -moz-image-region: rect(0px, 384px, 32px, 352px); |
1027 | } | |
1028 | ||
cc4b0b0d | 1029 | #sync-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1030 | toolbarpaletteitem[place="palette"] > #sync-button:hover { |
cc4b0b0d RK |
1031 | -moz-image-region: rect(32px, 384px, 64px, 352px); |
1032 | } | |
1033 | ||
5401f433 RK |
1034 | #sync-button[cui-areatype="menu-panel"][status="active"] { |
1035 | list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); | |
1036 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
1037 | } | |
1038 | ||
43cc2806 | 1039 | #feed-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1040 | toolbarpaletteitem[place="palette"] > #feed-button { |
43cc2806 RK |
1041 | -moz-image-region: rect(0px, 416px, 32px, 384px); |
1042 | } | |
1043 | ||
cc4b0b0d | 1044 | #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
7d3f7f14 | 1045 | toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1046 | -moz-image-region: rect(32px, 416px, 64px, 384px); |
1047 | } | |
1048 | ||
1049 | #feed-button[cui-areatype="menu-panel"][disabled="true"], | |
7d3f7f14 | 1050 | toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { |
cc4b0b0d RK |
1051 | -moz-image-region: rect(64px, 416px, 96px, 384px); |
1052 | } | |
1053 | ||
43cc2806 | 1054 | #social-share-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1055 | toolbarpaletteitem[place="palette"] > #social-share-button { |
43cc2806 RK |
1056 | -moz-image-region: rect(0px, 448px, 32px, 416px); |
1057 | } | |
1058 | ||
22180555 RK |
1059 | #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1060 | toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) { | |
cc4b0b0d RK |
1061 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
1062 | } | |
1063 | ||
22180555 RK |
1064 | #social-share-button[cui-areatype="menu-panel"][disabled="true"], |
1065 | toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] { | |
1066 | -moz-image-region: rect(64px, 448px, 96px, 416px); | |
1067 | } | |
1068 | ||
43cc2806 | 1069 | #characterencoding-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1070 | toolbarpaletteitem[place="palette"] > #characterencoding-button { |
43cc2806 RK |
1071 | -moz-image-region: rect(0px, 480px, 32px, 448px); |
1072 | } | |
1073 | ||
cc4b0b0d | 1074 | #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
7d3f7f14 | 1075 | toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1076 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
1077 | } | |
1078 | ||
1079 | #characterencoding-button[cui-areatype="menu-panel"][disabled="true"], | |
7d3f7f14 | 1080 | toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { |
cc4b0b0d RK |
1081 | -moz-image-region: rect(64px, 480px, 96px, 448px); |
1082 | } | |
1083 | ||
46e71434 RK |
1084 | #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1085 | -moz-image-region: rect(32px, 480px, 64px, 448px); | |
1086 | } | |
1087 | ||
43cc2806 | 1088 | #new-window-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1089 | toolbarpaletteitem[place="palette"] > #new-window-button { |
43cc2806 RK |
1090 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
1091 | } | |
1092 | ||
cc4b0b0d | 1093 | #new-window-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1094 | toolbarpaletteitem[place="palette"] > #new-window-button:hover { |
cc4b0b0d RK |
1095 | -moz-image-region: rect(32px, 512px, 64px, 480px); |
1096 | } | |
1097 | ||
5401f433 RK |
1098 | #e10s-button[cui-areatype="menu-panel"], |
1099 | toolbarpaletteitem[place="palette"] > #e10s-button { | |
1100 | -moz-image-region: rect(0px, 512px, 32px, 480px); | |
1101 | } | |
1102 | ||
1103 | #e10s-button[cui-areatype="menu-panel"]:hover, | |
1104 | toolbarpaletteitem[place="palette"] > #e10s-button:hover { | |
1105 | -moz-image-region: rect(32px, 512px, 64px, 480px); | |
1106 | } | |
1107 | ||
43cc2806 | 1108 | #new-tab-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1109 | toolbarpaletteitem[place="palette"] > #new-tab-button { |
43cc2806 RK |
1110 | -moz-image-region: rect(0px, 544px, 32px, 512px); |
1111 | } | |
1112 | ||
cc4b0b0d | 1113 | #new-tab-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1114 | toolbarpaletteitem[place="palette"] > #new-tab-button:hover { |
cc4b0b0d RK |
1115 | -moz-image-region: rect(32px, 544px, 64px, 512px); |
1116 | } | |
1117 | ||
43cc2806 | 1118 | #privatebrowsing-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1119 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button { |
43cc2806 RK |
1120 | -moz-image-region: rect(0px, 576px, 32px, 544px); |
1121 | } | |
1122 | ||
cc4b0b0d | 1123 | #privatebrowsing-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1124 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { |
cc4b0b0d RK |
1125 | -moz-image-region: rect(32px, 576px, 64px, 544px); |
1126 | } | |
1127 | ||
46e71434 RK |
1128 | #tabview-button[cui-areatype="menu-panel"], |
1129 | toolbarpaletteitem[place="palette"] > #tabview-button { | |
1130 | -moz-image-region: rect(0px, 608px, 32px, 576px); | |
1131 | } | |
1132 | ||
1133 | #tabview-button[cui-areatype="menu-panel"]:hover, | |
1134 | toolbarpaletteitem[place="palette"] > #tabview-button:hover { | |
1135 | -moz-image-region: rect(32px, 608px, 64px, 576px); | |
1136 | } | |
1137 | ||
43cc2806 | 1138 | #find-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1139 | toolbarpaletteitem[place="palette"] > #find-button { |
43cc2806 RK |
1140 | -moz-image-region: rect(0px, 640px, 32px, 608px); |
1141 | } | |
1142 | ||
cc4b0b0d | 1143 | #find-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1144 | toolbarpaletteitem[place="palette"] > #find-button:hover { |
cc4b0b0d RK |
1145 | -moz-image-region: rect(32px, 640px, 64px, 608px); |
1146 | } | |
1147 | ||
43cc2806 | 1148 | #print-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1149 | toolbarpaletteitem[place="palette"] > #print-button { |
43cc2806 RK |
1150 | -moz-image-region: rect(0px, 672px, 32px, 640px); |
1151 | } | |
1152 | ||
cc4b0b0d | 1153 | #print-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1154 | toolbarpaletteitem[place="palette"] > #print-button:hover { |
cc4b0b0d RK |
1155 | -moz-image-region: rect(32px, 672px, 64px, 640px); |
1156 | } | |
1157 | ||
43cc2806 | 1158 | #fullscreen-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1159 | toolbarpaletteitem[place="palette"] > #fullscreen-button { |
43cc2806 RK |
1160 | -moz-image-region: rect(0px, 704px, 32px, 672px); |
1161 | } | |
1162 | ||
cc4b0b0d | 1163 | #fullscreen-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1164 | toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { |
cc4b0b0d RK |
1165 | -moz-image-region: rect(32px, 704px, 64px, 672px); |
1166 | } | |
1167 | ||
43cc2806 | 1168 | #developer-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1169 | toolbarpaletteitem[place="palette"] > #developer-button { |
43cc2806 RK |
1170 | -moz-image-region: rect(0px, 736px, 32px, 704px); |
1171 | } | |
1172 | ||
cc4b0b0d | 1173 | #developer-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1174 | toolbarpaletteitem[place="palette"] > #developer-button:hover { |
cc4b0b0d RK |
1175 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
1176 | } | |
1177 | ||
46e71434 RK |
1178 | #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1179 | -moz-image-region: rect(32px, 736px, 64px, 704px); | |
1180 | } | |
1181 | ||
43cc2806 | 1182 | #preferences-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1183 | toolbarpaletteitem[place="palette"] > #preferences-button { |
43cc2806 RK |
1184 | -moz-image-region: rect(0px, 768px, 32px, 736px); |
1185 | } | |
1186 | ||
cc4b0b0d | 1187 | #preferences-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1188 | toolbarpaletteitem[place="palette"] > #preferences-button:hover { |
cc4b0b0d RK |
1189 | -moz-image-region: rect(32px, 768px, 64px, 736px); |
1190 | } | |
1191 | ||
46e71434 RK |
1192 | #email-link-button[cui-areatype="menu-panel"], |
1193 | toolbarpaletteitem[place="palette"] > #email-link-button { | |
1194 | -moz-image-region: rect(0, 800px, 32px, 768px); | |
1195 | } | |
1196 | ||
22180555 RK |
1197 | #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1198 | toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) { | |
46e71434 RK |
1199 | -moz-image-region: rect(32px, 800px, 64px, 768px); |
1200 | } | |
1201 | ||
22180555 RK |
1202 | #email-link-button[cui-areatype="menu-panel"][disabled="true"], |
1203 | toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] { | |
1204 | -moz-image-region: rect(64px, 800px, 96px, 768px); | |
1205 | } | |
1206 | ||
46e71434 RK |
1207 | #sidebar-button[cui-areatype="menu-panel"], |
1208 | toolbarpaletteitem[place="palette"] > #sidebar-button { | |
1209 | -moz-image-region: rect(0, 864px, 32px, 832px); | |
1210 | } | |
1211 | ||
1212 | #sidebar-button[cui-areatype="menu-panel"]:hover, | |
22180555 RK |
1213 | toolbarpaletteitem[place="palette"] > #sidebar-button:hover, |
1214 | #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
46e71434 RK |
1215 | -moz-image-region: rect(32px, 864px, 64px, 832px); |
1216 | } | |
1217 | ||
22180555 RK |
1218 | #panic-button[cui-areatype="menu-panel"], |
1219 | toolbarpaletteitem[place="palette"] > #panic-button { | |
1220 | -moz-image-region: rect(0, 896px, 32px, 864px); | |
1221 | } | |
1222 | ||
1223 | #panic-button[cui-areatype="menu-panel"]:hover, | |
1224 | toolbarpaletteitem[place="palette"] > #panic-button:hover, | |
1225 | #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
1226 | -moz-image-region: rect(32px, 896px, 64px, 864px); | |
1227 | } | |
1228 | ||
1229 | #web-apps-button[cui-areatype="menu-panel"], | |
1230 | toolbarpaletteitem[place="palette"] > #web-apps-button { | |
1231 | -moz-image-region: rect(0, 928px, 32px, 896px); | |
1232 | } | |
1233 | ||
1234 | #web-apps-button[cui-areatype="menu-panel"]:hover, | |
1235 | toolbarpaletteitem[place="palette"] > #web-apps-button:hover { | |
1236 | -moz-image-region: rect(32px, 928px, 64px, 896px); | |
46e71434 RK |
1237 | } |
1238 | ||
1239 | toolbaritem[sdkstylewidget="true"] > toolbarbutton { | |
1240 | -moz-image-region: rect(0, 832px, 32px, 800px); | |
1241 | } | |
1242 | ||
d0e580f1 RK |
1243 | #loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, |
1244 | toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container { | |
1245 | list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); | |
1246 | -moz-image-region: rect(0, 32px, 32px, 0); | |
1247 | } | |
1248 | ||
1249 | /* Make sure that the state icons are not shown in the customization palette. */ | |
1250 | toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container { | |
1251 | -moz-image-region: rect(0, 32px, 32px, 0) !important; | |
1252 | } | |
1253 | ||
1254 | #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
1255 | -moz-image-region: rect(0, 160px, 32px, 128px); | |
1256 | } | |
1257 | ||
1258 | #loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { | |
1259 | -moz-image-region: rect(0, 64px, 32px, 32px); | |
1260 | } | |
1261 | ||
1262 | #loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
1263 | -moz-image-region: rect(0, 224px, 32px, 192px); | |
1264 | } | |
1265 | ||
1266 | #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { | |
1267 | -moz-image-region: rect(0, 96px, 32px, 64px); | |
1268 | } | |
1269 | ||
1270 | #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { | |
1271 | -moz-image-region: rect(0, 128px, 32px, 96px); | |
1272 | } | |
1273 | ||
1274 | #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { | |
1275 | -moz-image-region: rect(0, 192px, 32px, 160px); | |
1276 | } | |
1277 | ||
43cc2806 RK |
1278 | /* Wide panel control icons */ |
1279 | ||
51994fad RK |
1280 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, |
1281 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, | |
7d3f7f14 RK |
1282 | toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, |
1283 | toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { | |
d0e580f1 | 1284 | list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */ |
43cc2806 RK |
1285 | } |
1286 | ||
51994fad | 1287 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button, |
7d3f7f14 | 1288 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { |
43cc2806 RK |
1289 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
1290 | } | |
1291 | ||
51994fad | 1292 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]), |
7d3f7f14 | 1293 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1294 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
1295 | } | |
1296 | ||
51994fad | 1297 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"], |
7d3f7f14 | 1298 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { |
cc4b0b0d RK |
1299 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
1300 | } | |
1301 | ||
51994fad | 1302 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button, |
7d3f7f14 | 1303 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { |
43cc2806 RK |
1304 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
1305 | } | |
1306 | ||
51994fad | 1307 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]), |
7d3f7f14 | 1308 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1309 | -moz-image-region: rect(16px, 48px, 32px, 32px); |
1310 | } | |
1311 | ||
51994fad | 1312 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"], |
7d3f7f14 | 1313 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { |
cc4b0b0d RK |
1314 | -moz-image-region: rect(32px, 48px, 48px, 32px); |
1315 | } | |
1316 | ||
51994fad | 1317 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button, |
7d3f7f14 | 1318 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { |
43cc2806 RK |
1319 | -moz-image-region: rect(0px, 64px, 16px, 48px); |
1320 | } | |
1321 | ||
51994fad | 1322 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]), |
7d3f7f14 | 1323 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1324 | -moz-image-region: rect(16px, 64px, 32px, 48px); |
1325 | } | |
1326 | ||
51994fad | 1327 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"], |
7d3f7f14 | 1328 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { |
cc4b0b0d RK |
1329 | -moz-image-region: rect(32px, 64px, 48px, 48px); |
1330 | } | |
1331 | ||
51994fad | 1332 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button, |
7d3f7f14 | 1333 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { |
43cc2806 RK |
1334 | -moz-image-region: rect(0px, 80px, 16px, 64px); |
1335 | } | |
1336 | ||
51994fad | 1337 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]), |
7d3f7f14 | 1338 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1339 | -moz-image-region: rect(16px, 80px, 32px, 64px); |
1340 | } | |
1341 | ||
51994fad | 1342 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"], |
7d3f7f14 | 1343 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
1344 | -moz-image-region: rect(32px, 80px, 48px, 64px); |
1345 | } | |
1346 | ||
51994fad | 1347 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button, |
7d3f7f14 | 1348 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { |
43cc2806 RK |
1349 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
1350 | } | |
1351 | ||
51994fad | 1352 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]), |
7d3f7f14 | 1353 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1354 | -moz-image-region: rect(16px, 96px, 32px, 80px); |
1355 | } | |
1356 | ||
51994fad | 1357 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"], |
7d3f7f14 | 1358 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
1359 | -moz-image-region: rect(32px, 96px, 48px, 80px); |
1360 | } | |
1361 | ||
43cc2806 RK |
1362 | /* === END menupanel.inc.css === */ |
1363 | ||
63ada306 RK |
1364 | .toolbarbutton-1:not([type="menu-button"]) { |
1365 | -moz-box-orient: vertical; | |
1366 | } | |
1367 | ||
319c6529 RK |
1368 | .toolbarbutton-1, |
1369 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
c0f6797e RK |
1370 | /* min-width: 36px; |
1371 | min-height: 36px;*/ | |
319c6529 RK |
1372 | } |
1373 | ||
1374 | .toolbarbutton-1, | |
1375 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1376 | .toolbarbutton-1[disabled="true"]:hover:active, | |
1377 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
1378 | padding: 1px 2px; | |
1379 | } | |
1380 | ||
1381 | .toolbarbutton-1:hover:active, | |
1382 | .toolbarbutton-1[open="true"], | |
1383 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
1384 | padding-top: 2px; | |
1385 | padding-bottom: 0px; | |
1386 | -moz-padding-start: 3px; | |
1387 | -moz-padding-end: 1px; | |
1388 | } | |
1389 | ||
c0f6797e RK |
1390 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, |
1391 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, | |
1392 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, | |
1393 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, | |
1394 | #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { | |
e20c83c3 RK |
1395 | } |
1396 | ||
c0f6797e RK |
1397 | .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, |
1398 | .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
e20c83c3 RK |
1399 | } |
1400 | ||
c0f6797e RK |
1401 | toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext, |
1402 | toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext { | |
319c6529 RK |
1403 | } |
1404 | ||
c0f6797e RK |
1405 | .toolbarbutton-1 > .toolbarbutton-icon, |
1406 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
319c6529 RK |
1407 | } |
1408 | ||
c0f6797e RK |
1409 | #nav-bar .toolbarbutton-1, |
1410 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
319c6529 RK |
1411 | } |
1412 | ||
c0f6797e RK |
1413 | #nav-bar .toolbarbutton-1:not([type=menu-button]), |
1414 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1415 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
319c6529 RK |
1416 | } |
1417 | ||
c0f6797e RK |
1418 | #nav-bar #PanelUI-menu-button { |
1419 | /* -moz-padding-start: 7px; | |
1420 | -moz-padding-end: 5px;*/ | |
319c6529 RK |
1421 | } |
1422 | ||
c0f6797e RK |
1423 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) { |
1424 | /* padding-left: 5px; | |
1425 | padding-right: 5px;*/ | |
319c6529 RK |
1426 | } |
1427 | ||
c0f6797e RK |
1428 | #nav-bar .toolbarbutton-1 > menupopup { |
1429 | /* margin-top: -3px;*/ | |
319c6529 RK |
1430 | } |
1431 | ||
c0f6797e | 1432 | #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel { |
c1d2ce3e | 1433 | margin-top: -4px; |
319c6529 RK |
1434 | } |
1435 | ||
c0f6797e RK |
1436 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
1437 | /* -moz-padding-end: 0;*/ | |
319c6529 RK |
1438 | } |
1439 | ||
c0f6797e RK |
1440 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
1441 | /* -moz-padding-start: 0; | |
1442 | -moz-box-align: center;*/ | |
319c6529 RK |
1443 | } |
1444 | ||
c0f6797e RK |
1445 | #nav-bar .toolbarbutton-1 > .toolbarbutton-icon, |
1446 | #nav-bar .toolbarbutton-1 > .toolbarbutton-text, | |
1447 | #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container, | |
1448 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, | |
1449 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, | |
2c62526c | 1450 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
c0f6797e RK |
1451 | /* padding: 2px 6px; |
1452 | border: 1px solid; | |
1453 | border-color: transparent; | |
1454 | transition-property: background-color, border-color; | |
1455 | transition-duration: 150ms;*/ | |
d54f5b23 | 1456 | } |
c0f6797e RK |
1457 | /* |
1458 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, | |
1459 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container, | |
1460 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
1461 | padding: 3px 7px; | |
d54f5b23 | 1462 | } |
c0f6797e | 1463 | */ |
d54f5b23 | 1464 | |
c0f6797e RK |
1465 | /* Help SDK icons fit: */ |
1466 | toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { | |
1467 | width: 16px; | |
26125509 RK |
1468 | } |
1469 | ||
c0f6797e RK |
1470 | #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
1471 | /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ | |
1472 | width: 32px; | |
26125509 | 1473 | } |
26125509 | 1474 | |
c0f6797e RK |
1475 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon, |
1476 | #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ { | |
1477 | /* -moz-padding-end: 17px;*/ | |
319c6529 RK |
1478 | } |
1479 | ||
c0f6797e | 1480 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { |
319c6529 RK |
1481 | } |
1482 | ||
c0f6797e | 1483 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
319c6529 RK |
1484 | } |
1485 | ||
c0f6797e | 1486 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
38cfeb47 RK |
1487 | } |
1488 | ||
c0f6797e RK |
1489 | #nav-bar .toolbaritem-combined-buttons { |
1490 | /* margin-left: 2px; | |
1491 | margin-right: 2px;*/ | |
38cfeb47 RK |
1492 | } |
1493 | ||
c0f6797e RK |
1494 | #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 { |
1495 | /* padding-left: 0; | |
1496 | padding-right: 0;*/ | |
319c6529 RK |
1497 | } |
1498 | ||
c0f6797e RK |
1499 | #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before, |
1500 | #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before { | |
1501 | /* | |
1502 | content: ""; | |
1503 | display: -moz-box; | |
1504 | width: 1px; | |
1505 | height: 16px; | |
1506 | -moz-margin-end: -1px; | |
1507 | */ | |
319c6529 RK |
1508 | } |
1509 | ||
2c62526c | 1510 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
319c6529 RK |
1511 | } |
1512 | ||
43371c9b | 1513 | #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
c0f6797e RK |
1514 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
1515 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, | |
1516 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon, | |
1517 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text, | |
1518 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container, | |
2c62526c | 1519 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon, |
46e71434 | 1520 | #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon { |
319c6529 RK |
1521 | } |
1522 | ||
43371c9b | 1523 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon, |
c0f6797e RK |
1524 | #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, |
1525 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon, | |
1526 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text, | |
1527 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container { | |
319c6529 RK |
1528 | } |
1529 | ||
c0f6797e RK |
1530 | #TabsToolbar .toolbarbutton-1, |
1531 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1532 | .tabbrowser-arrowscrollbox > .scrollbutton-up, | |
1533 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
e8519ae0 RK |
1534 | } |
1535 | ||
c0f6797e RK |
1536 | #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover, |
1537 | #TabsToolbar .toolbarbutton-1[open], | |
1538 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover, | |
1539 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover, | |
1540 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover { | |
e8519ae0 RK |
1541 | } |
1542 | ||
c0f6797e | 1543 | /* unified back/forward button */ |
319c6529 | 1544 | |
c0f6797e | 1545 | #forward-button { |
589b5528 | 1546 | -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ |
71bac478 RK |
1547 | } |
1548 | ||
c0f6797e RK |
1549 | #forward-button > menupopup { |
1550 | margin-top: 1px !important; | |
319c6529 RK |
1551 | } |
1552 | ||
c0f6797e RK |
1553 | #forward-button > .toolbarbutton-icon { |
1554 | background-clip: padding-box !important; | |
1555 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ | |
5401f433 | 1556 | /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/ |
71bac478 RK |
1557 | } |
1558 | ||
c0f6797e | 1559 | #forward-button { |
aec5dfad RK |
1560 | -moz-margin-start: -4px !important; |
1561 | padding-left: 4px; | |
1562 | padding-right: 2px; | |
c0f6797e RK |
1563 | margin-top: 3px; |
1564 | margin-bottom: 3px; | |
1565 | border-radius: 0 10000px 10000px 0; | |
319c6529 RK |
1566 | } |
1567 | ||
c0f6797e RK |
1568 | #forward-button:-moz-locale-dir(rtl) { |
1569 | border-radius: 10000px 0 0 10000px; | |
8ad8bf83 RK |
1570 | } |
1571 | ||
2c62526c | 1572 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button { |
aec5dfad | 1573 | transition: margin-left 150ms ease-out; |
2c62526c RK |
1574 | } |
1575 | ||
1576 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { | |
aec5dfad | 1577 | margin-left: -27px !important; |
2c62526c RK |
1578 | } |
1579 | ||
1580 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] { | |
1581 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ | |
1582 | transition-delay: 100s; | |
1583 | } | |
1584 | ||
1585 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] { | |
1586 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ | |
aec5dfad | 1587 | margin-left: -27.01px !important; |
2c62526c RK |
1588 | } |
1589 | ||
c0f6797e RK |
1590 | #back-button { |
1591 | /* padding-top: 3px !important; | |
1592 | padding-bottom: 3px !important; | |
1593 | -moz-padding-start: 5px !important; | |
1594 | -moz-padding-end: 0 !important;*/ | |
1595 | position: relative; | |
1596 | z-index: 1; | |
1597 | border-radius: 10000px; | |
1598 | width: 30px; | |
1599 | height: 30px; | |
1600 | margin-top: -2px; | |
1601 | margin-bottom: -2px; | |
143c5409 RK |
1602 | } |
1603 | ||
c0f6797e | 1604 | #back-button:-moz-locale-dir(rtl) { |
319c6529 RK |
1605 | } |
1606 | ||
c0f6797e RK |
1607 | #back-button > menupopup { |
1608 | margin-top: -1px !important; | |
b36fc72e RK |
1609 | } |
1610 | ||
c0f6797e RK |
1611 | #back-button > .toolbarbutton-icon { |
1612 | border-radius: 10000px !important; | |
1613 | background-clip: padding-box !important; | |
1614 | /* background-color: hsla(210,25%,98%,.08) !important; | |
1615 | padding: 6px !important; | |
589b5528 RK |
1616 | border-style: none !important; |
1617 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), | |
1618 | 0 0 0 1px hsla(210,4%,10%,.25);*/ | |
1619 | transition-property: background-color, box-shadow !important; | |
c0f6797e | 1620 | transition-duration: 250ms !important; |
143c5409 RK |
1621 | } |
1622 | ||
c0f6797e | 1623 | #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { |
589b5528 | 1624 | /* background-color: hsla(210,4%,10%,.08) !important;*/ |
143c5409 RK |
1625 | } |
1626 | ||
c0f6797e RK |
1627 | #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon, |
1628 | #back-button[open="true"] > .toolbarbutton-icon { | |
1629 | /* background-color: hsla(210,4%,10%,.12) !important; | |
589b5528 RK |
1630 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), |
1631 | 0 0 0 1px hsla(210,4%,10%,.25), | |
1632 | 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/ | |
143c5409 RK |
1633 | } |
1634 | ||
2c62526c | 1635 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
c0f6797e | 1636 | transform: scaleX(-1); |
143c5409 | 1637 | } |
c0f6797e RK |
1638 | /* |
1639 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), | |
1640 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
1641 | list-style-image: url("chrome://browser/skin/menu-back.png") !important; | |
6adbc9a6 RK |
1642 | } |
1643 | ||
c0f6797e RK |
1644 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), |
1645 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
1646 | list-style-image: url("chrome://browser/skin/menu-forward.png") !important; | |
6adbc9a6 RK |
1647 | } |
1648 | ||
c0f6797e RK |
1649 | #home-button.bookmark-item { |
1650 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
6adbc9a6 RK |
1651 | } |
1652 | ||
c0f6797e RK |
1653 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
1654 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1655 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1656 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1657 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1658 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1659 | #home-button.bookmark-item:-moz-lwtheme-brighttext { | |
1660 | position: relative; | |
1661 | z-index: 1; | |
1662 | list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); | |
6adbc9a6 RK |
1663 | } |
1664 | ||
c0f6797e RK |
1665 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
1666 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) { | |
1667 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); | |
6adbc9a6 | 1668 | } |
c0f6797e | 1669 | */ |
6adbc9a6 | 1670 | |
c0f6797e RK |
1671 | #downloads-button > .toolbarbutton-icon { |
1672 | margin: 0; | |
6adbc9a6 RK |
1673 | } |
1674 | ||
9168a62c | 1675 | /* tabview menu item */ |
c0f6797e | 1676 | |
6adbc9a6 | 1677 | #menu_tabview { |
c0f6797e | 1678 | list-style-image: url("chrome://browser/skin/tabview/tabview.png"); |
6adbc9a6 RK |
1679 | -moz-image-region: rect(1px, 89px, 17px, 73px); |
1680 | } | |
1681 | ||
1682 | #menu_tabview[groups="0"] { | |
1683 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
1684 | } | |
1685 | ||
1686 | #menu_tabview[groups="1"] { | |
1687 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
1688 | } | |
1689 | ||
1690 | #menu_tabview[groups="2"] { | |
1691 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
1692 | } | |
1693 | ||
1694 | #menu_tabview[groups="3"] { | |
1695 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
1696 | } | |
1697 | ||
9168a62c RK |
1698 | /* undo close tab menu item */ |
1699 | #alltabs_undoCloseTab { | |
1700 | list-style-image: url(chrome://browser/skin/undoCloseTab.png); | |
1701 | } | |
1702 | ||
1703 | @media (min-resolution: 1.25dppx) { | |
1704 | #alltabs_undoCloseTab { | |
1705 | list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png); | |
1706 | } | |
1707 | #alltabs_undoCloseTab > .toolbarbutton-icon { | |
1708 | width: 16px; | |
1709 | } | |
1710 | } | |
1711 | ||
5401f433 RK |
1712 | /* zoom control text (reset) button special case: */ |
1713 | ||
1714 | #nav-bar #zoom-reset-button > .toolbarbutton-text { | |
1715 | /* To make this line up with the icons, it needs the same height (18px) + | |
1716 | * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise | |
1717 | * increase in text sizes would break things... | |
1718 | */ | |
1719 | min-height: 20px; | |
1720 | } | |
1721 | ||
319c6529 RK |
1722 | /* ::::: fullscreen window controls ::::: */ |
1723 | ||
8d7ef0d9 | 1724 | #window-controls { |
ab799a7a RK |
1725 | -moz-margin-start: 4px; |
1726 | } | |
1727 | ||
319c6529 RK |
1728 | #minimize-button, |
1729 | #restore-button, | |
1730 | #close-button { | |
c0f6797e RK |
1731 | /* list-style-image: url("chrome://global/skin/icons/windowControls.png"); |
1732 | padding: 0; */ | |
319c6529 RK |
1733 | } |
1734 | ||
1735 | #minimize-button { | |
1736 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
1737 | } | |
1738 | ||
1739 | #minimize-button:hover { | |
1740 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
1741 | } | |
1742 | ||
1743 | #restore-button { | |
1744 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
1745 | } | |
1746 | ||
1747 | #restore-button:hover { | |
1748 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
1749 | } | |
1750 | ||
1751 | #close-button { | |
1752 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
1753 | } | |
1754 | ||
1755 | #close-button:hover { | |
1756 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
1757 | } | |
1758 | ||
1759 | /* ::::: Location Bar ::::: */ | |
1760 | ||
319c6529 RK |
1761 | #urlbar, |
1762 | .searchbar-textbox { | |
1763 | border-radius: 5px; | |
aec5dfad | 1764 | margin: 2px 0; |
319c6529 RK |
1765 | -moz-margin-start: 3px; |
1766 | } | |
1767 | ||
ffce2402 | 1768 | #urlbar { |
f0071a71 RK |
1769 | /* make color as light as possible to deal with dark non-domain parts */ |
1770 | color: #FFBFFF; | |
ffce2402 RK |
1771 | } |
1772 | ||
319c6529 RK |
1773 | #urlbar:-moz-lwtheme, |
1774 | .searchbar-textbox:-moz-lwtheme { | |
1775 | /* background-color: rgba(255,255,255,.8); | |
1776 | @navbarTextboxCustomBorder@ | |
1777 | color: black; */ | |
1778 | } | |
1779 | ||
c0f6797e RK |
1780 | #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]), |
1781 | .searchbar-textbox:-moz-lwtheme:hover:not([focused]) { | |
1782 | /* background-color: rgba(255,255,255,.9);*/ | |
1783 | } | |
1784 | ||
1785 | #urlbar:-moz-lwtheme[focused]:not([readonly]), | |
1786 | .searchbar-textbox:-moz-lwtheme[focused] { | |
1787 | /* background-color: white;*/ | |
1788 | } | |
1789 | ||
2c62526c | 1790 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar { |
2299146f RK |
1791 | /* -moz-border-start: none; |
1792 | margin-left: 0;*/ | |
2c62526c RK |
1793 | } |
1794 | ||
1795 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { | |
1796 | /* border-top-left-radius: 0; | |
1797 | border-bottom-left-radius: 0; */ | |
1798 | } | |
1799 | ||
1800 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { | |
1801 | /* border-top-right-radius: 0; | |
1802 | border-bottom-right-radius: 0; */ | |
1803 | } | |
1804 | ||
1805 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper { | |
1806 | /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/ | |
aec5dfad | 1807 | /* -moz-margin-start: -5px; */ |
2c62526c RK |
1808 | } |
1809 | ||
fff8097b RK |
1810 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl), |
1811 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { | |
2c62526c | 1812 | /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
71a617ff | 1813 | transform: scaleX(-1); |
8ad8bf83 RK |
1814 | } |
1815 | ||
2c62526c RK |
1816 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) { |
1817 | -moz-box-direction: reverse; | |
1818 | } | |
1819 | ||
a7145e95 RK |
1820 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
1821 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { | |
319c6529 RK |
1822 | color: #E7ADE7; |
1823 | } | |
1824 | ||
319c6529 RK |
1825 | #urlbar-container { |
1826 | -moz-box-orient: horizontal; | |
1827 | -moz-box-align: stretch; | |
1828 | } | |
1829 | ||
9abeb12c RK |
1830 | .urlbar-textbox-container { |
1831 | -moz-box-align: stretch; | |
1832 | } | |
1833 | ||
a40f6a79 RK |
1834 | .urlbar-input-box { |
1835 | -moz-margin-start: 0; | |
1836 | } | |
1837 | ||
319c6529 | 1838 | #urlbar-icons { |
319c6529 RK |
1839 | -moz-box-align: center; |
1840 | } | |
1841 | ||
1842 | .urlbar-icon { | |
b8384c33 | 1843 | padding: 0 2px; |
ffce2402 RK |
1844 | } |
1845 | ||
1846 | .searchbar-engine-button, | |
1847 | .search-go-container { | |
4b686546 RK |
1848 | padding: 2px; |
1849 | } | |
1850 | ||
1851 | .search-go-container > .search-go-button { | |
1852 | padding: 0; | |
319c6529 RK |
1853 | } |
1854 | ||
ffce2402 RK |
1855 | .urlbar-icon:hover { |
1856 | } | |
1857 | ||
1858 | .urlbar-icon[open="true"], | |
1859 | .urlbar-icon:hover:active { | |
1860 | } | |
1861 | ||
319c6529 RK |
1862 | #urlbar-search-splitter { |
1863 | min-width: 6px; | |
1864 | -moz-margin-start: -3px; | |
1865 | border: none; | |
1866 | background: transparent; | |
1867 | } | |
1868 | ||
f0071a71 | 1869 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
319c6529 RK |
1870 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
1871 | -moz-margin-start: 0; | |
1872 | } | |
1873 | ||
e20c83c3 RK |
1874 | #urlbar-display-box { |
1875 | } | |
1876 | ||
319c6529 | 1877 | #urlbar-display { |
319c6529 RK |
1878 | -moz-border-end: 1px solid #9C9CFF; |
1879 | -moz-margin-end: 3px; | |
ab799a7a RK |
1880 | margin-top: 0; |
1881 | margin-bottom: 0; | |
a40f6a79 | 1882 | -moz-margin-start: 0; |
ab799a7a RK |
1883 | color: #8050B0; |
1884 | } | |
1885 | ||
26125509 RK |
1886 | #search-container { |
1887 | min-width: calc(54px + 11ch); | |
1888 | } | |
1889 | ||
319c6529 RK |
1890 | /* identity box */ |
1891 | ||
1892 | #identity-box { | |
319c6529 | 1893 | border-radius: 2px; |
85cfb236 | 1894 | font-size: .9em; |
319c6529 RK |
1895 | } |
1896 | ||
e20c83c3 RK |
1897 | #identity-box:-moz-locale-dir(ltr) { |
1898 | /* border-top-left-radius: 1.5px; | |
1899 | border-bottom-left-radius: 1.5px;*/ | |
1900 | } | |
1901 | ||
1902 | #identity-box:-moz-locale-dir(rtl) { | |
1903 | /* border-top-right-radius: 1.5px; | |
1904 | border-bottom-right-radius: 1.5px;*/ | |
1905 | } | |
1906 | ||
8ad8bf83 | 1907 | #notification-popup-box:not([hidden]) + #identity-box { |
5517da5a | 1908 | -moz-padding-start: 10px !important; |
8ad8bf83 RK |
1909 | border-radius: 0; |
1910 | } | |
1911 | ||
fff8097b | 1912 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { |
d15d08bf | 1913 | /* border-radius: 0; */ |
2a5b7882 RK |
1914 | -moz-padding-start: 2px; |
1915 | -moz-padding-end: 2px; | |
1916 | -moz-margin-end: 1px; | |
8ad8bf83 RK |
1917 | } |
1918 | ||
2c62526c RK |
1919 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box { |
1920 | transition: padding-left, padding-right; | |
1921 | } | |
1922 | ||
2c62526c | 1923 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
26125509 | 1924 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
2a5b7882 | 1925 | padding-left: 2px; |
8ad8bf83 RK |
1926 | } |
1927 | ||
2c62526c | 1928 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
26125509 | 1929 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
2a5b7882 | 1930 | padding-right: 2px; |
8ad8bf83 RK |
1931 | } |
1932 | ||
2c62526c | 1933 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > |
26125509 | 1934 | #notification-popup-box[hidden] + #identity-box { |
8ad8bf83 | 1935 | /* forward button hiding is delayed when hovered */ |
71a617ff | 1936 | transition-delay: 100s; |
8ad8bf83 RK |
1937 | } |
1938 | ||
2c62526c | 1939 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
26125509 | 1940 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 | 1941 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 1942 | padding-left: 2.01px; |
8ad8bf83 RK |
1943 | } |
1944 | ||
2c62526c | 1945 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
26125509 | 1946 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 | 1947 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 1948 | padding-right: 2.01px; |
8ad8bf83 RK |
1949 | } |
1950 | ||
56859d76 RK |
1951 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
1952 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
a40f6a79 | 1953 | -moz-margin-end: 3px; |
319c6529 RK |
1954 | } |
1955 | ||
56859d76 | 1956 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), |
37953ab4 | 1957 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
a40f6a79 RK |
1958 | border-top-right-radius: 0; |
1959 | border-bottom-right-radius: 0; | |
319c6529 RK |
1960 | } |
1961 | ||
56859d76 | 1962 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
37953ab4 | 1963 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
a40f6a79 RK |
1964 | border-top-left-radius: 0; |
1965 | border-bottom-left-radius: 0; | |
319c6529 RK |
1966 | } |
1967 | ||
a40f6a79 RK |
1968 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
1969 | background-color: #000000; | |
319c6529 RK |
1970 | } |
1971 | ||
1972 | #identity-box:-moz-focusring { | |
1973 | outline: 1px dotted #008484; | |
f993773d | 1974 | outline-offset: -1px; |
319c6529 RK |
1975 | } |
1976 | ||
1977 | #identity-box.verifiedDomain:-moz-focusring, | |
1978 | #identity-box.verifiedIdentity:-moz-focusring { | |
1979 | outline-color: #000000; | |
1980 | } | |
1981 | ||
1982 | #identity-icon-labels { | |
1983 | -moz-margin-start: 1px; | |
1984 | -moz-margin-end: 3px; | |
319c6529 RK |
1985 | } |
1986 | ||
1987 | /* Location bar dropmarker */ | |
1988 | ||
38cfeb47 | 1989 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 1990 | background-color: transparent; |
319c6529 RK |
1991 | } |
1992 | ||
00f971bc RK |
1993 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, |
1994 | #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { | |
38cfeb47 RK |
1995 | border: none; |
1996 | border-radius: 0px; | |
319c6529 RK |
1997 | } |
1998 | ||
ffce2402 RK |
1999 | .urlbar-history-dropmarker:hover { |
2000 | } | |
2001 | ||
2002 | .urlbar-history-dropmarker:hover:active, | |
2003 | .urlbar-history-dropmarker[open="true"] { | |
2004 | } | |
2005 | ||
319c6529 RK |
2006 | /* page proxy icon */ |
2007 | ||
e7c8bab1 RK |
2008 | /* === BEGIN identity-block.inc.css === */ |
2009 | ||
2010 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { | |
2011 | /* Default theme does different color per channel, we can't as they do it build-time. */ | |
2012 | color: #9C9CFF; | |
2013 | -moz-border-end: 1px solid #9C9CFF; | |
2014 | } | |
2015 | ||
2016 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
2017 | color: #008484; | |
2018 | -moz-border-end: 1px solid #008484; | |
2019 | } | |
2020 | ||
2021 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, | |
2022 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
2023 | background-position: right; | |
2024 | background-size: 1px; | |
2025 | background-repeat: no-repeat; | |
2026 | } | |
2027 | ||
2028 | /* page proxy icon */ | |
2029 | ||
4d58ff64 | 2030 | #page-proxy-favicon { |
319c6529 RK |
2031 | width: 16px; |
2032 | height: 16px; | |
a40f6a79 | 2033 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
00f971bc | 2034 | margin: 2px; |
e7c8bab1 RK |
2035 | } |
2036 | ||
2037 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { | |
2038 | list-style-image: url("chrome://branding/content/identity-icons-brand.png"); | |
319c6529 RK |
2039 | } |
2040 | ||
2a5b7882 | 2041 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2042 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
2043 | } | |
2044 | ||
2a5b7882 | 2045 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2046 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
2047 | } | |
2048 | ||
56ab361a RK |
2049 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
2050 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); | |
2051 | } | |
2052 | ||
e7c8bab1 RK |
2053 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
2054 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2055 | } | |
2056 | ||
2057 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { | |
2058 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2059 | } | |
2060 | ||
2061 | #page-proxy-favicon[pageproxystate="invalid"] { | |
2062 | opacity: 0.3; | |
2063 | } | |
2064 | ||
2065 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { | |
2066 | list-style-image: url("chrome://branding/content/icon64.png"); | |
2067 | } | |
2068 | ||
2069 | #identity-popup-brandName { | |
2070 | font-weight: bold; | |
2071 | font-size: 1.25em; | |
2072 | margin-top: .5em; | |
2073 | margin-bottom: .5em; | |
2074 | } | |
2075 | ||
2076 | #identity-popup-content-box { | |
2077 | max-width: 50ch; | |
2078 | } | |
2079 | ||
2080 | /* === END identity-block.inc.css === */ | |
2081 | ||
2082 | #page-proxy-favicon { | |
2083 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2084 | } | |
2085 | ||
3b1da406 | 2086 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon { |
c0f6797e RK |
2087 | /* -moz-margin-end: 1px;*/ |
2088 | } | |
2089 | ||
2a5b7882 | 2090 | #identity-box:hover > #page-proxy-favicon { |
a40f6a79 RK |
2091 | -moz-image-region: rect(0, 32px, 16px, 16px); |
2092 | } | |
2093 | ||
2a5b7882 RK |
2094 | #identity-box:hover:active > #page-proxy-favicon, |
2095 | #identity-box[open=true] > #page-proxy-favicon { | |
a40f6a79 | 2096 | -moz-image-region: rect(0, 48px, 16px, 32px); |
acb0e9b8 | 2097 | } |
2098 | ||
2a5b7882 RK |
2099 | #identity-box:hover { |
2100 | background-color: #FFCF00; | |
7092015d | 2101 | color: #000000; |
2a5b7882 RK |
2102 | } |
2103 | ||
2104 | #identity-box:hover:active, | |
2105 | #identity-box[open=true] { | |
2106 | background-color: #FF9F00; | |
7092015d | 2107 | color: #000000; |
2a5b7882 RK |
2108 | } |
2109 | ||
56859d76 RK |
2110 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, |
2111 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, | |
2112 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { | |
2113 | background-color: #9C9CFF; | |
2114 | color: #000000; | |
2115 | } | |
2116 | ||
387e6560 RK |
2117 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
2118 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, | |
2119 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { | |
2a5b7882 RK |
2120 | background-color: #008484; |
2121 | color: #000000; | |
2122 | } | |
2123 | ||
319c6529 RK |
2124 | /* autocomplete */ |
2125 | ||
319c6529 RK |
2126 | #treecolAutoCompleteImage { |
2127 | max-width: 36px; | |
2128 | } | |
acb0e9b8 | 2129 | |
319c6529 RK |
2130 | .ac-result-type-bookmark, |
2131 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 2132 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 2133 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 2134 | width: 16px; |
319c6529 | 2135 | height: 16px; |
acb0e9b8 | 2136 | } |
2137 | ||
c0f6797e RK |
2138 | richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark, |
2139 | .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) { | |
2140 | /* -moz-image-region: rect(0px 48px 16px 32px);*/ | |
2141 | } | |
2142 | ||
319c6529 RK |
2143 | .ac-result-type-keyword, |
2144 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | |
2145 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | |
2146 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 2147 | width: 16px; |
2148 | height: 16px; | |
2149 | } | |
2150 | ||
319c6529 RK |
2151 | .ac-result-type-tag, |
2152 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 2153 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 2154 | width: 16px; |
319c6529 RK |
2155 | height: 16px; |
2156 | } | |
acb0e9b8 | 2157 | |
319c6529 | 2158 | .ac-comment { |
c0f6797e | 2159 | font-size: 1.06em; |
acb0e9b8 | 2160 | } |
319c6529 RK |
2161 | |
2162 | .ac-extra > .ac-comment { | |
c0f6797e | 2163 | font-size: 1em; |
acb0e9b8 | 2164 | } |
319c6529 RK |
2165 | |
2166 | .ac-url-text, | |
2167 | .ac-action-text { | |
c0f6797e | 2168 | font-size: 1em; |
319c6529 | 2169 | color: #9C9CFF; |
acb0e9b8 | 2170 | } |
319c6529 RK |
2171 | |
2172 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
2173 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
85cfb236 RK |
2174 | -moz-image-region: rect(0, 16px, 16px, 0); |
2175 | padding: 0 3px; | |
2176 | } | |
2177 | ||
2178 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { | |
2179 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
acb0e9b8 | 2180 | } |
2181 | ||
319c6529 RK |
2182 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
2183 | color: #8050B0; | |
2184 | } | |
acb0e9b8 | 2185 | |
319c6529 RK |
2186 | .ac-comment[selected="true"], |
2187 | .ac-url-text[selected="true"], | |
2188 | .ac-action-text[selected="true"] { | |
2189 | color: inherit !important; | |
acb0e9b8 | 2190 | } |
2191 | ||
c1f7cc84 RK |
2192 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
2193 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
2194 | { |
2195 | color: #8050B0; | |
2196 | font-size: smaller; | |
acb0e9b8 | 2197 | } |
319c6529 RK |
2198 | |
2199 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
2200 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 2201 | } |
2202 | ||
319c6529 RK |
2203 | /* combined go/reload/stop button in location bar */ |
2204 | ||
2205 | #urlbar > toolbarbutton { | |
9abeb12c | 2206 | -moz-margin-start: 0; |
ffce2402 | 2207 | padding: 0 2px; |
319c6529 RK |
2208 | background-origin: border-box; |
2209 | border: none; | |
c0f6797e | 2210 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
9abeb12c RK |
2211 | -moz-border-start: 1px solid #9C9CFF; |
2212 | } | |
2213 | ||
2214 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { | |
38cfeb47 RK |
2215 | border-top-left-radius: 0px; |
2216 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 2217 | } |
acb0e9b8 | 2218 | |
9abeb12c | 2219 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
2220 | border-top-right-radius: 0px; |
2221 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
2222 | } |
2223 | ||
46e71434 | 2224 | #urlbar > toolbarbutton:not([disabled=true]):active:hover, |
dce90fef RK |
2225 | #urlbar-reload-button:not(:hover) { |
2226 | -moz-border-start-style: none; | |
714b11f6 | 2227 | -moz-padding-start: 3px; |
dce90fef RK |
2228 | } |
2229 | ||
c0f6797e RK |
2230 | #urlbar-reload-button { |
2231 | -moz-image-region: rect(0px, 14px, 14px, 0px); | |
acb0e9b8 | 2232 | } |
2233 | ||
46e71434 | 2234 | #urlbar-reload-button[disabled=true] { |
c0f6797e | 2235 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 2236 | } |
2237 | ||
46e71434 | 2238 | #urlbar-reload-button:not([disabled=true]):hover { |
c0f6797e | 2239 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
ffce2402 RK |
2240 | } |
2241 | ||
c0f6797e RK |
2242 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
2243 | transform: scaleX(-1); | |
acb0e9b8 | 2244 | } |
2245 | ||
c0f6797e RK |
2246 | #urlbar-go-button { |
2247 | -moz-image-region: rect(0, 42px, 14px, 28px); | |
38cfeb47 RK |
2248 | } |
2249 | ||
fff8097b | 2250 | #urlbar-go-button:hover { |
c0f6797e | 2251 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
acb0e9b8 | 2252 | } |
2253 | ||
c0f6797e RK |
2254 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
2255 | transform: scaleX(-1); | |
acb0e9b8 | 2256 | } |
319c6529 RK |
2257 | |
2258 | #urlbar-stop-button { | |
ffce2402 | 2259 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 2260 | } |
319c6529 RK |
2261 | |
2262 | #urlbar-stop-button:hover { | |
ffce2402 | 2263 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 2264 | } |
2265 | ||
319c6529 RK |
2266 | /* popup blocker button */ |
2267 | ||
2268 | #page-report-button { | |
2269 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
2270 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 2271 | } |
319c6529 | 2272 | |
71bac478 | 2273 | #page-report-button:hover , |
319c6529 RK |
2274 | #page-report-button:hover:active, |
2275 | #page-report-button[open="true"] { | |
71bac478 | 2276 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 2277 | } |
2278 | ||
c4460289 RK |
2279 | /* social share panel */ |
2280 | ||
2281 | #social-share-panel > iframe { | |
2282 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ | |
2283 | width: 300px; | |
2284 | height: 150px; | |
2285 | } | |
2286 | ||
c4460289 RK |
2287 | .social-share-toolbar { |
2288 | border-right: 1px solid #9C9CFF; | |
2289 | /* background-color: #000000; */ | |
2290 | } | |
2291 | ||
2292 | #social-share-provider-buttons { | |
2293 | padding: 6px; | |
2294 | } | |
2295 | ||
2296 | #social-share-provider-buttons > .share-provider-button { | |
2297 | -moz-appearance: none; | |
2298 | padding: 5px; | |
2299 | margin: 1px; | |
2300 | border: none; | |
2301 | background: none; | |
2302 | border-radius: 2px; | |
2303 | } | |
2304 | ||
2305 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), | |
2306 | #social-share-provider-buttons > .share-provider-button:hover, | |
2307 | #social-share-provider-buttons > .share-provider-button:active { | |
2308 | padding: 4px; | |
2309 | } | |
2310 | ||
2311 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { | |
2312 | } | |
2313 | ||
2314 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { | |
2315 | display: none; | |
2316 | } | |
2317 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { | |
2318 | width: 16px; | |
2319 | min-height: 16px; | |
2320 | max-height: 16px; | |
2321 | } | |
2322 | ||
5a199ba1 RK |
2323 | toolbarbutton[type="socialmark"] > .toolbarbutton-icon { |
2324 | width: auto; | |
2325 | height: auto; | |
2326 | max-width: 32px; | |
2327 | max-height: 24px; | |
2328 | } | |
2329 | ||
c4460289 RK |
2330 | /* fixup corners for share panel */ |
2331 | .social-panel > .social-panel-frame { | |
2332 | border-radius: inherit; | |
2333 | } | |
2334 | ||
2335 | #social-share-panel { | |
2336 | max-height: 600px; | |
2337 | min-height: 100px; | |
2338 | max-width: 800px; | |
2339 | min-width: 300px; | |
2340 | } | |
2341 | ||
2342 | .social-share-frame { | |
2343 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ | |
2344 | width: 330px; | |
2345 | height: 150px; | |
c4460289 RK |
2346 | /* we resize our panels dynamically, make it look nice */ |
2347 | transition: height 100ms ease-out, width 100ms ease-out; | |
2348 | } | |
2349 | ||
e2734cc7 RK |
2350 | .social-share-frame:-moz-locale-dir(ltr) { |
2351 | border-top-left-radius: 0; | |
2352 | border-bottom-left-radius: 0; | |
2353 | border-top-right-radius: inherit; | |
2354 | border-bottom-right-radius: inherit; | |
2355 | } | |
2356 | ||
2357 | .social-share-frame:-moz-locale-dir(rtl) { | |
c4460289 RK |
2358 | border-top-left-radius: inherit; |
2359 | border-bottom-left-radius: inherit; | |
e2734cc7 RK |
2360 | border-top-right-radius: 0; |
2361 | border-bottom-right-radius: 0; | |
c4460289 RK |
2362 | } |
2363 | ||
e2734cc7 RK |
2364 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { |
2365 | border-top-left-radius: inherit; | |
2366 | border-bottom-left-radius: inherit; | |
2367 | } | |
2368 | ||
2369 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { | |
2370 | border-top-right-radius: inherit; | |
2371 | border-bottom-right-radius: inherit; | |
2372 | } | |
2373 | ||
2374 | #social-share-provider-buttons:-moz-locale-dir(ltr) { | |
c4460289 RK |
2375 | border-top-left-radius: inherit; |
2376 | border-bottom-left-radius: inherit; | |
2377 | } | |
2378 | ||
e2734cc7 RK |
2379 | #social-share-provider-buttons:-moz-locale-dir(rtl) { |
2380 | border-top-right-radius: inherit; | |
2381 | border-bottom-right-radius: inherit; | |
2382 | } | |
2383 | ||
889649fd RK |
2384 | /* social recommending panel */ |
2385 | ||
a6757852 | 2386 | #social-mark-button { |
d7cfd768 | 2387 | -moz-image-region: rect(0, 16px, 16px, 0); |
889649fd RK |
2388 | } |
2389 | ||
c0f6797e | 2390 | /* bookmarks menu-button */ |
319c6529 | 2391 | |
c0f6797e RK |
2392 | #bookmarks-menu-button.bookmark-item { |
2393 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
2394 | -moz-image-region: rect(0px 16px 16px 0px); | |
acb0e9b8 | 2395 | } |
319c6529 | 2396 | |
c0f6797e RK |
2397 | #bookmarks-menu-button.bookmark-item[starred] { |
2398 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 2399 | } |
319c6529 | 2400 | |
c0f6797e RK |
2401 | #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
2402 | -moz-margin-start: 5px; | |
acb0e9b8 | 2403 | } |
2404 | ||
c0f6797e RK |
2405 | #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
2406 | padding-top: 2px; | |
2407 | padding-bottom: 2px; | |
71bac478 RK |
2408 | } |
2409 | ||
c0f6797e RK |
2410 | #BMB_bookmarksPopup[side="top"], |
2411 | #BMB_bookmarksPopup[side="bottom"] { | |
2412 | margin-left: -20px; | |
2413 | margin-right: -20px; | |
71bac478 RK |
2414 | } |
2415 | ||
c0f6797e RK |
2416 | #BMB_bookmarksPopup[side="left"], |
2417 | #BMB_bookmarksPopup[side="right"] { | |
2418 | margin-top: -20px; | |
2419 | margin-bottom: -20px; | |
acb0e9b8 | 2420 | } |
319c6529 RK |
2421 | |
2422 | /* bookmarking panel */ | |
c0f6797e | 2423 | |
319c6529 RK |
2424 | #editBookmarkPanelStarIcon { |
2425 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
2426 | width: 48px; | |
2427 | height: 48px; | |
acb0e9b8 | 2428 | } |
319c6529 RK |
2429 | |
2430 | #editBookmarkPanelStarIcon[unstarred] { | |
2431 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 2432 | } |
2433 | ||
319c6529 RK |
2434 | #editBookmarkPanelTitle { |
2435 | font-size: 130%; | |
acb0e9b8 | 2436 | } |
319c6529 RK |
2437 | |
2438 | #editBookmarkPanelHeader, | |
2439 | #editBookmarkPanelContent { | |
2440 | margin-bottom: .5em; | |
acb0e9b8 | 2441 | } |
319c6529 RK |
2442 | |
2443 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
2444 | #editBMPanel_folderTree { | |
2445 | min-width: 27em; | |
acb0e9b8 | 2446 | } |
2447 | ||
f993773d | 2448 | .panel-promo-box { |
46e71434 RK |
2449 | margin: 5px 0 -6px; |
2450 | padding: 5px 0; | |
889649fd | 2451 | border-top: 1px solid #9C9CFF; |
f0eab82c RK |
2452 | border-bottom-left-radius: 5px; |
2453 | border-bottom-right-radius: 5px; | |
f993773d RK |
2454 | } |
2455 | ||
2456 | .panel-promo-icon { | |
2457 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
2458 | -moz-margin-end: 10px; | |
2459 | vertical-align: middle; | |
2460 | } | |
2461 | ||
2462 | .panel-promo-closebutton { | |
2463 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
2464 | -moz-margin-end: -3px; |
2465 | margin-top: -3px; | |
f993773d RK |
2466 | } |
2467 | ||
2468 | .panel-promo-closebutton:hover { | |
2469 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2470 | } | |
2471 | ||
2472 | .panel-promo-closebutton:hover:active { | |
2473 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2474 | } | |
2475 | ||
2476 | .panel-promo-closebutton > .toolbarbutton-text { | |
2477 | padding: 0; | |
f993773d RK |
2478 | } |
2479 | ||
319c6529 RK |
2480 | /* ::::: content area ::::: */ |
2481 | ||
2482 | #sidebar { | |
2483 | background-color: Window; | |
acb0e9b8 | 2484 | } |
319c6529 RK |
2485 | |
2486 | #sidebar-title { | |
2487 | -moz-padding-start: 0px; | |
acb0e9b8 | 2488 | } |
319c6529 | 2489 | |
589b5528 RK |
2490 | #sidebar-header > .close-icon { |
2491 | /* padding: 4px 2px; | |
2492 | margin: 0; | |
2493 | border: none;*/ | |
2494 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
2495 | } | |
2496 | ||
2497 | #sidebar-header > .close-icon:hover, | |
2498 | #sidebar-header > .close-icon:hover:active { | |
2499 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2500 | } | |
2501 | ||
fe524e0c RK |
2502 | .browserContainer > findbar { |
2503 | /* | |
2504 | background-color: -moz-dialog; | |
2505 | color: -moz-DialogText; | |
2506 | */ | |
2507 | } | |
2508 | ||
319c6529 | 2509 | /* Tabstrip */ |
b36fc72e | 2510 | |
c0f6797e | 2511 | #TabsToolbar { |
e20c83c3 RK |
2512 | min-height: 0; |
2513 | padding: 0; | |
2514 | -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar"); | |
2515 | } | |
2516 | ||
b36fc72e | 2517 | #TabsToolbar .toolbar-holder { |
c1f7cc84 | 2518 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 2519 | } |
2520 | ||
b36fc72e | 2521 | #main-window[disablechrome] #TabsToolbar, |
319c6529 | 2522 | #TabsToolbar[tabsontop="false"] { |
8b5fc82e | 2523 | border-bottom: 1px solid #008484; |
acb0e9b8 | 2524 | } |
319c6529 | 2525 | |
6dc70335 RK |
2526 | /* === BEGIN tabs.inc.css === */ |
2527 | ||
319c6529 | 2528 | .tabbrowser-tab, |
43ee1307 RK |
2529 | .tabs-newtab-button, |
2530 | #TabsToolbar > #new-tab-button { | |
319c6529 | 2531 | margin-top: 0px; |
acb0e9b8 | 2532 | } |
319c6529 | 2533 | |
43ee1307 | 2534 | .tabbrowser-tab { |
57fc408c RK |
2535 | padding: 1px 4px 2px; |
2536 | } | |
2537 | ||
2538 | .tabbrowser-tab:first-of-type { | |
2539 | -moz-margin-start: 2px; | |
2540 | } | |
2541 | ||
43ee1307 RK |
2542 | .tabs-newtab-button, |
2543 | #TabsToolbar > #new-tab-button { | |
57fc408c RK |
2544 | border-radius: 8px 8px 0px 0px; |
2545 | -moz-margin-start: 0; | |
2546 | } | |
2547 | ||
43ee1307 RK |
2548 | .tabs-newtab-button:not(:hover), |
2549 | #TabsToolbar > #new-tab-button:not(:hover) { | |
57fc408c RK |
2550 | background-color: #C09070; |
2551 | } | |
2552 | ||
fe524e0c RK |
2553 | .tabbrowser-tab[remote] { |
2554 | text-decoration: underline; | |
2555 | } | |
2556 | ||
c0f6797e RK |
2557 | /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ |
2558 | .tabbrowser-tab[selected=true] { | |
2559 | /* position: relative; | |
2560 | z-index: 2;*/ | |
acb0e9b8 | 2561 | } |
2562 | ||
c0f6797e | 2563 | .tab-background-middle { |
acb0e9b8 | 2564 | } |
2565 | ||
c0f6797e | 2566 | .tab-content { |
acb0e9b8 | 2567 | } |
319c6529 | 2568 | |
46e71434 | 2569 | .tab-/*throbber*/, |
c0f6797e RK |
2570 | .tab-icon-image, |
2571 | .tab-close-button { | |
acb0e9b8 | 2572 | } |
2573 | ||
319c6529 RK |
2574 | .tab-throbber, |
2575 | .tab-icon-image { | |
319c6529 | 2576 | height: 16px; |
c0f6797e RK |
2577 | width: 16px; |
2578 | } | |
2579 | ||
2580 | .tab-icon-image { | |
dce90fef | 2581 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
613daf44 | 2582 | } |
2583 | ||
3d64e0ce | 2584 | .tab-throbber[busy] { |
95f333af | 2585 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
613daf44 | 2586 | } |
319c6529 RK |
2587 | |
2588 | .tab-throbber[progress] { | |
95f333af | 2589 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
613daf44 | 2590 | } |
319c6529 | 2591 | |
c0f6797e RK |
2592 | .tab-throbber:not([pinned]), |
2593 | .tab-icon-image:not([pinned]) { | |
2594 | -moz-margin-end: 3px; | |
2595 | } | |
2596 | ||
319c6529 RK |
2597 | .tab-throbber[pinned], |
2598 | .tab-icon-image[pinned] { | |
2599 | -moz-margin-start: 2px; | |
2600 | -moz-margin-end: 2px; | |
613daf44 | 2601 | } |
319c6529 | 2602 | |
c0f6797e | 2603 | .tab-label { |
aec5dfad RK |
2604 | /* this needs to add up to the 16px of the icon image */ |
2605 | height: 12px; | |
2606 | margin-top: 2px !important; | |
2607 | margin-bottom: 2px !important; | |
c0f6797e RK |
2608 | } |
2609 | ||
2610 | .tab-close-button { | |
2611 | margin-top: 1px; | |
2612 | padding: 0; | |
2613 | } | |
2614 | ||
2615 | .tab-background, | |
2616 | .tabs-newtab-button { | |
2617 | /* overlap the tab curves */ | |
2618 | } | |
2619 | ||
2620 | .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { | |
2621 | } | |
2622 | ||
93c91f62 RK |
2623 | /* Tab Overflow */ |
2624 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), | |
2625 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { | |
2626 | } | |
2627 | ||
2628 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), | |
2629 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { | |
2630 | } | |
2631 | ||
2632 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { | |
2633 | } | |
2634 | ||
2635 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { | |
2636 | } | |
2637 | ||
2638 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], | |
2639 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { | |
2640 | } | |
2641 | ||
2642 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, | |
2643 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { | |
2644 | } | |
2645 | ||
c0f6797e RK |
2646 | .tab-background-start[selected=true]::after, |
2647 | .tab-background-start[selected=true]::before, | |
2648 | .tab-background-start, | |
2649 | .tab-background-end, | |
2650 | .tab-background-end[selected=true]::after, | |
2651 | .tab-background-end[selected=true]::before { | |
2652 | } | |
2653 | ||
2654 | .tabbrowser-tab:not([selected=true]), | |
2655 | .tabbrowser-tab:-moz-lwtheme { | |
2656 | } | |
2657 | ||
319c6529 | 2658 | /* tabbrowser-tab focus ring */ |
c0f6797e | 2659 | .tabbrowser-tab:focus { |
319c6529 | 2660 | outline: 1px dotted; |
613daf44 | 2661 | } |
319c6529 | 2662 | |
c0f6797e RK |
2663 | /* Selected tab */ |
2664 | ||
2665 | .tabbrowser-tab[selected="true"] { | |
2666 | } | |
2667 | ||
2668 | /* End selected tab */ | |
2669 | ||
c0f6797e RK |
2670 | /* Tab pointer-events */ |
2671 | /* | |
2672 | .tabbrowser-tab { | |
2673 | pointer-events: none; | |
2674 | } | |
2675 | ||
2676 | .tab-background-middle, | |
2677 | .tabs-newtab-button, | |
2678 | .tab-close-button { | |
2679 | pointer-events: auto; | |
2680 | } | |
2681 | */ | |
2682 | /* Pinned tabs */ | |
2683 | ||
2684 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { | |
2685 | background-color: #E7ADE7; | |
2686 | } | |
2687 | ||
2688 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { | |
2689 | background-color: #3333FF; | |
2690 | color: #000000; | |
2691 | } | |
2692 | ||
2693 | /* New tab button */ | |
2694 | ||
2695 | .tabs-newtab-button { | |
2696 | width: 28px; | |
2697 | } | |
2698 | ||
2699 | /* === END tabs.inc.css === */ | |
2700 | ||
43371c9b RK |
2701 | /* Background tabs: |
2702 | * | |
2703 | * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top | |
2704 | * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by | |
2705 | * the titlebar. We don't need this in fullscreen since window dragging is not an issue there. | |
2706 | */ | |
2707 | #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) { | |
2708 | /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/ | |
2709 | } | |
2710 | ||
8ad8bf83 | 2711 | /* Tab DnD indicator */ |
319c6529 RK |
2712 | .tab-drop-indicator { |
2713 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 2714 | margin-bottom: -11px; |
613daf44 | 2715 | } |
2716 | ||
319c6529 RK |
2717 | /* Tab close button */ |
2718 | .tab-close-button { | |
319c6529 RK |
2719 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
2720 | } | |
acb0e9b8 | 2721 | |
319c6529 RK |
2722 | .tab-close-button:hover, |
2723 | .tab-close-button:hover[selected="true"] { | |
2724 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2725 | } |
319c6529 RK |
2726 | |
2727 | .tab-close-button:hover:active, | |
2728 | .tab-close-button:hover:active[selected="true"] { | |
2729 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2730 | } |
319c6529 | 2731 | |
319c6529 RK |
2732 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
2733 | ||
319c6529 RK |
2734 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
2735 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
2736 | margin: 0; |
2737 | padding-top: 0; | |
2738 | padding-bottom: 0; | |
c0f6797e RK |
2739 | background-origin: border-box; |
2740 | } | |
2741 | ||
2742 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2743 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2744 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext, | |
2745 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext { | |
2746 | } | |
b7f3670c | 2747 | |
c0f6797e RK |
2748 | .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], |
2749 | .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { | |
2750 | } | |
2751 | ||
2752 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), | |
2753 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { | |
2754 | /* transform: scaleX(-1);*/ | |
2755 | } | |
2756 | ||
2757 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
2758 | transition: 1s background-color ease-out; | |
acb0e9b8 | 2759 | } |
319c6529 | 2760 | |
319c6529 RK |
2761 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
2762 | background-color: #008484; | |
acb0e9b8 | 2763 | } |
319c6529 | 2764 | |
c0f6797e RK |
2765 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]), |
2766 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) { | |
2767 | /* border-width: 0 2px 0 0; | |
2768 | border-style: solid; | |
2769 | border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/ | |
2770 | } | |
2771 | ||
319c6529 RK |
2772 | .tabs-newtab-button > .toolbarbutton-icon { |
2773 | margin-top: -1px; | |
2774 | margin-bottom: -1px; | |
acb0e9b8 | 2775 | } |
319c6529 RK |
2776 | |
2777 | .tabs-newtab-button, | |
2778 | #TabsToolbar > #new-tab-button, | |
e20c83c3 RK |
2779 | #TabsToolbar > toolbarpaletteitem > #new-tab-button, |
2780 | #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { | |
38cfeb47 | 2781 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
319c6529 | 2782 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 2783 | } |
2784 | ||
8b5fc82e | 2785 | .tabs-newtab-button, |
38cfeb47 | 2786 | .tabs-newtab-button:hover, |
c0f6797e | 2787 | #TabsToolbar > #new-tab-button, |
38cfeb47 | 2788 | #TabsToolbar > #new-tab-button:hover { |
319c6529 | 2789 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 2790 | } |
319c6529 | 2791 | |
c0f6797e RK |
2792 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
2793 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2794 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2795 | .tabs-newtab-button:-moz-lwtheme-brighttext, | |
2796 | #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext, | |
2797 | #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 2798 | } |
2799 | ||
c0f6797e RK |
2800 | #TabsToolbar > #new-tab-button { |
2801 | width: 26px; | |
2802 | } | |
2803 | ||
2804 | #alltabs-button { | |
2805 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
acb0e9b8 | 2806 | } |
319c6529 | 2807 | |
f9fc08c7 RK |
2808 | #alltabs-button:hover, |
2809 | #alltabs-button:hover:active, | |
2810 | #alltabs-button[open="true"] { | |
8da9da4e | 2811 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
acb0e9b8 | 2812 | } |
319c6529 | 2813 | |
c0f6797e RK |
2814 | #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
2815 | #alltabs-button:-moz-lwtheme-brighttext { | |
2816 | } | |
2817 | ||
2818 | #alltabs-button > .toolbarbutton-icon { | |
2819 | /* margin: 0 2px;*/ | |
2820 | } | |
2821 | ||
2822 | #alltabs-button > .toolbarbutton-menu-dropmarker { | |
2823 | display: none; | |
2824 | } | |
2825 | ||
319c6529 RK |
2826 | /* All tabs menupopup */ |
2827 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 2828 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 2829 | -moz-image-region: auto; |
acb0e9b8 | 2830 | } |
2831 | ||
319c6529 RK |
2832 | .alltabs-item[selected="true"] { |
2833 | font-weight: bold; | |
acb0e9b8 | 2834 | } |
319c6529 RK |
2835 | |
2836 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
2837 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 2838 | } |
319c6529 | 2839 | |
85cfb236 | 2840 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
b1234db8 RK |
2841 | background-color: #402800; |
2842 | } | |
2843 | ||
319c6529 RK |
2844 | toolbarbutton.chevron { |
2845 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 2846 | } |
319c6529 RK |
2847 | |
2848 | toolbarbutton.chevron:hover { | |
2849 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 2850 | } |
2851 | ||
319c6529 RK |
2852 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
2853 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
71a617ff | 2854 | transform: scaleX(-1); |
acb0e9b8 | 2855 | } |
319c6529 RK |
2856 | |
2857 | toolbarbutton.chevron > .toolbarbutton-text, | |
2858 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
2859 | display: none; | |
acb0e9b8 | 2860 | } |
319c6529 RK |
2861 | |
2862 | toolbarbutton.chevron > .toolbarbutton-icon { | |
2863 | margin: 0; | |
acb0e9b8 | 2864 | } |
2865 | ||
319c6529 RK |
2866 | #sidebar-throbber[loading="true"] { |
2867 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
2868 | -moz-margin-end: 4px; | |
acb0e9b8 | 2869 | } |
319c6529 RK |
2870 | |
2871 | /* Bookmarks toolbar */ | |
2872 | #PlacesToolbarDropIndicator { | |
8da9da4e | 2873 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 2874 | } |
2875 | ||
319c6529 RK |
2876 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
2877 | background-color: #008484 !important; | |
2878 | color: #FFCF00 !important; | |
613daf44 | 2879 | } |
319c6529 RK |
2880 | |
2881 | /* rules for menupopup drop indicators */ | |
2882 | .menupopup-drop-indicator-bar { | |
2883 | position: relative; | |
2884 | /* these two margins must together compensate the indicator's height */ | |
2885 | margin-top: -1px; | |
2886 | margin-bottom: -1px; | |
613daf44 | 2887 | } |
319c6529 RK |
2888 | |
2889 | .menupopup-drop-indicator { | |
2890 | list-style-image: none; | |
2891 | height: 2px; | |
2892 | -moz-margin-end: -4em; | |
2893 | background-color: #008484; | |
613daf44 | 2894 | } |
2895 | ||
319c6529 RK |
2896 | /* ::::: Identity Indicator Styling ::::: */ |
2897 | ||
2898 | /* Popup Icons */ | |
2899 | #identity-popup-icon { | |
2900 | height: 64px; | |
2901 | width: 64px; | |
2902 | padding: 0; | |
2903 | list-style-image: url("chrome://browser/skin/identity.png"); | |
2904 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 2905 | } |
319c6529 RK |
2906 | |
2907 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
2908 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 2909 | } |
319c6529 RK |
2910 | |
2911 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
2912 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 2913 | } |
2914 | ||
319c6529 RK |
2915 | /* Popup Body Text */ |
2916 | .identity-popup-description { | |
2917 | white-space: pre-wrap; | |
2918 | -moz-padding-start: 15px; | |
2919 | margin: 2px 0 4px; | |
613daf44 | 2920 | } |
319c6529 RK |
2921 | |
2922 | .identity-popup-label { | |
2923 | white-space: pre-wrap; | |
2924 | -moz-padding-start: 15px; | |
2925 | margin: 0; | |
613daf44 | 2926 | } |
319c6529 | 2927 | |
5517da5a | 2928 | #identity-popup-content-host, |
319c6529 RK |
2929 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
2930 | font-size: 1.2em; | |
613daf44 | 2931 | } |
2932 | ||
319c6529 RK |
2933 | #identity-popup-content-host { |
2934 | margin-top: 3px; | |
2935 | margin-bottom: 5px; | |
2936 | font-weight: bold; | |
2937 | max-width: 300px; | |
2938 | } | |
613daf44 | 2939 | |
319c6529 RK |
2940 | #identity-popup-content-owner { |
2941 | margin-top: 4px; | |
2942 | margin-bottom: 0 !important; | |
2943 | font-weight: bold; | |
2944 | max-width: 300px; | |
2945 | } | |
613daf44 | 2946 | |
319c6529 RK |
2947 | .verifiedDomain > #identity-popup-content-owner { |
2948 | font-weight: normal; | |
613daf44 | 2949 | } |
2950 | ||
319c6529 RK |
2951 | #identity-popup-content-verifier { |
2952 | margin: 4px 0 2px; | |
613daf44 | 2953 | } |
2954 | ||
319c6529 RK |
2955 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
2956 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
2957 | margin-top: 10px; | |
2958 | -moz-margin-start: -24px; | |
613daf44 | 2959 | } |
2960 | ||
319c6529 RK |
2961 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
2962 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
2963 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 2964 | } |
2965 | ||
3a0880a9 RK |
2966 | #identity-popup-help-icon { |
2967 | border: none; | |
2968 | margin: 7px 0 0 -3px; | |
2969 | background: none; | |
2970 | min-width: 0; | |
2971 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
2972 | cursor: pointer; | |
2973 | } | |
2974 | ||
2975 | #identity-popup-help-icon > .button-box > .button-text { | |
2976 | display: none; | |
2977 | } | |
2978 | ||
2979 | #identity-popup-help-icon > .button-box > .button-icon { | |
2980 | height: 16px; | |
2981 | width: 16px; | |
2982 | } | |
2983 | ||
319c6529 RK |
2984 | #identity-popup-more-info-button { |
2985 | margin-top: 6px; | |
2986 | margin-bottom: 0; | |
2987 | -moz-margin-end: 0; | |
613daf44 | 2988 | } |
acb0e9b8 | 2989 | |
fe524e0c RK |
2990 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
2991 | padding: 0; | |
2992 | } | |
2993 | ||
2994 | #identity-popup-container { | |
2995 | min-width: 280px; | |
2996 | padding: 10px; | |
2997 | } | |
2998 | ||
2999 | #identity-popup-button-container { | |
3000 | /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ | |
3001 | padding: 10px; | |
3002 | margin-top: 5px; | |
3003 | } | |
3004 | ||
319c6529 RK |
3005 | .popup-notification-icon { |
3006 | width: 64px; | |
3007 | height: 64px; | |
3008 | -moz-margin-end: 10px; | |
3009 | } | |
acb0e9b8 | 3010 | |
319c6529 RK |
3011 | .popup-notification-icon[popupid="geolocation"] { |
3012 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 3013 | } |
3014 | ||
319c6529 RK |
3015 | .popup-notification-icon[popupid="xpinstall-disabled"], |
3016 | .popup-notification-icon[popupid="addon-progress"], | |
3017 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
3018 | .popup-notification-icon[popupid="addon-install-blocked"], | |
3019 | .popup-notification-icon[popupid="addon-install-failed"], | |
a40f6a79 | 3020 | .popup-notification-icon[popupid="addon-install-complete"] { |
319c6529 RK |
3021 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
3022 | width: 32px; | |
3023 | height: 32px; | |
acb0e9b8 | 3024 | } |
319c6529 | 3025 | |
a40f6a79 | 3026 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
fcfb76ce | 3027 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
a40f6a79 RK |
3028 | } |
3029 | ||
a6757852 RK |
3030 | .popup-notification-icon[popupid="plugins-not-found"] { |
3031 | list-style-image: url("chrome://browser/skin/pluginInstall-64.png"); | |
3032 | } | |
3033 | ||
82b4252f RK |
3034 | .popup-notification-icon[popupid="web-notifications"] { |
3035 | list-style-image: url("chrome://browser/skin/notification-64.png"); | |
3036 | } | |
3037 | ||
319c6529 RK |
3038 | .addon-progress-description { |
3039 | width: 350px; | |
3040 | max-width: 350px; | |
acb0e9b8 | 3041 | } |
319c6529 RK |
3042 | |
3043 | .popup-progress-label, | |
3044 | .popup-progress-meter { | |
3045 | -moz-margin-start: 0; | |
3046 | -moz-margin-end: 0; | |
acb0e9b8 | 3047 | } |
319c6529 RK |
3048 | |
3049 | .popup-progress-cancel { | |
3050 | -moz-appearance: none; | |
3051 | background: transparent; | |
3052 | border: none; | |
3053 | padding: 0; | |
3054 | margin: 0; | |
3055 | min-height: 0; | |
3056 | min-width: 0; | |
3057 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
3058 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 3059 | } |
319c6529 RK |
3060 | |
3061 | .popup-progress-cancel:hover { | |
3062 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 3063 | } |
3064 | ||
319c6529 RK |
3065 | .popup-progress-cancel:active { |
3066 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
3067 | } | |
acb0e9b8 | 3068 | |
319c6529 | 3069 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
a6757852 | 3070 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
e2734cc7 RK |
3071 | .popup-notification-icon[popupid*="offline-app-requested"], |
3072 | .popup-notification-icon[popupid="offline-app-usage"] { | |
319c6529 | 3073 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
acb0e9b8 | 3074 | } |
3075 | ||
319c6529 RK |
3076 | .popup-notification-icon[popupid="password-save"], |
3077 | .popup-notification-icon[popupid="password-change"] { | |
3078 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 3079 | } |
3080 | ||
1b13529a | 3081 | .popup-notification-icon[popupid="webapps-install-progress"], |
8d7ef0d9 | 3082 | .popup-notification-icon[popupid="webapps-install"] { |
87a1144f | 3083 | list-style-image: url("chrome://global/skin/icons/webapps-64.png"); |
8d7ef0d9 RK |
3084 | } |
3085 | ||
c066e743 RK |
3086 | .popup-notification-icon[popupid="mixed-content-blocked"], |
3087 | .popup-notification-icon[popupid="bad-content"] { | |
3088 | list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); | |
3089 | } | |
3090 | ||
3091 | .popup-notification-icon[popupid="bad-content"][mixedblockdisabled], | |
3092 | .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] { | |
3093 | list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png); | |
56ab361a RK |
3094 | } |
3095 | ||
0142a07b | 3096 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
7bc075b6 RK |
3097 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
3098 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); | |
3099 | } | |
3100 | ||
c1d2ce3e RK |
3101 | .popup-notification-icon[popupid="webRTC-sharingMicrophone"], |
3102 | .popup-notification-icon[popupid="webRTC-shareMicrophone"] { | |
3103 | list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png"); | |
3104 | } | |
3105 | ||
9168a62c RK |
3106 | .popup-notification-icon[popupid="webRTC-sharingScreen"], |
3107 | .popup-notification-icon[popupid="webRTC-shareScreen"] { | |
3108 | list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png); | |
3109 | } | |
3110 | ||
82b4252f RK |
3111 | .popup-notification-icon[popupid="pointerLock"] { |
3112 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); | |
3113 | } | |
3114 | ||
319c6529 | 3115 | /* Notification icon box */ |
cae267ab RK |
3116 | #notification-popup .panel-promo-box { |
3117 | /* margin: 10px -10px -10px; */ | |
3118 | } | |
3119 | ||
319c6529 | 3120 | #notification-popup-box { |
f993773d RK |
3121 | position: relative; |
3122 | background-color: #000000; | |
3123 | background-clip: padding-box; | |
3124 | padding-left: 3px; | |
5517da5a | 3125 | padding-right: 8px; |
f0eab82c | 3126 | border-radius: 3px 0 0 3px; |
82b4252f | 3127 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
f993773d | 3128 | -moz-margin-end: -8px; |
5517da5a | 3129 | border-right-width: 8px; |
f993773d RK |
3130 | } |
3131 | ||
589b5528 RK |
3132 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box { |
3133 | /* padding-left: 7px; */ | |
f993773d RK |
3134 | } |
3135 | ||
3136 | #notification-popup-box:-moz-locale-dir(rtl), | |
3137 | .notification-anchor-icon:-moz-locale-dir(rtl) { | |
71a617ff | 3138 | transform: scaleX(-1); |
319c6529 | 3139 | } |
acb0e9b8 | 3140 | |
319c6529 | 3141 | .notification-anchor-icon { |
acb0e9b8 | 3142 | width: 16px; |
3143 | height: 16px; | |
85cfb236 | 3144 | margin: 0 2px; |
acb0e9b8 | 3145 | } |
3146 | ||
319c6529 | 3147 | .notification-anchor-icon:-moz-focusring { |
f0eab82c | 3148 | outline: 1px dotted #008484; |
acb0e9b8 | 3149 | } |
3150 | ||
e2734cc7 | 3151 | .default-notification-icon, |
ab799a7a RK |
3152 | #default-notification-icon { |
3153 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
3154 | } | |
3155 | ||
e2734cc7 | 3156 | .identity-notification-icon, |
9585a561 RK |
3157 | #identity-notification-icon { |
3158 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); | |
3159 | } | |
3160 | ||
e2734cc7 | 3161 | .geo-notification-icon, |
319c6529 RK |
3162 | #geo-notification-icon { |
3163 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 3164 | } |
3165 | ||
319c6529 RK |
3166 | #addons-notification-icon { |
3167 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 3168 | } |
3169 | ||
e2734cc7 | 3170 | .indexedDB-notification-icon, |
319c6529 RK |
3171 | #indexedDB-notification-icon { |
3172 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 3173 | } |
3174 | ||
319c6529 RK |
3175 | #password-notification-icon { |
3176 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 3177 | } |
3178 | ||
8d7ef0d9 | 3179 | #webapps-notification-icon { |
87a1144f | 3180 | list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); |
8d7ef0d9 RK |
3181 | } |
3182 | ||
a40f6a79 | 3183 | #plugins-notification-icon { |
b27cc46e RK |
3184 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
3185 | } | |
3186 | ||
f76c6aee | 3187 | #plugins-notification-icon.plugin-hidden { |
b27cc46e | 3188 | list-style-image: url("chrome://browser/skin/notification-pluginAlert.png"); |
a40f6a79 RK |
3189 | } |
3190 | ||
f76c6aee | 3191 | #plugins-notification-icon.plugin-blocked { |
b27cc46e | 3192 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
990cba4b RK |
3193 | } |
3194 | ||
f76c6aee | 3195 | #plugins-notification-icon { |
fe524e0c RK |
3196 | /* -moz-image-region: rect(0, 16px, 16px, 0);*/ |
3197 | } | |
3198 | ||
f76c6aee | 3199 | #plugins-notification-icon:hover { |
fe524e0c RK |
3200 | /* -moz-image-region: rect(0, 32px, 16px, 16px);*/ |
3201 | } | |
3202 | ||
a6757852 RK |
3203 | #plugin-install-notification-icon { |
3204 | list-style-image: url("chrome://browser/skin/pluginInstall-16.png"); | |
3205 | } | |
3206 | ||
6adbc9a6 RK |
3207 | #notification-popup-box[hidden] { |
3208 | /* Override display:none to make the pluginBlockedNotification animation work | |
3209 | when showing the notification repeatedly. */ | |
3210 | display: -moz-box; | |
3211 | visibility: collapse; | |
3212 | } | |
3213 | ||
f76c6aee | 3214 | #plugins-notification-icon.plugin-blocked[showing] { |
990cba4b RK |
3215 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; |
3216 | } | |
3217 | ||
3218 | @keyframes pluginBlockedNotification { | |
3219 | from { | |
3220 | opacity: 0; | |
3221 | } | |
3222 | to { | |
3223 | opacity: 1; | |
3224 | } | |
3225 | } | |
3226 | ||
e2734cc7 | 3227 | .mixed-content-blocked-notification-icon, |
c066e743 RK |
3228 | #mixed-content-blocked-notification-icon, |
3229 | .bad-content-blocked-notification-icon, | |
3230 | #bad-content-blocked-notification-icon { | |
3231 | list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png"); | |
3232 | } | |
3233 | ||
3234 | .bad-content-unblocked-notification-icon, | |
3235 | #bad-content-unblocked-notification-icon { | |
3236 | list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png); | |
56ab361a RK |
3237 | } |
3238 | ||
e2734cc7 | 3239 | .webRTC-shareDevices-notification-icon, |
0142a07b | 3240 | #webRTC-shareDevices-notification-icon { |
7bc075b6 RK |
3241 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
3242 | } | |
3243 | ||
e2734cc7 | 3244 | .webRTC-sharingDevices-notification-icon, |
6adbc9a6 RK |
3245 | #webRTC-sharingDevices-notification-icon { |
3246 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); | |
3247 | } | |
3248 | ||
c1d2ce3e RK |
3249 | .webRTC-shareMicrophone-notification-icon, |
3250 | #webRTC-shareMicrophone-notification-icon { | |
3251 | list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png"); | |
3252 | } | |
3253 | ||
3254 | .webRTC-sharingMicrophone-notification-icon, | |
3255 | #webRTC-sharingMicrophone-notification-icon { | |
3256 | list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png"); | |
3257 | } | |
3258 | ||
9168a62c RK |
3259 | .webRTC-shareScreen-notification-icon, |
3260 | #webRTC-shareScreen-notification-icon { | |
3261 | list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png); | |
3262 | } | |
3263 | ||
3264 | .webRTC-sharingScreen-notification-icon, | |
3265 | #webRTC-sharingScreen-notification-icon { | |
3266 | list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png); | |
3267 | } | |
3268 | ||
e2734cc7 | 3269 | .web-notifications-notification-icon, |
82b4252f RK |
3270 | #web-notifications-notification-icon { |
3271 | list-style-image: url("chrome://browser/skin/notification-16.png"); | |
3272 | } | |
3273 | ||
3274 | #pointerLock-notification-icon { | |
3275 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); | |
3276 | } | |
3277 | #pointerLock-cancel { | |
3278 | margin: 0px; | |
3279 | } | |
3280 | ||
ed88669c RK |
3281 | /* Translation infobar */ |
3282 | ||
3283 | /* === BEGIN infobar.inc.css === */ | |
3284 | ||
3285 | notification[value="translation"] .messageImage { | |
93c91f62 | 3286 | list-style-image: url("chrome://browser/skin/translation-16.png"); |
ed88669c RK |
3287 | -moz-image-region: rect(0, 32px, 16px, 16px); |
3288 | } | |
3289 | ||
3290 | @media (min-resolution: 1.25dppx) { | |
3291 | notification[value="translation"] .messageImage { | |
93c91f62 | 3292 | list-style-image: url("chrome://browser/skin/translation-16@2x.png"); |
ed88669c RK |
3293 | -moz-image-region: rect(0, 64px, 32px, 32px); |
3294 | } | |
3295 | } | |
3296 | ||
93c91f62 RK |
3297 | notification[value="translation"][state="translating"] .messageImage { |
3298 | list-style-image: url("chrome://browser/skin/translating-16.png"); | |
3299 | -moz-image-region: auto; | |
3300 | } | |
3301 | ||
3302 | @media (min-resolution: 1.25dppx) { | |
3303 | notification[value="translation"][state="translating"] .messageImage { | |
3304 | list-style-image: url("chrome://browser/skin/translating-16@2x.png"); | |
3305 | } | |
3306 | } | |
3307 | ||
ed88669c RK |
3308 | notification[value="translation"] button, |
3309 | notification[value="translation"] menulist { | |
3310 | min-width: 0; | |
ed88669c RK |
3311 | } |
3312 | ||
3313 | notification[value="translation"] menulist > .menulist-dropmarker { | |
3314 | } | |
3315 | ||
93c91f62 RK |
3316 | .translation-menupopup arrowscrollbox { |
3317 | padding-bottom: 0; | |
3318 | } | |
3319 | ||
3320 | .translation-attribution { | |
3321 | cursor: pointer; | |
3322 | -moz-box-align: end; | |
3323 | font-size: small; | |
3324 | } | |
3325 | ||
3326 | .translation-attribution > label { | |
3327 | margin-bottom: 0; | |
3328 | } | |
3329 | ||
3330 | .translation-attribution > image { | |
3331 | width: 70px; | |
3332 | } | |
3333 | ||
ed88669c RK |
3334 | /* === END infobar.inc.css === */ |
3335 | ||
0bcd5587 RK |
3336 | notification[value="translation"] { |
3337 | min-height: 40px; | |
3338 | } | |
3339 | ||
ed88669c RK |
3340 | .translate-notification-icon, |
3341 | #translate-notification-icon { | |
3342 | list-style-image: url("chrome://browser/skin/translation-16.png"); | |
3343 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3344 | } | |
3345 | ||
3346 | .translated-notification-icon, | |
3347 | #translated-notification-icon { | |
3348 | list-style-image: url("chrome://browser/skin/translation-16.png"); | |
3349 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3350 | } | |
3351 | ||
3352 | .translation-menupopup { | |
3353 | -moz-appearance: none; | |
3354 | } | |
3355 | ||
319c6529 | 3356 | /* Bookmarks roots menu-items */ |
319c6529 RK |
3357 | #subscribeToPageMenuitem:not([disabled]), |
3358 | #subscribeToPageMenupopup, | |
3359 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
3360 | #BMB_subscribeToPageMenupopup { | |
3361 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 3362 | } |
3363 | ||
319c6529 | 3364 | #bookmarksToolbarFolderMenu, |
c0f6797e RK |
3365 | #BMB_bookmarksToolbar, |
3366 | #panelMenu_bookmarksToolbar { | |
8da9da4e | 3367 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
319c6529 RK |
3368 | -moz-image-region: auto; |
3369 | } | |
acb0e9b8 | 3370 | |
c0f6797e RK |
3371 | #BMB_unsortedBookmarks, |
3372 | #panelMenu_unsortedBookmarks { | |
8da9da4e | 3373 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
319c6529 | 3374 | -moz-image-region: auto; |
acb0e9b8 | 3375 | } |
3376 | ||
319c6529 | 3377 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 3378 | |
319c6529 RK |
3379 | .KUI-panel { |
3380 | color: #FF9F00; | |
3381 | border-style: none; | |
3382 | border-radius: 20px; | |
acb0e9b8 | 3383 | } |
3384 | ||
319c6529 RK |
3385 | .KUI-panel[level="top"] { |
3386 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 3387 | } |
3388 | ||
319c6529 RK |
3389 | /* Ctrl-Tab */ |
3390 | ||
3391 | #ctrlTab-panel { | |
3392 | padding: 20px 10px 10px; | |
3393 | font-weight: bold; | |
acb0e9b8 | 3394 | } |
3395 | ||
319c6529 RK |
3396 | .ctrlTab-favicon[src] { |
3397 | background-color: #000000; | |
3398 | width: 20px; | |
3399 | height: 20px; | |
3400 | padding: 2px; | |
3401 | } | |
acb0e9b8 | 3402 | |
319c6529 | 3403 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 3404 | } |
3405 | ||
319c6529 RK |
3406 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
3407 | margin-bottom: 2px; | |
acb0e9b8 | 3408 | } |
3409 | ||
319c6529 RK |
3410 | .ctrlTab-preview-inner { |
3411 | padding-bottom: 10px; | |
acb0e9b8 | 3412 | } |
3413 | ||
319c6529 RK |
3414 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
3415 | padding: 10px; | |
3416 | background-color: #000000; | |
3417 | border-radius: .5em; | |
acb0e9b8 | 3418 | } |
3419 | ||
319c6529 RK |
3420 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
3421 | color: white; | |
3422 | background-color: #000000; | |
3423 | text-shadow: none; | |
3424 | padding: 8px; | |
3425 | border: 2px solid #9C9CFF; | |
3426 | border-radius: .5em; | |
acb0e9b8 | 3427 | } |
3428 | ||
319c6529 RK |
3429 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
3430 | margin: -10px -10px 0; | |
acb0e9b8 | 3431 | } |
3432 | ||
319c6529 RK |
3433 | #ctrlTab-showAll { |
3434 | margin-top: .5em; | |
acb0e9b8 | 3435 | } |
3436 | ||
45dc7657 RK |
3437 | /* Sync Panel */ |
3438 | ||
3439 | .sync-panel-icon { | |
cae267ab | 3440 | height:32px; |
45dc7657 RK |
3441 | width: 32px; |
3442 | background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat; | |
3443 | } | |
3444 | ||
3445 | .sync-panel-inner { | |
3446 | width: 0; | |
3447 | padding-left: 10px; | |
3448 | } | |
3449 | ||
3450 | .sync-panel-button-box { | |
3451 | margin-top: 1em; | |
3452 | } | |
3453 | ||
3454 | #sync-error-panel-title, | |
3455 | #sync-start-panel-title { | |
cae267ab | 3456 | font-size: 120%; |
45dc7657 | 3457 | font-weight: bold; |
cae267ab | 3458 | margin-bottom: 5px; |
45dc7657 RK |
3459 | } |
3460 | ||
3461 | #sync-start-panel-subtitle, | |
3462 | #sync-error-panel-subtitle { | |
3463 | margin: 0; | |
3464 | } | |
3465 | ||
9abeb12c RK |
3466 | /* Status panel */ |
3467 | ||
3468 | .statuspanel-label { | |
3469 | margin: 0; | |
3470 | padding: 2px 4px; | |
38cfeb47 | 3471 | background: #404000; |
9abeb12c RK |
3472 | border: 1px none #9C9CFF; |
3473 | border-top-style: solid; | |
3474 | color: #FF9F00; | |
3475 | text-shadow: none; | |
3476 | } | |
3477 | ||
3478 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
3479 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
3480 | border-right-style: solid; | |
3481 | border-top-right-radius: .3em; | |
3482 | margin-right: 1em; | |
3483 | } | |
3484 | ||
3485 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
3486 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
3487 | border-left-style: solid; | |
3488 | border-top-left-radius: .3em; | |
3489 | margin-left: 1em; | |
3490 | } | |
3e6e0e5c RK |
3491 | |
3492 | /* HACK to abolish devily color on main content */ | |
3493 | ||
3494 | #content { | |
3495 | background-color: transparent !important; | |
3496 | } | |
dce90fef | 3497 | |
7600e0b1 RK |
3498 | /* === BEGIN highlighter.inc.css === */ |
3499 | ||
cae267ab RK |
3500 | /* Box model highlighter */ |
3501 | svg|g.box-model-container { | |
3502 | opacity: 0.4; | |
3503 | } | |
3504 | ||
3505 | svg|polygon.box-model-content { | |
3506 | fill: #008484; | |
3507 | } | |
3508 | ||
3509 | svg|polygon.box-model-padding { | |
3510 | fill: #9C9CFF; | |
3511 | } | |
3512 | ||
3513 | svg|polygon.box-model-border { | |
3514 | fill: #FFCF00; | |
3515 | } | |
3516 | ||
3517 | svg|polygon.box-model-margin { | |
3518 | fill: #A09090; | |
3519 | } | |
3520 | ||
3521 | svg|polygon.box-model-content, | |
3522 | svg|polygon.box-model-padding, | |
3523 | svg|polygon.box-model-border, | |
3524 | svg|polygon.box-model-margin { | |
3525 | stroke: none; | |
3526 | } | |
dce90fef | 3527 | |
cae267ab RK |
3528 | svg|line.box-model-guide-top, |
3529 | svg|line.box-model-guide-right, | |
3530 | svg|line.box-model-guide-bottom, | |
3531 | svg|line.box-model-guide-left { | |
3532 | stroke: #E7ADE7; | |
3533 | stroke-dasharray: 5 3; | |
9168a62c | 3534 | shape-rendering: crispEdges; |
dce90fef RK |
3535 | } |
3536 | ||
8ad8bf83 RK |
3537 | /* Highlighter - Node Infobar */ |
3538 | ||
0142a07b | 3539 | .highlighter-nodeinfobar { |
a40f6a79 | 3540 | color: #FF9F00; |
a40f6a79 RK |
3541 | border-radius: 3px; |
3542 | background-color: #000000; | |
3543 | background-clip: padding-box; | |
1bf116f8 RK |
3544 | border: 1px solid #008484; |
3545 | padding: 5px; | |
3546 | /* Avoid cases where the infobar is smaller than the arrow, when the text is | |
3547 | short */ | |
3548 | min-width: 75px; | |
a40f6a79 RK |
3549 | } |
3550 | ||
8ad8bf83 RK |
3551 | /* Highlighter - Node Infobar - text */ |
3552 | ||
0142a07b | 3553 | .highlighter-nodeinfobar-text { |
45dc7657 | 3554 | text-align: center; |
a40f6a79 | 3555 | /* 100% - size of the buttons and margins */ |
c29b709d | 3556 | max-width: calc(100% - 2 * (26px + 6px)); |
a40f6a79 RK |
3557 | padding-bottom: 1px; |
3558 | } | |
3559 | ||
0142a07b | 3560 | html|*.highlighter-nodeinfobar-tagname { |
8ad8bf83 RK |
3561 | color: #FFCF00; |
3562 | } | |
3563 | ||
0142a07b | 3564 | html|*.highlighter-nodeinfobar-id { |
8ad8bf83 RK |
3565 | color: #9C9CFF; |
3566 | } | |
3567 | ||
0142a07b | 3568 | html|*.highlighter-nodeinfobar-pseudo-classes { |
eec397be | 3569 | color: #FF9F00; |
8ad8bf83 RK |
3570 | } |
3571 | ||
93c91f62 RK |
3572 | html|*.highlighter-nodeinfobar-dimensions { |
3573 | color: #A09090; | |
3574 | -moz-border-start: 1px solid #9C9CFF; | |
3575 | -moz-margin-start: 6px; | |
3576 | -moz-padding-start: 6px; | |
3577 | } | |
3578 | ||
a40f6a79 RK |
3579 | /* Highlighter - Node Infobar - box & arrow */ |
3580 | ||
8ad8bf83 RK |
3581 | .highlighter-nodeinfobar-arrow { |
3582 | width: 14px; | |
3583 | height: 14px; | |
c29b709d | 3584 | -moz-margin-start: calc(50% - 7px); |
71a617ff | 3585 | transform: rotate(-45deg); |
8ad8bf83 RK |
3586 | background-clip: padding-box; |
3587 | background-repeat: no-repeat; | |
3588 | } | |
3589 | ||
0142a07b | 3590 | .highlighter-nodeinfobar-arrow-top { |
8ad8bf83 RK |
3591 | margin-bottom: -8px; |
3592 | margin-top: 8px; | |
fcaeefc2 | 3593 | background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
3594 | } |
3595 | ||
0142a07b | 3596 | .highlighter-nodeinfobar-arrow-bottom { |
8ad8bf83 RK |
3597 | margin-top: -8px; |
3598 | margin-bottom: 8px; | |
fcaeefc2 | 3599 | background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
3600 | } |
3601 | ||
0142a07b | 3602 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
8ad8bf83 RK |
3603 | margin: 7px 0; |
3604 | } | |
3605 | ||
2b5a5147 RK |
3606 | /* Css transform highlighter */ |
3607 | ||
3608 | svg|polygon.css-transform-transformed { | |
3609 | fill: #9C9CFF; | |
3610 | opacity: 0.8; | |
3611 | } | |
3612 | ||
3613 | svg|polygon.css-transform-untransformed { | |
3614 | fill: #A09090; | |
3615 | opacity: 0.8; | |
3616 | } | |
3617 | ||
3618 | svg|polygon.css-transform-transformed, | |
3619 | svg|polygon.css-transform-untransformed, | |
3620 | svg|line.css-transform-line { | |
3621 | stroke: #E7ADE7; | |
3622 | stroke-dasharray: 5 3; | |
3623 | stroke-width: 2; | |
3624 | } | |
3625 | ||
7600e0b1 RK |
3626 | /* === END highlighter.inc.css === */ |
3627 | ||
8ad8bf83 RK |
3628 | #full-screen-warning-message { |
3629 | background-color: #000000; | |
3630 | color: #FF9F00; | |
8ad8bf83 RK |
3631 | border-radius: 8px; |
3632 | margin-top: 30px; | |
3633 | padding: 30px 50px; | |
3634 | box-shadow: 0 0 2px #9C9CFF; | |
3635 | } | |
3636 | ||
3637 | #full-screen-warning-container[obscure-browser] { | |
85cfb236 RK |
3638 | background-color: rgba(0,0,0,0.3); |
3639 | } | |
3640 | ||
3641 | .full-screen-description { | |
3642 | font-size: 150%; | |
3643 | } | |
3644 | ||
3645 | #full-screen-domain-text { | |
3646 | font-size: 300%; | |
8ad8bf83 RK |
3647 | } |
3648 | ||
85cfb236 RK |
3649 | .full-screen-approval-button, |
3650 | #full-screen-remember-decision { | |
3651 | font-size: 120%; | |
8ad8bf83 RK |
3652 | } |
3653 | ||
b27cc46e RK |
3654 | /* === BEGIN commandline.inc.css === */ |
3655 | ||
3656 | /* Developer toolbar */ | |
3657 | ||
3658 | #developer-toolbar { | |
3659 | border-top: 3px solid #000000; | |
3660 | border-bottom: none; | |
3661 | } | |
3662 | ||
3663 | #developer-toolbar .toolbar-holder { | |
3664 | background-color: #8050B0; | |
3665 | color: #FFCF00; | |
3666 | } | |
3667 | ||
3668 | #developer-toolbar .toolbar-holder { | |
3669 | background-color: #8050B0; | |
3670 | color: #FFCF00; | |
3671 | } | |
3672 | ||
3673 | #developer-toolbar .toolbar-startcap, | |
3674 | #developer-toolbar .toolbar-endcap{ | |
3675 | background-color: #6000CF; | |
3676 | } | |
3677 | ||
3678 | #developer-toolbar { | |
3679 | /* padding: 0; | |
3680 | min-height: 32px; */ | |
3681 | } | |
3682 | ||
de57e474 | 3683 | #developer-toolbar > toolbarbutton { |
b27cc46e RK |
3684 | /* margin: 0; |
3685 | padding: 0 10px; | |
3686 | width: 32px; */ | |
3687 | } | |
3688 | ||
3689 | .developer-toolbar-button > image { | |
3690 | /* margin: auto 10px; */ | |
3691 | } | |
3692 | ||
fe524e0c RK |
3693 | #developer-toolbar-toolbox-button > label { |
3694 | display: none; | |
3695 | } | |
3696 | ||
0bcd5587 RK |
3697 | .developer-toolbar-button > .toolbarbutton-icon, |
3698 | #developer-toolbar-closebutton > .toolbarbutton-icon { | |
3699 | width: 16px; | |
3700 | height: 16px; | |
3701 | } | |
3702 | ||
b27cc46e RK |
3703 | #developer-toolbar-toolbox-button { |
3704 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); | |
3705 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3706 | } | |
3707 | ||
3708 | #developer-toolbar-toolbox-button > label { | |
3709 | display: none; | |
3710 | } | |
3711 | ||
3712 | #developer-toolbar-toolbox-button:hover, | |
3713 | #developer-toolbar-toolbox-button:hover:active, | |
3714 | #developer-toolbar-toolbox-button[checked=true] { | |
3715 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3716 | } | |
3717 | ||
0bcd5587 RK |
3718 | @media (min-resolution: 2dppx) { |
3719 | #developer-toolbar-toolbox-button { | |
3720 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png"); | |
3721 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
3722 | } | |
3723 | ||
3724 | #developer-toolbar-toolbox-button:hover, | |
3725 | #developer-toolbar-toolbox-button:hover:active, | |
3726 | #developer-toolbar-toolbox-button[checked=true] { | |
3727 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
3728 | } | |
3729 | } | |
3730 | ||
de57e474 RK |
3731 | #developer-toolbar-closebutton { |
3732 | list-style-image: url("chrome://browser/skin/devtools/close.png"); | |
3733 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3734 | min-width: 16px; | |
3735 | width: 16px; | |
3736 | } | |
3737 | ||
3738 | #developer-toolbar-closebutton > .toolbarbutton-icon { | |
3739 | } | |
3740 | ||
3741 | #developer-toolbar-closebutton > .toolbarbutton-text { | |
3742 | display: none; | |
3743 | } | |
3744 | ||
3745 | #developer-toolbar-closebutton:hover, | |
3746 | #developer-toolbar-closebutton:hover:active { | |
3747 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3748 | } | |
3749 | ||
0bcd5587 RK |
3750 | @media (min-resolution: 2dppx) { |
3751 | #developer-toolbar-closebutton { | |
3752 | list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); | |
3753 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
3754 | } | |
3755 | ||
3756 | #developer-toolbar-closebutton:hover, | |
3757 | #developer-toolbar-closebutton:hover:active { | |
3758 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
3759 | } | |
3760 | } | |
3761 | ||
b27cc46e RK |
3762 | /* GCLI */ |
3763 | ||
37953ab4 RK |
3764 | html|*#gcli-tooltip-frame, |
3765 | html|*#gcli-output-frame { | |
85cfb236 | 3766 | padding: 0; |
37953ab4 RK |
3767 | border-width: 0; |
3768 | background-color: transparent; | |
3769 | } | |
3770 | ||
3771 | #gcli-output, | |
3772 | #gcli-tooltip { | |
3773 | border-width: 0; | |
3774 | background-color: transparent; | |
85cfb236 RK |
3775 | } |
3776 | ||
3777 | .gclitoolbar-input-node, | |
b27cc46e | 3778 | .gclitoolbar-complete-node { |
37953ab4 RK |
3779 | margin: 1px 3px; |
3780 | -moz-box-align: center; | |
3781 | padding-top: 0; | |
3782 | padding-bottom: 0; | |
b27cc46e | 3783 | padding-right: 8px; |
37953ab4 | 3784 | background-color: transparent; |
85cfb236 RK |
3785 | } |
3786 | ||
3787 | .gclitoolbar-input-node { | |
b27cc46e RK |
3788 | /* line-height: 32px; |
3789 | outline-style: none; */ | |
de57e474 RK |
3790 | background-repeat: no-repeat; |
3791 | background-color: rgba(0, 0, 0, .75); | |
b27cc46e RK |
3792 | } |
3793 | ||
3794 | .gclitoolbar-input-node[focused="true"] { | |
de57e474 | 3795 | background-color: #000000; |
37953ab4 RK |
3796 | } |
3797 | ||
0bcd5587 RK |
3798 | .gclitoolbar-input-node::before { |
3799 | content: ""; | |
3800 | display: inline-block; | |
3801 | -moz-box-ordinal-group: 0; | |
3802 | width: 16px; | |
3803 | height: 16px; | |
3804 | margin: 0 2px; | |
3805 | background-image: url("chrome://browser/skin/devtools/commandline-icon.png"); | |
3806 | background-position: 0 center; | |
3807 | background-size: 32px 16px; | |
3808 | } | |
3809 | ||
3810 | .gclitoolbar-input-node[focused="true"]::before { | |
3811 | background-position: -16px center; | |
3812 | } | |
3813 | ||
3814 | @media (min-resolution: 2dppx) { | |
3815 | .gclitoolbar-input-node::before { | |
3816 | background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png"); | |
3817 | } | |
3818 | } | |
3819 | ||
37953ab4 RK |
3820 | .gclitoolbar-input-node:not([focused="true"]) { |
3821 | border-color: transparent; | |
85cfb236 RK |
3822 | } |
3823 | ||
7bc075b6 RK |
3824 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
3825 | background-color: #008484; | |
3826 | color: #000000; | |
3827 | text-shadow: none; | |
3828 | } | |
3829 | ||
85cfb236 | 3830 | .gclitoolbar-complete-node { |
37953ab4 | 3831 | padding-left: 21px; |
85cfb236 RK |
3832 | background-color: transparent; |
3833 | color: transparent; | |
b27cc46e RK |
3834 | z-index: 100; |
3835 | pointer-events: none; | |
85cfb236 RK |
3836 | } |
3837 | ||
85cfb236 RK |
3838 | .gcli-in-incomplete, |
3839 | .gcli-in-error, | |
3840 | .gcli-in-ontab, | |
3841 | .gcli-in-todo, | |
3842 | .gcli-in-closebrace, | |
3843 | .gcli-in-param, | |
3844 | .gcli-in-valid { | |
3845 | margin: 0; | |
3846 | padding: 0; | |
3847 | } | |
3848 | ||
3849 | .gcli-in-incomplete { | |
3850 | border-bottom: 2px dotted #8050B0; | |
3851 | } | |
3852 | ||
3853 | .gcli-in-error { | |
3854 | border-bottom: 2px dotted #FF0000; | |
3855 | } | |
3856 | ||
3857 | .gcli-in-ontab { | |
3858 | color: #9C9CFF; | |
3859 | } | |
3860 | ||
3861 | .gcli-in-todo { | |
3862 | color: #795900; | |
3863 | } | |
3864 | ||
3865 | .gcli-in-closebrace { | |
3866 | color: #8050B0; | |
3867 | } | |
3868 | ||
b27cc46e RK |
3869 | /* === END commandline.inc.css === */ |
3870 | ||
fe524e0c RK |
3871 | /* === BEGIN responsivedesign.inc.css === */ |
3872 | ||
37953ab4 | 3873 | /* Responsive Mode */ |
85cfb236 | 3874 | |
7bc075b6 | 3875 | .browserContainer[responsivemode] { |
0bcd5587 | 3876 | background-color: #221500; |
37953ab4 RK |
3877 | padding: 0 20px 20px 20px; |
3878 | } | |
3879 | ||
7bc075b6 | 3880 | .browserStack[responsivemode] { |
37953ab4 RK |
3881 | box-shadow: 0 0 7px #9C9CFF; |
3882 | } | |
3883 | ||
3884 | .devtools-responsiveui-toolbar { | |
3885 | background: transparent; | |
d2ce251d RK |
3886 | /* text color is textColor from dark theme, since no theme is applied to |
3887 | * the responsive toolbar. | |
3888 | */ | |
3889 | color: #FF9F00; | |
37953ab4 RK |
3890 | margin: 10px 0; |
3891 | padding: 0; | |
3892 | box-shadow: none; | |
3893 | border-bottom-width: 0; | |
3894 | } | |
3895 | ||
de57e474 RK |
3896 | .devtools-responsiveui-menulist, |
3897 | .devtools-responsiveui-toolbarbutton { | |
3898 | -moz-box-align: center; | |
3899 | min-width: 32px; | |
3900 | /* min-height: 22px;*/ | |
3901 | /* margin: 0 3px; */ | |
3902 | } | |
3903 | ||
1988bb88 RK |
3904 | .devtools-responsiveui-menulist .menulist-editable-box { |
3905 | background-color: transparent; | |
3906 | } | |
3907 | ||
3908 | .devtools-responsiveui-menulist html|*.menulist-editable-input { | |
3909 | color: inherit; | |
3910 | text-align: center; | |
3911 | } | |
3912 | ||
3913 | .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection { | |
3914 | /* background: hsla(212,7%,57%,.35);*/ | |
3915 | } | |
3916 | ||
0bcd5587 RK |
3917 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon { |
3918 | width: 16px; | |
3919 | height: 16px; | |
3920 | } | |
3921 | ||
de57e474 RK |
3922 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { |
3923 | -moz-box-orient: horizontal; | |
3924 | } | |
3925 | ||
3926 | .devtools-responsiveui-menulist:-moz-focusring, | |
3927 | .devtools-responsiveui-toolbarbutton:-moz-focusring { | |
3928 | /* outline: 1px dotted hsla(210,30%,85%,0.7); | |
3929 | outline-offset: -4px;*/ | |
3930 | } | |
3931 | ||
3932 | .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { | |
3933 | display: none; | |
3934 | } | |
3935 | ||
3936 | .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { | |
3937 | /* border-color: hsla(210,8%,5%,.6); | |
3938 | background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); | |
3939 | box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ | |
3940 | } | |
3941 | ||
3942 | .devtools-responsiveui-menulist[open=true], | |
3943 | .devtools-responsiveui-toolbarbutton[open=true], | |
3944 | .devtools-responsiveui-toolbarbutton[checked=true] { | |
3945 | /* border-color: hsla(210,8%,5%,.6) !important; | |
3946 | background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); | |
3947 | box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ | |
3948 | } | |
3949 | ||
3950 | .devtools-responsiveui-toolbarbutton[checked=true] { | |
3951 | /* color: hsl(208,100%,60%); */ | |
3952 | } | |
3953 | ||
3954 | .devtools-responsiveui-toolbarbutton[checked=true]:hover { | |
3955 | /* background-color: transparent !important;*/ | |
3956 | } | |
3957 | ||
3958 | .devtools-responsiveui-toolbarbutton[checked=true]:hover:active { | |
3959 | /* background-color: hsla(210,8%,5%,.2) !important;*/ | |
3960 | } | |
3961 | ||
3962 | .devtools-responsiveui-menulist > .menulist-label-box { | |
3963 | text-align: center; | |
3964 | } | |
3965 | ||
3966 | .devtools-responsiveui-menulist > .menulist-dropmarker { | |
3967 | /* display: -moz-box; | |
3968 | background-color: transparent; | |
0bcd5587 | 3969 | list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); |
de57e474 RK |
3970 | -moz-box-align: center; |
3971 | border-width: 0; | |
3972 | min-width: 16px;*/ | |
3973 | } | |
3974 | ||
3975 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { | |
3976 | /* color: inherit; | |
3977 | border-width: 0; | |
3978 | -moz-border-end: 1px solid hsla(210,8%,5%,.45); | |
3979 | box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/ | |
3980 | } | |
3981 | ||
3982 | .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { | |
3983 | /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/ | |
3984 | } | |
3985 | ||
3986 | .devtools-responsiveui-toolbarbutton[type=menu-button] { | |
3987 | /* padding: 0 1px;*/ | |
3988 | -moz-box-align: stretch; | |
3989 | } | |
3990 | ||
3991 | .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, | |
3992 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { | |
0bcd5587 | 3993 | /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); |
de57e474 RK |
3994 | -moz-box-align: center; |
3995 | padding: 0 3px;*/ | |
37953ab4 RK |
3996 | } |
3997 | ||
3998 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, | |
3999 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { | |
fe524e0c RK |
4000 | margin-left: 3px; |
4001 | } | |
4002 | ||
4003 | .devtools-responsiveui-close { | |
4004 | list-style-image: url("chrome://browser/skin/devtools/close.png"); | |
4005 | -moz-image-region: rect(0px,16px,16px,0px); | |
4006 | } | |
4007 | ||
4008 | .devtools-responsiveui-close:hover { | |
4009 | -moz-image-region: rect(0px,32px,16px,16px); | |
4010 | } | |
4011 | ||
4012 | .devtools-responsiveui-rotate { | |
4013 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); | |
4014 | -moz-image-region: rect(0px,16px,16px,0px); | |
4015 | } | |
4016 | ||
4017 | .devtools-responsiveui-rotate:hover { | |
4018 | -moz-image-region: rect(0px,32px,16px,16px); | |
4019 | } | |
4020 | ||
0bcd5587 RK |
4021 | @media (min-resolution: 2dppx) { |
4022 | .devtools-responsiveui-close { | |
4023 | list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); | |
4024 | } | |
4025 | ||
4026 | .devtools-responsiveui-close:hover { | |
4027 | -moz-image-region: rect(0px,64px,32px,32px); | |
4028 | } | |
4029 | ||
4030 | .devtools-responsiveui-rotate { | |
4031 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png"); | |
4032 | } | |
4033 | ||
4034 | .devtools-responsiveui-rotate:hover { | |
4035 | -moz-image-region: rect(0px,64px,32px,32px); | |
4036 | } | |
4037 | } | |
4038 | ||
fe524e0c RK |
4039 | .devtools-responsiveui-touch { |
4040 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); | |
4041 | -moz-image-region: rect(0px,16px,16px,0px); | |
4042 | } | |
4043 | ||
4044 | .devtools-responsiveui-touch:hover, | |
4045 | .devtools-responsiveui-touch[checked], | |
4046 | .devtools-responsiveui-touch[checked]:hover { | |
4047 | -moz-image-region: rect(0px,32px,16px,16px); | |
4048 | } | |
4049 | ||
0bcd5587 RK |
4050 | @media (min-resolution: 2dppx) { |
4051 | .devtools-responsiveui-touch { | |
4052 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png"); | |
4053 | -moz-image-region: rect(0px,32px,32px,0px); | |
4054 | } | |
4055 | ||
4056 | .devtools-responsiveui-touch:hover, | |
4057 | .devtools-responsiveui-touch[checked], | |
4058 | .devtools-responsiveui-touch[checked]:hover { | |
4059 | -moz-image-region: rect(0px,64px,32px,32px); | |
4060 | } | |
4061 | } | |
4062 | ||
fe524e0c RK |
4063 | .devtools-responsiveui-screenshot { |
4064 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); | |
4065 | -moz-image-region: rect(0px,16px,16px,0px); | |
4066 | } | |
4067 | ||
4068 | .devtools-responsiveui-screenshot:hover { | |
4069 | -moz-image-region: rect(0px,32px,16px,16px); | |
37953ab4 RK |
4070 | } |
4071 | ||
0bcd5587 RK |
4072 | @media (min-resolution: 2dppx) { |
4073 | .devtools-responsiveui-screenshot { | |
4074 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png"); | |
4075 | } | |
4076 | ||
4077 | .devtools-responsiveui-screenshot:hover { | |
4078 | -moz-image-region: rect(0px,64px,32px,32px); | |
4079 | } | |
4080 | } | |
4081 | ||
fe524e0c | 4082 | .devtools-responsiveui-resizebarV { |
37953ab4 RK |
4083 | width: 7px; |
4084 | height: 24px; | |
4085 | cursor: ew-resize; | |
71a617ff | 4086 | transform: translate(12px, -12px); |
0bcd5587 | 4087 | background-size: cover; |
37953ab4 RK |
4088 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
4089 | } | |
4090 | ||
fe524e0c RK |
4091 | .devtools-responsiveui-resizebarH { |
4092 | width: 24px; | |
4093 | height: 7px; | |
4094 | cursor: ns-resize; | |
4095 | transform: translate(-12px, 12px); | |
0bcd5587 | 4096 | background-size: cover; |
fe524e0c RK |
4097 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); |
4098 | } | |
4099 | ||
37953ab4 RK |
4100 | .devtools-responsiveui-resizehandle { |
4101 | width: 16px; | |
4102 | height: 16px; | |
4103 | cursor: se-resize; | |
71a617ff | 4104 | transform: translate(12px, 12px); |
0bcd5587 | 4105 | background-size: cover; |
37953ab4 | 4106 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
8d7ef0d9 | 4107 | } |
889649fd | 4108 | |
0bcd5587 RK |
4109 | @media (min-resolution: 2dppx) { |
4110 | .devtools-responsiveui-resizebarV { | |
4111 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png"); | |
4112 | } | |
4113 | ||
4114 | .devtools-responsiveui-resizebarH { | |
4115 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png"); | |
4116 | } | |
4117 | ||
4118 | .devtools-responsiveui-resizehandle { | |
4119 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png"); | |
4120 | } | |
4121 | } | |
4122 | ||
fe524e0c | 4123 | /* === END responsivedesign.inc.css === */ |
fcaeefc2 RK |
4124 | |
4125 | /* === including indicator.css is done at the start of the file === */ | |
fe524e0c | 4126 | |
889649fd RK |
4127 | /* Error counter */ |
4128 | ||
0142a07b | 4129 | #developer-toolbar-toolbox-button[error-count]:before { |
889649fd RK |
4130 | color: #000000; |
4131 | min-width: 16px; | |
4132 | text-shadow: none; | |
4133 | background-color: #FF0000; | |
4134 | border-radius: 1px; | |
c29b709d | 4135 | -moz-margin-end: 5px; |
c54ac991 | 4136 | } |
e9c73590 | 4137 | |
348c0499 | 4138 | /* Social toolbar item */ |
e9c73590 | 4139 | |
0142a07b RK |
4140 | #social-provider-button { |
4141 | -moz-image-region: rect(0, 16px, 16px, 0); | |
a6757852 | 4142 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
0142a07b RK |
4143 | } |
4144 | ||
348c0499 RK |
4145 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
4146 | display: none; | |
e9c73590 RK |
4147 | } |
4148 | ||
82b4252f RK |
4149 | .toolbarbutton-badge-container { |
4150 | margin: 0; | |
4151 | padding: 0; | |
4152 | position: relative; | |
e9c73590 RK |
4153 | } |
4154 | ||
c0f6797e | 4155 | #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { |
ed1a91c6 | 4156 | padding: 2px 2px; |
82b4252f RK |
4157 | } |
4158 | ||
4159 | .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { | |
4160 | position: absolute; | |
4161 | top: 2px; | |
4162 | right: 2px; | |
4163 | } | |
4164 | ||
4165 | .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { | |
4166 | -moz-margin-end: 0; | |
e9c73590 RK |
4167 | } |
4168 | ||
82b4252f RK |
4169 | .toolbarbutton-badge[badge=""] { |
4170 | display: none; | |
4171 | } | |
4172 | .toolbarbutton-badge[badge]:not([badge=""])::after { | |
6adbc9a6 | 4173 | /* The |content| property is set in the content stylesheet. */ |
348c0499 RK |
4174 | font-size: 9px; |
4175 | font-weight: bold; | |
4176 | padding: 0 1px; | |
4177 | color: #FF9F00; | |
4178 | background-color: #000000; | |
4179 | border: 1px solid #9C9CFF; | |
4180 | border-radius: 2px; | |
6adbc9a6 | 4181 | position: absolute; |
82b4252f RK |
4182 | top: 0; |
4183 | right: 0; | |
4184 | } | |
4185 | ||
c0f6797e | 4186 | #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { |
82b4252f RK |
4187 | top: 1px; |
4188 | right: 1px; | |
e9c73590 RK |
4189 | } |
4190 | ||
82b4252f RK |
4191 | .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
4192 | left: 0; | |
4193 | right: auto; | |
e9c73590 RK |
4194 | } |
4195 | ||
c0f6797e | 4196 | #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
82b4252f | 4197 | left: 1px; |
6adbc9a6 | 4198 | right: auto; |
348c0499 RK |
4199 | } |
4200 | ||
4201 | #social-notification-icon-mentions { | |
e9c73590 | 4202 | background-color: #000000; |
348c0499 RK |
4203 | border-radius: 3px; |
4204 | -moz-margin-start: 2px; | |
e9c73590 RK |
4205 | } |
4206 | ||
348c0499 RK |
4207 | #social-notification-icon-mentions:hover { |
4208 | background-color: #FFCF00; | |
4209 | } | |
4210 | ||
4211 | #social-notification-icon-mentions[open="true"] { | |
4212 | background-color: #FF9F00; | |
e9c73590 RK |
4213 | } |
4214 | ||
4215 | #social-sidebar-splitter { | |
4216 | border: 0; | |
4217 | } | |
4218 | ||
ed1a91c6 RK |
4219 | .popup-notification-icon[popupid="servicesInstall"] { |
4220 | list-style-image: url("chrome://browser/skin/social/services-64.png"); | |
4221 | } | |
4222 | #servicesInstall-notification-icon { | |
4223 | list-style-image: url("chrome://browser/skin/social/services-16.png"); | |
4224 | } | |
c1d2ce3e | 4225 | #social-undoactivation-button { |
ed1a91c6 RK |
4226 | -moz-margin-start: 0; /* override default label margin to match description margin */ |
4227 | } | |
4228 | ||
4229 | #socialActivatedNotification .popup-notification-button-container { | |
4230 | margin-left: 6px; | |
4231 | } | |
4232 | ||
4233 | .social-activation-icon { | |
4234 | width: auto; | |
4235 | height: auto; | |
4236 | max-height: 64px; | |
4237 | max-width: 64px; | |
4238 | } | |
4239 | ||
4240 | #social-activation-message { | |
4241 | max-width: 250px; | |
4242 | } | |
4243 | ||
4244 | #social-activation-message > label { | |
4245 | margin: 0; | |
4246 | } | |
4247 | ||
e9c73590 | 4248 | /* social toolbar provider menu */ |
990cba4b | 4249 | .social-statusarea-popup { |
e9c73590 RK |
4250 | margin-top: 0; |
4251 | margin-left: -12px; | |
4252 | margin-right: -12px; | |
4253 | } | |
4254 | ||
990cba4b | 4255 | .social-statusarea-user { |
e9c73590 RK |
4256 | border-bottom: 1px solid #9C9CFF; |
4257 | background-color: #000000; | |
4258 | color: #FF9F00; | |
4259 | position: relative; | |
348c0499 | 4260 | cursor: pointer; |
e9c73590 RK |
4261 | } |
4262 | ||
990cba4b | 4263 | .social-statusarea-user-portrait { |
e9c73590 RK |
4264 | width: 32px; |
4265 | height: 32px; | |
4266 | border-radius: 2px; | |
4267 | margin: 10px; | |
e9c73590 RK |
4268 | } |
4269 | ||
990cba4b | 4270 | .social-statusarea-loggedInStatus { |
e9c73590 RK |
4271 | background: transparent; |
4272 | border: none; | |
b8384c33 | 4273 | color: #3333FF; |
e9c73590 RK |
4274 | min-width: 0; |
4275 | margin: 0 6px; | |
348c0499 | 4276 | list-style-image: none; |
e9c73590 | 4277 | } |
90a244b7 | 4278 | |
990cba4b | 4279 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
e9c73590 RK |
4280 | text-decoration: underline; |
4281 | } | |
4282 | ||
348c0499 RK |
4283 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
4284 | padding: 0; | |
4285 | } | |
4286 | ||
348c0499 RK |
4287 | .social-panel-frame { |
4288 | border-radius: inherit; | |
4289 | } | |
e9c73590 | 4290 | |
e7c8bab1 RK |
4291 | /* === BEGIN chat.inc.css === */ |
4292 | ||
dfa34f73 RK |
4293 | #social-sidebar-header { |
4294 | padding: 3px; | |
4295 | } | |
4296 | ||
4297 | #social-sidebar-button { | |
4298 | -moz-appearance: none; | |
4299 | list-style-image: url("chrome://browser/skin/social/gear_default.png"); | |
45dc7657 | 4300 | border: none; |
dfa34f73 RK |
4301 | padding: 0; |
4302 | margin: 2px; | |
4303 | } | |
45dc7657 RK |
4304 | #social-sidebar-button > .toolbarbutton-icon { |
4305 | min-height: 16px; | |
4306 | min-width: 16px; | |
4307 | } | |
dfa34f73 RK |
4308 | #social-sidebar-button:hover, |
4309 | #social-sidebar-button:hover:active { | |
4310 | list-style-image: url("chrome://browser/skin/social/gear_clicked.png"); | |
4311 | } | |
4312 | #social-sidebar-button > .toolbarbutton-menu-dropmarker { | |
4313 | display: none; | |
4314 | } | |
4315 | ||
4316 | #social-sidebar-button[loading="true"] { | |
4317 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
4318 | } | |
4319 | ||
4320 | #social-sidebar-favico { | |
4321 | max-height: 16px; | |
4322 | max-width: 16px; | |
4323 | padding: 0; | |
4324 | margin: 2px; | |
4325 | } | |
4326 | ||
e9c73590 RK |
4327 | .chat-status-icon { |
4328 | max-height: 16px; | |
4329 | max-width: 16px; | |
4330 | padding: 0; | |
4331 | } | |
4332 | ||
4333 | .chat-toolbarbutton { | |
4334 | -moz-appearance: none; | |
4335 | border: none; | |
4336 | padding: 0; | |
4337 | margin: 0; | |
4338 | background: none; | |
b27cc46e | 4339 | width: 16px; |
e9c73590 RK |
4340 | } |
4341 | ||
4342 | .chat-toolbarbutton > .toolbarbutton-text { | |
4343 | display: none; | |
4344 | } | |
4345 | ||
b27cc46e RK |
4346 | .chat-toolbarbutton > .toolbarbutton-icon { |
4347 | width: inherit; | |
4348 | } | |
4349 | ||
e7c8bab1 RK |
4350 | .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon { |
4351 | width: inherit; | |
4352 | margin-top: -2px; | |
4353 | } | |
4354 | ||
e9c73590 | 4355 | .chat-close-button { |
e2734cc7 | 4356 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
b27cc46e | 4357 | -moz-image-region: rect(0, 16px, 16px, 0); |
e9c73590 RK |
4358 | } |
4359 | ||
4360 | .chat-close-button:hover, | |
4361 | .chat-close-button:hover:active { | |
b27cc46e | 4362 | -moz-image-region: rect(0, 32px, 16px, 16px); |
e9c73590 RK |
4363 | } |
4364 | ||
e2734cc7 RK |
4365 | .chat-minimize-button { |
4366 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 4367 | -moz-image-region: rect(16px, 16px, 32px, 0); |
e2734cc7 RK |
4368 | } |
4369 | ||
4370 | .chat-minimize-button:hover:active, | |
4371 | .chat-minimize-button:hover { | |
b27cc46e | 4372 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
e2734cc7 RK |
4373 | } |
4374 | ||
4375 | .chat-swap-button { | |
4376 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 4377 | -moz-image-region: rect(48px, 16px, 64px, 0); |
e2734cc7 RK |
4378 | } |
4379 | ||
4380 | .chat-swap-button:hover:active, | |
4381 | .chat-swap-button:hover { | |
b27cc46e | 4382 | -moz-image-region: rect(48px, 32px, 64px, 16px); |
e2734cc7 RK |
4383 | } |
4384 | ||
4385 | chatbar > chatbox > .chat-titlebar > .chat-swap-button { | |
4386 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 4387 | -moz-image-region: rect(32px, 16px, 48px, 0); |
e2734cc7 RK |
4388 | } |
4389 | ||
4390 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active, | |
4391 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { | |
b27cc46e | 4392 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
e2734cc7 RK |
4393 | } |
4394 | ||
e9c73590 RK |
4395 | .chat-title { |
4396 | font-weight: bold; | |
4397 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
90a244b7 | 4398 | text-shadow: none; |
348c0499 | 4399 | cursor: inherit; |
e9c73590 RK |
4400 | } |
4401 | ||
4402 | .chat-titlebar { | |
4403 | background-color: #9C9CFF; | |
4404 | color: #000000; | |
4405 | height: 20px; | |
fcfb76ce | 4406 | min-height: 16px; |
e9c73590 RK |
4407 | width: 100%; |
4408 | margin: 0; | |
4409 | padding: 2px; | |
348c0499 | 4410 | -moz-padding-start: 6px; |
e9c73590 RK |
4411 | border: none; |
4412 | border-bottom: 1px solid #008484; | |
348c0499 | 4413 | cursor: pointer; |
e9c73590 RK |
4414 | } |
4415 | ||
e2734cc7 RK |
4416 | .chat-titlebar > .notification-anchor-icon { |
4417 | margin-left: 2px; | |
4418 | margin-right: 2px; | |
4419 | } | |
4420 | ||
e9c73590 RK |
4421 | .chat-titlebar[minimized="true"] { |
4422 | border-bottom: none; | |
4423 | } | |
4424 | ||
348c0499 RK |
4425 | .chat-titlebar[selected] { |
4426 | background-color: #008484; | |
4427 | } | |
4428 | ||
4429 | .chat-titlebar[activity] { | |
4430 | background-color: #E7ADE7; | |
4431 | } | |
4432 | ||
e9c73590 RK |
4433 | .chat-frame { |
4434 | padding: 0; | |
4435 | margin: 0; | |
4436 | overflow: hidden; | |
4437 | } | |
4438 | ||
4439 | .chatbar-button { | |
ed1a91c6 | 4440 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
e9c73590 RK |
4441 | background-color: #000000; |
4442 | border: none; | |
4443 | margin: 0; | |
4444 | padding: 2px; | |
4445 | height: 21px; | |
4446 | width: 21px; | |
4447 | border-top: 1px solid #008484; | |
4448 | -moz-border-end: 1px solid #008484; | |
4449 | } | |
4450 | ||
ed1a91c6 RK |
4451 | @media (min-resolution: 2dppx) { |
4452 | .chatbar-button { | |
4453 | list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); | |
4454 | } | |
4455 | } | |
4456 | ||
fe524e0c RK |
4457 | .chatbar-button > .toolbarbutton-icon { |
4458 | width: 16px; | |
4459 | } | |
4460 | ||
d7cfd768 RK |
4461 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
4462 | width: auto; | |
4463 | height: auto; | |
e9c73590 RK |
4464 | max-height: 16px; |
4465 | max-width: 16px; | |
e9c73590 RK |
4466 | } |
4467 | ||
90a244b7 RK |
4468 | .chatbar-button > .toolbarbutton-icon { |
4469 | opacity: .6; | |
4470 | -moz-margin-end: 0; | |
4471 | } | |
4472 | .chatbar-button:hover > .toolbarbutton-icon, | |
4473 | .chatbar-button[open="true"] > .toolbarbutton-icon { | |
4474 | opacity: 1; | |
4475 | } | |
4476 | ||
a6757852 | 4477 | .chatbar-button:hover, |
90a244b7 | 4478 | .chatbar-button[open="true"] { |
e9c73590 RK |
4479 | } |
4480 | ||
e9c73590 RK |
4481 | .chatbar-button > .toolbarbutton-text, |
4482 | .chatbar-button > .toolbarbutton-menu-dropmarker { | |
4483 | display: none; | |
4484 | } | |
4485 | ||
90a244b7 | 4486 | .chatbar-button[activity]:not([open="true"]) { |
348c0499 RK |
4487 | background-color: #E7ADE7; |
4488 | } | |
4489 | ||
4490 | .chatbar-button > menupopup > menuitem[activity] { | |
4491 | font-weight: bold; | |
4492 | } | |
4493 | ||
e9c73590 RK |
4494 | .chatbar-innerbox { |
4495 | background: transparent; | |
90a244b7 | 4496 | margin: -285px 0 0; |
e9c73590 RK |
4497 | overflow: hidden; |
4498 | } | |
4499 | ||
fcfb76ce RK |
4500 | chatbar { |
4501 | -moz-margin-end: 20px; | |
4502 | } | |
4503 | ||
e9c73590 | 4504 | chatbar > chatbox { |
fcfb76ce RK |
4505 | height: 285px; |
4506 | width: 260px; | |
4507 | -moz-margin-start: 4px; | |
e9c73590 RK |
4508 | background-color: #000000; |
4509 | border: 1px solid #9C9CFF; | |
4510 | border-bottom: none; | |
90a244b7 RK |
4511 | border-top-left-radius: 2.5px; |
4512 | border-top-right-radius: 2.5px; | |
e9c73590 RK |
4513 | } |
4514 | ||
fcfb76ce RK |
4515 | chatbox[minimized="true"] { |
4516 | width: 160px; | |
e9c73590 | 4517 | height: 20px; |
e9c73590 | 4518 | } |
348c0499 | 4519 | |
e2734cc7 RK |
4520 | window > chatbox { |
4521 | -moz-margin-start: 0px; | |
4522 | margin: 0px; | |
4523 | border: none; | |
4524 | padding: 0px; | |
4525 | } | |
4526 | ||
e7c8bab1 RK |
4527 | /* === END chat.inc.css === */ |
4528 | ||
c0f6797e RK |
4529 | .chat-titlebar { |
4530 | /* background-color: #c4cfde; */ | |
4531 | } | |
4532 | ||
4533 | .chat-titlebar[selected] { | |
4534 | /* background-color: #dae3f0; */ | |
4535 | } | |
4536 | ||
4537 | .chatbar-button { | |
4538 | -moz-appearance: none; | |
4539 | /* background-color: #c4cfde; */ | |
4540 | } | |
4541 | ||
4542 | .chatbar-button > .toolbarbutton-icon { | |
4543 | /* -moz-margin-end: 0; */ | |
4544 | } | |
4545 | ||
4546 | .chatbar-button:hover, | |
4547 | .chatbar-button[open="true"] { | |
4548 | /* background-color: #dae3f0; */ | |
4549 | } | |
4550 | ||
4551 | .chatbar-button[activity]:not([open="true"]) { | |
4552 | } | |
4553 | ||
4554 | chatbox { | |
4555 | /* border-top-left-radius: 2.5px; | |
4556 | border-top-right-radius: 2.5px; */ | |
4557 | } | |
4558 | ||
b27cc46e | 4559 | /* === BEGIN plugin-doorhanger.inc.css === */ |
348c0499 | 4560 | |
b27cc46e RK |
4561 | /** |
4562 | * Plugin Doorhanger Styles | |
4563 | */ | |
348c0499 | 4564 | |
b27cc46e | 4565 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
1e32332f | 4566 | padding: 6px 1px 2px; |
348c0499 RK |
4567 | } |
4568 | ||
348c0499 | 4569 | .click-to-play-plugins-notification-center-box { |
348c0499 RK |
4570 | } |
4571 | ||
fe524e0c RK |
4572 | .plugin-popupnotification-centeritem:nth-child(odd) { |
4573 | /* background-color: rgba(0,0,0,0.1);*/ | |
348c0499 RK |
4574 | } |
4575 | ||
b27cc46e RK |
4576 | .center-item-label { |
4577 | margin-bottom: 0; | |
4578 | text-overflow: ellipsis; | |
348c0499 RK |
4579 | } |
4580 | ||
b27cc46e RK |
4581 | .center-item-warning-icon { |
4582 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); | |
348c0499 | 4583 | background-repeat: no-repeat; |
348c0499 | 4584 | width: 16px; |
b27cc46e RK |
4585 | height: 15px; |
4586 | -moz-margin-start: 6px; | |
348c0499 RK |
4587 | } |
4588 | ||
b27cc46e | 4589 | .click-to-play-plugins-notification-button-container { |
348c0499 RK |
4590 | } |
4591 | ||
b27cc46e RK |
4592 | .click-to-play-popup-button { |
4593 | width: 50%; | |
348c0499 RK |
4594 | } |
4595 | ||
b27cc46e | 4596 | .click-to-play-plugins-notification-description-box { |
1e32332f RK |
4597 | margin-left: 5px; |
4598 | margin-right: 5px; | |
4599 | margin-top: 0; | |
4600 | padding-bottom: 3px; | |
348c0499 RK |
4601 | } |
4602 | ||
b27cc46e | 4603 | .click-to-play-plugins-outer-description { |
1e32332f | 4604 | margin-top: 1px; |
348c0499 RK |
4605 | } |
4606 | ||
b27cc46e RK |
4607 | .click-to-play-plugins-notification-link, |
4608 | .center-item-link { | |
4609 | margin: 0; | |
348c0499 RK |
4610 | } |
4611 | ||
2c225fcb RK |
4612 | .messageImage[value="plugin-hidden"] { |
4613 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); | |
4614 | } | |
4615 | ||
4616 | /* Keep any changes to this style in sync with pluginProblem.css */ | |
4617 | notification.pluginVulnerable { | |
4618 | } | |
4619 | ||
4620 | notification.pluginVulnerable .messageImage { | |
4621 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); | |
4622 | } | |
4623 | ||
b27cc46e | 4624 | /* === END plugin-doorhanger.inc.css === */ |
0142a07b | 4625 | |
c066e743 RK |
4626 | /* === BEGIN badcontent-doorhanger.inc.css === */ |
4627 | ||
4628 | .popup-notification-item-title[popupid="bad-content"] { | |
4629 | font-weight: bold; | |
4630 | } | |
4631 | ||
4632 | .popup-notification-item-message[popupid="bad-content"] { | |
4633 | width: 17em; | |
4634 | } | |
4635 | ||
4636 | .popup-notification-item-message-critical[popupid="bad-content"] { | |
4637 | color: #FF0000; | |
4638 | font-style: italic; | |
4639 | } | |
4640 | ||
4641 | .popup-notification-footer[popupid="bad-content"] { | |
4642 | padding-top: 1em; | |
4643 | } | |
4644 | ||
4645 | /* === END badcontent-doorhanger.inc.css === */ | |
4646 | ||
43cc2806 RK |
4647 | /* === BEGIN customizeMode.inc.css === */ |
4648 | ||
4649 | /* Customization mode */ | |
e28f3f71 | 4650 | |
5401f433 RK |
4651 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox { |
4652 | margin-bottom: 1em; | |
e28f3f71 RK |
4653 | } |
4654 | ||
5401f433 RK |
4655 | #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck, |
4656 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, | |
e28f3f71 RK |
4657 | #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox { |
4658 | margin-left: 1em; | |
4659 | margin-right: 1em; | |
43cc2806 RK |
4660 | } |
4661 | ||
e28f3f71 RK |
4662 | #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck { |
4663 | pointer-events: none; | |
4664 | } | |
4665 | ||
4666 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, | |
43cc2806 | 4667 | #PanelUI-contents > .panel-customization-placeholder { |
e28f3f71 | 4668 | -moz-outline-radius: 2.5px; |
43cc2806 RK |
4669 | outline: 1px dashed transparent; |
4670 | } | |
4671 | ||
e28f3f71 RK |
4672 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before { |
4673 | /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */ | |
4674 | -moz-box-ordinal-group: 0; | |
4675 | content: ""; | |
4676 | display: -moz-box; | |
4677 | height: 100%; | |
4678 | left: 0; | |
4679 | outline-offset: -2px; | |
4680 | pointer-events: none; | |
4681 | position: absolute; | |
4682 | top: 0; | |
4683 | width: 100%; | |
4684 | } | |
4685 | ||
4686 | /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the | |
4687 | #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the | |
4688 | offset from the bottom effectively the same as other targets (-2px). */ | |
4689 | #main-window[customize-entered] #TabsToolbar.customization-target::before { | |
e20c83c3 | 4690 | /* top: -2px;*/ |
e28f3f71 RK |
4691 | } |
4692 | ||
4693 | /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */ | |
4694 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover, | |
4695 | #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)), | |
4696 | #main-window[customize-entered] #nav-bar-customization-target.customization-target { | |
4697 | position: relative; | |
4698 | } | |
4699 | ||
4700 | /* Most target outlines are shown on hover and drag over but the panel menu uses | |
4701 | placeholders instead. */ | |
4702 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before, | |
4703 | #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, | |
4704 | /* nav-bar and panel outlines are always shown */ | |
4705 | #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { | |
4706 | outline-color: #A09090; | |
4707 | } | |
4708 | ||
4709 | #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { | |
4710 | transition: outline-color 250ms linear; | |
4711 | } | |
4712 | ||
4713 | #PanelUI-contents[showoutline=true] > .panel-customization-placeholder { | |
4714 | transition: outline-color 250ms linear; | |
43cc2806 RK |
4715 | outline-color: #9C9CFF; |
4716 | } | |
4717 | ||
4718 | #PanelUI-contents > .panel-customization-placeholder { | |
4719 | cursor: auto; | |
4720 | outline-offset: -5px; | |
4721 | } | |
4722 | ||
e28f3f71 | 4723 | #main-window[customizing] .customization-target:not(#PanelUI-contents) { |
43cc2806 | 4724 | min-width: 100px; |
e20c83c3 RK |
4725 | /* padding-left: 10px; |
4726 | padding-right: 10px;*/ | |
4727 | } | |
4728 | ||
4729 | #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck { | |
4730 | padding: 0 2em 2em; | |
43cc2806 RK |
4731 | } |
4732 | ||
4733 | #customization-container { | |
4734 | background-color: #000000; | |
93c91f62 | 4735 | color: #FF9F00; |
43cc2806 RK |
4736 | } |
4737 | ||
e28f3f71 RK |
4738 | #customization-palette, |
4739 | #customization-empty { | |
4740 | padding: 0 15px 15px; | |
43cc2806 RK |
4741 | } |
4742 | ||
4743 | #customization-header { | |
4744 | font-size: 1.5em; | |
4745 | line-height: 1.5em; | |
4746 | color: #9C9CFF; | |
4747 | font-weight: lighter; | |
4748 | margin-bottom: 1em; | |
e28f3f71 | 4749 | padding: 15px 15px 0; |
43cc2806 RK |
4750 | } |
4751 | ||
4752 | #customization-panel-container { | |
e28f3f71 RK |
4753 | padding: 10px 10px 0px; |
4754 | } | |
4755 | ||
5401f433 | 4756 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, |
e28f3f71 RK |
4757 | #customization-footer { |
4758 | /*background-color: rgb(236,236,236);*/ | |
5401f433 RK |
4759 | } |
4760 | ||
4761 | #customization-footer { | |
e28f3f71 | 4762 | border-top: 1px solid #9C9CFF; |
93c91f62 | 4763 | padding: 10px; |
e28f3f71 RK |
4764 | } |
4765 | ||
4766 | .customizationmode-button { | |
93c91f62 | 4767 | margin: 5px; |
e28f3f71 RK |
4768 | } |
4769 | ||
4770 | .customizationmode-button:hover { | |
4771 | } | |
4772 | ||
4773 | .customizationmode-button[disabled="true"] { | |
4774 | } | |
4775 | ||
93c91f62 RK |
4776 | .customizationmode-button > .box-inherit > .box-inherit > .button-icon, |
4777 | .customizationmode-button > .button-box > .button-icon { | |
4778 | /* height: 24px;*/ | |
4779 | } | |
4780 | ||
e28f3f71 RK |
4781 | #customization-titlebar-visibility-button { |
4782 | list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png"); | |
b7f3670c RK |
4783 | -moz-image-region: rect(0, 16px, 16px, 0); |
4784 | padding: 0px 5px; | |
e28f3f71 RK |
4785 | } |
4786 | ||
b7f3670c RK |
4787 | #customization-titlebar-visibility-button:hover { |
4788 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
4789 | } | |
4790 | ||
4791 | #customization-titlebar-visibility-button > .button-box { | |
4792 | padding-top: 0; | |
4793 | padding-bottom: 1px; | |
4794 | } | |
4795 | ||
4796 | #customization-titlebar-visibility-button:hover:active > .button-box { | |
4797 | padding-top: 1px; | |
4798 | padding-bottom: 0; | |
4799 | } | |
4800 | ||
e28f3f71 RK |
4801 | #customization-titlebar-visibility-button > .button-box > .button-text { |
4802 | /* Sadly, button.css thinks its margins are perfect for everyone. */ | |
b7f3670c | 4803 | -moz-margin-start: 5px !important; |
e28f3f71 RK |
4804 | } |
4805 | ||
93c91f62 RK |
4806 | #customization-titlebar-visibility-button > .button-box > .button-icon { |
4807 | vertical-align: middle; | |
4808 | } | |
4809 | ||
e28f3f71 | 4810 | #customization-titlebar-visibility-button[checked] { |
b7f3670c | 4811 | -moz-image-region: rect(0, 32px, 16px, 16px); |
e28f3f71 RK |
4812 | background-color: #008484; |
4813 | } | |
4814 | ||
b7f3670c RK |
4815 | #customization-titlebar-visibility-button[checked]:hover { |
4816 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
4817 | background-color: #FFCF00; | |
4818 | } | |
4819 | ||
4820 | #customization-titlebar-visibility-button[checked]:hover:active { | |
4821 | background-color: #FF9F00; | |
4822 | } | |
4823 | ||
e28f3f71 | 4824 | #main-window[customize-entered] #customization-panel-container { |
43cc2806 RK |
4825 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
4826 | background-position: left top; | |
4827 | background-repeat: repeat; | |
4828 | background-size: auto; | |
4829 | background-attachment: fixed; | |
4830 | } | |
4831 | ||
e28f3f71 RK |
4832 | toolbarpaletteitem[place="toolbar"] { |
4833 | transition: border-width 250ms ease-in-out; | |
43cc2806 RK |
4834 | } |
4835 | ||
4836 | toolbarpaletteitem[mousedown] { | |
4837 | outline: 1px solid #008484; | |
4838 | cursor: -moz-grabbing; | |
4839 | opacity: 0.8; | |
4840 | } | |
4841 | ||
4842 | .panel-customization-placeholder, | |
4843 | toolbarpaletteitem[place="palette"], | |
4844 | toolbarpaletteitem[place="panel"] { | |
e28f3f71 RK |
4845 | transition: transform .3s ease-in-out; |
4846 | } | |
4847 | ||
4848 | #customization-palette { | |
4849 | transition: opacity .3s ease-in-out; | |
4850 | opacity: 0; | |
43cc2806 RK |
4851 | } |
4852 | ||
e28f3f71 RK |
4853 | #customization-palette[showing="true"] { |
4854 | opacity: 1; | |
4855 | } | |
4856 | ||
4857 | toolbarpaletteitem[notransition].panel-customization-placeholder, | |
4858 | toolbarpaletteitem[notransition][place="toolbar"], | |
43cc2806 RK |
4859 | toolbarpaletteitem[notransition][place="palette"], |
4860 | toolbarpaletteitem[notransition][place="panel"] { | |
e28f3f71 | 4861 | transition: none; |
43cc2806 RK |
4862 | } |
4863 | ||
e28f3f71 | 4864 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon, |
d0e580f1 | 4865 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon, |
e28f3f71 RK |
4866 | toolbarpaletteitem > toolbaritem.panel-wide-item, |
4867 | toolbarpaletteitem > toolbarbutton[type="menu-button"] { | |
4868 | transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important; | |
43cc2806 RK |
4869 | } |
4870 | ||
d0e580f1 RK |
4871 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon, |
4872 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon { | |
e28f3f71 RK |
4873 | transform: scale(1.3); |
4874 | } | |
4875 | ||
4876 | toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item, | |
4877 | toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] { | |
43cc2806 RK |
4878 | transform: scale(1.1); |
4879 | } | |
4880 | ||
4881 | /* Override the toolkit styling for items being dragged over. */ | |
4882 | toolbarpaletteitem[place="toolbar"] { | |
4883 | border-left-width: 0; | |
4884 | border-right-width: 0; | |
4885 | margin-right: 0; | |
4886 | margin-left: 0; | |
4887 | } | |
4888 | ||
4889 | #customization-palette:not([hidden]) { | |
4890 | margin-bottom: 25px; | |
4891 | } | |
4892 | ||
43cc2806 RK |
4893 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, |
4894 | #wrapper-edit-controls[place="palette"] > #edit-controls > separator, | |
e28f3f71 RK |
4895 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, |
4896 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { | |
4897 | margin-top: 20px; | |
43cc2806 RK |
4898 | } |
4899 | ||
4900 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, | |
c0f6797e | 4901 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { |
43cc2806 RK |
4902 | margin-left: 0; |
4903 | margin-right: 0; | |
e28f3f71 RK |
4904 | max-width: 24px; |
4905 | min-width: 24px; | |
43cc2806 | 4906 | max-height: 24px; |
5401f433 | 4907 | min-height: 24px; |
e28f3f71 | 4908 | padding: 4px; |
43cc2806 RK |
4909 | } |
4910 | ||
e28f3f71 RK |
4911 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon, |
4912 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon { | |
4913 | width: 16px; | |
43cc2806 RK |
4914 | } |
4915 | ||
e28f3f71 RK |
4916 | #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon { |
4917 | opacity: 1; /* To ensure these buttons always look enabled in customize mode */ | |
4918 | } | |
4919 | ||
c0f6797e RK |
4920 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button, |
4921 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator { | |
e28f3f71 RK |
4922 | display: none; |
4923 | } | |
4924 | ||
4925 | #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks { | |
4926 | -moz-box-pack: center; | |
4927 | min-height: 48px; | |
43cc2806 RK |
4928 | } |
4929 | ||
4930 | #customization-palette > toolbarpaletteitem > label { | |
4931 | text-align: center; | |
4932 | margin-left: 0; | |
4933 | margin-right: 0; | |
4934 | } | |
4935 | ||
4936 | /* === END customizeMode.inc.css === */ | |
4937 | ||
e28f3f71 RK |
4938 | /* === BEGIN customizeTip.inc.css === */ |
4939 | ||
4940 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent { | |
4941 | padding: 0; | |
4942 | margin: 0; | |
4943 | min-width: 400px; | |
4944 | max-width: 1000px; | |
4945 | min-height: 200px; | |
4946 | border-radius: 3px; | |
4947 | /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/ | |
4948 | border: 1px solid #9C9CFF; | |
4949 | } | |
4950 | ||
4951 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) { | |
4952 | /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/ | |
4953 | } | |
4954 | ||
4955 | .customization-tipPanel-infoBox { | |
4956 | margin: 20px 25px 25px; | |
4957 | width: 25px; | |
4958 | background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png"); | |
4959 | background-repeat: no-repeat; | |
4960 | } | |
4961 | ||
4962 | .customization-tipPanel-content { | |
4963 | margin: 25px 0; | |
4964 | font-size: 12px; | |
4965 | line-height: 18px; | |
4966 | } | |
4967 | ||
4968 | .customization-tipPanel-em { | |
4969 | margin: 0; | |
4970 | font-weight: bold; | |
4971 | } | |
4972 | ||
4973 | .customization-tipPanel-contentImage { | |
4974 | margin-top: 25px; | |
4975 | list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png"); | |
4976 | min-width: 300px; | |
4977 | max-width: 300px; | |
4978 | min-height: 190px; | |
4979 | max-height: 190px; | |
4980 | display: -moz-box; | |
4981 | } | |
4982 | ||
4983 | .customization-tipPanel-contentImage:-moz-locale-dir(rtl) { | |
4984 | list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png"); | |
4985 | } | |
4986 | ||
4987 | .customization-tipPanel-link { | |
4988 | -moz-appearance: none; | |
4989 | background: transparent; | |
4990 | border: none; | |
4991 | box-shadow: none; | |
4992 | color: #3333FF; | |
4993 | margin: 0; | |
4994 | cursor: pointer; | |
4995 | } | |
4996 | ||
4997 | .customization-tipPanel-link > .button-box > .button-text { | |
4998 | margin: 0 !important; | |
4999 | } | |
5000 | ||
5001 | .customization-tipPanel-closeBox > .close-icon { | |
5002 | -moz-appearance: none; | |
5003 | border: 0; | |
5004 | -moz-margin-end: -25px; | |
5005 | } | |
5006 | ||
5007 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"], | |
5008 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { | |
5009 | list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png"); | |
5010 | } | |
5011 | ||
5012 | /* === END customizeTip.inc.css === */ | |
5013 | ||
c0f6797e RK |
5014 | /** |
5015 | * This next rule is a hack to disable subpixel anti-aliasing on all | |
5016 | * labels during the customize mode transition. Subpixel anti-aliasing | |
5017 | * on Windows with Direct2D layers acceleration is particularly slow to | |
5018 | * paint, so this hack is how we sidestep that performance bottleneck. | |
5019 | */ | |
5020 | #main-window:-moz-any([customize-entering],[customize-exiting]) label { | |
5021 | transform: perspective(0.01px); | |
5022 | } | |
5023 | ||
93c91f62 | 5024 | #main-window[customize-entered] > #tab-view-deck { |
43cc2806 RK |
5025 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
5026 | background-attachment: fixed; | |
5027 | } | |
5028 | ||
93c91f62 RK |
5029 | #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme { |
5030 | background-repeat: no-repeat; | |
5031 | background-position: right top; | |
5032 | background-attachment: fixed; | |
5033 | /* The image will get set from CustomizeMode.jsm */ | |
5034 | background-image: none; | |
5035 | background-color: transparent; | |
5036 | } | |
5037 | ||
5038 | #main-window[customization-lwtheme]:-moz-lwtheme { | |
5039 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); | |
5040 | background-repeat: repeat; | |
5041 | background-attachment: fixed; | |
5042 | background-position: left top; | |
5043 | } | |
5044 | ||
5401f433 RK |
5045 | #main-window[customize-entered] #browser-bottombox, |
5046 | #main-window[customize-entered] #customization-container { | |
43cc2806 RK |
5047 | border-left: 1px solid #9C9CFF; |
5048 | border-right: 1px solid #9C9CFF; | |
5049 | background-clip: padding-box; | |
5050 | } | |
5051 | ||
5401f433 RK |
5052 | #main-window[customize-entered] #browser-bottombox { |
5053 | border-bottom: 1px solid #9C9CFF; | |
5054 | } | |
5055 | ||
e20c83c3 RK |
5056 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] { |
5057 | margin-right: -2px; | |
5058 | } | |
5059 | ||
5060 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { | |
5061 | margin-left: -2px; | |
5062 | } | |
5063 | ||
5064 | /* End customization mode */ | |
5065 | ||
51994fad RK |
5066 | /* Private browsing indicators */ |
5067 | ||
5068 | /** | |
5069 | * Currently, we have two places where we put private browsing indicators on | |
5070 | * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar. | |
5071 | * When tabsintitlebar is disabled, we draw the indicator at the end of the | |
5072 | * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we | |
5073 | * want the bottom border of the image to line up with the bottom of the window | |
5074 | * caption buttons. That's why there's so much special-casing going on in here. | |
5075 | */ | |
5076 | .private-browsing-indicator { | |
5077 | display: none; | |
5078 | pointer-events: none; | |
e20c83c3 RK |
5079 | } |
5080 | ||
51994fad RK |
5081 | #private-browsing-indicator-titlebar { |
5082 | display: block; | |
5083 | position: absolute; | |
e20c83c3 RK |
5084 | } |
5085 | ||
51994fad RK |
5086 | #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator { |
5087 | display: block; | |
e20c83c3 RK |
5088 | } |
5089 | ||
51994fad RK |
5090 | #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator { |
5091 | display: -moz-box; | |
5092 | } | |
5093 | ||
5094 | #TabsToolbar > .private-browsing-indicator { | |
5095 | background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px; | |
5096 | -moz-margin-start: 4px; | |
5097 | width: 48px; | |
5098 | } | |
5099 | ||
5100 | /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen | |
5101 | * mode, since the tabstrip "mimics" the titlebar in that case with its own | |
5102 | * min/max/close window buttons. | |
5103 | */ | |
5104 | #private-browsing-indicator-titlebar > .private-browsing-indicator, | |
5105 | #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator { | |
5106 | background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px; | |
5107 | -moz-margin-end: 4px; | |
43cc2806 | 5108 | width: 40px; |
51994fad RK |
5109 | height: 20px; |
5110 | position: relative; | |
43cc2806 RK |
5111 | } |
5112 | ||
51994fad RK |
5113 | /* This one is for Linux */ |
5114 | #main-window[privatebrowsingmode=temporary] #private-browsing-indicator { | |
5115 | background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat; | |
5116 | width: 48px; | |
5117 | } | |
5118 | ||
5119 | /* End private browsing indicators */ | |
5120 | ||
43cc2806 RK |
5121 | /* === BEGIN UITour.inc.css === */ |
5122 | ||
5123 | /* UI Tour */ | |
5124 | ||
2a8b2b48 RK |
5125 | #UITourHighlightContainer { |
5126 | -moz-appearance: none; | |
5127 | border: none; | |
5128 | background-color: transparent; | |
5129 | /* This is a buffer to compensate for the movement in the "wobble" effect */ | |
5130 | padding: 4px; | |
5131 | } | |
5132 | ||
5133 | #UITourHighlight { | |
5134 | background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%); | |
5135 | border-radius: 40px; | |
5136 | border: 1px solid #9C9CFF; | |
5137 | /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity | |
5138 | on Linux without an X compositor where opacity is either 0 or 1. */ | |
5139 | box-shadow: 0 0 3px 0 rgba(0,0,0,0.49); | |
43cc2806 RK |
5140 | min-height: 32px; |
5141 | min-width: 32px; | |
1bf116f8 RK |
5142 | } |
5143 | ||
2a8b2b48 RK |
5144 | #UITourTooltipBody { |
5145 | -moz-margin-end: 14px; | |
5146 | } | |
5147 | ||
5148 | #UITourTooltipBody > vbox { | |
5149 | padding-top: 4px; | |
43cc2806 RK |
5150 | } |
5151 | ||
2a8b2b48 RK |
5152 | #UITourTooltipIconContainer { |
5153 | -moz-margin-start: -16px; | |
5154 | } | |
5155 | ||
5156 | #UITourTooltipIcon { | |
5157 | width: 48px; | |
5158 | height: 48px; | |
5159 | -moz-margin-start: 28px; | |
5160 | -moz-margin-end: 28px; | |
5161 | } | |
5162 | ||
5163 | #UITourTooltipTitle, | |
5164 | #UITourTooltipDescription { | |
5165 | max-width: 20rem; | |
43cc2806 RK |
5166 | } |
5167 | ||
5168 | #UITourTooltipTitle { | |
2a8b2b48 | 5169 | font-size: 1.45rem; |
43cc2806 | 5170 | font-weight: bold; |
2a8b2b48 RK |
5171 | -moz-margin-start: 0; |
5172 | -moz-margin-end: 0; | |
5173 | margin: 0 0 9px 0; | |
43cc2806 RK |
5174 | } |
5175 | ||
5176 | #UITourTooltipDescription { | |
2a8b2b48 RK |
5177 | -moz-margin-start: 0; |
5178 | -moz-margin-end: 0; | |
5179 | font-size: 1.15rem; | |
5180 | line-height: 1.8rem; | |
5181 | margin-bottom: 0; /* Override global.css */ | |
5182 | } | |
5183 | ||
5184 | #UITourTooltipClose { | |
5185 | -moz-appearance: none; | |
5186 | border: none; | |
5187 | background-color: transparent; | |
5188 | min-width: 0; | |
5189 | -moz-margin-start: 4px; | |
5190 | margin-top: -2px; | |
5191 | } | |
5192 | ||
5193 | #UITourTooltipClose > .toolbarbutton-text { | |
5194 | display: none; | |
5195 | } | |
5196 | ||
5197 | #UITourTooltipButtons { | |
5198 | -moz-box-pack: end; | |
5199 | background-color: rgba(0,0,0,.2); | |
5200 | border-top: 1px solid rgba(0,0,0,.4); | |
5201 | margin: 24px -16px -16px; | |
5202 | padding: 2em 15px; | |
5203 | } | |
5204 | ||
5205 | #UITourTooltipButtons > button { | |
5206 | margin: 0 15px; | |
5207 | } | |
5208 | ||
5209 | #UITourTooltipButtons > button:first-child { | |
5210 | -moz-margin-start: 0; | |
5211 | } | |
5212 | ||
5213 | #UITourTooltipButtons > button[image] > .button-box > .button-icon { | |
5214 | width: 16px; | |
5215 | height: 16px; | |
5216 | -moz-margin-end: 5px; | |
5217 | } | |
5218 | ||
5219 | #UITourTooltipButtons > button .button-text { | |
5220 | font-size: 1.15rem; | |
5221 | } | |
5222 | ||
5223 | #UITourTooltipButtons > button:not(.button-link) { | |
5224 | -moz-appearance: none; | |
5225 | background-color: #C09070; | |
5226 | border-radius: 3000px; | |
5227 | border: none; | |
5228 | color: #000000; | |
5229 | padding: 4px 30px; | |
5230 | transition-property: background-color, color; | |
5231 | transition-duration: 150ms; | |
5232 | } | |
5233 | ||
5234 | #UITourTooltipButtons > button:not(.button-link):not(:active):hover { | |
5235 | background-color: #FFCF00; | |
5236 | color: #000000; | |
5237 | } | |
5238 | ||
5239 | #UITourTooltipButtons > button.button-link { | |
5240 | -moz-appearance: none; | |
5241 | background: transparent; | |
5242 | border: none; | |
5243 | box-shadow: none; | |
5244 | color: rgba(0,0,0,0.35); | |
5245 | padding-left: 10px; | |
5246 | padding-right: 10px; | |
5247 | } | |
5248 | ||
5249 | #UITourTooltipButtons > button.button-link:hover { | |
5250 | color: black; | |
5251 | } | |
5252 | ||
5253 | /* The primary button gets the same color as the customize button. */ | |
5254 | #UITourTooltipButtons > button.button-primary { | |
5255 | background-color: #A06060; /* LCARS default button background color */ | |
5256 | color: #000000; | |
5257 | padding-left: 30px; | |
5258 | padding-right: 30px; | |
5259 | } | |
5260 | ||
5261 | #UITourTooltipButtons > button.button-primary:not(:active):hover { | |
5262 | background-color: #FFCF00; | |
5263 | color: #000000; | |
43cc2806 RK |
5264 | } |
5265 | ||
5266 | /* === END UITour.inc.css === */ | |
c0f6797e RK |
5267 | |
5268 | #UITourTooltipButtons { | |
5269 | margin: 24px -4px -4px; | |
5270 | } | |
fff8097b RK |
5271 | |
5272 | /* === BEGIN contextmenu.inc.css === */ | |
5273 | ||
5274 | menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { | |
5275 | } | |
5276 | ||
5277 | #context-navigation > .menuitem-iconic { | |
5278 | -moz-box-flex: 1; | |
5279 | -moz-box-pack: center; | |
5280 | -moz-box-align: center; | |
5281 | } | |
5282 | ||
5283 | #context-navigation > .menuitem-iconic[disabled="true"] { | |
5284 | background-color: transparent; | |
5285 | } | |
5286 | ||
5287 | #context-navigation > .menuitem-iconic > .menu-iconic-left { | |
5288 | -moz-appearance: none; | |
5289 | } | |
5290 | ||
93c91f62 RK |
5291 | #context-back > .menu-iconic-left { |
5292 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */ | |
fff8097b RK |
5293 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
5294 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
5295 | } | |
5296 | ||
93c91f62 RK |
5297 | #context-back:not([disabled="true"]):hover > .menu-iconic-left { |
5298 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */ | |
fff8097b RK |
5299 | -moz-image-region: rect(18px, 54px, 36px, 36px); |
5300 | } | |
5301 | ||
93c91f62 RK |
5302 | #context-back[disabled="true"] > .menu-iconic-left { |
5303 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */ | |
fff8097b RK |
5304 | -moz-image-region: rect(36px, 54px, 54px, 36px); |
5305 | } | |
5306 | ||
93c91f62 RK |
5307 | #context-forward > .menu-iconic-left { |
5308 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */ | |
fff8097b RK |
5309 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
5310 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
5311 | } | |
5312 | ||
93c91f62 RK |
5313 | #context-forward:not([disabled="true"]):hover > .menu-iconic-left { |
5314 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */ | |
fff8097b RK |
5315 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
5316 | } | |
5317 | ||
93c91f62 RK |
5318 | #context-forward[disabled="true"] > .menu-iconic-left { |
5319 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */ | |
fff8097b RK |
5320 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
5321 | } | |
5322 | ||
93c91f62 RK |
5323 | #context-reload > .menu-iconic-left { |
5324 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */ | |
fff8097b RK |
5325 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
5326 | -moz-image-region: rect(0, 14px, 14px, 0); | |
5327 | } | |
5328 | ||
93c91f62 RK |
5329 | #context-reload:not([disabled="true"]):hover > .menu-iconic-left { |
5330 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */ | |
fff8097b RK |
5331 | -moz-image-region: rect(14px, 14px, 28px, 0); |
5332 | } | |
5333 | ||
93c91f62 RK |
5334 | #context-reload[disabled="true"] > .menu-iconic-left { |
5335 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */ | |
fff8097b RK |
5336 | -moz-image-region: rect(28px, 14px, 42px, 0); |
5337 | } | |
5338 | ||
93c91f62 RK |
5339 | #context-stop > .menu-iconic-left { |
5340 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */ | |
fff8097b RK |
5341 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
5342 | -moz-image-region: rect(0, 28px, 14px, 14px); | |
5343 | } | |
5344 | ||
93c91f62 RK |
5345 | #context-stop:not([disabled="true"]):hover > .menu-iconic-left { |
5346 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */ | |
fff8097b RK |
5347 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
5348 | } | |
5349 | ||
93c91f62 RK |
5350 | #context-stop[disabled="true"] > .menu-iconic-left { |
5351 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */ | |
fff8097b RK |
5352 | -moz-image-region: rect(28px, 28px, 42px, 14px); |
5353 | } | |
5354 | ||
93c91f62 RK |
5355 | #context-bookmarkpage > .menu-iconic-left { |
5356 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */ | |
fff8097b RK |
5357 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
5358 | -moz-image-region: rect(0, 144px, 18px, 126px); | |
5359 | } | |
5360 | ||
93c91f62 RK |
5361 | #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left { |
5362 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */ | |
fff8097b RK |
5363 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
5364 | } | |
5365 | ||
93c91f62 RK |
5366 | #context-bookmarkpage[disabled="true"] > .menu-iconic-left { |
5367 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */ | |
fff8097b RK |
5368 | -moz-image-region: rect(36px, 144px, 54px, 126px); |
5369 | } | |
5370 | ||
5371 | #context-back:-moz-locale-dir(rtl), | |
5372 | #context-forward:-moz-locale-dir(rtl), | |
5373 | #context-reload:-moz-locale-dir(rtl) { | |
5374 | transform: scaleX(-1); | |
5375 | } | |
5376 | ||
5377 | #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { | |
93c91f62 RK |
5378 | width: 18px; /*16px;*/ |
5379 | height: 18px; /*16px;*/ | |
fff8097b RK |
5380 | margin: 7px; |
5381 | } | |
5382 | ||
5383 | #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon, | |
5384 | #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon { | |
5385 | width: 14px; | |
5386 | height: 14px; | |
5387 | margin: 9px; | |
5388 | } | |
5389 | ||
5390 | /* === END contextmenu.inc.css === */ | |
3d64e0ce RK |
5391 | |
5392 | #context-navigation { | |
5393 | } | |
5394 | ||
5395 | #context-sep-navigation { | |
5396 | /* margin-top: -4px; */ | |
5397 | } |