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