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