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