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 | ||
e548e22e RK |
39 | :root { |
40 | --verified-identity-box-backgroundcolor: #000000; | |
41 | } | |
42 | ||
319c6529 RK |
43 | #menubar-items { |
44 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 45 | } |
46 | ||
319c6529 RK |
47 | #main-menubar { |
48 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
49 | } | |
50 | ||
63ada306 RK |
51 | /* ::::: primary toolbar ::::: */ |
52 | ||
53 | .toolbar-primary > .toolbar-box > .toolbar-holder { | |
270cbf0c | 54 | background-color: #A09090; |
63ada306 RK |
55 | } |
56 | ||
57 | .toolbar-primary > .toolbar-box > .toolbar-startcap, | |
58 | .toolbar-primary > .toolbar-box > .toolbar-endcap { | |
59 | background-color: #9C9CFF; | |
60 | } | |
61 | ||
e20c83c3 RK |
62 | /* Hides the titlebar-placeholder underneath the window caption buttons when we |
63 | are not autohiding the menubar. */ | |
64 | #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] { | |
65 | display: none; | |
66 | } | |
67 | ||
43cc2806 RK |
68 | /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the |
69 | toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care | |
70 | of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ | |
c0f6797e RK |
71 | #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar, |
72 | #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar { | |
43cc2806 RK |
73 | /* margin-top: 3px;*/ |
74 | } | |
75 | ||
43371c9b RK |
76 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, |
77 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { | |
43cc2806 RK |
78 | /* margin-top: 15px;*/ |
79 | } | |
80 | ||
ee49f520 RK |
81 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
82 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ | |
8d154261 RK |
83 | #toolbar-menubar:not([autohide="true"]) { |
84 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); | |
85 | } | |
58d9f24a RK |
86 | } |
87 | ||
ee49f520 RK |
88 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
89 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
4711fba5 | 90 | #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { |
54d92f05 RK |
91 | padding-left: 60px; |
92 | } | |
43cc2806 RK |
93 | } |
94 | ||
018d70fb RK |
95 | #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap { |
96 | /* 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 */ | |
97 | display: none; | |
43cc2806 | 98 | } |
63ada306 | 99 | |
e20c83c3 RK |
100 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before, |
101 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before, | |
102 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before, | |
103 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before { | |
104 | outline-color: #A09090; | |
105 | } | |
106 | ||
319c6529 RK |
107 | #navigator-toolbox { |
108 | } | |
109 | ||
9abeb12c RK |
110 | #navigator-toolbox::after { |
111 | content: ""; | |
112 | display: -moz-box; | |
113 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
114 | height: 1px; | |
115 | } | |
9abeb12c | 116 | |
6f5a7408 | 117 | #navigator-toolbox > toolbar { |
319c6529 RK |
118 | } |
119 | ||
3d64e0ce RK |
120 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) { |
121 | } | |
122 | ||
9168a62c RK |
123 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { |
124 | overflow: -moz-hidden-unscrollable; | |
125 | max-height: 4em; | |
126 | transition: min-height 170ms ease-out, max-height 170ms ease-out; | |
127 | } | |
128 | ||
129 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { | |
130 | min-height: 0.1px; | |
131 | max-height: 0; | |
132 | transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; | |
133 | } | |
134 | ||
ee49f520 RK |
135 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
136 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ | |
137 | /* Indent also due to non-applicable aero rule in original Windows theme. */ | |
c0f6797e RK |
138 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme), |
139 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) { | |
140 | /* like menubar */ | |
141 | background-color: #6000CF; | |
142 | color: #FF9F00; | |
319c6529 RK |
143 | } |
144 | ||
c0f6797e RK |
145 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive, |
146 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { | |
147 | background-color: #8050B0; | |
148 | color: #FF9F00; | |
319c6529 RK |
149 | } |
150 | ||
dccbbf95 RK |
151 | #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) { |
152 | /*color: inherit;*/ | |
153 | } | |
154 | ||
c0f6797e RK |
155 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { |
156 | visibility: hidden; | |
157 | } | |
319c6529 | 158 | |
c0f6797e RK |
159 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { |
160 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
161 | visibility: visible; | |
162 | } | |
8d154261 RK |
163 | } |
164 | ||
ee49f520 RK |
165 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
166 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
8d154261 RK |
167 | #titlebar-buttonbox > .titlebar-button { |
168 | display: none; | |
169 | } | |
8d154261 | 170 | } |
319c6529 | 171 | |
c0f6797e RK |
172 | #nav-bar { |
173 | /* Position the toolbar above the bottom of background tabs */ | |
174 | position: relative; | |
175 | z-index: 1; | |
82b4252f RK |
176 | } |
177 | ||
c0f6797e RK |
178 | #personal-bookmarks { |
179 | /* min-height: 24px; */ | |
319c6529 RK |
180 | } |
181 | ||
c0f6797e RK |
182 | #print-preview-toolbar:not(:-moz-lwtheme) { |
183 | /* -moz-appearance: toolbox; */ | |
82b4252f RK |
184 | } |
185 | ||
c0f6797e | 186 | #browser-bottombox:not(:-moz-lwtheme) { |
319c6529 RK |
187 | } |
188 | ||
189 | /* ::::: titlebar ::::: */ | |
190 | ||
5305ef8d RK |
191 | #titlebar { |
192 | /* like menubar */ | |
193 | background-color: #6000CF; | |
194 | color: #FF9F00; | |
195 | } | |
196 | #titlebar:-moz-window-inactive { | |
197 | background-color: #8050B0; | |
198 | color: #FF9F00; | |
199 | } | |
200 | ||
319c6529 | 201 | #main-window[sizemode="normal"] > #titlebar { |
5305ef8d RK |
202 | margin-top: -3px; |
203 | margin-bottom: 3px; | |
319c6529 RK |
204 | } |
205 | ||
206 | #main-window[sizemode="maximized"] > #titlebar { | |
5305ef8d | 207 | margin-top: 4px; |
319c6529 RK |
208 | } |
209 | ||
ee49f520 RK |
210 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
211 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
58d9f24a RK |
212 | #main-window[sizemode="normal"] > #titlebar, |
213 | #main-window[sizemode="maximized"] > #titlebar { | |
4711fba5 RK |
214 | margin-top: 19px; |
215 | /* There is a margin-bottom set to -23 by code. */ | |
54d92f05 RK |
216 | } |
217 | } | |
218 | ||
43cc2806 RK |
219 | /* The button box must appear on top of the navigator-toolbox in order for |
220 | * click and hover mouse events to work properly for the button in the restored | |
221 | * window state. Otherwise, elements in the navigator-toolbox, like the menubar, | |
222 | * can swallow those events. It will also place the buttons above the fog on | |
223 | * themes with Aero Glass. | |
224 | */ | |
83ac1f44 RK |
225 | #titlebar-buttonbox, |
226 | #main-window[sizemode="maximized"] #titlebar-buttonbox { | |
b7f3670c RK |
227 | -moz-appearance: none; |
228 | margin-top: 6px; | |
229 | margin-top: 4px; | |
5305ef8d | 230 | -moz-margin-end: 3px; |
43cc2806 | 231 | z-index: 1; |
319c6529 RK |
232 | } |
233 | ||
319c6529 RK |
234 | .titlebar-placeholder[type="appmenu-button"] { |
235 | margin-left: 4px; | |
236 | } | |
237 | ||
238 | .titlebar-placeholder[type="caption-buttons"] { | |
239 | margin-left: 10px; | |
240 | } | |
241 | ||
242 | /* titlebar command buttons */ | |
243 | ||
244 | #titlebar-min { | |
5305ef8d RK |
245 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
246 | } | |
247 | ||
248 | #titlebar-min:hover { | |
249 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
319c6529 RK |
250 | } |
251 | ||
252 | #titlebar-max { | |
5305ef8d RK |
253 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
254 | } | |
255 | ||
256 | #titlebar-max:hover { | |
257 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); | |
319c6529 RK |
258 | } |
259 | ||
260 | #main-window[sizemode="maximized"] #titlebar-max { | |
5305ef8d RK |
261 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
262 | } | |
263 | ||
264 | #main-window[sizemode="maximized"] #titlebar-max:hover { | |
265 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
319c6529 RK |
266 | } |
267 | ||
268 | #titlebar-close { | |
5305ef8d RK |
269 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
270 | } | |
271 | ||
272 | #titlebar-close:hover { | |
273 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
acb0e9b8 | 274 | } |
275 | ||
ee49f520 RK |
276 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
277 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
54d92f05 RK |
278 | #titlebar-fullscreen-button { |
279 | -moz-appearance: none; | |
280 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png"); | |
281 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
282 | } | |
283 | ||
284 | #titlebar-fullscreen-button:hover { | |
285 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
286 | } | |
287 | ||
288 | @media (min-resolution: 2dppx) { | |
289 | #titlebar-fullscreen-button { | |
290 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png"); | |
291 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
292 | } | |
293 | ||
294 | #titlebar-fullscreen-button:hover { | |
295 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
296 | } | |
297 | } | |
298 | } | |
299 | ||
300 | ||
acb0e9b8 | 301 | /* ::::: bookmark buttons ::::: */ |
302 | ||
c0f6797e RK |
303 | toolbarbutton.bookmark-item:not(.subviewbutton), |
304 | #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { | |
305 | /* margin: 0; | |
306 | padding: 2px 3px;*/ | |
307 | } | |
308 | ||
309 | toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active, | |
310 | toolbarbutton.bookmark-item[open="true"] { | |
311 | /* padding-top: 3px; | |
312 | padding-bottom: 1px; | |
313 | -moz-padding-start: 4px; | |
314 | -moz-padding-end: 2px;*/ | |
315 | } | |
316 | ||
26125509 RK |
317 | .bookmark-item > .toolbarbutton-icon, |
318 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { | |
acb0e9b8 | 319 | width: 16px; |
320 | height: 16px; | |
832af407 RK |
321 | -moz-margin-start: 1px; |
322 | -moz-margin-end: 2px; | |
acb0e9b8 | 323 | } |
324 | ||
26125509 RK |
325 | /* Force the display of the label for bookmarks */ |
326 | .bookmark-item > .toolbarbutton-text, | |
327 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { | |
acb0e9b8 | 328 | display: -moz-box !important; |
329 | } | |
330 | ||
319c6529 RK |
331 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
332 | display: none; | |
333 | } | |
334 | ||
26125509 | 335 | #bookmarks-toolbar-placeholder { |
8da9da4e | 336 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
9e88a441 | 337 | -moz-box-orient: horizontal; |
319c6529 RK |
338 | } |
339 | ||
e20c83c3 RK |
340 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, |
341 | #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { | |
342 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; | |
343 | } | |
344 | ||
345 | /* ----- BOOKMARK STAR ANIMATION ----- */ | |
346 | ||
347 | @keyframes animation-bookmarkAdded { | |
348 | from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } | |
349 | 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } | |
350 | 80% { opacity: 1; } | |
351 | to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } | |
352 | } | |
353 | ||
354 | @keyframes animation-bookmarkPulse { | |
355 | from { transform: scale(1); } | |
356 | 50% { transform: scale(1.3); } | |
357 | to { transform: scale(1); } | |
358 | } | |
359 | ||
360 | #bookmarked-notification-container { | |
361 | min-height: 1px; | |
362 | min-width: 1px; | |
363 | height: 1px; | |
364 | margin-bottom: -1px; | |
365 | z-index: 5; | |
366 | position: relative; | |
367 | } | |
368 | ||
369 | #bookmarked-notification { | |
370 | background-size: 16px; | |
371 | background-position: center; | |
372 | background-repeat: no-repeat; | |
373 | width: 16px; | |
374 | height: 16px; | |
375 | opacity: 0; | |
376 | } | |
377 | ||
c0f6797e RK |
378 | #bookmarked-notification-dropmarker-anchor { |
379 | z-index: -1; | |
380 | position: relative; | |
381 | } | |
382 | ||
383 | #bookmarked-notification-dropmarker-icon { | |
384 | width: 18px; | |
385 | height: 18px; | |
386 | visibility: hidden; | |
387 | } | |
388 | ||
e20c83c3 RK |
389 | #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { |
390 | background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); | |
391 | animation: animation-bookmarkAdded 800ms; | |
392 | animation-timing-function: ease, ease, ease; | |
393 | } | |
394 | ||
395 | #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
c0f6797e RK |
396 | list-style-image: none !important; |
397 | } | |
398 | ||
399 | #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { | |
400 | visibility: visible; | |
e20c83c3 RK |
401 | animation: animation-bookmarkPulse 300ms; |
402 | animation-delay: 600ms; | |
403 | animation-timing-function: ease-out; | |
404 | } | |
405 | ||
319c6529 RK |
406 | /* ::::: bookmark menus ::::: */ |
407 | ||
408 | menu.bookmark-item, | |
409 | menuitem.bookmark-item { | |
410 | min-width: 0; | |
ab799a7a | 411 | max-width: 32em; |
319c6529 RK |
412 | } |
413 | ||
e20c83c3 | 414 | .bookmark-item:not(.subviewbutton) > .menu-iconic-left { |
319c6529 RK |
415 | margin-top: 0; |
416 | margin-bottom: 0; | |
417 | } | |
418 | ||
419 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
420 | -moz-padding-start: 0px; | |
421 | } | |
422 | ||
423 | /* ::::: bookmark items ::::: */ | |
424 | ||
425 | .bookmark-item { | |
dce90fef | 426 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 427 | -moz-image-region: auto; |
319c6529 RK |
428 | } |
429 | ||
430 | .bookmark-item[container] { | |
431 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 432 | -moz-image-region: auto; |
319c6529 RK |
433 | } |
434 | ||
435 | .bookmark-item[container][open] { | |
436 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 437 | -moz-image-region: auto; |
319c6529 RK |
438 | } |
439 | ||
8da9da4e RK |
440 | .bookmark-item[container][livemark] { |
441 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
319c6529 RK |
442 | -moz-image-region: auto; |
443 | } | |
444 | ||
445 | .bookmark-item[container][livemark] .bookmark-item { | |
8da9da4e | 446 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
719b06bc | 447 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
319c6529 RK |
448 | } |
449 | ||
eec397be | 450 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
719b06bc | 451 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
eec397be RK |
452 | } |
453 | ||
319c6529 | 454 | .bookmark-item[container][query] { |
8da9da4e | 455 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
319c6529 RK |
456 | -moz-image-region: auto; |
457 | } | |
458 | ||
459 | .bookmark-item[query][tagContainer] { | |
460 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
461 | -moz-image-region: auto; | |
462 | } | |
463 | ||
464 | .bookmark-item[query][dayContainer] { | |
8da9da4e | 465 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
319c6529 RK |
466 | -moz-image-region: auto; |
467 | } | |
468 | ||
469 | .bookmark-item[query][hostContainer] { | |
470 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 471 | -moz-image-region: auto; |
319c6529 RK |
472 | } |
473 | ||
474 | .bookmark-item[query][hostContainer][open] { | |
475 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 476 | -moz-image-region: auto; |
319c6529 RK |
477 | } |
478 | ||
b1234db8 RK |
479 | .bookmark-item[cutting] > .toolbarbutton-icon, |
480 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { | |
481 | opacity: 0.5; | |
482 | } | |
483 | ||
484 | .bookmark-item[cutting] > .toolbarbutton-text, | |
485 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { | |
486 | opacity: 0.7; | |
487 | } | |
488 | ||
319c6529 RK |
489 | /* ::::: primary toolbar buttons ::::: */ |
490 | ||
43cc2806 RK |
491 | /* === BEGIN toolbarbuttons.inc.css === */ |
492 | ||
493 | /* Whole section of this included file: */ | |
51994fad RK |
494 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
495 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
d4d77dc0 | 496 | #social-share-button, #open-file-button, #find-button, #developer-button, |
51994fad RK |
497 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
498 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
499 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
31bc2dc1 RK |
500 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, |
501 | #pocket-button), | |
7d3f7f14 | 502 | #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
503 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
504 | } | |
505 | ||
7d3f7f14 | 506 | #back-button { |
43cc2806 RK |
507 | -moz-image-region: rect(0, 36px, 18px, 18px); |
508 | } | |
509 | ||
7d3f7f14 | 510 | #back-button:hover:not([disabled="true"]) { |
43cc2806 RK |
511 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
512 | } | |
513 | ||
7d3f7f14 | 514 | #back-button[disabled="true"] { |
43cc2806 RK |
515 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
516 | } | |
517 | ||
7d3f7f14 | 518 | #forward-button { |
43cc2806 RK |
519 | -moz-image-region: rect(0, 72px, 18px, 54px); |
520 | } | |
521 | ||
7d3f7f14 | 522 | #forward-button:hover:not([disabled="true"]) { |
43cc2806 RK |
523 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
524 | } | |
525 | ||
7d3f7f14 | 526 | #forward-button[disabled="true"] { |
43cc2806 RK |
527 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
528 | } | |
529 | ||
7d3f7f14 RK |
530 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
531 | #forward-button:-moz-locale-dir(rtl) { | |
43cc2806 RK |
532 | transform: scaleX(-1); |
533 | } | |
534 | ||
7d3f7f14 | 535 | #home-button[cui-areatype="toolbar"] { |
43cc2806 RK |
536 | -moz-image-region: rect(0, 126px, 18px, 108px); |
537 | } | |
538 | ||
7d3f7f14 | 539 | #home-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
540 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
541 | } | |
542 | ||
7d3f7f14 | 543 | #bookmarks-menu-button[cui-areatype="toolbar"] { |
43cc2806 RK |
544 | -moz-image-region: rect(0, 144px, 18px, 126px); |
545 | } | |
546 | ||
7d3f7f14 RK |
547 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover, |
548 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
549 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
550 | } | |
551 | ||
43ee1307 | 552 | /* When "new tab" page shows up, the menubutton-button (star button) is disabled */ |
7d3f7f14 | 553 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] { |
43ee1307 RK |
554 | -moz-image-region: rect(36px, 144px, 54px, 126px) !important; |
555 | background-color: transparent !important; | |
556 | } | |
557 | ||
7d3f7f14 | 558 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] { |
43cc2806 RK |
559 | -moz-image-region: rect(0, 162px, 18px, 144px); |
560 | } | |
561 | ||
7d3f7f14 | 562 | #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover, |
83e3b5cf RK |
563 | #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"], |
564 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] { | |
565 | /* When starred and clicked (for edit/delete dialog), | |
566 | * then only the menubutton-button itself is open, but not the whole menubutton. */ | |
43cc2806 RK |
567 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
568 | } | |
569 | ||
7d3f7f14 | 570 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
571 | -moz-image-region: rect(0, 630px, 18px, 612px); |
572 | } | |
573 | ||
7d3f7f14 | 574 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
43cc2806 RK |
575 | padding: 1px; |
576 | -moz-box-align: center; | |
577 | } | |
578 | ||
7d3f7f14 RK |
579 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
580 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
43cc2806 RK |
581 | -moz-image-region: rect(18px, 630px, 36px, 612px); |
582 | } | |
583 | ||
7d3f7f14 RK |
584 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
585 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
43cc2806 RK |
586 | padding-top: 2px; |
587 | padding-bottom: 0px; | |
588 | -moz-padding-start: 2px; | |
589 | -moz-padding-end: 0px; | |
590 | } | |
591 | ||
7d3f7f14 | 592 | #history-panelmenu[cui-areatype="toolbar"] { |
43cc2806 RK |
593 | -moz-image-region: rect(0, 180px, 18px, 162px); |
594 | } | |
595 | ||
7d3f7f14 RK |
596 | #history-panelmenu[cui-areatype="toolbar"]:hover, |
597 | #history-panelmenu[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
598 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
599 | } | |
600 | ||
7d3f7f14 | 601 | #downloads-button[cui-areatype="toolbar"] { |
43cc2806 RK |
602 | -moz-image-region: rect(0, 198px, 18px, 180px); |
603 | } | |
604 | ||
7d3f7f14 RK |
605 | #downloads-button[cui-areatype="toolbar"]:hover, |
606 | #downloads-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
607 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
608 | } | |
609 | ||
7d3f7f14 | 610 | #add-ons-button[cui-areatype="toolbar"] { |
43cc2806 RK |
611 | -moz-image-region: rect(0, 216px, 18px, 198px); |
612 | } | |
613 | ||
7d3f7f14 | 614 | #add-ons-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
615 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
616 | } | |
617 | ||
7d3f7f14 | 618 | #open-file-button[cui-areatype="toolbar"] { |
43cc2806 RK |
619 | -moz-image-region: rect(0, 234px, 18px, 216px); |
620 | } | |
621 | ||
7d3f7f14 | 622 | #open-file-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
623 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
624 | } | |
625 | ||
7d3f7f14 | 626 | #save-page-button[cui-areatype="toolbar"] { |
43cc2806 RK |
627 | -moz-image-region: rect(0, 252px, 18px, 234px); |
628 | } | |
629 | ||
7d3f7f14 | 630 | #save-page-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
631 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
632 | } | |
633 | ||
7d3f7f14 | 634 | #sync-button[cui-areatype="toolbar"] { |
43cc2806 RK |
635 | -moz-image-region: rect(0, 270px, 18px, 252px); |
636 | } | |
637 | ||
7d3f7f14 | 638 | #sync-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
639 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
640 | } | |
641 | ||
5401f433 RK |
642 | #sync-button[cui-areatype="toolbar"][status="active"], |
643 | #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) { | |
644 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); | |
645 | -moz-image-region: rect(0, 18px, 18px, 0px); | |
646 | } | |
647 | ||
648 | /* | |
649 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext, | |
650 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) { | |
651 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); | |
652 | } | |
653 | */ | |
654 | ||
7d3f7f14 | 655 | #feed-button[cui-areatype="toolbar"] { |
43cc2806 RK |
656 | -moz-image-region: rect(0, 288px, 18px, 270px); |
657 | } | |
658 | ||
7d3f7f14 | 659 | #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
43cc2806 RK |
660 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
661 | } | |
662 | ||
7d3f7f14 | 663 | #feed-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
664 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
665 | } | |
666 | ||
7d3f7f14 | 667 | #social-share-button[cui-areatype="toolbar"] { |
43cc2806 RK |
668 | -moz-image-region: rect(0px, 306px, 18px, 288px); |
669 | } | |
670 | ||
22180555 RK |
671 | #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
672 | #social-share-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
673 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
674 | } | |
675 | ||
22180555 RK |
676 | #social-share-button[cui-areatype="toolbar"][disabled="true"] { |
677 | -moz-image-region: rect(36px, 306px, 54px, 288px); | |
678 | } | |
679 | ||
7d3f7f14 | 680 | #characterencoding-button[cui-areatype="toolbar"] { |
43cc2806 RK |
681 | -moz-image-region: rect(0, 324px, 18px, 306px); |
682 | } | |
683 | ||
7d3f7f14 RK |
684 | #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
685 | #characterencoding-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
686 | -moz-image-region: rect(18px, 324px, 36px, 306px); |
687 | } | |
688 | ||
7d3f7f14 | 689 | #characterencoding-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
690 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
691 | } | |
692 | ||
7d3f7f14 | 693 | #new-window-button[cui-areatype="toolbar"] { |
43cc2806 RK |
694 | -moz-image-region: rect(0, 342px, 18px, 324px); |
695 | } | |
696 | ||
7d3f7f14 | 697 | #new-window-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
698 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
699 | } | |
700 | ||
46e71434 RK |
701 | #e10s-button[cui-areatype="toolbar"] { |
702 | -moz-image-region: rect(0, 342px, 18px, 324px); | |
703 | } | |
704 | ||
705 | #e10s-button[cui-areatype="toolbar"]:hover { | |
706 | -moz-image-region: rect(18px, 342px, 36px, 324px); | |
707 | } | |
708 | ||
709 | #e10s-button > .toolbarbutton-icon { | |
710 | transform: scaleY(-1); | |
711 | } | |
712 | ||
7d3f7f14 | 713 | #new-tab-button[cui-areatype="toolbar"] { |
43cc2806 RK |
714 | -moz-image-region: rect(0, 360px, 18px, 342px); |
715 | } | |
716 | ||
7d3f7f14 | 717 | #new-tab-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
718 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
719 | } | |
720 | ||
7d3f7f14 | 721 | #privatebrowsing-button[cui-areatype="toolbar"] { |
43cc2806 RK |
722 | -moz-image-region: rect(0, 378px, 18px, 360px); |
723 | } | |
724 | ||
7d3f7f14 | 725 | #privatebrowsing-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
726 | -moz-image-region: rect(18px, 378px, 36px, 360px); |
727 | } | |
728 | ||
7d3f7f14 | 729 | #find-button[cui-areatype="toolbar"] { |
43cc2806 RK |
730 | -moz-image-region: rect(0, 396px, 18px, 378px); |
731 | } | |
732 | ||
7d3f7f14 | 733 | #find-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
734 | -moz-image-region: rect(18px, 396px, 36px, 378px); |
735 | } | |
736 | ||
7d3f7f14 | 737 | #print-button[cui-areatype="toolbar"] { |
43cc2806 RK |
738 | -moz-image-region: rect(0, 414px, 18px, 396px); |
739 | } | |
740 | ||
7d3f7f14 | 741 | #print-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
742 | -moz-image-region: rect(18px, 414px, 36px, 396px); |
743 | } | |
744 | ||
7d3f7f14 | 745 | #fullscreen-button[cui-areatype="toolbar"] { |
43cc2806 RK |
746 | -moz-image-region: rect(0, 432px, 18px, 414px); |
747 | } | |
748 | ||
7d3f7f14 | 749 | #fullscreen-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
750 | -moz-image-region: rect(18px, 432px, 36px, 414px); |
751 | } | |
752 | ||
7d3f7f14 | 753 | #developer-button[cui-areatype="toolbar"] { |
43cc2806 RK |
754 | -moz-image-region: rect(0, 450px, 18px, 432px); |
755 | } | |
756 | ||
7d3f7f14 RK |
757 | #developer-button[cui-areatype="toolbar"]:hover, |
758 | #developer-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
759 | -moz-image-region: rect(18px, 450px, 36px, 432px); |
760 | } | |
761 | ||
7d3f7f14 | 762 | #preferences-button[cui-areatype="toolbar"] { |
43cc2806 RK |
763 | -moz-image-region: rect(0, 468px, 18px, 450px); |
764 | } | |
765 | ||
7d3f7f14 | 766 | #preferences-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
767 | -moz-image-region: rect(18px, 468px, 36px, 450px); |
768 | } | |
769 | ||
7d3f7f14 | 770 | #PanelUI-menu-button { |
43cc2806 RK |
771 | -moz-image-region: rect(0, 486px, 18px, 468px); |
772 | } | |
773 | ||
7d3f7f14 RK |
774 | #PanelUI-menu-button:hover, |
775 | #PanelUI-menu-button[open="true"] { | |
43cc2806 RK |
776 | -moz-image-region: rect(18px, 486px, 36px, 468px); |
777 | } | |
778 | ||
51994fad | 779 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button { |
43cc2806 RK |
780 | -moz-image-region: rect(0, 504px, 18px, 486px); |
781 | } | |
782 | ||
51994fad | 783 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) { |
43cc2806 RK |
784 | -moz-image-region: rect(18px, 504px, 36px, 486px); |
785 | } | |
786 | ||
51994fad | 787 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] { |
cc4b0b0d RK |
788 | -moz-image-region: rect(36px, 504px, 54px, 486px); |
789 | } | |
790 | ||
51994fad | 791 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button { |
43cc2806 RK |
792 | -moz-image-region: rect(0, 522px, 18px, 504px); |
793 | } | |
794 | ||
51994fad | 795 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) { |
43cc2806 RK |
796 | -moz-image-region: rect(18px, 522px, 36px, 504px); |
797 | } | |
798 | ||
51994fad | 799 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] { |
cc4b0b0d RK |
800 | -moz-image-region: rect(36px, 522px, 54px, 504px); |
801 | } | |
802 | ||
51994fad | 803 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button { |
43cc2806 RK |
804 | -moz-image-region: rect(0, 540px, 18px, 522px); |
805 | } | |
806 | ||
51994fad | 807 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) { |
43cc2806 RK |
808 | -moz-image-region: rect(18px, 540px, 36px, 522px); |
809 | } | |
810 | ||
51994fad | 811 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] { |
cc4b0b0d RK |
812 | -moz-image-region: rect(36px, 540px, 54px, 522px); |
813 | } | |
814 | ||
51994fad | 815 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button { |
43cc2806 RK |
816 | -moz-image-region: rect(0, 558px, 18px, 540px); |
817 | } | |
818 | ||
51994fad | 819 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) { |
43cc2806 RK |
820 | -moz-image-region: rect(18px, 558px, 36px, 540px); |
821 | } | |
822 | ||
51994fad | 823 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
824 | -moz-image-region: rect(36px, 558px, 54px, 540px); |
825 | } | |
826 | ||
51994fad | 827 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button { |
43cc2806 RK |
828 | -moz-image-region: rect(0, 576px, 18px, 558px); |
829 | } | |
830 | ||
51994fad | 831 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) { |
43cc2806 RK |
832 | -moz-image-region: rect(18px, 576px, 36px, 558px); |
833 | } | |
834 | ||
51994fad | 835 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
836 | -moz-image-region: rect(36px, 576px, 54px, 558px); |
837 | } | |
838 | ||
7d3f7f14 | 839 | #nav-bar-overflow-button { |
43cc2806 RK |
840 | -moz-image-region: rect(0, 612px, 18px, 594px); |
841 | } | |
842 | ||
7d3f7f14 RK |
843 | #nav-bar-overflow-button:hover, |
844 | #nav-bar-overflow-button[open="true"] { | |
43cc2806 RK |
845 | -moz-image-region: rect(18px, 612px, 36px, 594px); |
846 | } | |
847 | ||
46e71434 RK |
848 | #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
849 | transform: scaleX(-1); | |
850 | } | |
851 | ||
c0f6797e RK |
852 | #tabview-button { |
853 | -moz-image-region: rect(0, 648px, 18px, 630px); | |
854 | } | |
855 | ||
856 | #tabview-button:hover { | |
857 | -moz-image-region: rect(18px, 648px, 36px, 630px); | |
858 | } | |
859 | ||
860 | #email-link-button[cui-areatype="toolbar"] { | |
861 | -moz-image-region: rect(0, 666px, 18px, 648px); | |
862 | } | |
863 | ||
22180555 | 864 | #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
c0f6797e RK |
865 | -moz-image-region: rect(18px, 666px, 36px, 648px); |
866 | } | |
867 | ||
22180555 RK |
868 | #email-button[cui-areatype="toolbar"][disabled="true"] { |
869 | -moz-image-region: rect(36px, 666px, 54px, 648px); | |
870 | } | |
871 | ||
c0f6797e RK |
872 | #sidebar-button[cui-areatype="toolbar"] { |
873 | -moz-image-region: rect(0, 684px, 18px, 666px); | |
874 | } | |
875 | ||
876 | #sidebar-button[cui-areatype="toolbar"]:hover { | |
877 | -moz-image-region: rect(18px, 684px, 36px, 666px); | |
878 | } | |
879 | ||
22180555 RK |
880 | #panic-button[cui-areatype="toolbar"] { |
881 | -moz-image-region: rect(0, 702px, 18px, 684px); | |
882 | } | |
883 | ||
884 | #panic-button[cui-areatype="toolbar"]:hover, | |
885 | #panic-button[cui-areatype="toolbar"][open] { | |
886 | -moz-image-region: rect(18px, 702px, 36px, 684px); | |
887 | } | |
888 | ||
889 | #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
890 | transform: scaleX(-1); | |
891 | } | |
892 | ||
893 | #web-apps-button[cui-areatype="toolbar"] { | |
894 | -moz-image-region: rect(0, 720px, 18px, 702px); | |
895 | } | |
896 | ||
897 | #web-apps-button[cui-areatype="toolbar"]:hover { | |
898 | -moz-image-region: rect(18px, 720px, 36px, 702px); | |
899 | } | |
900 | ||
8d1f53f0 RK |
901 | #loop-button-throttled > .toolbarbutton-badge-container, |
902 | #loop-button > .toolbarbutton-badge-container { | |
d0e580f1 RK |
903 | list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); |
904 | -moz-image-region: rect(0, 18px, 18px, 0); | |
905 | } | |
906 | ||
8d1f53f0 RK |
907 | #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
908 | #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
909 | -moz-image-region: rect(0, 90px, 18px, 72px); |
910 | } | |
911 | ||
86d9f20a | 912 | #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container, |
8d1f53f0 RK |
913 | #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container, |
914 | #loop-button[state="disabled"] > .toolbarbutton-badge-container, | |
915 | #loop-button[disabled="true"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
916 | -moz-image-region: rect(0, 36px, 18px, 18px); |
917 | } | |
918 | ||
8d1f53f0 RK |
919 | #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
920 | #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
921 | -moz-image-region: rect(0, 126px, 18px, 108px); |
922 | } | |
923 | ||
8d1f53f0 RK |
924 | #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, |
925 | #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
926 | -moz-image-region: rect(0, 54px, 18px, 36px); |
927 | } | |
928 | ||
8d1f53f0 RK |
929 | #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, |
930 | #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
931 | -moz-image-region: rect(0, 72px, 18px, 54px); |
932 | } | |
933 | ||
8d1f53f0 RK |
934 | #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, |
935 | #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
936 | -moz-image-region: rect(0, 108px, 18px, 90px); |
937 | } | |
938 | ||
e548e22e RK |
939 | #webide-button[cui-areatype="toolbar"] { |
940 | -moz-image-region: rect(0, 738px, 18px, 720px); | |
941 | } | |
942 | ||
943 | #webide-button[cui-areatype="toolbar"]:hover { | |
944 | -moz-image-region: rect(18px, 738px, 36px, 720px); | |
945 | } | |
946 | ||
31bc2dc1 RK |
947 | #pocket-button[cui-areatype="toolbar"] { |
948 | -moz-image-region: rect(0, 774px, 18px, 756px); | |
949 | } | |
950 | ||
951 | #pocket-button[cui-areatype="toolbar"]:hover, | |
952 | #pocket-button[cui-areatype="toolbar"][open] { | |
953 | -moz-image-region: rect(18px, 774px, 36px, 756px); | |
954 | } | |
955 | ||
43cc2806 RK |
956 | /* === END toolbarbuttons.inc.css === */ |
957 | ||
958 | /* === BEGIN menupanel.inc.css === */ | |
959 | ||
960 | /* Menu panel and palette styles */ | |
961 | ||
e548e22e RK |
962 | :root { |
963 | /* avoid aero overrides with changed filenames */ | |
964 | --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png); | |
965 | --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png); | |
966 | } | |
967 | ||
51994fad | 968 | toolbaritem[sdkstylewidget="true"] > toolbarbutton, |
5401f433 RK |
969 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
970 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
1988bb88 | 971 | #social-share-button, #open-file-button, #find-button, #developer-button, |
5401f433 RK |
972 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
973 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
974 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
31bc2dc1 RK |
975 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, |
976 | #pocket-button)[cui-areatype="menu-panel"], | |
5401f433 RK |
977 | toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
978 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
1988bb88 | 979 | #social-share-button, #open-file-button, #find-button, #developer-button, |
5401f433 RK |
980 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
981 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
982 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
31bc2dc1 RK |
983 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button, |
984 | #pocket-button) { | |
e548e22e | 985 | list-style-image: var(--menupanel-list-style-image); |
43cc2806 RK |
986 | } |
987 | ||
988 | #home-button[cui-areatype="menu-panel"], | |
7d3f7f14 | 989 | toolbarpaletteitem[place="palette"] > #home-button { |
43cc2806 RK |
990 | -moz-image-region: rect(0px, 128px, 32px, 96px); |
991 | } | |
992 | ||
cc4b0b0d | 993 | #home-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 994 | toolbarpaletteitem[place="palette"] > #home-button:hover { |
cc4b0b0d RK |
995 | -moz-image-region: rect(32px, 128px, 64px, 96px); |
996 | } | |
997 | ||
43cc2806 | 998 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
7d3f7f14 | 999 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { |
46e71434 | 1000 | -moz-image-region: rect(0px, 192px, 32px, 160px); |
43cc2806 RK |
1001 | } |
1002 | ||
cc4b0b0d | 1003 | #bookmarks-menu-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1004 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { |
46e71434 RK |
1005 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
1006 | } | |
1007 | ||
1008 | #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
1009 | -moz-image-region: rect(32px, 192px, 64px, 160px); | |
cc4b0b0d RK |
1010 | } |
1011 | ||
43cc2806 | 1012 | #history-panelmenu[cui-areatype="menu-panel"], |
7d3f7f14 | 1013 | toolbarpaletteitem[place="palette"] > #history-panelmenu { |
43cc2806 RK |
1014 | -moz-image-region: rect(0px, 224px, 32px, 192px); |
1015 | } | |
1016 | ||
cc4b0b0d | 1017 | #history-panelmenu[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1018 | toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { |
cc4b0b0d RK |
1019 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
1020 | } | |
1021 | ||
46e71434 RK |
1022 | #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1023 | -moz-image-region: rect(32px, 224px, 64px, 192px); | |
1024 | } | |
1025 | ||
43cc2806 | 1026 | #downloads-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1027 | toolbarpaletteitem[place="palette"] > #downloads-button { |
43cc2806 RK |
1028 | -moz-image-region: rect(0px, 256px, 32px, 224px); |
1029 | } | |
1030 | ||
cc4b0b0d | 1031 | #downloads-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1032 | toolbarpaletteitem[place="palette"] > #downloads-button:hover { |
cc4b0b0d RK |
1033 | -moz-image-region: rect(32px, 256px, 64px, 224px); |
1034 | } | |
1035 | ||
43cc2806 | 1036 | #add-ons-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1037 | toolbarpaletteitem[place="palette"] > #add-ons-button { |
43cc2806 RK |
1038 | -moz-image-region: rect(0px, 288px, 32px, 256px); |
1039 | } | |
1040 | ||
cc4b0b0d | 1041 | #add-ons-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1042 | toolbarpaletteitem[place="palette"] > #add-ons-button:hover { |
cc4b0b0d RK |
1043 | -moz-image-region: rect(32px, 288px, 64px, 256px); |
1044 | } | |
1045 | ||
43cc2806 | 1046 | #open-file-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1047 | toolbarpaletteitem[place="palette"] > #open-file-button { |
43cc2806 RK |
1048 | -moz-image-region: rect(0px, 320px, 32px, 288px); |
1049 | } | |
1050 | ||
cc4b0b0d | 1051 | #open-file-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1052 | toolbarpaletteitem[place="palette"] > #open-file-button:hover { |
cc4b0b0d RK |
1053 | -moz-image-region: rect(32px, 320px, 64px, 288px); |
1054 | } | |
1055 | ||
43cc2806 | 1056 | #save-page-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1057 | toolbarpaletteitem[place="palette"] > #save-page-button { |
43cc2806 RK |
1058 | -moz-image-region: rect(0px, 352px, 32px, 320px); |
1059 | } | |
1060 | ||
cc4b0b0d | 1061 | #save-page-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1062 | toolbarpaletteitem[place="palette"] > #save-page-button:hover { |
cc4b0b0d RK |
1063 | -moz-image-region: rect(32px, 352px, 64px, 320px); |
1064 | } | |
1065 | ||
43cc2806 | 1066 | #sync-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1067 | toolbarpaletteitem[place="palette"] > #sync-button { |
43cc2806 RK |
1068 | -moz-image-region: rect(0px, 384px, 32px, 352px); |
1069 | } | |
1070 | ||
cc4b0b0d | 1071 | #sync-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1072 | toolbarpaletteitem[place="palette"] > #sync-button:hover { |
cc4b0b0d RK |
1073 | -moz-image-region: rect(32px, 384px, 64px, 352px); |
1074 | } | |
1075 | ||
5401f433 RK |
1076 | #sync-button[cui-areatype="menu-panel"][status="active"] { |
1077 | list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); | |
1078 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
1079 | } | |
1080 | ||
43cc2806 | 1081 | #feed-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1082 | toolbarpaletteitem[place="palette"] > #feed-button { |
43cc2806 RK |
1083 | -moz-image-region: rect(0px, 416px, 32px, 384px); |
1084 | } | |
1085 | ||
cc4b0b0d | 1086 | #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
7d3f7f14 | 1087 | toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1088 | -moz-image-region: rect(32px, 416px, 64px, 384px); |
1089 | } | |
1090 | ||
1091 | #feed-button[cui-areatype="menu-panel"][disabled="true"], | |
7d3f7f14 | 1092 | toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { |
cc4b0b0d RK |
1093 | -moz-image-region: rect(64px, 416px, 96px, 384px); |
1094 | } | |
1095 | ||
43cc2806 | 1096 | #social-share-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1097 | toolbarpaletteitem[place="palette"] > #social-share-button { |
43cc2806 RK |
1098 | -moz-image-region: rect(0px, 448px, 32px, 416px); |
1099 | } | |
1100 | ||
22180555 RK |
1101 | #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1102 | toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) { | |
cc4b0b0d RK |
1103 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
1104 | } | |
1105 | ||
22180555 RK |
1106 | #social-share-button[cui-areatype="menu-panel"][disabled="true"], |
1107 | toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] { | |
1108 | -moz-image-region: rect(64px, 448px, 96px, 416px); | |
1109 | } | |
1110 | ||
43cc2806 | 1111 | #characterencoding-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1112 | toolbarpaletteitem[place="palette"] > #characterencoding-button { |
43cc2806 RK |
1113 | -moz-image-region: rect(0px, 480px, 32px, 448px); |
1114 | } | |
1115 | ||
cc4b0b0d | 1116 | #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
7d3f7f14 | 1117 | toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1118 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
1119 | } | |
1120 | ||
1121 | #characterencoding-button[cui-areatype="menu-panel"][disabled="true"], | |
7d3f7f14 | 1122 | toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { |
cc4b0b0d RK |
1123 | -moz-image-region: rect(64px, 480px, 96px, 448px); |
1124 | } | |
1125 | ||
46e71434 RK |
1126 | #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1127 | -moz-image-region: rect(32px, 480px, 64px, 448px); | |
1128 | } | |
1129 | ||
43cc2806 | 1130 | #new-window-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1131 | toolbarpaletteitem[place="palette"] > #new-window-button { |
43cc2806 RK |
1132 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
1133 | } | |
1134 | ||
cc4b0b0d | 1135 | #new-window-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1136 | toolbarpaletteitem[place="palette"] > #new-window-button:hover { |
cc4b0b0d RK |
1137 | -moz-image-region: rect(32px, 512px, 64px, 480px); |
1138 | } | |
1139 | ||
5401f433 RK |
1140 | #e10s-button[cui-areatype="menu-panel"], |
1141 | toolbarpaletteitem[place="palette"] > #e10s-button { | |
1142 | -moz-image-region: rect(0px, 512px, 32px, 480px); | |
1143 | } | |
1144 | ||
1145 | #e10s-button[cui-areatype="menu-panel"]:hover, | |
1146 | toolbarpaletteitem[place="palette"] > #e10s-button:hover { | |
1147 | -moz-image-region: rect(32px, 512px, 64px, 480px); | |
1148 | } | |
1149 | ||
43cc2806 | 1150 | #new-tab-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1151 | toolbarpaletteitem[place="palette"] > #new-tab-button { |
43cc2806 RK |
1152 | -moz-image-region: rect(0px, 544px, 32px, 512px); |
1153 | } | |
1154 | ||
cc4b0b0d | 1155 | #new-tab-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1156 | toolbarpaletteitem[place="palette"] > #new-tab-button:hover { |
cc4b0b0d RK |
1157 | -moz-image-region: rect(32px, 544px, 64px, 512px); |
1158 | } | |
1159 | ||
43cc2806 | 1160 | #privatebrowsing-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1161 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button { |
43cc2806 RK |
1162 | -moz-image-region: rect(0px, 576px, 32px, 544px); |
1163 | } | |
1164 | ||
cc4b0b0d | 1165 | #privatebrowsing-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1166 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { |
cc4b0b0d RK |
1167 | -moz-image-region: rect(32px, 576px, 64px, 544px); |
1168 | } | |
1169 | ||
46e71434 RK |
1170 | #tabview-button[cui-areatype="menu-panel"], |
1171 | toolbarpaletteitem[place="palette"] > #tabview-button { | |
1172 | -moz-image-region: rect(0px, 608px, 32px, 576px); | |
1173 | } | |
1174 | ||
1175 | #tabview-button[cui-areatype="menu-panel"]:hover, | |
1176 | toolbarpaletteitem[place="palette"] > #tabview-button:hover { | |
1177 | -moz-image-region: rect(32px, 608px, 64px, 576px); | |
1178 | } | |
1179 | ||
43cc2806 | 1180 | #find-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1181 | toolbarpaletteitem[place="palette"] > #find-button { |
43cc2806 RK |
1182 | -moz-image-region: rect(0px, 640px, 32px, 608px); |
1183 | } | |
1184 | ||
cc4b0b0d | 1185 | #find-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1186 | toolbarpaletteitem[place="palette"] > #find-button:hover { |
cc4b0b0d RK |
1187 | -moz-image-region: rect(32px, 640px, 64px, 608px); |
1188 | } | |
1189 | ||
43cc2806 | 1190 | #print-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1191 | toolbarpaletteitem[place="palette"] > #print-button { |
43cc2806 RK |
1192 | -moz-image-region: rect(0px, 672px, 32px, 640px); |
1193 | } | |
1194 | ||
cc4b0b0d | 1195 | #print-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1196 | toolbarpaletteitem[place="palette"] > #print-button:hover { |
cc4b0b0d RK |
1197 | -moz-image-region: rect(32px, 672px, 64px, 640px); |
1198 | } | |
1199 | ||
43cc2806 | 1200 | #fullscreen-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1201 | toolbarpaletteitem[place="palette"] > #fullscreen-button { |
43cc2806 RK |
1202 | -moz-image-region: rect(0px, 704px, 32px, 672px); |
1203 | } | |
1204 | ||
cc4b0b0d | 1205 | #fullscreen-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1206 | toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { |
cc4b0b0d RK |
1207 | -moz-image-region: rect(32px, 704px, 64px, 672px); |
1208 | } | |
1209 | ||
43cc2806 | 1210 | #developer-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1211 | toolbarpaletteitem[place="palette"] > #developer-button { |
43cc2806 RK |
1212 | -moz-image-region: rect(0px, 736px, 32px, 704px); |
1213 | } | |
1214 | ||
cc4b0b0d | 1215 | #developer-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1216 | toolbarpaletteitem[place="palette"] > #developer-button:hover { |
cc4b0b0d RK |
1217 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
1218 | } | |
1219 | ||
46e71434 RK |
1220 | #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1221 | -moz-image-region: rect(32px, 736px, 64px, 704px); | |
1222 | } | |
1223 | ||
43cc2806 | 1224 | #preferences-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1225 | toolbarpaletteitem[place="palette"] > #preferences-button { |
43cc2806 RK |
1226 | -moz-image-region: rect(0px, 768px, 32px, 736px); |
1227 | } | |
1228 | ||
cc4b0b0d | 1229 | #preferences-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1230 | toolbarpaletteitem[place="palette"] > #preferences-button:hover { |
cc4b0b0d RK |
1231 | -moz-image-region: rect(32px, 768px, 64px, 736px); |
1232 | } | |
1233 | ||
46e71434 RK |
1234 | #email-link-button[cui-areatype="menu-panel"], |
1235 | toolbarpaletteitem[place="palette"] > #email-link-button { | |
1236 | -moz-image-region: rect(0, 800px, 32px, 768px); | |
1237 | } | |
1238 | ||
22180555 RK |
1239 | #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1240 | toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) { | |
46e71434 RK |
1241 | -moz-image-region: rect(32px, 800px, 64px, 768px); |
1242 | } | |
1243 | ||
22180555 RK |
1244 | #email-link-button[cui-areatype="menu-panel"][disabled="true"], |
1245 | toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] { | |
1246 | -moz-image-region: rect(64px, 800px, 96px, 768px); | |
1247 | } | |
1248 | ||
46e71434 RK |
1249 | #sidebar-button[cui-areatype="menu-panel"], |
1250 | toolbarpaletteitem[place="palette"] > #sidebar-button { | |
1251 | -moz-image-region: rect(0, 864px, 32px, 832px); | |
1252 | } | |
1253 | ||
1254 | #sidebar-button[cui-areatype="menu-panel"]:hover, | |
22180555 RK |
1255 | toolbarpaletteitem[place="palette"] > #sidebar-button:hover, |
1256 | #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
46e71434 RK |
1257 | -moz-image-region: rect(32px, 864px, 64px, 832px); |
1258 | } | |
1259 | ||
22180555 RK |
1260 | #panic-button[cui-areatype="menu-panel"], |
1261 | toolbarpaletteitem[place="palette"] > #panic-button { | |
1262 | -moz-image-region: rect(0, 896px, 32px, 864px); | |
1263 | } | |
1264 | ||
1265 | #panic-button[cui-areatype="menu-panel"]:hover, | |
1266 | toolbarpaletteitem[place="palette"] > #panic-button:hover, | |
1267 | #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
1268 | -moz-image-region: rect(32px, 896px, 64px, 864px); | |
1269 | } | |
1270 | ||
1271 | #web-apps-button[cui-areatype="menu-panel"], | |
1272 | toolbarpaletteitem[place="palette"] > #web-apps-button { | |
1273 | -moz-image-region: rect(0, 928px, 32px, 896px); | |
1274 | } | |
1275 | ||
1276 | #web-apps-button[cui-areatype="menu-panel"]:hover, | |
1277 | toolbarpaletteitem[place="palette"] > #web-apps-button:hover { | |
1278 | -moz-image-region: rect(32px, 928px, 64px, 896px); | |
46e71434 RK |
1279 | } |
1280 | ||
e548e22e RK |
1281 | #webide-button[cui-areatype="menu-panel"], |
1282 | toolbarpaletteitem[place="palette"] > #webide-button { | |
1283 | -moz-image-region: rect(0px, 960px, 32px, 928px); | |
1284 | } | |
1285 | ||
1286 | #webide-button[cui-areatype="menu-panel"]:hover, | |
1287 | toolbarpaletteitem[place="palette"] > #webide-button:hover { | |
1288 | -moz-image-region: rect(32px, 960px, 64px, 928px); | |
1289 | } | |
1290 | ||
31bc2dc1 RK |
1291 | #pocket-button[cui-areatype="menu-panel"], |
1292 | toolbarpaletteitem[place="palette"] > #pocket-button { | |
1293 | -moz-image-region: rect(0px, 992px, 32px, 960px); | |
1294 | } | |
1295 | ||
1296 | #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
1297 | -moz-image-region: rect(32px, 992px, 64px, 960px); | |
1298 | } | |
1299 | ||
46e71434 RK |
1300 | toolbaritem[sdkstylewidget="true"] > toolbarbutton { |
1301 | -moz-image-region: rect(0, 832px, 32px, 800px); | |
1302 | } | |
1303 | ||
86d9f20a | 1304 | #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, |
8d1f53f0 RK |
1305 | toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, |
1306 | #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, | |
1307 | toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1308 | list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); |
1309 | -moz-image-region: rect(0, 32px, 32px, 0); | |
1310 | } | |
1311 | ||
1312 | /* Make sure that the state icons are not shown in the customization palette. */ | |
8d1f53f0 RK |
1313 | toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, |
1314 | toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1315 | -moz-image-region: rect(0, 32px, 32px, 0) !important; |
1316 | } | |
1317 | ||
8d1f53f0 RK |
1318 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
1319 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1320 | -moz-image-region: rect(0, 160px, 32px, 128px); |
1321 | } | |
1322 | ||
86d9f20a | 1323 | #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, |
8d1f53f0 RK |
1324 | #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container, |
1325 | #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, | |
1326 | #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1327 | -moz-image-region: rect(0, 64px, 32px, 32px); |
1328 | } | |
1329 | ||
8d1f53f0 RK |
1330 | #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
1331 | #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1332 | -moz-image-region: rect(0, 224px, 32px, 192px); |
1333 | } | |
1334 | ||
8d1f53f0 RK |
1335 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, |
1336 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1337 | -moz-image-region: rect(0, 96px, 32px, 64px); |
1338 | } | |
1339 | ||
8d1f53f0 RK |
1340 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, |
1341 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1342 | -moz-image-region: rect(0, 128px, 32px, 96px); |
1343 | } | |
1344 | ||
8d1f53f0 RK |
1345 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, |
1346 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1347 | -moz-image-region: rect(0, 192px, 32px, 160px); |
1348 | } | |
1349 | ||
43cc2806 RK |
1350 | /* Wide panel control icons */ |
1351 | ||
51994fad RK |
1352 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, |
1353 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, | |
7d3f7f14 RK |
1354 | toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, |
1355 | toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { | |
e548e22e | 1356 | list-style-image: var(--menupanel-small-list-style-image); |
43cc2806 RK |
1357 | } |
1358 | ||
51994fad | 1359 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button, |
7d3f7f14 | 1360 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { |
43cc2806 RK |
1361 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
1362 | } | |
1363 | ||
51994fad | 1364 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]), |
7d3f7f14 | 1365 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1366 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
1367 | } | |
1368 | ||
51994fad | 1369 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"], |
7d3f7f14 | 1370 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { |
cc4b0b0d RK |
1371 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
1372 | } | |
1373 | ||
51994fad | 1374 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button, |
7d3f7f14 | 1375 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { |
43cc2806 RK |
1376 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
1377 | } | |
1378 | ||
51994fad | 1379 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]), |
7d3f7f14 | 1380 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1381 | -moz-image-region: rect(16px, 48px, 32px, 32px); |
1382 | } | |
1383 | ||
51994fad | 1384 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"], |
7d3f7f14 | 1385 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { |
cc4b0b0d RK |
1386 | -moz-image-region: rect(32px, 48px, 48px, 32px); |
1387 | } | |
1388 | ||
51994fad | 1389 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button, |
7d3f7f14 | 1390 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { |
43cc2806 RK |
1391 | -moz-image-region: rect(0px, 64px, 16px, 48px); |
1392 | } | |
1393 | ||
51994fad | 1394 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]), |
7d3f7f14 | 1395 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1396 | -moz-image-region: rect(16px, 64px, 32px, 48px); |
1397 | } | |
1398 | ||
51994fad | 1399 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"], |
7d3f7f14 | 1400 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { |
cc4b0b0d RK |
1401 | -moz-image-region: rect(32px, 64px, 48px, 48px); |
1402 | } | |
1403 | ||
51994fad | 1404 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button, |
7d3f7f14 | 1405 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { |
43cc2806 RK |
1406 | -moz-image-region: rect(0px, 80px, 16px, 64px); |
1407 | } | |
1408 | ||
51994fad | 1409 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]), |
7d3f7f14 | 1410 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1411 | -moz-image-region: rect(16px, 80px, 32px, 64px); |
1412 | } | |
1413 | ||
51994fad | 1414 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"], |
7d3f7f14 | 1415 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
1416 | -moz-image-region: rect(32px, 80px, 48px, 64px); |
1417 | } | |
1418 | ||
51994fad | 1419 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button, |
7d3f7f14 | 1420 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { |
43cc2806 RK |
1421 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
1422 | } | |
1423 | ||
51994fad | 1424 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]), |
7d3f7f14 | 1425 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1426 | -moz-image-region: rect(16px, 96px, 32px, 80px); |
1427 | } | |
1428 | ||
51994fad | 1429 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"], |
7d3f7f14 | 1430 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
1431 | -moz-image-region: rect(32px, 96px, 48px, 80px); |
1432 | } | |
1433 | ||
e548e22e RK |
1434 | #add-share-provider { |
1435 | list-style-image: var(--menupanel-small-list-style-image); | |
1436 | -moz-image-region: rect(0px, 96px, 16px, 80px); | |
1437 | } | |
1438 | ||
43cc2806 RK |
1439 | /* === END menupanel.inc.css === */ |
1440 | ||
63ada306 RK |
1441 | .toolbarbutton-1:not([type="menu-button"]) { |
1442 | -moz-box-orient: vertical; | |
1443 | } | |
1444 | ||
319c6529 RK |
1445 | .toolbarbutton-1, |
1446 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
c0f6797e RK |
1447 | /* min-width: 36px; |
1448 | min-height: 36px;*/ | |
319c6529 RK |
1449 | } |
1450 | ||
1451 | .toolbarbutton-1, | |
1452 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1453 | .toolbarbutton-1[disabled="true"]:hover:active, | |
1454 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
1455 | padding: 1px 2px; | |
1456 | } | |
1457 | ||
1458 | .toolbarbutton-1:hover:active, | |
1459 | .toolbarbutton-1[open="true"], | |
1460 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
1461 | padding-top: 2px; | |
1462 | padding-bottom: 0px; | |
1463 | -moz-padding-start: 3px; | |
1464 | -moz-padding-end: 1px; | |
1465 | } | |
1466 | ||
c0f6797e RK |
1467 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, |
1468 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, | |
1469 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, | |
1470 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, | |
1471 | #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { | |
e20c83c3 RK |
1472 | } |
1473 | ||
c0f6797e RK |
1474 | .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, |
1475 | .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
e20c83c3 RK |
1476 | } |
1477 | ||
c0f6797e RK |
1478 | toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext, |
1479 | toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext { | |
319c6529 RK |
1480 | } |
1481 | ||
c0f6797e RK |
1482 | .toolbarbutton-1 > .toolbarbutton-icon, |
1483 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
319c6529 RK |
1484 | } |
1485 | ||
20752032 | 1486 | .findbar-button, |
c0f6797e RK |
1487 | #nav-bar .toolbarbutton-1, |
1488 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
319c6529 RK |
1489 | } |
1490 | ||
c0f6797e RK |
1491 | #nav-bar .toolbarbutton-1:not([type=menu-button]), |
1492 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1493 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
319c6529 RK |
1494 | } |
1495 | ||
c0f6797e RK |
1496 | #nav-bar #PanelUI-menu-button { |
1497 | /* -moz-padding-start: 7px; | |
1498 | -moz-padding-end: 5px;*/ | |
319c6529 RK |
1499 | } |
1500 | ||
8c5bee4f | 1501 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) { |
c0f6797e RK |
1502 | /* padding-left: 5px; |
1503 | padding-right: 5px;*/ | |
319c6529 RK |
1504 | } |
1505 | ||
c0f6797e RK |
1506 | #nav-bar .toolbarbutton-1 > menupopup { |
1507 | /* margin-top: -3px;*/ | |
319c6529 RK |
1508 | } |
1509 | ||
c0f6797e | 1510 | #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel { |
c1d2ce3e | 1511 | margin-top: -4px; |
319c6529 RK |
1512 | } |
1513 | ||
c0f6797e RK |
1514 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
1515 | /* -moz-padding-end: 0;*/ | |
319c6529 RK |
1516 | } |
1517 | ||
c0f6797e RK |
1518 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
1519 | /* -moz-padding-start: 0; | |
1520 | -moz-box-align: center;*/ | |
319c6529 RK |
1521 | } |
1522 | ||
20752032 | 1523 | .findbar-button > .toolbarbutton-text, |
c0f6797e RK |
1524 | #nav-bar .toolbarbutton-1 > .toolbarbutton-icon, |
1525 | #nav-bar .toolbarbutton-1 > .toolbarbutton-text, | |
1526 | #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container, | |
1527 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, | |
1528 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, | |
2c62526c | 1529 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
c0f6797e RK |
1530 | /* padding: 2px 6px; |
1531 | border: 1px solid; | |
1532 | border-color: transparent; | |
1533 | transition-property: background-color, border-color; | |
1534 | transition-duration: 150ms;*/ | |
d54f5b23 | 1535 | } |
c0f6797e RK |
1536 | /* |
1537 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, | |
1538 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container, | |
1539 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
1540 | padding: 3px 7px; | |
d54f5b23 | 1541 | } |
c0f6797e | 1542 | */ |
d54f5b23 | 1543 | |
c0f6797e RK |
1544 | /* Help SDK icons fit: */ |
1545 | toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { | |
1546 | width: 16px; | |
26125509 RK |
1547 | } |
1548 | ||
c0f6797e RK |
1549 | #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
1550 | /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ | |
1551 | width: 32px; | |
26125509 | 1552 | } |
26125509 | 1553 | |
8c5bee4f | 1554 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon, |
c0f6797e RK |
1555 | #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ { |
1556 | /* -moz-padding-end: 17px;*/ | |
319c6529 RK |
1557 | } |
1558 | ||
c0f6797e | 1559 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { |
319c6529 RK |
1560 | } |
1561 | ||
c0f6797e | 1562 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
319c6529 RK |
1563 | } |
1564 | ||
c0f6797e | 1565 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
38cfeb47 RK |
1566 | } |
1567 | ||
c0f6797e RK |
1568 | #nav-bar .toolbaritem-combined-buttons { |
1569 | /* margin-left: 2px; | |
1570 | margin-right: 2px;*/ | |
38cfeb47 RK |
1571 | } |
1572 | ||
c0f6797e RK |
1573 | #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 { |
1574 | /* padding-left: 0; | |
1575 | padding-right: 0;*/ | |
319c6529 RK |
1576 | } |
1577 | ||
c0f6797e RK |
1578 | #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before, |
1579 | #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 { | |
1580 | /* | |
1581 | content: ""; | |
1582 | display: -moz-box; | |
1583 | width: 1px; | |
1584 | height: 16px; | |
1585 | -moz-margin-end: -1px; | |
1586 | */ | |
319c6529 RK |
1587 | } |
1588 | ||
2c62526c | 1589 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
319c6529 RK |
1590 | } |
1591 | ||
20752032 | 1592 | .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text, |
43371c9b | 1593 | #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
c0f6797e RK |
1594 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
1595 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, | |
1596 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon, | |
1597 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text, | |
1598 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container, | |
2c62526c | 1599 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon, |
46e71434 | 1600 | #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon { |
319c6529 RK |
1601 | } |
1602 | ||
20752032 | 1603 | .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text, |
43371c9b | 1604 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon, |
c0f6797e RK |
1605 | #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, |
1606 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon, | |
1607 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text, | |
1608 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container { | |
319c6529 RK |
1609 | } |
1610 | ||
c0f6797e RK |
1611 | #TabsToolbar .toolbarbutton-1, |
1612 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1613 | .tabbrowser-arrowscrollbox > .scrollbutton-up, | |
1614 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
e8519ae0 RK |
1615 | } |
1616 | ||
c0f6797e RK |
1617 | #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover, |
1618 | #TabsToolbar .toolbarbutton-1[open], | |
1619 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover, | |
1620 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover, | |
1621 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover { | |
e8519ae0 RK |
1622 | } |
1623 | ||
c0f6797e | 1624 | /* unified back/forward button */ |
319c6529 | 1625 | |
c0f6797e | 1626 | #forward-button { |
589b5528 | 1627 | -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ |
71bac478 RK |
1628 | } |
1629 | ||
c0f6797e RK |
1630 | #forward-button > menupopup { |
1631 | margin-top: 1px !important; | |
319c6529 RK |
1632 | } |
1633 | ||
c0f6797e RK |
1634 | #forward-button > .toolbarbutton-icon { |
1635 | background-clip: padding-box !important; | |
1636 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ | |
5401f433 | 1637 | /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/ |
71bac478 RK |
1638 | } |
1639 | ||
c0f6797e | 1640 | #forward-button { |
aec5dfad | 1641 | -moz-margin-start: -4px !important; |
9d1e25fa RK |
1642 | padding-left: 5px; |
1643 | padding-right: 5px; | |
c0f6797e RK |
1644 | margin-top: 3px; |
1645 | margin-bottom: 3px; | |
1646 | border-radius: 0 10000px 10000px 0; | |
319c6529 RK |
1647 | } |
1648 | ||
c0f6797e RK |
1649 | #forward-button:-moz-locale-dir(rtl) { |
1650 | border-radius: 10000px 0 0 10000px; | |
8ad8bf83 RK |
1651 | } |
1652 | ||
2c62526c | 1653 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button { |
aec5dfad | 1654 | transition: margin-left 150ms ease-out; |
2c62526c RK |
1655 | } |
1656 | ||
1657 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { | |
aec5dfad | 1658 | margin-left: -27px !important; |
2c62526c RK |
1659 | } |
1660 | ||
1661 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] { | |
1662 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ | |
1663 | transition-delay: 100s; | |
1664 | } | |
1665 | ||
1666 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] { | |
1667 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ | |
aec5dfad | 1668 | margin-left: -27.01px !important; |
2c62526c RK |
1669 | } |
1670 | ||
c0f6797e RK |
1671 | #back-button { |
1672 | /* padding-top: 3px !important; | |
1673 | padding-bottom: 3px !important; | |
1674 | -moz-padding-start: 5px !important; | |
1675 | -moz-padding-end: 0 !important;*/ | |
1676 | position: relative; | |
1677 | z-index: 1; | |
1678 | border-radius: 10000px; | |
1679 | width: 30px; | |
1680 | height: 30px; | |
1681 | margin-top: -2px; | |
1682 | margin-bottom: -2px; | |
143c5409 RK |
1683 | } |
1684 | ||
c0f6797e | 1685 | #back-button:-moz-locale-dir(rtl) { |
319c6529 RK |
1686 | } |
1687 | ||
c0f6797e RK |
1688 | #back-button > menupopup { |
1689 | margin-top: -1px !important; | |
b36fc72e RK |
1690 | } |
1691 | ||
c0f6797e RK |
1692 | #back-button > .toolbarbutton-icon { |
1693 | border-radius: 10000px !important; | |
1694 | background-clip: padding-box !important; | |
1695 | /* background-color: hsla(210,25%,98%,.08) !important; | |
1696 | padding: 6px !important; | |
589b5528 RK |
1697 | border-style: none !important; |
1698 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), | |
1699 | 0 0 0 1px hsla(210,4%,10%,.25);*/ | |
1700 | transition-property: background-color, box-shadow !important; | |
c0f6797e | 1701 | transition-duration: 250ms !important; |
143c5409 RK |
1702 | } |
1703 | ||
c0f6797e | 1704 | #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { |
589b5528 | 1705 | /* background-color: hsla(210,4%,10%,.08) !important;*/ |
143c5409 RK |
1706 | } |
1707 | ||
c0f6797e RK |
1708 | #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon, |
1709 | #back-button[open="true"] > .toolbarbutton-icon { | |
1710 | /* background-color: hsla(210,4%,10%,.12) !important; | |
589b5528 RK |
1711 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), |
1712 | 0 0 0 1px hsla(210,4%,10%,.25), | |
1713 | 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/ | |
143c5409 RK |
1714 | } |
1715 | ||
2c62526c | 1716 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
c0f6797e | 1717 | transform: scaleX(-1); |
143c5409 | 1718 | } |
c0f6797e RK |
1719 | /* |
1720 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), | |
1721 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
1722 | list-style-image: url("chrome://browser/skin/menu-back.png") !important; | |
6adbc9a6 RK |
1723 | } |
1724 | ||
c0f6797e RK |
1725 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), |
1726 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
1727 | list-style-image: url("chrome://browser/skin/menu-forward.png") !important; | |
6adbc9a6 RK |
1728 | } |
1729 | ||
c0f6797e RK |
1730 | #home-button.bookmark-item { |
1731 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
6adbc9a6 RK |
1732 | } |
1733 | ||
c0f6797e RK |
1734 | #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), |
1735 | #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), | |
1736 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1737 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1738 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1739 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1740 | #home-button.bookmark-item:-moz-lwtheme-brighttext { | |
1741 | position: relative; | |
1742 | z-index: 1; | |
1743 | list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); | |
6adbc9a6 RK |
1744 | } |
1745 | ||
c0f6797e RK |
1746 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
1747 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) { | |
1748 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); | |
6adbc9a6 | 1749 | } |
c0f6797e | 1750 | */ |
6adbc9a6 | 1751 | |
c0f6797e RK |
1752 | #downloads-button > .toolbarbutton-icon { |
1753 | margin: 0; | |
6adbc9a6 RK |
1754 | } |
1755 | ||
9168a62c | 1756 | /* tabview menu item */ |
c0f6797e | 1757 | |
6adbc9a6 | 1758 | #menu_tabview { |
832af407 | 1759 | list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); |
6adbc9a6 RK |
1760 | -moz-image-region: rect(1px, 89px, 17px, 73px); |
1761 | } | |
1762 | ||
1763 | #menu_tabview[groups="0"] { | |
1764 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
1765 | } | |
1766 | ||
1767 | #menu_tabview[groups="1"] { | |
1768 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
1769 | } | |
1770 | ||
1771 | #menu_tabview[groups="2"] { | |
1772 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
1773 | } | |
1774 | ||
1775 | #menu_tabview[groups="3"] { | |
1776 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
1777 | } | |
1778 | ||
9168a62c RK |
1779 | /* undo close tab menu item */ |
1780 | #alltabs_undoCloseTab { | |
1781 | list-style-image: url(chrome://browser/skin/undoCloseTab.png); | |
1782 | } | |
1783 | ||
1784 | @media (min-resolution: 1.25dppx) { | |
1785 | #alltabs_undoCloseTab { | |
1786 | list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png); | |
1787 | } | |
1788 | #alltabs_undoCloseTab > .toolbarbutton-icon { | |
1789 | width: 16px; | |
1790 | } | |
1791 | } | |
1792 | ||
5401f433 RK |
1793 | /* zoom control text (reset) button special case: */ |
1794 | ||
1795 | #nav-bar #zoom-reset-button > .toolbarbutton-text { | |
1796 | /* To make this line up with the icons, it needs the same height (18px) + | |
1797 | * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise | |
1798 | * increase in text sizes would break things... | |
1799 | */ | |
1800 | min-height: 20px; | |
1801 | } | |
1802 | ||
319c6529 RK |
1803 | /* ::::: fullscreen window controls ::::: */ |
1804 | ||
8d7ef0d9 | 1805 | #window-controls { |
ab799a7a RK |
1806 | -moz-margin-start: 4px; |
1807 | } | |
1808 | ||
319c6529 RK |
1809 | #minimize-button, |
1810 | #restore-button, | |
1811 | #close-button { | |
c0f6797e RK |
1812 | /* list-style-image: url("chrome://global/skin/icons/windowControls.png"); |
1813 | padding: 0; */ | |
319c6529 RK |
1814 | } |
1815 | ||
1816 | #minimize-button { | |
1817 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
1818 | } | |
1819 | ||
1820 | #minimize-button:hover { | |
1821 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
1822 | } | |
1823 | ||
1824 | #restore-button { | |
1825 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
1826 | } | |
1827 | ||
1828 | #restore-button:hover { | |
1829 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
1830 | } | |
1831 | ||
1832 | #close-button { | |
1833 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
1834 | } | |
1835 | ||
1836 | #close-button:hover { | |
1837 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
1838 | } | |
1839 | ||
1840 | /* ::::: Location Bar ::::: */ | |
1841 | ||
319c6529 RK |
1842 | #urlbar, |
1843 | .searchbar-textbox { | |
1844 | border-radius: 5px; | |
aec5dfad | 1845 | margin: 2px 0; |
319c6529 RK |
1846 | -moz-margin-start: 3px; |
1847 | } | |
1848 | ||
ffce2402 | 1849 | #urlbar { |
f0071a71 RK |
1850 | /* make color as light as possible to deal with dark non-domain parts */ |
1851 | color: #FFBFFF; | |
ffce2402 RK |
1852 | } |
1853 | ||
319c6529 RK |
1854 | #urlbar:-moz-lwtheme, |
1855 | .searchbar-textbox:-moz-lwtheme { | |
1856 | /* background-color: rgba(255,255,255,.8); | |
1857 | @navbarTextboxCustomBorder@ | |
1858 | color: black; */ | |
1859 | } | |
1860 | ||
c0f6797e RK |
1861 | #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]), |
1862 | .searchbar-textbox:-moz-lwtheme:hover:not([focused]) { | |
1863 | /* background-color: rgba(255,255,255,.9);*/ | |
1864 | } | |
1865 | ||
1866 | #urlbar:-moz-lwtheme[focused]:not([readonly]), | |
1867 | .searchbar-textbox:-moz-lwtheme[focused] { | |
1868 | /* background-color: white;*/ | |
1869 | } | |
1870 | ||
2c62526c | 1871 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar { |
2299146f RK |
1872 | /* -moz-border-start: none; |
1873 | margin-left: 0;*/ | |
2c62526c RK |
1874 | } |
1875 | ||
1876 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { | |
1877 | /* border-top-left-radius: 0; | |
1878 | border-bottom-left-radius: 0; */ | |
1879 | } | |
1880 | ||
1881 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { | |
1882 | /* border-top-right-radius: 0; | |
1883 | border-bottom-right-radius: 0; */ | |
1884 | } | |
1885 | ||
1886 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper { | |
1887 | /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/ | |
aec5dfad | 1888 | /* -moz-margin-start: -5px; */ |
2c62526c RK |
1889 | } |
1890 | ||
fff8097b RK |
1891 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl), |
1892 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { | |
2c62526c | 1893 | /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
71a617ff | 1894 | transform: scaleX(-1); |
8ad8bf83 RK |
1895 | } |
1896 | ||
2c62526c RK |
1897 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) { |
1898 | -moz-box-direction: reverse; | |
1899 | } | |
1900 | ||
a7145e95 RK |
1901 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
1902 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { | |
319c6529 RK |
1903 | color: #E7ADE7; |
1904 | } | |
1905 | ||
319c6529 RK |
1906 | #urlbar-container { |
1907 | -moz-box-orient: horizontal; | |
1908 | -moz-box-align: stretch; | |
1909 | } | |
1910 | ||
9abeb12c RK |
1911 | .urlbar-textbox-container { |
1912 | -moz-box-align: stretch; | |
1913 | } | |
1914 | ||
a40f6a79 RK |
1915 | .urlbar-input-box { |
1916 | -moz-margin-start: 0; | |
1917 | } | |
1918 | ||
319c6529 | 1919 | #urlbar-icons { |
319c6529 RK |
1920 | -moz-box-align: center; |
1921 | } | |
1922 | ||
1923 | .urlbar-icon { | |
b8384c33 | 1924 | padding: 0 2px; |
ffce2402 RK |
1925 | } |
1926 | ||
1927 | .searchbar-engine-button, | |
1928 | .search-go-container { | |
4b686546 RK |
1929 | padding: 2px; |
1930 | } | |
1931 | ||
1932 | .search-go-container > .search-go-button { | |
1933 | padding: 0; | |
319c6529 RK |
1934 | } |
1935 | ||
ffce2402 RK |
1936 | .urlbar-icon:hover { |
1937 | } | |
1938 | ||
1939 | .urlbar-icon[open="true"], | |
1940 | .urlbar-icon:hover:active { | |
1941 | } | |
1942 | ||
319c6529 RK |
1943 | #urlbar-search-splitter { |
1944 | min-width: 6px; | |
1945 | -moz-margin-start: -3px; | |
1946 | border: none; | |
1947 | background: transparent; | |
1948 | } | |
1949 | ||
f0071a71 | 1950 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
319c6529 RK |
1951 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
1952 | -moz-margin-start: 0; | |
1953 | } | |
1954 | ||
e20c83c3 RK |
1955 | #urlbar-display-box { |
1956 | } | |
1957 | ||
8922acc9 | 1958 | .urlbar-display { |
319c6529 RK |
1959 | -moz-border-end: 1px solid #9C9CFF; |
1960 | -moz-margin-end: 3px; | |
ab799a7a RK |
1961 | margin-top: 0; |
1962 | margin-bottom: 0; | |
a40f6a79 | 1963 | -moz-margin-start: 0; |
ab799a7a RK |
1964 | color: #8050B0; |
1965 | } | |
1966 | ||
26125509 RK |
1967 | #search-container { |
1968 | min-width: calc(54px + 11ch); | |
1969 | } | |
1970 | ||
319c6529 RK |
1971 | /* identity box */ |
1972 | ||
1973 | #identity-box { | |
319c6529 | 1974 | border-radius: 2px; |
85cfb236 | 1975 | font-size: .9em; |
319c6529 RK |
1976 | } |
1977 | ||
e20c83c3 RK |
1978 | #identity-box:-moz-locale-dir(ltr) { |
1979 | /* border-top-left-radius: 1.5px; | |
1980 | border-bottom-left-radius: 1.5px;*/ | |
1981 | } | |
1982 | ||
1983 | #identity-box:-moz-locale-dir(rtl) { | |
1984 | /* border-top-right-radius: 1.5px; | |
1985 | border-bottom-right-radius: 1.5px;*/ | |
1986 | } | |
1987 | ||
8ad8bf83 | 1988 | #notification-popup-box:not([hidden]) + #identity-box { |
5517da5a | 1989 | -moz-padding-start: 10px !important; |
8ad8bf83 RK |
1990 | border-radius: 0; |
1991 | } | |
1992 | ||
fff8097b | 1993 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { |
d15d08bf | 1994 | /* border-radius: 0; */ |
2a5b7882 RK |
1995 | -moz-padding-start: 2px; |
1996 | -moz-padding-end: 2px; | |
1997 | -moz-margin-end: 1px; | |
8ad8bf83 RK |
1998 | } |
1999 | ||
2c62526c RK |
2000 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box { |
2001 | transition: padding-left, padding-right; | |
2002 | } | |
2003 | ||
2c62526c | 2004 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
26125509 | 2005 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
2a5b7882 | 2006 | padding-left: 2px; |
8ad8bf83 RK |
2007 | } |
2008 | ||
2c62526c | 2009 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
26125509 | 2010 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
2a5b7882 | 2011 | padding-right: 2px; |
8ad8bf83 RK |
2012 | } |
2013 | ||
2c62526c | 2014 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > |
26125509 | 2015 | #notification-popup-box[hidden] + #identity-box { |
8ad8bf83 | 2016 | /* forward button hiding is delayed when hovered */ |
71a617ff | 2017 | transition-delay: 100s; |
8ad8bf83 RK |
2018 | } |
2019 | ||
2c62526c | 2020 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
26125509 | 2021 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 | 2022 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 2023 | padding-left: 2.01px; |
8ad8bf83 RK |
2024 | } |
2025 | ||
2c62526c | 2026 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
26125509 | 2027 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 | 2028 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 2029 | padding-right: 2.01px; |
8ad8bf83 RK |
2030 | } |
2031 | ||
56859d76 RK |
2032 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
2033 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
a40f6a79 | 2034 | -moz-margin-end: 3px; |
319c6529 RK |
2035 | } |
2036 | ||
56859d76 | 2037 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), |
37953ab4 | 2038 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
a40f6a79 RK |
2039 | border-top-right-radius: 0; |
2040 | border-bottom-right-radius: 0; | |
319c6529 RK |
2041 | } |
2042 | ||
56859d76 | 2043 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
37953ab4 | 2044 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2045 | border-top-left-radius: 0; |
2046 | border-bottom-left-radius: 0; | |
319c6529 RK |
2047 | } |
2048 | ||
a40f6a79 | 2049 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
e548e22e | 2050 | var(--verified-identity-box-backgroundcolor); |
319c6529 RK |
2051 | } |
2052 | ||
2053 | #identity-box:-moz-focusring { | |
2054 | outline: 1px dotted #008484; | |
f993773d | 2055 | outline-offset: -1px; |
319c6529 RK |
2056 | } |
2057 | ||
2058 | #identity-box.verifiedDomain:-moz-focusring, | |
2059 | #identity-box.verifiedIdentity:-moz-focusring { | |
2060 | outline-color: #000000; | |
2061 | } | |
2062 | ||
2063 | #identity-icon-labels { | |
2064 | -moz-margin-start: 1px; | |
2065 | -moz-margin-end: 3px; | |
319c6529 RK |
2066 | } |
2067 | ||
2068 | /* Location bar dropmarker */ | |
2069 | ||
38cfeb47 | 2070 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 2071 | background-color: transparent; |
319c6529 RK |
2072 | } |
2073 | ||
00f971bc RK |
2074 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, |
2075 | #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { | |
38cfeb47 RK |
2076 | border: none; |
2077 | border-radius: 0px; | |
319c6529 RK |
2078 | } |
2079 | ||
ffce2402 RK |
2080 | .urlbar-history-dropmarker:hover { |
2081 | } | |
2082 | ||
2083 | .urlbar-history-dropmarker:hover:active, | |
2084 | .urlbar-history-dropmarker[open="true"] { | |
2085 | } | |
2086 | ||
319c6529 RK |
2087 | /* page proxy icon */ |
2088 | ||
e7c8bab1 RK |
2089 | /* === BEGIN identity-block.inc.css === */ |
2090 | ||
e548e22e RK |
2091 | :root { |
2092 | --identity-box-verified-color: #008484; | |
e7c8bab1 | 2093 | /* Default theme does different color per channel, we can't as they do it build-time. */ |
e548e22e RK |
2094 | --identity-box-chrome-color: #9C9CFF; |
2095 | } | |
2096 | ||
2097 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { | |
2098 | color: var(--identity-box-chrome-color); | |
2099 | -moz-border-end: 1px solid var(--identity-box-chrome-color); | |
e7c8bab1 RK |
2100 | } |
2101 | ||
2102 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
e548e22e RK |
2103 | color: var(--identity-box-verified-color); |
2104 | -moz-border-end: 1px solid var(--identity-box-verified-color); | |
e7c8bab1 RK |
2105 | } |
2106 | ||
2107 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, | |
2108 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
2109 | background-position: right; | |
2110 | background-size: 1px; | |
2111 | background-repeat: no-repeat; | |
2112 | } | |
2113 | ||
2114 | /* page proxy icon */ | |
2115 | ||
4d58ff64 | 2116 | #page-proxy-favicon { |
319c6529 RK |
2117 | width: 16px; |
2118 | height: 16px; | |
a40f6a79 | 2119 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
00f971bc | 2120 | margin: 2px; |
e7c8bab1 RK |
2121 | } |
2122 | ||
2123 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { | |
2124 | list-style-image: url("chrome://branding/content/identity-icons-brand.png"); | |
319c6529 RK |
2125 | } |
2126 | ||
2a5b7882 | 2127 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2128 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
2129 | } | |
2130 | ||
2a5b7882 | 2131 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2132 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
2133 | } | |
2134 | ||
56ab361a RK |
2135 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
2136 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); | |
2137 | } | |
2138 | ||
e7c8bab1 RK |
2139 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
2140 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2141 | } | |
2142 | ||
2143 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { | |
2144 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2145 | } | |
2146 | ||
2147 | #page-proxy-favicon[pageproxystate="invalid"] { | |
2148 | opacity: 0.3; | |
2149 | } | |
2150 | ||
2151 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { | |
2152 | list-style-image: url("chrome://branding/content/icon64.png"); | |
2153 | } | |
2154 | ||
2155 | #identity-popup-brandName { | |
2156 | font-weight: bold; | |
2157 | font-size: 1.25em; | |
2158 | margin-top: .5em; | |
2159 | margin-bottom: .5em; | |
2160 | } | |
2161 | ||
2162 | #identity-popup-content-box { | |
2163 | max-width: 50ch; | |
2164 | } | |
2165 | ||
2166 | /* === END identity-block.inc.css === */ | |
2167 | ||
2168 | #page-proxy-favicon { | |
2169 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2170 | } | |
2171 | ||
3b1da406 | 2172 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon { |
c0f6797e RK |
2173 | /* -moz-margin-end: 1px;*/ |
2174 | } | |
2175 | ||
2a5b7882 | 2176 | #identity-box:hover > #page-proxy-favicon { |
a40f6a79 RK |
2177 | -moz-image-region: rect(0, 32px, 16px, 16px); |
2178 | } | |
2179 | ||
2a5b7882 RK |
2180 | #identity-box:hover:active > #page-proxy-favicon, |
2181 | #identity-box[open=true] > #page-proxy-favicon { | |
a40f6a79 | 2182 | -moz-image-region: rect(0, 48px, 16px, 32px); |
acb0e9b8 | 2183 | } |
2184 | ||
2a5b7882 RK |
2185 | #identity-box:hover { |
2186 | background-color: #FFCF00; | |
7092015d | 2187 | color: #000000; |
2a5b7882 RK |
2188 | } |
2189 | ||
2190 | #identity-box:hover:active, | |
2191 | #identity-box[open=true] { | |
2192 | background-color: #FF9F00; | |
7092015d | 2193 | color: #000000; |
2a5b7882 RK |
2194 | } |
2195 | ||
56859d76 RK |
2196 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, |
2197 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, | |
2198 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { | |
2199 | background-color: #9C9CFF; | |
2200 | color: #000000; | |
2201 | } | |
2202 | ||
387e6560 RK |
2203 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
2204 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, | |
2205 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { | |
2a5b7882 RK |
2206 | background-color: #008484; |
2207 | color: #000000; | |
2208 | } | |
2209 | ||
319c6529 RK |
2210 | /* autocomplete */ |
2211 | ||
319c6529 RK |
2212 | #treecolAutoCompleteImage { |
2213 | max-width: 36px; | |
2214 | } | |
acb0e9b8 | 2215 | |
319c6529 RK |
2216 | .ac-result-type-bookmark, |
2217 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 2218 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 2219 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 2220 | width: 16px; |
319c6529 | 2221 | height: 16px; |
acb0e9b8 | 2222 | } |
2223 | ||
c0f6797e RK |
2224 | richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark, |
2225 | .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) { | |
2226 | /* -moz-image-region: rect(0px 48px 16px 32px);*/ | |
2227 | } | |
2228 | ||
319c6529 | 2229 | .ac-result-type-keyword, |
8922acc9 RK |
2230 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), |
2231 | richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { | |
2232 | list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); | |
acb0e9b8 | 2233 | width: 16px; |
2234 | height: 16px; | |
2235 | } | |
2236 | ||
8922acc9 RK |
2237 | .ac-result-type-keyword[selected="true"], |
2238 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), | |
2239 | richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { | |
2240 | list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); | |
2241 | } | |
2242 | ||
319c6529 RK |
2243 | .ac-result-type-tag, |
2244 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 2245 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 2246 | width: 16px; |
319c6529 RK |
2247 | height: 16px; |
2248 | } | |
acb0e9b8 | 2249 | |
319c6529 | 2250 | .ac-comment { |
c0f6797e | 2251 | font-size: 1.06em; |
acb0e9b8 | 2252 | } |
319c6529 RK |
2253 | |
2254 | .ac-extra > .ac-comment { | |
c0f6797e | 2255 | font-size: 1em; |
acb0e9b8 | 2256 | } |
319c6529 RK |
2257 | |
2258 | .ac-url-text, | |
2259 | .ac-action-text { | |
c0f6797e | 2260 | font-size: 1em; |
319c6529 | 2261 | color: #9C9CFF; |
acb0e9b8 | 2262 | } |
319c6529 RK |
2263 | |
2264 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
2265 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
85cfb236 RK |
2266 | -moz-image-region: rect(0, 16px, 16px, 0); |
2267 | padding: 0 3px; | |
2268 | } | |
2269 | ||
2270 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { | |
2271 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
acb0e9b8 | 2272 | } |
2273 | ||
319c6529 RK |
2274 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
2275 | color: #8050B0; | |
2276 | } | |
acb0e9b8 | 2277 | |
319c6529 RK |
2278 | .ac-comment[selected="true"], |
2279 | .ac-url-text[selected="true"], | |
2280 | .ac-action-text[selected="true"] { | |
2281 | color: inherit !important; | |
acb0e9b8 | 2282 | } |
2283 | ||
c1f7cc84 RK |
2284 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
2285 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
2286 | { |
2287 | color: #8050B0; | |
2288 | font-size: smaller; | |
acb0e9b8 | 2289 | } |
319c6529 RK |
2290 | |
2291 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
2292 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 2293 | } |
2294 | ||
319c6529 RK |
2295 | /* combined go/reload/stop button in location bar */ |
2296 | ||
2297 | #urlbar > toolbarbutton { | |
9abeb12c | 2298 | -moz-margin-start: 0; |
ffce2402 | 2299 | padding: 0 2px; |
319c6529 RK |
2300 | background-origin: border-box; |
2301 | border: none; | |
52d7b436 | 2302 | list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); |
9abeb12c RK |
2303 | -moz-border-start: 1px solid #9C9CFF; |
2304 | } | |
2305 | ||
2306 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { | |
38cfeb47 RK |
2307 | border-top-left-radius: 0px; |
2308 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 2309 | } |
acb0e9b8 | 2310 | |
9abeb12c | 2311 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
2312 | border-top-right-radius: 0px; |
2313 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
2314 | } |
2315 | ||
46e71434 | 2316 | #urlbar > toolbarbutton:not([disabled=true]):active:hover, |
dce90fef RK |
2317 | #urlbar-reload-button:not(:hover) { |
2318 | -moz-border-start-style: none; | |
714b11f6 | 2319 | -moz-padding-start: 3px; |
dce90fef RK |
2320 | } |
2321 | ||
c0f6797e RK |
2322 | #urlbar-reload-button { |
2323 | -moz-image-region: rect(0px, 14px, 14px, 0px); | |
acb0e9b8 | 2324 | } |
2325 | ||
46e71434 | 2326 | #urlbar-reload-button[disabled=true] { |
c0f6797e | 2327 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 2328 | } |
2329 | ||
46e71434 | 2330 | #urlbar-reload-button:not([disabled=true]):hover { |
c0f6797e | 2331 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
ffce2402 RK |
2332 | } |
2333 | ||
c0f6797e RK |
2334 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
2335 | transform: scaleX(-1); | |
acb0e9b8 | 2336 | } |
2337 | ||
c0f6797e RK |
2338 | #urlbar-go-button { |
2339 | -moz-image-region: rect(0, 42px, 14px, 28px); | |
38cfeb47 RK |
2340 | } |
2341 | ||
fff8097b | 2342 | #urlbar-go-button:hover { |
c0f6797e | 2343 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
acb0e9b8 | 2344 | } |
2345 | ||
c0f6797e RK |
2346 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
2347 | transform: scaleX(-1); | |
acb0e9b8 | 2348 | } |
319c6529 RK |
2349 | |
2350 | #urlbar-stop-button { | |
ffce2402 | 2351 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 2352 | } |
319c6529 RK |
2353 | |
2354 | #urlbar-stop-button:hover { | |
ffce2402 | 2355 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 2356 | } |
2357 | ||
319c6529 RK |
2358 | /* popup blocker button */ |
2359 | ||
2360 | #page-report-button { | |
2361 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
2362 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 2363 | } |
319c6529 | 2364 | |
71bac478 | 2365 | #page-report-button:hover , |
319c6529 RK |
2366 | #page-report-button:hover:active, |
2367 | #page-report-button[open="true"] { | |
71bac478 | 2368 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 2369 | } |
2370 | ||
bcb9d005 RK |
2371 | /* === BEGIN readinglist.inc.css === */ |
2372 | ||
2373 | /* Reading List button */ | |
2374 | ||
2375 | #urlbar:not([focused]):not(:hover) #readinglist-addremove-button { | |
2376 | opacity: 0; | |
2377 | width: 0px; | |
2378 | } | |
2379 | ||
2380 | #readinglist-addremove-button { | |
2381 | list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage"); | |
2382 | -moz-image-region: rect(0, 14px, 14px, 0); | |
2383 | transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms; | |
2384 | opacity: 1; | |
2385 | width: 20px; | |
2386 | } | |
2387 | ||
2388 | #readinglist-addremove-button:hover { | |
2389 | list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover"); | |
2390 | } | |
2391 | ||
2392 | #readinglist-addremove-button:active { | |
2393 | list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active"); | |
2394 | } | |
2395 | ||
2396 | #readinglist-addremove-button[already-added="true"] { | |
2397 | list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded"); | |
2398 | } | |
2399 | ||
2400 | #readinglist-addremove-button[already-added="true"]:hover { | |
2401 | list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover"); | |
2402 | } | |
2403 | ||
2404 | #readinglist-addremove-button[already-added="true"]:active { | |
2405 | list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active"); | |
2406 | } | |
2407 | ||
2408 | /* === END readinglist.inc.css === */ | |
2409 | ||
2410 | /* Reader mode button */ | |
2411 | ||
2412 | #reader-mode-button { | |
2413 | list-style-image: url("chrome://browser/skin/readerMode.svg"); | |
2414 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2415 | } | |
2416 | ||
2417 | #reader-mode-button:hover, | |
2418 | #reader-mode-button[readeractive]:hover { | |
2419 | -moz-image-region: rect(0, 32px, 16px, 16px); | |
2420 | } | |
2421 | ||
2422 | #reader-mode-button:hover:active, | |
2423 | #reader-mode-button[readeractive] { | |
2424 | -moz-image-region: rect(0, 48px, 16px, 32px); | |
2425 | } | |
2426 | ||
c4460289 RK |
2427 | /* social share panel */ |
2428 | ||
20752032 RK |
2429 | .social-share-frame { |
2430 | min-width: 756px; | |
c4460289 RK |
2431 | height: 150px; |
2432 | } | |
2433 | ||
20752032 RK |
2434 | #share-container { |
2435 | min-width: 756px; | |
2436 | background-color: white; | |
2437 | background-repeat: no-repeat; | |
2438 | background-position: center center; | |
c4460289 | 2439 | } |
20752032 RK |
2440 | #share-container[loading] { |
2441 | background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png); | |
2442 | } | |
2443 | #share-container > browser { | |
2444 | transition: opacity 150ms ease-in-out; | |
2445 | opacity: 1; | |
2446 | } | |
2447 | #share-container[loading] > browser { | |
2448 | opacity: 0; | |
c4460289 RK |
2449 | } |
2450 | ||
20752032 RK |
2451 | .social-share-toolbar { |
2452 | border-bottom: 1px solid #9C9CFF; | |
2453 | padding: 2px; | |
c4460289 RK |
2454 | } |
2455 | ||
20752032 RK |
2456 | #social-share-provider-buttons { |
2457 | padding: 0; | |
2458 | margin: 0; | |
c4460289 RK |
2459 | } |
2460 | ||
20752032 RK |
2461 | .share-provider-button { |
2462 | padding: 5px; | |
2463 | margin: 2px; | |
c4460289 RK |
2464 | } |
2465 | ||
20752032 | 2466 | .share-provider-button > .toolbarbutton-text { |
c4460289 RK |
2467 | display: none; |
2468 | } | |
20752032 | 2469 | .share-provider-button > .toolbarbutton-icon { |
c4460289 RK |
2470 | width: 16px; |
2471 | min-height: 16px; | |
2472 | max-height: 16px; | |
2473 | } | |
2474 | ||
5a199ba1 RK |
2475 | toolbarbutton[type="socialmark"] > .toolbarbutton-icon { |
2476 | width: auto; | |
2477 | height: auto; | |
2478 | max-width: 32px; | |
2479 | max-height: 24px; | |
2480 | } | |
2481 | ||
c4460289 RK |
2482 | /* fixup corners for share panel */ |
2483 | .social-panel > .social-panel-frame { | |
2484 | border-radius: inherit; | |
2485 | } | |
2486 | ||
2487 | #social-share-panel { | |
c4460289 | 2488 | min-height: 100px; |
20752032 | 2489 | min-width: 766px; |
c4460289 RK |
2490 | } |
2491 | ||
20752032 | 2492 | #share-container, |
c4460289 | 2493 | .social-share-frame { |
e2734cc7 | 2494 | border-top-left-radius: 0; |
c4460289 | 2495 | border-bottom-left-radius: inherit; |
e2734cc7 | 2496 | border-top-right-radius: 0; |
20752032 | 2497 | border-bottom-right-radius: inherit; |
c4460289 RK |
2498 | } |
2499 | ||
20752032 | 2500 | #social-share-panel > .social-share-toolbar { |
e2734cc7 | 2501 | border-top-left-radius: inherit; |
e2734cc7 | 2502 | border-top-right-radius: inherit; |
e2734cc7 RK |
2503 | } |
2504 | ||
20752032 | 2505 | #social-share-provider-buttons { |
c4460289 | 2506 | border-top-left-radius: inherit; |
e2734cc7 | 2507 | border-top-right-radius: inherit; |
e2734cc7 RK |
2508 | } |
2509 | ||
889649fd RK |
2510 | /* social recommending panel */ |
2511 | ||
a6757852 | 2512 | #social-mark-button { |
d7cfd768 | 2513 | -moz-image-region: rect(0, 16px, 16px, 0); |
889649fd RK |
2514 | } |
2515 | ||
c0f6797e | 2516 | /* bookmarks menu-button */ |
319c6529 | 2517 | |
c0f6797e RK |
2518 | #bookmarks-menu-button.bookmark-item { |
2519 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
2520 | -moz-image-region: rect(0px 16px 16px 0px); | |
acb0e9b8 | 2521 | } |
319c6529 | 2522 | |
c0f6797e RK |
2523 | #bookmarks-menu-button.bookmark-item[starred] { |
2524 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 2525 | } |
319c6529 | 2526 | |
c0f6797e RK |
2527 | #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
2528 | -moz-margin-start: 5px; | |
acb0e9b8 | 2529 | } |
2530 | ||
c0f6797e RK |
2531 | #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
2532 | padding-top: 2px; | |
2533 | padding-bottom: 2px; | |
71bac478 RK |
2534 | } |
2535 | ||
c0f6797e RK |
2536 | #BMB_bookmarksPopup[side="top"], |
2537 | #BMB_bookmarksPopup[side="bottom"] { | |
2538 | margin-left: -20px; | |
2539 | margin-right: -20px; | |
71bac478 RK |
2540 | } |
2541 | ||
c0f6797e RK |
2542 | #BMB_bookmarksPopup[side="left"], |
2543 | #BMB_bookmarksPopup[side="right"] { | |
2544 | margin-top: -20px; | |
2545 | margin-bottom: -20px; | |
acb0e9b8 | 2546 | } |
319c6529 RK |
2547 | |
2548 | /* bookmarking panel */ | |
c0f6797e | 2549 | |
319c6529 RK |
2550 | #editBookmarkPanelStarIcon { |
2551 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
2552 | width: 48px; | |
2553 | height: 48px; | |
acb0e9b8 | 2554 | } |
319c6529 RK |
2555 | |
2556 | #editBookmarkPanelStarIcon[unstarred] { | |
2557 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 2558 | } |
2559 | ||
319c6529 RK |
2560 | #editBookmarkPanelTitle { |
2561 | font-size: 130%; | |
acb0e9b8 | 2562 | } |
319c6529 RK |
2563 | |
2564 | #editBookmarkPanelHeader, | |
2565 | #editBookmarkPanelContent { | |
2566 | margin-bottom: .5em; | |
acb0e9b8 | 2567 | } |
319c6529 RK |
2568 | |
2569 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
2570 | #editBMPanel_folderTree { | |
2571 | min-width: 27em; | |
acb0e9b8 | 2572 | } |
2573 | ||
f993773d | 2574 | .panel-promo-box { |
46e71434 RK |
2575 | margin: 5px 0 -6px; |
2576 | padding: 5px 0; | |
889649fd | 2577 | border-top: 1px solid #9C9CFF; |
f0eab82c RK |
2578 | border-bottom-left-radius: 5px; |
2579 | border-bottom-right-radius: 5px; | |
f993773d RK |
2580 | } |
2581 | ||
2582 | .panel-promo-icon { | |
2583 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
2584 | -moz-margin-end: 10px; | |
2585 | vertical-align: middle; | |
2586 | } | |
2587 | ||
2588 | .panel-promo-closebutton { | |
2589 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
2590 | -moz-margin-end: -3px; |
2591 | margin-top: -3px; | |
f993773d RK |
2592 | } |
2593 | ||
2594 | .panel-promo-closebutton:hover { | |
2595 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2596 | } | |
2597 | ||
2598 | .panel-promo-closebutton:hover:active { | |
2599 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2600 | } | |
2601 | ||
2602 | .panel-promo-closebutton > .toolbarbutton-text { | |
2603 | padding: 0; | |
f993773d RK |
2604 | } |
2605 | ||
319c6529 RK |
2606 | /* ::::: content area ::::: */ |
2607 | ||
bcb9d005 RK |
2608 | #sidebar-box { |
2609 | background-color: #9C9CFF; | |
2610 | color: #000000; | |
2611 | } | |
2612 | ||
319c6529 | 2613 | #sidebar { |
bcb9d005 RK |
2614 | background-color: #000000; |
2615 | } | |
2616 | ||
2617 | #sidebar-splitter { | |
2618 | -moz-margin-start: 0; | |
2619 | } | |
2620 | ||
2621 | #sidebar-header { | |
2622 | color: #000000; | |
2623 | padding: 2px; | |
acb0e9b8 | 2624 | } |
319c6529 RK |
2625 | |
2626 | #sidebar-title { | |
2627 | -moz-padding-start: 0px; | |
acb0e9b8 | 2628 | } |
319c6529 | 2629 | |
589b5528 RK |
2630 | #sidebar-header > .close-icon { |
2631 | /* padding: 4px 2px; | |
2632 | margin: 0; | |
2633 | border: none;*/ | |
2634 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
2635 | } | |
2636 | ||
2637 | #sidebar-header > .close-icon:hover, | |
2638 | #sidebar-header > .close-icon:hover:active { | |
2639 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2640 | } | |
2641 | ||
bcb9d005 RK |
2642 | #sidebar-splitter:-moz-locale-dir(ltr), |
2643 | #sidebar:-moz-locale-dir(ltr) { | |
2644 | border-radius: 0 5px 0 0; | |
2645 | } | |
2646 | ||
2647 | #sidebar-splitter:-moz-locale-dir(rtl), | |
2648 | #sidebar:-moz-locale-dir(rtl) { | |
2649 | border-radius: 5px 0 0 0; | |
2650 | } | |
2651 | ||
fe524e0c RK |
2652 | .browserContainer > findbar { |
2653 | /* | |
2654 | background-color: -moz-dialog; | |
2655 | color: -moz-DialogText; | |
2656 | */ | |
2657 | } | |
2658 | ||
319c6529 | 2659 | /* Tabstrip */ |
b36fc72e | 2660 | |
c0f6797e | 2661 | #TabsToolbar { |
e20c83c3 RK |
2662 | min-height: 0; |
2663 | padding: 0; | |
2664 | -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar"); | |
2665 | } | |
2666 | ||
b36fc72e | 2667 | #TabsToolbar .toolbar-holder { |
c1f7cc84 | 2668 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 2669 | } |
2670 | ||
b36fc72e | 2671 | #main-window[disablechrome] #TabsToolbar, |
319c6529 | 2672 | #TabsToolbar[tabsontop="false"] { |
8b5fc82e | 2673 | border-bottom: 1px solid #008484; |
acb0e9b8 | 2674 | } |
319c6529 | 2675 | |
6dc70335 RK |
2676 | /* === BEGIN tabs.inc.css === */ |
2677 | ||
368d0b7f RK |
2678 | :root { |
2679 | /* --tab-toolbar-navbar-overlap: 1px; */ | |
2680 | /* --tab-min-height: 31px; */ | |
d533ec21 RK |
2681 | /* --tab-curve-width: 30px; */ |
2682 | /* --tab-curve-half-width: 15px; */ | |
368d0b7f RK |
2683 | } |
2684 | ||
319c6529 | 2685 | .tabbrowser-tab, |
43ee1307 RK |
2686 | .tabs-newtab-button, |
2687 | #TabsToolbar > #new-tab-button { | |
319c6529 | 2688 | margin-top: 0px; |
acb0e9b8 | 2689 | } |
319c6529 | 2690 | |
43ee1307 | 2691 | .tabbrowser-tab { |
57fc408c RK |
2692 | padding: 1px 4px 2px; |
2693 | } | |
2694 | ||
2695 | .tabbrowser-tab:first-of-type { | |
2696 | -moz-margin-start: 2px; | |
2697 | } | |
2698 | ||
43ee1307 RK |
2699 | .tabs-newtab-button, |
2700 | #TabsToolbar > #new-tab-button { | |
57fc408c RK |
2701 | border-radius: 8px 8px 0px 0px; |
2702 | -moz-margin-start: 0; | |
2703 | } | |
2704 | ||
43ee1307 RK |
2705 | .tabs-newtab-button:not(:hover), |
2706 | #TabsToolbar > #new-tab-button:not(:hover) { | |
57fc408c RK |
2707 | background-color: #C09070; |
2708 | } | |
2709 | ||
fe524e0c RK |
2710 | .tabbrowser-tab[remote] { |
2711 | text-decoration: underline; | |
2712 | } | |
2713 | ||
c0f6797e RK |
2714 | /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ |
2715 | .tabbrowser-tab[selected=true] { | |
2716 | /* position: relative; | |
2717 | z-index: 2;*/ | |
acb0e9b8 | 2718 | } |
2719 | ||
c0f6797e | 2720 | .tab-background-middle { |
acb0e9b8 | 2721 | } |
2722 | ||
c0f6797e | 2723 | .tab-content { |
acb0e9b8 | 2724 | } |
319c6529 | 2725 | |
d533ec21 RK |
2726 | .tab-content[pinned] { |
2727 | } | |
2728 | ||
2729 | .tab-throbber, | |
c0f6797e RK |
2730 | .tab-icon-image, |
2731 | .tab-close-button { | |
acb0e9b8 | 2732 | } |
2733 | ||
319c6529 RK |
2734 | .tab-throbber, |
2735 | .tab-icon-image { | |
319c6529 | 2736 | height: 16px; |
c0f6797e | 2737 | width: 16px; |
d533ec21 | 2738 | -moz-margin-end: 3px; |
c0f6797e RK |
2739 | } |
2740 | ||
2741 | .tab-icon-image { | |
dce90fef | 2742 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
613daf44 | 2743 | } |
2744 | ||
d533ec21 RK |
2745 | .tab-icon-overlay { |
2746 | width: 16px; | |
2747 | height: 16px; | |
2748 | /* margin-top: 10px; */ | |
2749 | -moz-margin-start: -16px; | |
2750 | display: none; | |
2751 | } | |
2752 | ||
2753 | .tab-icon-overlay[crashed] { | |
2754 | display: -moz-box; | |
2755 | list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg"); | |
2756 | } | |
2757 | ||
3d64e0ce | 2758 | .tab-throbber[busy] { |
95f333af | 2759 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
613daf44 | 2760 | } |
319c6529 RK |
2761 | |
2762 | .tab-throbber[progress] { | |
95f333af | 2763 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
613daf44 | 2764 | } |
319c6529 | 2765 | |
319c6529 RK |
2766 | .tab-throbber[pinned], |
2767 | .tab-icon-image[pinned] { | |
2768 | -moz-margin-start: 2px; | |
2769 | -moz-margin-end: 2px; | |
613daf44 | 2770 | } |
319c6529 | 2771 | |
c0f6797e | 2772 | .tab-label { |
aec5dfad RK |
2773 | /* this needs to add up to the 16px of the icon image */ |
2774 | height: 12px; | |
2775 | margin-top: 2px !important; | |
2776 | margin-bottom: 2px !important; | |
c0f6797e RK |
2777 | } |
2778 | ||
2779 | .tab-close-button { | |
2780 | margin-top: 1px; | |
2781 | padding: 0; | |
2782 | } | |
2783 | ||
2784 | .tab-background, | |
2785 | .tabs-newtab-button { | |
2786 | /* overlap the tab curves */ | |
2787 | } | |
2788 | ||
2789 | .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { | |
2790 | } | |
2791 | ||
93c91f62 RK |
2792 | /* Tab Overflow */ |
2793 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), | |
2794 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { | |
2795 | } | |
2796 | ||
2797 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), | |
2798 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { | |
2799 | } | |
2800 | ||
2801 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { | |
2802 | } | |
2803 | ||
2804 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { | |
2805 | } | |
2806 | ||
2807 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], | |
2808 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { | |
2809 | } | |
2810 | ||
2811 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, | |
2812 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { | |
2813 | } | |
2814 | ||
c0f6797e RK |
2815 | .tab-background-start[selected=true]::after, |
2816 | .tab-background-start[selected=true]::before, | |
2817 | .tab-background-start, | |
2818 | .tab-background-end, | |
2819 | .tab-background-end[selected=true]::after, | |
2820 | .tab-background-end[selected=true]::before { | |
2821 | } | |
2822 | ||
2823 | .tabbrowser-tab:not([selected=true]), | |
2824 | .tabbrowser-tab:-moz-lwtheme { | |
2825 | } | |
2826 | ||
319c6529 | 2827 | /* tabbrowser-tab focus ring */ |
c0f6797e | 2828 | .tabbrowser-tab:focus { |
319c6529 | 2829 | outline: 1px dotted; |
613daf44 | 2830 | } |
319c6529 | 2831 | |
c0f6797e RK |
2832 | /* Selected tab */ |
2833 | ||
2834 | .tabbrowser-tab[selected="true"] { | |
2835 | } | |
2836 | ||
2837 | /* End selected tab */ | |
2838 | ||
c0f6797e RK |
2839 | /* Tab pointer-events */ |
2840 | /* | |
2841 | .tabbrowser-tab { | |
2842 | pointer-events: none; | |
2843 | } | |
2844 | ||
2845 | .tab-background-middle, | |
2846 | .tabs-newtab-button, | |
2847 | .tab-close-button { | |
2848 | pointer-events: auto; | |
2849 | } | |
2850 | */ | |
2851 | /* Pinned tabs */ | |
2852 | ||
2853 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { | |
2854 | background-color: #E7ADE7; | |
2855 | } | |
2856 | ||
2857 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { | |
2858 | background-color: #3333FF; | |
2859 | color: #000000; | |
2860 | } | |
2861 | ||
2862 | /* New tab button */ | |
2863 | ||
2864 | .tabs-newtab-button { | |
2865 | width: 28px; | |
d533ec21 | 2866 | /* width: calc(36px + var(--tab-curve-width)); */ |
c0f6797e RK |
2867 | } |
2868 | ||
2869 | /* === END tabs.inc.css === */ | |
2870 | ||
43371c9b RK |
2871 | /* Background tabs: |
2872 | * | |
2873 | * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top | |
2874 | * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by | |
2875 | * the titlebar. We don't need this in fullscreen since window dragging is not an issue there. | |
2876 | */ | |
2877 | #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) { | |
2878 | /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/ | |
2879 | } | |
2880 | ||
8ad8bf83 | 2881 | /* Tab DnD indicator */ |
319c6529 RK |
2882 | .tab-drop-indicator { |
2883 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 2884 | margin-bottom: -11px; |
613daf44 | 2885 | } |
2886 | ||
319c6529 RK |
2887 | /* Tab close button */ |
2888 | .tab-close-button { | |
319c6529 RK |
2889 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
2890 | } | |
acb0e9b8 | 2891 | |
319c6529 RK |
2892 | .tab-close-button:hover, |
2893 | .tab-close-button:hover[selected="true"] { | |
2894 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2895 | } |
319c6529 RK |
2896 | |
2897 | .tab-close-button:hover:active, | |
2898 | .tab-close-button:hover:active[selected="true"] { | |
2899 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2900 | } |
319c6529 | 2901 | |
319c6529 RK |
2902 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
2903 | ||
319c6529 RK |
2904 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
2905 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
2906 | margin: 0; |
2907 | padding-top: 0; | |
2908 | padding-bottom: 0; | |
c0f6797e RK |
2909 | background-origin: border-box; |
2910 | } | |
2911 | ||
2912 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2913 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2914 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext, | |
2915 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext { | |
2916 | } | |
b7f3670c | 2917 | |
c0f6797e RK |
2918 | .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], |
2919 | .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { | |
2920 | } | |
2921 | ||
2922 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), | |
2923 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { | |
2924 | /* transform: scaleX(-1);*/ | |
2925 | } | |
2926 | ||
2927 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
2928 | transition: 1s background-color ease-out; | |
acb0e9b8 | 2929 | } |
319c6529 | 2930 | |
319c6529 RK |
2931 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
2932 | background-color: #008484; | |
acb0e9b8 | 2933 | } |
319c6529 | 2934 | |
c0f6797e RK |
2935 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]), |
2936 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) { | |
2937 | /* border-width: 0 2px 0 0; | |
2938 | border-style: solid; | |
2939 | border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/ | |
2940 | } | |
2941 | ||
319c6529 RK |
2942 | .tabs-newtab-button > .toolbarbutton-icon { |
2943 | margin-top: -1px; | |
2944 | margin-bottom: -1px; | |
acb0e9b8 | 2945 | } |
319c6529 RK |
2946 | |
2947 | .tabs-newtab-button, | |
2948 | #TabsToolbar > #new-tab-button, | |
e20c83c3 RK |
2949 | #TabsToolbar > toolbarpaletteitem > #new-tab-button, |
2950 | #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { | |
832af407 | 2951 | list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png"); |
319c6529 | 2952 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 2953 | } |
2954 | ||
8b5fc82e | 2955 | .tabs-newtab-button, |
38cfeb47 | 2956 | .tabs-newtab-button:hover, |
c0f6797e | 2957 | #TabsToolbar > #new-tab-button, |
38cfeb47 | 2958 | #TabsToolbar > #new-tab-button:hover { |
319c6529 | 2959 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 2960 | } |
319c6529 | 2961 | |
c0f6797e RK |
2962 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
2963 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2964 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2965 | .tabs-newtab-button:-moz-lwtheme-brighttext, | |
2966 | #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext, | |
2967 | #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 2968 | } |
2969 | ||
c0f6797e RK |
2970 | #TabsToolbar > #new-tab-button { |
2971 | width: 26px; | |
2972 | } | |
2973 | ||
2974 | #alltabs-button { | |
2975 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
acb0e9b8 | 2976 | } |
319c6529 | 2977 | |
f9fc08c7 RK |
2978 | #alltabs-button:hover, |
2979 | #alltabs-button:hover:active, | |
2980 | #alltabs-button[open="true"] { | |
8da9da4e | 2981 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
acb0e9b8 | 2982 | } |
319c6529 | 2983 | |
c0f6797e RK |
2984 | #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
2985 | #alltabs-button:-moz-lwtheme-brighttext { | |
2986 | } | |
2987 | ||
2988 | #alltabs-button > .toolbarbutton-icon { | |
2989 | /* margin: 0 2px;*/ | |
2990 | } | |
2991 | ||
2992 | #alltabs-button > .toolbarbutton-menu-dropmarker { | |
2993 | display: none; | |
2994 | } | |
2995 | ||
319c6529 RK |
2996 | /* All tabs menupopup */ |
2997 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 2998 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 2999 | -moz-image-region: auto; |
acb0e9b8 | 3000 | } |
3001 | ||
319c6529 RK |
3002 | .alltabs-item[selected="true"] { |
3003 | font-weight: bold; | |
acb0e9b8 | 3004 | } |
319c6529 RK |
3005 | |
3006 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
3007 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 3008 | } |
319c6529 | 3009 | |
85cfb236 | 3010 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
b1234db8 RK |
3011 | background-color: #402800; |
3012 | } | |
3013 | ||
319c6529 RK |
3014 | toolbarbutton.chevron { |
3015 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 3016 | } |
319c6529 RK |
3017 | |
3018 | toolbarbutton.chevron:hover { | |
3019 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 3020 | } |
e548e22e RK |
3021 | /* |
3022 | toolbar[brighttext] toolbarbutton.chevron { | |
3023 | list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important; | |
3024 | } | |
3025 | */ | |
319c6529 RK |
3026 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
3027 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
71a617ff | 3028 | transform: scaleX(-1); |
acb0e9b8 | 3029 | } |
319c6529 RK |
3030 | |
3031 | toolbarbutton.chevron > .toolbarbutton-text, | |
3032 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
3033 | display: none; | |
acb0e9b8 | 3034 | } |
319c6529 RK |
3035 | |
3036 | toolbarbutton.chevron > .toolbarbutton-icon { | |
3037 | margin: 0; | |
acb0e9b8 | 3038 | } |
3039 | ||
319c6529 RK |
3040 | #sidebar-throbber[loading="true"] { |
3041 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
3042 | -moz-margin-end: 4px; | |
acb0e9b8 | 3043 | } |
319c6529 RK |
3044 | |
3045 | /* Bookmarks toolbar */ | |
3046 | #PlacesToolbarDropIndicator { | |
8da9da4e | 3047 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 3048 | } |
3049 | ||
319c6529 RK |
3050 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
3051 | background-color: #008484 !important; | |
3052 | color: #FFCF00 !important; | |
613daf44 | 3053 | } |
319c6529 RK |
3054 | |
3055 | /* rules for menupopup drop indicators */ | |
3056 | .menupopup-drop-indicator-bar { | |
3057 | position: relative; | |
3058 | /* these two margins must together compensate the indicator's height */ | |
3059 | margin-top: -1px; | |
3060 | margin-bottom: -1px; | |
613daf44 | 3061 | } |
319c6529 RK |
3062 | |
3063 | .menupopup-drop-indicator { | |
3064 | list-style-image: none; | |
3065 | height: 2px; | |
3066 | -moz-margin-end: -4em; | |
3067 | background-color: #008484; | |
613daf44 | 3068 | } |
3069 | ||
319c6529 RK |
3070 | /* ::::: Identity Indicator Styling ::::: */ |
3071 | ||
3072 | /* Popup Icons */ | |
3073 | #identity-popup-icon { | |
3074 | height: 64px; | |
3075 | width: 64px; | |
3076 | padding: 0; | |
3077 | list-style-image: url("chrome://browser/skin/identity.png"); | |
3078 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 3079 | } |
319c6529 RK |
3080 | |
3081 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
3082 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 3083 | } |
319c6529 RK |
3084 | |
3085 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
3086 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 3087 | } |
3088 | ||
319c6529 RK |
3089 | /* Popup Body Text */ |
3090 | .identity-popup-description { | |
3091 | white-space: pre-wrap; | |
3092 | -moz-padding-start: 15px; | |
3093 | margin: 2px 0 4px; | |
613daf44 | 3094 | } |
319c6529 RK |
3095 | |
3096 | .identity-popup-label { | |
3097 | white-space: pre-wrap; | |
3098 | -moz-padding-start: 15px; | |
3099 | margin: 0; | |
613daf44 | 3100 | } |
319c6529 | 3101 | |
5517da5a | 3102 | #identity-popup-content-host, |
319c6529 RK |
3103 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
3104 | font-size: 1.2em; | |
613daf44 | 3105 | } |
3106 | ||
319c6529 RK |
3107 | #identity-popup-content-host { |
3108 | margin-top: 3px; | |
3109 | margin-bottom: 5px; | |
3110 | font-weight: bold; | |
3111 | max-width: 300px; | |
3112 | } | |
613daf44 | 3113 | |
319c6529 RK |
3114 | #identity-popup-content-owner { |
3115 | margin-top: 4px; | |
3116 | margin-bottom: 0 !important; | |
3117 | font-weight: bold; | |
3118 | max-width: 300px; | |
3119 | } | |
613daf44 | 3120 | |
319c6529 RK |
3121 | .verifiedDomain > #identity-popup-content-owner { |
3122 | font-weight: normal; | |
613daf44 | 3123 | } |
3124 | ||
319c6529 RK |
3125 | #identity-popup-content-verifier { |
3126 | margin: 4px 0 2px; | |
613daf44 | 3127 | } |
3128 | ||
319c6529 RK |
3129 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
3130 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
3131 | margin-top: 10px; | |
3132 | -moz-margin-start: -24px; | |
613daf44 | 3133 | } |
3134 | ||
319c6529 RK |
3135 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
3136 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
3137 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 3138 | } |
3139 | ||
3a0880a9 RK |
3140 | #identity-popup-help-icon { |
3141 | border: none; | |
3142 | margin: 7px 0 0 -3px; | |
3143 | background: none; | |
3144 | min-width: 0; | |
3145 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
3146 | cursor: pointer; | |
3147 | } | |
3148 | ||
3149 | #identity-popup-help-icon > .button-box > .button-text { | |
3150 | display: none; | |
3151 | } | |
3152 | ||
3153 | #identity-popup-help-icon > .button-box > .button-icon { | |
3154 | height: 16px; | |
3155 | width: 16px; | |
3156 | } | |
3157 | ||
319c6529 RK |
3158 | #identity-popup-more-info-button { |
3159 | margin-top: 6px; | |
3160 | margin-bottom: 0; | |
3161 | -moz-margin-end: 0; | |
613daf44 | 3162 | } |
acb0e9b8 | 3163 | |
fe524e0c RK |
3164 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
3165 | padding: 0; | |
3166 | } | |
3167 | ||
3168 | #identity-popup-container { | |
3169 | min-width: 280px; | |
3170 | padding: 10px; | |
3171 | } | |
3172 | ||
3173 | #identity-popup-button-container { | |
3174 | /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ | |
3175 | padding: 10px; | |
3176 | margin-top: 5px; | |
3177 | } | |
3178 | ||
319c6529 RK |
3179 | .popup-notification-icon { |
3180 | width: 64px; | |
3181 | height: 64px; | |
3182 | -moz-margin-end: 10px; | |
3183 | } | |
acb0e9b8 | 3184 | |
319c6529 RK |
3185 | .popup-notification-icon[popupid="geolocation"] { |
3186 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |