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