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