Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
acb0e9b8 | 4 | |
5 | @import url("chrome://global/skin/"); | |
fcaeefc2 | 6 | @import url("downloads/indicator.css"); |
acb0e9b8 | 7 | |
8 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
319c6529 | 9 | @namespace html url("http://www.w3.org/1999/xhtml"); |
cae267ab | 10 | @namespace svg url("http://www.w3.org/2000/svg"); |
319c6529 RK |
11 | |
12 | toolbar { | |
13 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
14 | } | |
acb0e9b8 | 15 | |
7d3f7f14 | 16 | toolbar[customizable="true"] { |
43cc2806 RK |
17 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom"); |
18 | } | |
19 | ||
ee49f520 RK |
20 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { |
21 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
96b206fe RK |
22 | toolbar[customizable="true"]:not([nowindowdrag="true"]) { |
23 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); | |
24 | } | |
25 | } | |
26 | ||
41279e76 RK |
27 | toolbar[type="menubar"][autohide="true"] { |
28 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); | |
29 | } | |
30 | ||
7d3f7f14 | 31 | #toolbar-menubar[autohide="true"] { |
43cc2806 RK |
32 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom"); |
33 | } | |
34 | ||
acb0e9b8 | 35 | menubar { |
319c6529 | 36 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
acb0e9b8 | 37 | } |
38 | ||
e548e22e RK |
39 | :root { |
40 | --verified-identity-box-backgroundcolor: #000000; | |
41 | } | |
42 | ||
319c6529 RK |
43 | #menubar-items { |
44 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 45 | } |
46 | ||
319c6529 RK |
47 | #main-menubar { |
48 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
49 | } | |
50 | ||
63ada306 RK |
51 | /* ::::: primary toolbar ::::: */ |
52 | ||
53 | .toolbar-primary > .toolbar-box > .toolbar-holder { | |
270cbf0c | 54 | background-color: #A09090; |
63ada306 RK |
55 | } |
56 | ||
57 | .toolbar-primary > .toolbar-box > .toolbar-startcap, | |
58 | .toolbar-primary > .toolbar-box > .toolbar-endcap { | |
59 | background-color: #9C9CFF; | |
60 | } | |
61 | ||
e20c83c3 RK |
62 | /* Hides the titlebar-placeholder underneath the window caption buttons when we |
63 | are not autohiding the menubar. */ | |
64 | #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] { | |
65 | display: none; | |
66 | } | |
67 | ||
43cc2806 RK |
68 | /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the |
69 | toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care | |
70 | of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ | |
c0f6797e RK |
71 | #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar, |
72 | #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar { | |
43cc2806 RK |
73 | /* margin-top: 3px;*/ |
74 | } | |
75 | ||
43371c9b RK |
76 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, |
77 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { | |
43cc2806 RK |
78 | /* margin-top: 15px;*/ |
79 | } | |
80 | ||
ee49f520 RK |
81 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
82 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ | |
8d154261 RK |
83 | #toolbar-menubar:not([autohide="true"]) { |
84 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); | |
85 | } | |
58d9f24a RK |
86 | } |
87 | ||
ee49f520 RK |
88 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
89 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
4711fba5 | 90 | #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { |
54d92f05 RK |
91 | padding-left: 60px; |
92 | } | |
43cc2806 RK |
93 | } |
94 | ||
018d70fb RK |
95 | #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap { |
96 | /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */ | |
97 | display: none; | |
43cc2806 | 98 | } |
63ada306 | 99 | |
e20c83c3 RK |
100 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before, |
101 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before, | |
102 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before, | |
103 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before { | |
104 | outline-color: #A09090; | |
105 | } | |
106 | ||
319c6529 RK |
107 | #navigator-toolbox { |
108 | } | |
109 | ||
9abeb12c RK |
110 | #navigator-toolbox::after { |
111 | content: ""; | |
112 | display: -moz-box; | |
113 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
114 | height: 1px; | |
115 | } | |
9abeb12c | 116 | |
319c6529 RK |
117 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
118 | } | |
119 | ||
3d64e0ce RK |
120 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) { |
121 | } | |
122 | ||
9168a62c RK |
123 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { |
124 | overflow: -moz-hidden-unscrollable; | |
125 | max-height: 4em; | |
126 | transition: min-height 170ms ease-out, max-height 170ms ease-out; | |
127 | } | |
128 | ||
129 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { | |
130 | min-height: 0.1px; | |
131 | max-height: 0; | |
132 | transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; | |
133 | } | |
134 | ||
ee49f520 RK |
135 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
136 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ | |
137 | /* Indent also due to non-applicable aero rule in original Windows theme. */ | |
c0f6797e RK |
138 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme), |
139 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) { | |
140 | /* like menubar */ | |
141 | background-color: #6000CF; | |
142 | color: #FF9F00; | |
319c6529 RK |
143 | } |
144 | ||
c0f6797e RK |
145 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive, |
146 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { | |
147 | background-color: #8050B0; | |
148 | color: #FF9F00; | |
319c6529 RK |
149 | } |
150 | ||
dccbbf95 RK |
151 | #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) { |
152 | /*color: inherit;*/ | |
153 | } | |
154 | ||
c0f6797e RK |
155 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { |
156 | visibility: hidden; | |
157 | } | |
319c6529 | 158 | |
c0f6797e RK |
159 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { |
160 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
161 | visibility: visible; | |
162 | } | |
8d154261 RK |
163 | } |
164 | ||
ee49f520 RK |
165 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
166 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
8d154261 RK |
167 | #titlebar-buttonbox > .titlebar-button { |
168 | display: none; | |
169 | } | |
8d154261 | 170 | } |
319c6529 | 171 | |
c0f6797e RK |
172 | #nav-bar { |
173 | /* Position the toolbar above the bottom of background tabs */ | |
174 | position: relative; | |
175 | z-index: 1; | |
82b4252f RK |
176 | } |
177 | ||
c0f6797e RK |
178 | #personal-bookmarks { |
179 | /* min-height: 24px; */ | |
319c6529 RK |
180 | } |
181 | ||
c0f6797e RK |
182 | #print-preview-toolbar:not(:-moz-lwtheme) { |
183 | /* -moz-appearance: toolbox; */ | |
82b4252f RK |
184 | } |
185 | ||
c0f6797e | 186 | #browser-bottombox:not(:-moz-lwtheme) { |
319c6529 RK |
187 | } |
188 | ||
189 | /* ::::: titlebar ::::: */ | |
190 | ||
5305ef8d RK |
191 | #titlebar { |
192 | /* like menubar */ | |
193 | background-color: #6000CF; | |
194 | color: #FF9F00; | |
195 | } | |
196 | #titlebar:-moz-window-inactive { | |
197 | background-color: #8050B0; | |
198 | color: #FF9F00; | |
199 | } | |
200 | ||
319c6529 | 201 | #main-window[sizemode="normal"] > #titlebar { |
5305ef8d RK |
202 | margin-top: -3px; |
203 | margin-bottom: 3px; | |
319c6529 RK |
204 | } |
205 | ||
206 | #main-window[sizemode="maximized"] > #titlebar { | |
5305ef8d | 207 | margin-top: 4px; |
319c6529 RK |
208 | } |
209 | ||
ee49f520 RK |
210 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
211 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
58d9f24a RK |
212 | #main-window[sizemode="normal"] > #titlebar, |
213 | #main-window[sizemode="maximized"] > #titlebar { | |
4711fba5 RK |
214 | margin-top: 19px; |
215 | /* There is a margin-bottom set to -23 by code. */ | |
54d92f05 RK |
216 | } |
217 | } | |
218 | ||
43cc2806 RK |
219 | /* The button box must appear on top of the navigator-toolbox in order for |
220 | * click and hover mouse events to work properly for the button in the restored | |
221 | * window state. Otherwise, elements in the navigator-toolbox, like the menubar, | |
222 | * can swallow those events. It will also place the buttons above the fog on | |
223 | * themes with Aero Glass. | |
224 | */ | |
83ac1f44 RK |
225 | #titlebar-buttonbox, |
226 | #main-window[sizemode="maximized"] #titlebar-buttonbox { | |
b7f3670c RK |
227 | -moz-appearance: none; |
228 | margin-top: 6px; | |
229 | margin-top: 4px; | |
5305ef8d | 230 | -moz-margin-end: 3px; |
43cc2806 | 231 | z-index: 1; |
319c6529 RK |
232 | } |
233 | ||
319c6529 RK |
234 | .titlebar-placeholder[type="appmenu-button"] { |
235 | margin-left: 4px; | |
236 | } | |
237 | ||
238 | .titlebar-placeholder[type="caption-buttons"] { | |
239 | margin-left: 10px; | |
240 | } | |
241 | ||
242 | /* titlebar command buttons */ | |
243 | ||
244 | #titlebar-min { | |
5305ef8d RK |
245 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
246 | } | |
247 | ||
248 | #titlebar-min:hover { | |
249 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
319c6529 RK |
250 | } |
251 | ||
252 | #titlebar-max { | |
5305ef8d RK |
253 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
254 | } | |
255 | ||
256 | #titlebar-max:hover { | |
257 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); | |
319c6529 RK |
258 | } |
259 | ||
260 | #main-window[sizemode="maximized"] #titlebar-max { | |
5305ef8d RK |
261 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
262 | } | |
263 | ||
264 | #main-window[sizemode="maximized"] #titlebar-max:hover { | |
265 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
319c6529 RK |
266 | } |
267 | ||
268 | #titlebar-close { | |
5305ef8d RK |
269 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
270 | } | |
271 | ||
272 | #titlebar-close:hover { | |
273 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
acb0e9b8 | 274 | } |
275 | ||
ee49f520 RK |
276 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
277 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ | |
54d92f05 RK |
278 | #titlebar-fullscreen-button { |
279 | -moz-appearance: none; | |
280 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png"); | |
281 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
282 | } | |
283 | ||
284 | #titlebar-fullscreen-button:hover { | |
285 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
286 | } | |
287 | ||
288 | @media (min-resolution: 2dppx) { | |
289 | #titlebar-fullscreen-button { | |
290 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png"); | |
291 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
292 | } | |
293 | ||
294 | #titlebar-fullscreen-button:hover { | |
295 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
296 | } | |
297 | } | |
298 | } | |
299 | ||
300 | ||
acb0e9b8 | 301 | /* ::::: bookmark buttons ::::: */ |
302 | ||
c0f6797e RK |
303 | toolbarbutton.bookmark-item:not(.subviewbutton), |
304 | #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { | |
305 | /* margin: 0; | |
306 | padding: 2px 3px;*/ | |
307 | } | |
308 | ||
309 | toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active, | |
310 | toolbarbutton.bookmark-item[open="true"] { | |
311 | /* padding-top: 3px; | |
312 | padding-bottom: 1px; | |
313 | -moz-padding-start: 4px; | |
314 | -moz-padding-end: 2px;*/ | |
315 | } | |
316 | ||
26125509 RK |
317 | .bookmark-item > .toolbarbutton-icon, |
318 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { | |
acb0e9b8 | 319 | width: 16px; |
320 | height: 16px; | |
832af407 RK |
321 | -moz-margin-start: 1px; |
322 | -moz-margin-end: 2px; | |
acb0e9b8 | 323 | } |
324 | ||
26125509 RK |
325 | /* Force the display of the label for bookmarks */ |
326 | .bookmark-item > .toolbarbutton-text, | |
327 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { | |
acb0e9b8 | 328 | display: -moz-box !important; |
329 | } | |
330 | ||
319c6529 RK |
331 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
332 | display: none; | |
333 | } | |
334 | ||
26125509 | 335 | #bookmarks-toolbar-placeholder { |
8da9da4e | 336 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
319c6529 RK |
337 | } |
338 | ||
e20c83c3 RK |
339 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, |
340 | #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { | |
341 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; | |
342 | } | |
343 | ||
344 | /* ----- BOOKMARK STAR ANIMATION ----- */ | |
345 | ||
346 | @keyframes animation-bookmarkAdded { | |
347 | from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } | |
348 | 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } | |
349 | 80% { opacity: 1; } | |
350 | to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } | |
351 | } | |
352 | ||
353 | @keyframes animation-bookmarkPulse { | |
354 | from { transform: scale(1); } | |
355 | 50% { transform: scale(1.3); } | |
356 | to { transform: scale(1); } | |
357 | } | |
358 | ||
359 | #bookmarked-notification-container { | |
360 | min-height: 1px; | |
361 | min-width: 1px; | |
362 | height: 1px; | |
363 | margin-bottom: -1px; | |
364 | z-index: 5; | |
365 | position: relative; | |
366 | } | |
367 | ||
368 | #bookmarked-notification { | |
369 | background-size: 16px; | |
370 | background-position: center; | |
371 | background-repeat: no-repeat; | |
372 | width: 16px; | |
373 | height: 16px; | |
374 | opacity: 0; | |
375 | } | |
376 | ||
c0f6797e RK |
377 | #bookmarked-notification-dropmarker-anchor { |
378 | z-index: -1; | |
379 | position: relative; | |
380 | } | |
381 | ||
382 | #bookmarked-notification-dropmarker-icon { | |
383 | width: 18px; | |
384 | height: 18px; | |
385 | visibility: hidden; | |
386 | } | |
387 | ||
e20c83c3 RK |
388 | #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { |
389 | background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); | |
390 | animation: animation-bookmarkAdded 800ms; | |
391 | animation-timing-function: ease, ease, ease; | |
392 | } | |
393 | ||
394 | #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
c0f6797e RK |
395 | list-style-image: none !important; |
396 | } | |
397 | ||
398 | #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { | |
399 | visibility: visible; | |
e20c83c3 RK |
400 | animation: animation-bookmarkPulse 300ms; |
401 | animation-delay: 600ms; | |
402 | animation-timing-function: ease-out; | |
403 | } | |
404 | ||
319c6529 RK |
405 | /* ::::: bookmark menus ::::: */ |
406 | ||
407 | menu.bookmark-item, | |
408 | menuitem.bookmark-item { | |
409 | min-width: 0; | |
ab799a7a | 410 | max-width: 32em; |
319c6529 RK |
411 | } |
412 | ||
e20c83c3 | 413 | .bookmark-item:not(.subviewbutton) > .menu-iconic-left { |
319c6529 RK |
414 | margin-top: 0; |
415 | margin-bottom: 0; | |
416 | } | |
417 | ||
418 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
419 | -moz-padding-start: 0px; | |
420 | } | |
421 | ||
422 | /* ::::: bookmark items ::::: */ | |
423 | ||
424 | .bookmark-item { | |
dce90fef | 425 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 426 | -moz-image-region: auto; |
319c6529 RK |
427 | } |
428 | ||
429 | .bookmark-item[container] { | |
430 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 431 | -moz-image-region: auto; |
319c6529 RK |
432 | } |
433 | ||
434 | .bookmark-item[container][open] { | |
435 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 436 | -moz-image-region: auto; |
319c6529 RK |
437 | } |
438 | ||
8da9da4e RK |
439 | .bookmark-item[container][livemark] { |
440 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
319c6529 RK |
441 | -moz-image-region: auto; |
442 | } | |
443 | ||
444 | .bookmark-item[container][livemark] .bookmark-item { | |
8da9da4e | 445 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
719b06bc | 446 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
319c6529 RK |
447 | } |
448 | ||
eec397be | 449 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
719b06bc | 450 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
eec397be RK |
451 | } |
452 | ||
319c6529 | 453 | .bookmark-item[container][query] { |
8da9da4e | 454 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
319c6529 RK |
455 | -moz-image-region: auto; |
456 | } | |
457 | ||
458 | .bookmark-item[query][tagContainer] { | |
459 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
460 | -moz-image-region: auto; | |
461 | } | |
462 | ||
463 | .bookmark-item[query][dayContainer] { | |
8da9da4e | 464 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
319c6529 RK |
465 | -moz-image-region: auto; |
466 | } | |
467 | ||
468 | .bookmark-item[query][hostContainer] { | |
469 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 470 | -moz-image-region: auto; |
319c6529 RK |
471 | } |
472 | ||
473 | .bookmark-item[query][hostContainer][open] { | |
474 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 475 | -moz-image-region: auto; |
319c6529 RK |
476 | } |
477 | ||
b1234db8 RK |
478 | .bookmark-item[cutting] > .toolbarbutton-icon, |
479 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { | |
480 | opacity: 0.5; | |
481 | } | |
482 | ||
483 | .bookmark-item[cutting] > .toolbarbutton-text, | |
484 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { | |
485 | opacity: 0.7; | |
486 | } | |
487 | ||
319c6529 RK |
488 | /* ::::: primary toolbar buttons ::::: */ |
489 | ||
43cc2806 RK |
490 | /* === BEGIN toolbarbuttons.inc.css === */ |
491 | ||
492 | /* Whole section of this included file: */ | |
51994fad RK |
493 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
494 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
d4d77dc0 | 495 | #social-share-button, #open-file-button, #find-button, #developer-button, |
51994fad RK |
496 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
497 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
498 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
e548e22e | 499 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button), |
51994fad | 500 | |
7d3f7f14 | 501 | #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
502 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
503 | } | |
504 | ||
7d3f7f14 | 505 | #back-button { |
43cc2806 RK |
506 | -moz-image-region: rect(0, 36px, 18px, 18px); |
507 | } | |
508 | ||
7d3f7f14 | 509 | #back-button:hover:not([disabled="true"]) { |
43cc2806 RK |
510 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
511 | } | |
512 | ||
7d3f7f14 | 513 | #back-button[disabled="true"] { |
43cc2806 RK |
514 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
515 | } | |
516 | ||
7d3f7f14 | 517 | #forward-button { |
43cc2806 RK |
518 | -moz-image-region: rect(0, 72px, 18px, 54px); |
519 | } | |
520 | ||
7d3f7f14 | 521 | #forward-button:hover:not([disabled="true"]) { |
43cc2806 RK |
522 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
523 | } | |
524 | ||
7d3f7f14 | 525 | #forward-button[disabled="true"] { |
43cc2806 RK |
526 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
527 | } | |
528 | ||
7d3f7f14 RK |
529 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
530 | #forward-button:-moz-locale-dir(rtl) { | |
43cc2806 RK |
531 | transform: scaleX(-1); |
532 | } | |
533 | ||
7d3f7f14 | 534 | #home-button[cui-areatype="toolbar"] { |
43cc2806 RK |
535 | -moz-image-region: rect(0, 126px, 18px, 108px); |
536 | } | |
537 | ||
7d3f7f14 | 538 | #home-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
539 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
540 | } | |
541 | ||
7d3f7f14 | 542 | #bookmarks-menu-button[cui-areatype="toolbar"] { |
43cc2806 RK |
543 | -moz-image-region: rect(0, 144px, 18px, 126px); |
544 | } | |
545 | ||
7d3f7f14 RK |
546 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover, |
547 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
548 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
549 | } | |
550 | ||
43ee1307 | 551 | /* When "new tab" page shows up, the menubutton-button (star button) is disabled */ |
7d3f7f14 | 552 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] { |
43ee1307 RK |
553 | -moz-image-region: rect(36px, 144px, 54px, 126px) !important; |
554 | background-color: transparent !important; | |
555 | } | |
556 | ||
7d3f7f14 | 557 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] { |
43cc2806 RK |
558 | -moz-image-region: rect(0, 162px, 18px, 144px); |
559 | } | |
560 | ||
7d3f7f14 | 561 | #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover, |
83e3b5cf RK |
562 | #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"], |
563 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] { | |
564 | /* When starred and clicked (for edit/delete dialog), | |
565 | * then only the menubutton-button itself is open, but not the whole menubutton. */ | |
43cc2806 RK |
566 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
567 | } | |
568 | ||
7d3f7f14 | 569 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
570 | -moz-image-region: rect(0, 630px, 18px, 612px); |
571 | } | |
572 | ||
7d3f7f14 | 573 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
43cc2806 RK |
574 | padding: 1px; |
575 | -moz-box-align: center; | |
576 | } | |
577 | ||
7d3f7f14 RK |
578 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
579 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
43cc2806 RK |
580 | -moz-image-region: rect(18px, 630px, 36px, 612px); |
581 | } | |
582 | ||
7d3f7f14 RK |
583 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
584 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
43cc2806 RK |
585 | padding-top: 2px; |
586 | padding-bottom: 0px; | |
587 | -moz-padding-start: 2px; | |
588 | -moz-padding-end: 0px; | |
589 | } | |
590 | ||
7d3f7f14 | 591 | #history-panelmenu[cui-areatype="toolbar"] { |
43cc2806 RK |
592 | -moz-image-region: rect(0, 180px, 18px, 162px); |
593 | } | |
594 | ||
7d3f7f14 RK |
595 | #history-panelmenu[cui-areatype="toolbar"]:hover, |
596 | #history-panelmenu[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
597 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
598 | } | |
599 | ||
7d3f7f14 | 600 | #downloads-button[cui-areatype="toolbar"] { |
43cc2806 RK |
601 | -moz-image-region: rect(0, 198px, 18px, 180px); |
602 | } | |
603 | ||
7d3f7f14 RK |
604 | #downloads-button[cui-areatype="toolbar"]:hover, |
605 | #downloads-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
606 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
607 | } | |
608 | ||
7d3f7f14 | 609 | #add-ons-button[cui-areatype="toolbar"] { |
43cc2806 RK |
610 | -moz-image-region: rect(0, 216px, 18px, 198px); |
611 | } | |
612 | ||
7d3f7f14 | 613 | #add-ons-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
614 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
615 | } | |
616 | ||
7d3f7f14 | 617 | #open-file-button[cui-areatype="toolbar"] { |
43cc2806 RK |
618 | -moz-image-region: rect(0, 234px, 18px, 216px); |
619 | } | |
620 | ||
7d3f7f14 | 621 | #open-file-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
622 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
623 | } | |
624 | ||
7d3f7f14 | 625 | #save-page-button[cui-areatype="toolbar"] { |
43cc2806 RK |
626 | -moz-image-region: rect(0, 252px, 18px, 234px); |
627 | } | |
628 | ||
7d3f7f14 | 629 | #save-page-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
630 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
631 | } | |
632 | ||
7d3f7f14 | 633 | #sync-button[cui-areatype="toolbar"] { |
43cc2806 RK |
634 | -moz-image-region: rect(0, 270px, 18px, 252px); |
635 | } | |
636 | ||
7d3f7f14 | 637 | #sync-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
638 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
639 | } | |
640 | ||
5401f433 RK |
641 | #sync-button[cui-areatype="toolbar"][status="active"], |
642 | #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) { | |
643 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); | |
644 | -moz-image-region: rect(0, 18px, 18px, 0px); | |
645 | } | |
646 | ||
647 | /* | |
648 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext, | |
649 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) { | |
650 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); | |
651 | } | |
652 | */ | |
653 | ||
7d3f7f14 | 654 | #feed-button[cui-areatype="toolbar"] { |
43cc2806 RK |
655 | -moz-image-region: rect(0, 288px, 18px, 270px); |
656 | } | |
657 | ||
7d3f7f14 | 658 | #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
43cc2806 RK |
659 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
660 | } | |
661 | ||
7d3f7f14 | 662 | #feed-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
663 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
664 | } | |
665 | ||
7d3f7f14 | 666 | #social-share-button[cui-areatype="toolbar"] { |
43cc2806 RK |
667 | -moz-image-region: rect(0px, 306px, 18px, 288px); |
668 | } | |
669 | ||
22180555 RK |
670 | #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
671 | #social-share-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
672 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
673 | } | |
674 | ||
22180555 RK |
675 | #social-share-button[cui-areatype="toolbar"][disabled="true"] { |
676 | -moz-image-region: rect(36px, 306px, 54px, 288px); | |
677 | } | |
678 | ||
7d3f7f14 | 679 | #characterencoding-button[cui-areatype="toolbar"] { |
43cc2806 RK |
680 | -moz-image-region: rect(0, 324px, 18px, 306px); |
681 | } | |
682 | ||
7d3f7f14 RK |
683 | #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
684 | #characterencoding-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
685 | -moz-image-region: rect(18px, 324px, 36px, 306px); |
686 | } | |
687 | ||
7d3f7f14 | 688 | #characterencoding-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
689 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
690 | } | |
691 | ||
7d3f7f14 | 692 | #new-window-button[cui-areatype="toolbar"] { |
43cc2806 RK |
693 | -moz-image-region: rect(0, 342px, 18px, 324px); |
694 | } | |
695 | ||
7d3f7f14 | 696 | #new-window-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
697 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
698 | } | |
699 | ||
46e71434 RK |
700 | #e10s-button[cui-areatype="toolbar"] { |
701 | -moz-image-region: rect(0, 342px, 18px, 324px); | |
702 | } | |
703 | ||
704 | #e10s-button[cui-areatype="toolbar"]:hover { | |
705 | -moz-image-region: rect(18px, 342px, 36px, 324px); | |
706 | } | |
707 | ||
708 | #e10s-button > .toolbarbutton-icon { | |
709 | transform: scaleY(-1); | |
710 | } | |
711 | ||
7d3f7f14 | 712 | #new-tab-button[cui-areatype="toolbar"] { |
43cc2806 RK |
713 | -moz-image-region: rect(0, 360px, 18px, 342px); |
714 | } | |
715 | ||
7d3f7f14 | 716 | #new-tab-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
717 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
718 | } | |
719 | ||
7d3f7f14 | 720 | #privatebrowsing-button[cui-areatype="toolbar"] { |
43cc2806 RK |
721 | -moz-image-region: rect(0, 378px, 18px, 360px); |
722 | } | |
723 | ||
7d3f7f14 | 724 | #privatebrowsing-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
725 | -moz-image-region: rect(18px, 378px, 36px, 360px); |
726 | } | |
727 | ||
7d3f7f14 | 728 | #find-button[cui-areatype="toolbar"] { |
43cc2806 RK |
729 | -moz-image-region: rect(0, 396px, 18px, 378px); |
730 | } | |
731 | ||
7d3f7f14 | 732 | #find-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
733 | -moz-image-region: rect(18px, 396px, 36px, 378px); |
734 | } | |
735 | ||
7d3f7f14 | 736 | #print-button[cui-areatype="toolbar"] { |
43cc2806 RK |
737 | -moz-image-region: rect(0, 414px, 18px, 396px); |
738 | } | |
739 | ||
7d3f7f14 | 740 | #print-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
741 | -moz-image-region: rect(18px, 414px, 36px, 396px); |
742 | } | |
743 | ||
7d3f7f14 | 744 | #fullscreen-button[cui-areatype="toolbar"] { |
43cc2806 RK |
745 | -moz-image-region: rect(0, 432px, 18px, 414px); |
746 | } | |
747 | ||
7d3f7f14 | 748 | #fullscreen-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
749 | -moz-image-region: rect(18px, 432px, 36px, 414px); |
750 | } | |
751 | ||
7d3f7f14 | 752 | #developer-button[cui-areatype="toolbar"] { |
43cc2806 RK |
753 | -moz-image-region: rect(0, 450px, 18px, 432px); |
754 | } | |
755 | ||
7d3f7f14 RK |
756 | #developer-button[cui-areatype="toolbar"]:hover, |
757 | #developer-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
758 | -moz-image-region: rect(18px, 450px, 36px, 432px); |
759 | } | |
760 | ||
7d3f7f14 | 761 | #preferences-button[cui-areatype="toolbar"] { |
43cc2806 RK |
762 | -moz-image-region: rect(0, 468px, 18px, 450px); |
763 | } | |
764 | ||
7d3f7f14 | 765 | #preferences-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
766 | -moz-image-region: rect(18px, 468px, 36px, 450px); |
767 | } | |
768 | ||
7d3f7f14 | 769 | #PanelUI-menu-button { |
43cc2806 RK |
770 | -moz-image-region: rect(0, 486px, 18px, 468px); |
771 | } | |
772 | ||
7d3f7f14 RK |
773 | #PanelUI-menu-button:hover, |
774 | #PanelUI-menu-button[open="true"] { | |
43cc2806 RK |
775 | -moz-image-region: rect(18px, 486px, 36px, 468px); |
776 | } | |
777 | ||
51994fad | 778 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button { |
43cc2806 RK |
779 | -moz-image-region: rect(0, 504px, 18px, 486px); |
780 | } | |
781 | ||
51994fad | 782 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) { |
43cc2806 RK |
783 | -moz-image-region: rect(18px, 504px, 36px, 486px); |
784 | } | |
785 | ||
51994fad | 786 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] { |
cc4b0b0d RK |
787 | -moz-image-region: rect(36px, 504px, 54px, 486px); |
788 | } | |
789 | ||
51994fad | 790 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button { |
43cc2806 RK |
791 | -moz-image-region: rect(0, 522px, 18px, 504px); |
792 | } | |
793 | ||
51994fad | 794 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) { |
43cc2806 RK |
795 | -moz-image-region: rect(18px, 522px, 36px, 504px); |
796 | } | |
797 | ||
51994fad | 798 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] { |
cc4b0b0d RK |
799 | -moz-image-region: rect(36px, 522px, 54px, 504px); |
800 | } | |
801 | ||
51994fad | 802 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button { |
43cc2806 RK |
803 | -moz-image-region: rect(0, 540px, 18px, 522px); |
804 | } | |
805 | ||
51994fad | 806 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) { |
43cc2806 RK |
807 | -moz-image-region: rect(18px, 540px, 36px, 522px); |
808 | } | |
809 | ||
51994fad | 810 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] { |
cc4b0b0d RK |
811 | -moz-image-region: rect(36px, 540px, 54px, 522px); |
812 | } | |
813 | ||
51994fad | 814 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button { |
43cc2806 RK |
815 | -moz-image-region: rect(0, 558px, 18px, 540px); |
816 | } | |
817 | ||
51994fad | 818 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) { |
43cc2806 RK |
819 | -moz-image-region: rect(18px, 558px, 36px, 540px); |
820 | } | |
821 | ||
51994fad | 822 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
823 | -moz-image-region: rect(36px, 558px, 54px, 540px); |
824 | } | |
825 | ||
51994fad | 826 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button { |
43cc2806 RK |
827 | -moz-image-region: rect(0, 576px, 18px, 558px); |
828 | } | |
829 | ||
51994fad | 830 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) { |
43cc2806 RK |
831 | -moz-image-region: rect(18px, 576px, 36px, 558px); |
832 | } | |
833 | ||
51994fad | 834 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
835 | -moz-image-region: rect(36px, 576px, 54px, 558px); |
836 | } | |
837 | ||
7d3f7f14 | 838 | #nav-bar-overflow-button { |
43cc2806 RK |
839 | -moz-image-region: rect(0, 612px, 18px, 594px); |
840 | } | |
841 | ||
7d3f7f14 RK |
842 | #nav-bar-overflow-button:hover, |
843 | #nav-bar-overflow-button[open="true"] { | |
43cc2806 RK |
844 | -moz-image-region: rect(18px, 612px, 36px, 594px); |
845 | } | |
846 | ||
46e71434 RK |
847 | #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
848 | transform: scaleX(-1); | |
849 | } | |
850 | ||
c0f6797e RK |
851 | #tabview-button { |
852 | -moz-image-region: rect(0, 648px, 18px, 630px); | |
853 | } | |
854 | ||
855 | #tabview-button:hover { | |
856 | -moz-image-region: rect(18px, 648px, 36px, 630px); | |
857 | } | |
858 | ||
859 | #email-link-button[cui-areatype="toolbar"] { | |
860 | -moz-image-region: rect(0, 666px, 18px, 648px); | |
861 | } | |
862 | ||
22180555 | 863 | #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
c0f6797e RK |
864 | -moz-image-region: rect(18px, 666px, 36px, 648px); |
865 | } | |
866 | ||
22180555 RK |
867 | #email-button[cui-areatype="toolbar"][disabled="true"] { |
868 | -moz-image-region: rect(36px, 666px, 54px, 648px); | |
869 | } | |
870 | ||
c0f6797e RK |
871 | #sidebar-button[cui-areatype="toolbar"] { |
872 | -moz-image-region: rect(0, 684px, 18px, 666px); | |
873 | } | |
874 | ||
875 | #sidebar-button[cui-areatype="toolbar"]:hover { | |
876 | -moz-image-region: rect(18px, 684px, 36px, 666px); | |
877 | } | |
878 | ||
22180555 RK |
879 | #panic-button[cui-areatype="toolbar"] { |
880 | -moz-image-region: rect(0, 702px, 18px, 684px); | |
881 | } | |
882 | ||
883 | #panic-button[cui-areatype="toolbar"]:hover, | |
884 | #panic-button[cui-areatype="toolbar"][open] { | |
885 | -moz-image-region: rect(18px, 702px, 36px, 684px); | |
886 | } | |
887 | ||
888 | #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
889 | transform: scaleX(-1); | |
890 | } | |
891 | ||
892 | #web-apps-button[cui-areatype="toolbar"] { | |
893 | -moz-image-region: rect(0, 720px, 18px, 702px); | |
894 | } | |
895 | ||
896 | #web-apps-button[cui-areatype="toolbar"]:hover { | |
897 | -moz-image-region: rect(18px, 720px, 36px, 702px); | |
898 | } | |
899 | ||
8d1f53f0 RK |
900 | #loop-button-throttled > .toolbarbutton-badge-container, |
901 | #loop-button > .toolbarbutton-badge-container { | |
d0e580f1 RK |
902 | list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); |
903 | -moz-image-region: rect(0, 18px, 18px, 0); | |
904 | } | |
905 | ||
8d1f53f0 RK |
906 | #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
907 | #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
908 | -moz-image-region: rect(0, 90px, 18px, 72px); |
909 | } | |
910 | ||
86d9f20a | 911 | #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container, |
8d1f53f0 RK |
912 | #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container, |
913 | #loop-button[state="disabled"] > .toolbarbutton-badge-container, | |
914 | #loop-button[disabled="true"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
915 | -moz-image-region: rect(0, 36px, 18px, 18px); |
916 | } | |
917 | ||
8d1f53f0 RK |
918 | #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
919 | #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
920 | -moz-image-region: rect(0, 126px, 18px, 108px); |
921 | } | |
922 | ||
8d1f53f0 RK |
923 | #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, |
924 | #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
925 | -moz-image-region: rect(0, 54px, 18px, 36px); |
926 | } | |
927 | ||
8d1f53f0 RK |
928 | #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, |
929 | #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
930 | -moz-image-region: rect(0, 72px, 18px, 54px); |
931 | } | |
932 | ||
8d1f53f0 RK |
933 | #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, |
934 | #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
935 | -moz-image-region: rect(0, 108px, 18px, 90px); |
936 | } | |
937 | ||
e548e22e RK |
938 | #webide-button[cui-areatype="toolbar"] { |
939 | -moz-image-region: rect(0, 738px, 18px, 720px); | |
940 | } | |
941 | ||
942 | #webide-button[cui-areatype="toolbar"]:hover { | |
943 | -moz-image-region: rect(18px, 738px, 36px, 720px); | |
944 | } | |
945 | ||
43cc2806 RK |
946 | /* === END toolbarbuttons.inc.css === */ |
947 | ||
948 | /* === BEGIN menupanel.inc.css === */ | |
949 | ||
950 | /* Menu panel and palette styles */ | |
951 | ||
e548e22e RK |
952 | :root { |
953 | /* avoid aero overrides with changed filenames */ | |
954 | --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png); | |
955 | --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png); | |
956 | } | |
957 | ||
51994fad | 958 | toolbaritem[sdkstylewidget="true"] > toolbarbutton, |
5401f433 RK |
959 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
960 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
1988bb88 | 961 | #social-share-button, #open-file-button, #find-button, #developer-button, |
5401f433 RK |
962 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
963 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
964 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
e548e22e | 965 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"], |
5401f433 RK |
966 | toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
967 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, | |
1988bb88 | 968 | #social-share-button, #open-file-button, #find-button, #developer-button, |
5401f433 RK |
969 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
970 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, | |
971 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, | |
e548e22e RK |
972 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) { |
973 | list-style-image: var(--menupanel-list-style-image); | |
43cc2806 RK |
974 | } |
975 | ||
976 | #home-button[cui-areatype="menu-panel"], | |
7d3f7f14 | 977 | toolbarpaletteitem[place="palette"] > #home-button { |
43cc2806 RK |
978 | -moz-image-region: rect(0px, 128px, 32px, 96px); |
979 | } | |
980 | ||
cc4b0b0d | 981 | #home-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 982 | toolbarpaletteitem[place="palette"] > #home-button:hover { |
cc4b0b0d RK |
983 | -moz-image-region: rect(32px, 128px, 64px, 96px); |
984 | } | |
985 | ||
43cc2806 | 986 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
7d3f7f14 | 987 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { |
46e71434 | 988 | -moz-image-region: rect(0px, 192px, 32px, 160px); |
43cc2806 RK |
989 | } |
990 | ||
cc4b0b0d | 991 | #bookmarks-menu-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 992 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { |
46e71434 RK |
993 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
994 | } | |
995 | ||
996 | #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
997 | -moz-image-region: rect(32px, 192px, 64px, 160px); | |
cc4b0b0d RK |
998 | } |
999 | ||
43cc2806 | 1000 | #history-panelmenu[cui-areatype="menu-panel"], |
7d3f7f14 | 1001 | toolbarpaletteitem[place="palette"] > #history-panelmenu { |
43cc2806 RK |
1002 | -moz-image-region: rect(0px, 224px, 32px, 192px); |
1003 | } | |
1004 | ||
cc4b0b0d | 1005 | #history-panelmenu[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1006 | toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { |
cc4b0b0d RK |
1007 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
1008 | } | |
1009 | ||
46e71434 RK |
1010 | #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1011 | -moz-image-region: rect(32px, 224px, 64px, 192px); | |
1012 | } | |
1013 | ||
43cc2806 | 1014 | #downloads-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1015 | toolbarpaletteitem[place="palette"] > #downloads-button { |
43cc2806 RK |
1016 | -moz-image-region: rect(0px, 256px, 32px, 224px); |
1017 | } | |
1018 | ||
cc4b0b0d | 1019 | #downloads-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1020 | toolbarpaletteitem[place="palette"] > #downloads-button:hover { |
cc4b0b0d RK |
1021 | -moz-image-region: rect(32px, 256px, 64px, 224px); |
1022 | } | |
1023 | ||
43cc2806 | 1024 | #add-ons-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1025 | toolbarpaletteitem[place="palette"] > #add-ons-button { |
43cc2806 RK |
1026 | -moz-image-region: rect(0px, 288px, 32px, 256px); |
1027 | } | |
1028 | ||
cc4b0b0d | 1029 | #add-ons-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1030 | toolbarpaletteitem[place="palette"] > #add-ons-button:hover { |
cc4b0b0d RK |
1031 | -moz-image-region: rect(32px, 288px, 64px, 256px); |
1032 | } | |
1033 | ||
43cc2806 | 1034 | #open-file-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1035 | toolbarpaletteitem[place="palette"] > #open-file-button { |
43cc2806 RK |
1036 | -moz-image-region: rect(0px, 320px, 32px, 288px); |
1037 | } | |
1038 | ||
cc4b0b0d | 1039 | #open-file-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1040 | toolbarpaletteitem[place="palette"] > #open-file-button:hover { |
cc4b0b0d RK |
1041 | -moz-image-region: rect(32px, 320px, 64px, 288px); |
1042 | } | |
1043 | ||
43cc2806 | 1044 | #save-page-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1045 | toolbarpaletteitem[place="palette"] > #save-page-button { |
43cc2806 RK |
1046 | -moz-image-region: rect(0px, 352px, 32px, 320px); |
1047 | } | |
1048 | ||
cc4b0b0d | 1049 | #save-page-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1050 | toolbarpaletteitem[place="palette"] > #save-page-button:hover { |
cc4b0b0d RK |
1051 | -moz-image-region: rect(32px, 352px, 64px, 320px); |
1052 | } | |
1053 | ||
43cc2806 | 1054 | #sync-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1055 | toolbarpaletteitem[place="palette"] > #sync-button { |
43cc2806 RK |
1056 | -moz-image-region: rect(0px, 384px, 32px, 352px); |
1057 | } | |
1058 | ||
cc4b0b0d | 1059 | #sync-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1060 | toolbarpaletteitem[place="palette"] > #sync-button:hover { |
cc4b0b0d RK |
1061 | -moz-image-region: rect(32px, 384px, 64px, 352px); |
1062 | } | |
1063 | ||
5401f433 RK |
1064 | #sync-button[cui-areatype="menu-panel"][status="active"] { |
1065 | list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); | |
1066 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
1067 | } | |
1068 | ||
43cc2806 | 1069 | #feed-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1070 | toolbarpaletteitem[place="palette"] > #feed-button { |
43cc2806 RK |
1071 | -moz-image-region: rect(0px, 416px, 32px, 384px); |
1072 | } | |
1073 | ||
cc4b0b0d | 1074 | #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
7d3f7f14 | 1075 | toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1076 | -moz-image-region: rect(32px, 416px, 64px, 384px); |
1077 | } | |
1078 | ||
1079 | #feed-button[cui-areatype="menu-panel"][disabled="true"], | |
7d3f7f14 | 1080 | toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { |
cc4b0b0d RK |
1081 | -moz-image-region: rect(64px, 416px, 96px, 384px); |
1082 | } | |
1083 | ||
43cc2806 | 1084 | #social-share-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1085 | toolbarpaletteitem[place="palette"] > #social-share-button { |
43cc2806 RK |
1086 | -moz-image-region: rect(0px, 448px, 32px, 416px); |
1087 | } | |
1088 | ||
22180555 RK |
1089 | #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1090 | toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) { | |
cc4b0b0d RK |
1091 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
1092 | } | |
1093 | ||
22180555 RK |
1094 | #social-share-button[cui-areatype="menu-panel"][disabled="true"], |
1095 | toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] { | |
1096 | -moz-image-region: rect(64px, 448px, 96px, 416px); | |
1097 | } | |
1098 | ||
43cc2806 | 1099 | #characterencoding-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1100 | toolbarpaletteitem[place="palette"] > #characterencoding-button { |
43cc2806 RK |
1101 | -moz-image-region: rect(0px, 480px, 32px, 448px); |
1102 | } | |
1103 | ||
cc4b0b0d | 1104 | #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
7d3f7f14 | 1105 | toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1106 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
1107 | } | |
1108 | ||
1109 | #characterencoding-button[cui-areatype="menu-panel"][disabled="true"], | |
7d3f7f14 | 1110 | toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { |
cc4b0b0d RK |
1111 | -moz-image-region: rect(64px, 480px, 96px, 448px); |
1112 | } | |
1113 | ||
46e71434 RK |
1114 | #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1115 | -moz-image-region: rect(32px, 480px, 64px, 448px); | |
1116 | } | |
1117 | ||
43cc2806 | 1118 | #new-window-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1119 | toolbarpaletteitem[place="palette"] > #new-window-button { |
43cc2806 RK |
1120 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
1121 | } | |
1122 | ||
cc4b0b0d | 1123 | #new-window-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1124 | toolbarpaletteitem[place="palette"] > #new-window-button:hover { |
cc4b0b0d RK |
1125 | -moz-image-region: rect(32px, 512px, 64px, 480px); |
1126 | } | |
1127 | ||
5401f433 RK |
1128 | #e10s-button[cui-areatype="menu-panel"], |
1129 | toolbarpaletteitem[place="palette"] > #e10s-button { | |
1130 | -moz-image-region: rect(0px, 512px, 32px, 480px); | |
1131 | } | |
1132 | ||
1133 | #e10s-button[cui-areatype="menu-panel"]:hover, | |
1134 | toolbarpaletteitem[place="palette"] > #e10s-button:hover { | |
1135 | -moz-image-region: rect(32px, 512px, 64px, 480px); | |
1136 | } | |
1137 | ||
43cc2806 | 1138 | #new-tab-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1139 | toolbarpaletteitem[place="palette"] > #new-tab-button { |
43cc2806 RK |
1140 | -moz-image-region: rect(0px, 544px, 32px, 512px); |
1141 | } | |
1142 | ||
cc4b0b0d | 1143 | #new-tab-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1144 | toolbarpaletteitem[place="palette"] > #new-tab-button:hover { |
cc4b0b0d RK |
1145 | -moz-image-region: rect(32px, 544px, 64px, 512px); |
1146 | } | |
1147 | ||
43cc2806 | 1148 | #privatebrowsing-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1149 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button { |
43cc2806 RK |
1150 | -moz-image-region: rect(0px, 576px, 32px, 544px); |
1151 | } | |
1152 | ||
cc4b0b0d | 1153 | #privatebrowsing-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1154 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { |
cc4b0b0d RK |
1155 | -moz-image-region: rect(32px, 576px, 64px, 544px); |
1156 | } | |
1157 | ||
46e71434 RK |
1158 | #tabview-button[cui-areatype="menu-panel"], |
1159 | toolbarpaletteitem[place="palette"] > #tabview-button { | |
1160 | -moz-image-region: rect(0px, 608px, 32px, 576px); | |
1161 | } | |
1162 | ||
1163 | #tabview-button[cui-areatype="menu-panel"]:hover, | |
1164 | toolbarpaletteitem[place="palette"] > #tabview-button:hover { | |
1165 | -moz-image-region: rect(32px, 608px, 64px, 576px); | |
1166 | } | |
1167 | ||
43cc2806 | 1168 | #find-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1169 | toolbarpaletteitem[place="palette"] > #find-button { |
43cc2806 RK |
1170 | -moz-image-region: rect(0px, 640px, 32px, 608px); |
1171 | } | |
1172 | ||
cc4b0b0d | 1173 | #find-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1174 | toolbarpaletteitem[place="palette"] > #find-button:hover { |
cc4b0b0d RK |
1175 | -moz-image-region: rect(32px, 640px, 64px, 608px); |
1176 | } | |
1177 | ||
43cc2806 | 1178 | #print-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1179 | toolbarpaletteitem[place="palette"] > #print-button { |
43cc2806 RK |
1180 | -moz-image-region: rect(0px, 672px, 32px, 640px); |
1181 | } | |
1182 | ||
cc4b0b0d | 1183 | #print-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1184 | toolbarpaletteitem[place="palette"] > #print-button:hover { |
cc4b0b0d RK |
1185 | -moz-image-region: rect(32px, 672px, 64px, 640px); |
1186 | } | |
1187 | ||
43cc2806 | 1188 | #fullscreen-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1189 | toolbarpaletteitem[place="palette"] > #fullscreen-button { |
43cc2806 RK |
1190 | -moz-image-region: rect(0px, 704px, 32px, 672px); |
1191 | } | |
1192 | ||
cc4b0b0d | 1193 | #fullscreen-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1194 | toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { |
cc4b0b0d RK |
1195 | -moz-image-region: rect(32px, 704px, 64px, 672px); |
1196 | } | |
1197 | ||
43cc2806 | 1198 | #developer-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1199 | toolbarpaletteitem[place="palette"] > #developer-button { |
43cc2806 RK |
1200 | -moz-image-region: rect(0px, 736px, 32px, 704px); |
1201 | } | |
1202 | ||
cc4b0b0d | 1203 | #developer-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1204 | toolbarpaletteitem[place="palette"] > #developer-button:hover { |
cc4b0b0d RK |
1205 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
1206 | } | |
1207 | ||
46e71434 RK |
1208 | #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
1209 | -moz-image-region: rect(32px, 736px, 64px, 704px); | |
1210 | } | |
1211 | ||
43cc2806 | 1212 | #preferences-button[cui-areatype="menu-panel"], |
7d3f7f14 | 1213 | toolbarpaletteitem[place="palette"] > #preferences-button { |
43cc2806 RK |
1214 | -moz-image-region: rect(0px, 768px, 32px, 736px); |
1215 | } | |
1216 | ||
cc4b0b0d | 1217 | #preferences-button[cui-areatype="menu-panel"]:hover, |
7d3f7f14 | 1218 | toolbarpaletteitem[place="palette"] > #preferences-button:hover { |
cc4b0b0d RK |
1219 | -moz-image-region: rect(32px, 768px, 64px, 736px); |
1220 | } | |
1221 | ||
46e71434 RK |
1222 | #email-link-button[cui-areatype="menu-panel"], |
1223 | toolbarpaletteitem[place="palette"] > #email-link-button { | |
1224 | -moz-image-region: rect(0, 800px, 32px, 768px); | |
1225 | } | |
1226 | ||
22180555 RK |
1227 | #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1228 | toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) { | |
46e71434 RK |
1229 | -moz-image-region: rect(32px, 800px, 64px, 768px); |
1230 | } | |
1231 | ||
22180555 RK |
1232 | #email-link-button[cui-areatype="menu-panel"][disabled="true"], |
1233 | toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] { | |
1234 | -moz-image-region: rect(64px, 800px, 96px, 768px); | |
1235 | } | |
1236 | ||
46e71434 RK |
1237 | #sidebar-button[cui-areatype="menu-panel"], |
1238 | toolbarpaletteitem[place="palette"] > #sidebar-button { | |
1239 | -moz-image-region: rect(0, 864px, 32px, 832px); | |
1240 | } | |
1241 | ||
1242 | #sidebar-button[cui-areatype="menu-panel"]:hover, | |
22180555 RK |
1243 | toolbarpaletteitem[place="palette"] > #sidebar-button:hover, |
1244 | #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
46e71434 RK |
1245 | -moz-image-region: rect(32px, 864px, 64px, 832px); |
1246 | } | |
1247 | ||
22180555 RK |
1248 | #panic-button[cui-areatype="menu-panel"], |
1249 | toolbarpaletteitem[place="palette"] > #panic-button { | |
1250 | -moz-image-region: rect(0, 896px, 32px, 864px); | |
1251 | } | |
1252 | ||
1253 | #panic-button[cui-areatype="menu-panel"]:hover, | |
1254 | toolbarpaletteitem[place="palette"] > #panic-button:hover, | |
1255 | #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { | |
1256 | -moz-image-region: rect(32px, 896px, 64px, 864px); | |
1257 | } | |
1258 | ||
1259 | #web-apps-button[cui-areatype="menu-panel"], | |
1260 | toolbarpaletteitem[place="palette"] > #web-apps-button { | |
1261 | -moz-image-region: rect(0, 928px, 32px, 896px); | |
1262 | } | |
1263 | ||
1264 | #web-apps-button[cui-areatype="menu-panel"]:hover, | |
1265 | toolbarpaletteitem[place="palette"] > #web-apps-button:hover { | |
1266 | -moz-image-region: rect(32px, 928px, 64px, 896px); | |
46e71434 RK |
1267 | } |
1268 | ||
e548e22e RK |
1269 | #webide-button[cui-areatype="menu-panel"], |
1270 | toolbarpaletteitem[place="palette"] > #webide-button { | |
1271 | -moz-image-region: rect(0px, 960px, 32px, 928px); | |
1272 | } | |
1273 | ||
1274 | #webide-button[cui-areatype="menu-panel"]:hover, | |
1275 | toolbarpaletteitem[place="palette"] > #webide-button:hover { | |
1276 | -moz-image-region: rect(32px, 960px, 64px, 928px); | |
1277 | } | |
1278 | ||
46e71434 RK |
1279 | toolbaritem[sdkstylewidget="true"] > toolbarbutton { |
1280 | -moz-image-region: rect(0, 832px, 32px, 800px); | |
1281 | } | |
1282 | ||
86d9f20a | 1283 | #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, |
8d1f53f0 RK |
1284 | toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, |
1285 | #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, | |
1286 | toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1287 | list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); |
1288 | -moz-image-region: rect(0, 32px, 32px, 0); | |
1289 | } | |
1290 | ||
1291 | /* Make sure that the state icons are not shown in the customization palette. */ | |
8d1f53f0 RK |
1292 | toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, |
1293 | toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1294 | -moz-image-region: rect(0, 32px, 32px, 0) !important; |
1295 | } | |
1296 | ||
8d1f53f0 RK |
1297 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
1298 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1299 | -moz-image-region: rect(0, 160px, 32px, 128px); |
1300 | } | |
1301 | ||
86d9f20a | 1302 | #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, |
8d1f53f0 RK |
1303 | #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container, |
1304 | #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, | |
1305 | #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1306 | -moz-image-region: rect(0, 64px, 32px, 32px); |
1307 | } | |
1308 | ||
8d1f53f0 RK |
1309 | #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
1310 | #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1311 | -moz-image-region: rect(0, 224px, 32px, 192px); |
1312 | } | |
1313 | ||
8d1f53f0 RK |
1314 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, |
1315 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1316 | -moz-image-region: rect(0, 96px, 32px, 64px); |
1317 | } | |
1318 | ||
8d1f53f0 RK |
1319 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, |
1320 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1321 | -moz-image-region: rect(0, 128px, 32px, 96px); |
1322 | } | |
1323 | ||
8d1f53f0 RK |
1324 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, |
1325 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { | |
d0e580f1 RK |
1326 | -moz-image-region: rect(0, 192px, 32px, 160px); |
1327 | } | |
1328 | ||
43cc2806 RK |
1329 | /* Wide panel control icons */ |
1330 | ||
51994fad RK |
1331 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, |
1332 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, | |
7d3f7f14 RK |
1333 | toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, |
1334 | toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { | |
e548e22e | 1335 | list-style-image: var(--menupanel-small-list-style-image); |
43cc2806 RK |
1336 | } |
1337 | ||
51994fad | 1338 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button, |
7d3f7f14 | 1339 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { |
43cc2806 RK |
1340 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
1341 | } | |
1342 | ||
51994fad | 1343 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]), |
7d3f7f14 | 1344 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1345 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
1346 | } | |
1347 | ||
51994fad | 1348 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"], |
7d3f7f14 | 1349 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { |
cc4b0b0d RK |
1350 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
1351 | } | |
1352 | ||
51994fad | 1353 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button, |
7d3f7f14 | 1354 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { |
43cc2806 RK |
1355 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
1356 | } | |
1357 | ||
51994fad | 1358 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]), |
7d3f7f14 | 1359 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1360 | -moz-image-region: rect(16px, 48px, 32px, 32px); |
1361 | } | |
1362 | ||
51994fad | 1363 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"], |
7d3f7f14 | 1364 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { |
cc4b0b0d RK |
1365 | -moz-image-region: rect(32px, 48px, 48px, 32px); |
1366 | } | |
1367 | ||
51994fad | 1368 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button, |
7d3f7f14 | 1369 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { |
43cc2806 RK |
1370 | -moz-image-region: rect(0px, 64px, 16px, 48px); |
1371 | } | |
1372 | ||
51994fad | 1373 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]), |
7d3f7f14 | 1374 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1375 | -moz-image-region: rect(16px, 64px, 32px, 48px); |
1376 | } | |
1377 | ||
51994fad | 1378 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"], |
7d3f7f14 | 1379 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { |
cc4b0b0d RK |
1380 | -moz-image-region: rect(32px, 64px, 48px, 48px); |
1381 | } | |
1382 | ||
51994fad | 1383 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button, |
7d3f7f14 | 1384 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { |
43cc2806 RK |
1385 | -moz-image-region: rect(0px, 80px, 16px, 64px); |
1386 | } | |
1387 | ||
51994fad | 1388 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]), |
7d3f7f14 | 1389 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1390 | -moz-image-region: rect(16px, 80px, 32px, 64px); |
1391 | } | |
1392 | ||
51994fad | 1393 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"], |
7d3f7f14 | 1394 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
1395 | -moz-image-region: rect(32px, 80px, 48px, 64px); |
1396 | } | |
1397 | ||
51994fad | 1398 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button, |
7d3f7f14 | 1399 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { |
43cc2806 RK |
1400 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
1401 | } | |
1402 | ||
51994fad | 1403 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]), |
7d3f7f14 | 1404 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { |
cc4b0b0d RK |
1405 | -moz-image-region: rect(16px, 96px, 32px, 80px); |
1406 | } | |
1407 | ||
51994fad | 1408 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"], |
7d3f7f14 | 1409 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
1410 | -moz-image-region: rect(32px, 96px, 48px, 80px); |
1411 | } | |
1412 | ||
e548e22e RK |
1413 | #add-share-provider { |
1414 | list-style-image: var(--menupanel-small-list-style-image); | |
1415 | -moz-image-region: rect(0px, 96px, 16px, 80px); | |
1416 | } | |
1417 | ||
43cc2806 RK |
1418 | /* === END menupanel.inc.css === */ |
1419 | ||
63ada306 RK |
1420 | .toolbarbutton-1:not([type="menu-button"]) { |
1421 | -moz-box-orient: vertical; | |
1422 | } | |
1423 | ||
319c6529 RK |
1424 | .toolbarbutton-1, |
1425 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
c0f6797e RK |
1426 | /* min-width: 36px; |
1427 | min-height: 36px;*/ | |
319c6529 RK |
1428 | } |
1429 | ||
1430 | .toolbarbutton-1, | |
1431 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1432 | .toolbarbutton-1[disabled="true"]:hover:active, | |
1433 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
1434 | padding: 1px 2px; | |
1435 | } | |
1436 | ||
1437 | .toolbarbutton-1:hover:active, | |
1438 | .toolbarbutton-1[open="true"], | |
1439 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
1440 | padding-top: 2px; | |
1441 | padding-bottom: 0px; | |
1442 | -moz-padding-start: 3px; | |
1443 | -moz-padding-end: 1px; | |
1444 | } | |
1445 | ||
c0f6797e RK |
1446 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, |
1447 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, | |
1448 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, | |
1449 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, | |
1450 | #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { | |
e20c83c3 RK |
1451 | } |
1452 | ||
c0f6797e RK |
1453 | .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, |
1454 | .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
e20c83c3 RK |
1455 | } |
1456 | ||
c0f6797e RK |
1457 | toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext, |
1458 | toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext { | |
319c6529 RK |
1459 | } |
1460 | ||
c0f6797e RK |
1461 | .toolbarbutton-1 > .toolbarbutton-icon, |
1462 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
319c6529 RK |
1463 | } |
1464 | ||
c0f6797e RK |
1465 | #nav-bar .toolbarbutton-1, |
1466 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
319c6529 RK |
1467 | } |
1468 | ||
c0f6797e RK |
1469 | #nav-bar .toolbarbutton-1:not([type=menu-button]), |
1470 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1471 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
319c6529 RK |
1472 | } |
1473 | ||
c0f6797e RK |
1474 | #nav-bar #PanelUI-menu-button { |
1475 | /* -moz-padding-start: 7px; | |
1476 | -moz-padding-end: 5px;*/ | |
319c6529 RK |
1477 | } |
1478 | ||
c0f6797e RK |
1479 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) { |
1480 | /* padding-left: 5px; | |
1481 | padding-right: 5px;*/ | |
319c6529 RK |
1482 | } |
1483 | ||
c0f6797e RK |
1484 | #nav-bar .toolbarbutton-1 > menupopup { |
1485 | /* margin-top: -3px;*/ | |
319c6529 RK |
1486 | } |
1487 | ||
c0f6797e | 1488 | #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel { |
c1d2ce3e | 1489 | margin-top: -4px; |
319c6529 RK |
1490 | } |
1491 | ||
c0f6797e RK |
1492 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
1493 | /* -moz-padding-end: 0;*/ | |
319c6529 RK |
1494 | } |
1495 | ||
c0f6797e RK |
1496 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
1497 | /* -moz-padding-start: 0; | |
1498 | -moz-box-align: center;*/ | |
319c6529 RK |
1499 | } |
1500 | ||
c0f6797e RK |
1501 | #nav-bar .toolbarbutton-1 > .toolbarbutton-icon, |
1502 | #nav-bar .toolbarbutton-1 > .toolbarbutton-text, | |
1503 | #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container, | |
1504 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, | |
1505 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, | |
2c62526c | 1506 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
c0f6797e RK |
1507 | /* padding: 2px 6px; |
1508 | border: 1px solid; | |
1509 | border-color: transparent; | |
1510 | transition-property: background-color, border-color; | |
1511 | transition-duration: 150ms;*/ | |
d54f5b23 | 1512 | } |
c0f6797e RK |
1513 | /* |
1514 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, | |
1515 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container, | |
1516 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { | |
1517 | padding: 3px 7px; | |
d54f5b23 | 1518 | } |
c0f6797e | 1519 | */ |
d54f5b23 | 1520 | |
c0f6797e RK |
1521 | /* Help SDK icons fit: */ |
1522 | toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { | |
1523 | width: 16px; | |
26125509 RK |
1524 | } |
1525 | ||
c0f6797e RK |
1526 | #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
1527 | /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ | |
1528 | width: 32px; | |
26125509 | 1529 | } |
26125509 | 1530 | |
c0f6797e RK |
1531 | #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, |
1532 | #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ { | |
1533 | /* -moz-padding-end: 17px;*/ | |
319c6529 RK |
1534 | } |
1535 | ||
c0f6797e | 1536 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { |
319c6529 RK |
1537 | } |
1538 | ||
c0f6797e | 1539 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
319c6529 RK |
1540 | } |
1541 | ||
c0f6797e | 1542 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
38cfeb47 RK |
1543 | } |
1544 | ||
c0f6797e RK |
1545 | #nav-bar .toolbaritem-combined-buttons { |
1546 | /* margin-left: 2px; | |
1547 | margin-right: 2px;*/ | |
38cfeb47 RK |
1548 | } |
1549 | ||
c0f6797e RK |
1550 | #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 { |
1551 | /* padding-left: 0; | |
1552 | padding-right: 0;*/ | |
319c6529 RK |
1553 | } |
1554 | ||
c0f6797e RK |
1555 | #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before, |
1556 | #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 { | |
1557 | /* | |
1558 | content: ""; | |
1559 | display: -moz-box; | |
1560 | width: 1px; | |
1561 | height: 16px; | |
1562 | -moz-margin-end: -1px; | |
1563 | */ | |
319c6529 RK |
1564 | } |
1565 | ||
2c62526c | 1566 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
319c6529 RK |
1567 | } |
1568 | ||
43371c9b | 1569 | #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
c0f6797e RK |
1570 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
1571 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, | |
1572 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon, | |
1573 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text, | |
1574 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container, | |
2c62526c | 1575 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon, |
46e71434 | 1576 | #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon { |
319c6529 RK |
1577 | } |
1578 | ||
43371c9b | 1579 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon, |
c0f6797e RK |
1580 | #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, |
1581 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon, | |
1582 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text, | |
1583 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container { | |
319c6529 RK |
1584 | } |
1585 | ||
c0f6797e RK |
1586 | #TabsToolbar .toolbarbutton-1, |
1587 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1588 | .tabbrowser-arrowscrollbox > .scrollbutton-up, | |
1589 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
e8519ae0 RK |
1590 | } |
1591 | ||
c0f6797e RK |
1592 | #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover, |
1593 | #TabsToolbar .toolbarbutton-1[open], | |
1594 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover, | |
1595 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover, | |
1596 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover { | |
e8519ae0 RK |
1597 | } |
1598 | ||
c0f6797e | 1599 | /* unified back/forward button */ |
319c6529 | 1600 | |
c0f6797e | 1601 | #forward-button { |
589b5528 | 1602 | -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ |
71bac478 RK |
1603 | } |
1604 | ||
c0f6797e RK |
1605 | #forward-button > menupopup { |
1606 | margin-top: 1px !important; | |
319c6529 RK |
1607 | } |
1608 | ||
c0f6797e RK |
1609 | #forward-button > .toolbarbutton-icon { |
1610 | background-clip: padding-box !important; | |
1611 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ | |
5401f433 | 1612 | /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/ |
71bac478 RK |
1613 | } |
1614 | ||
c0f6797e | 1615 | #forward-button { |
aec5dfad RK |
1616 | -moz-margin-start: -4px !important; |
1617 | padding-left: 4px; | |
1618 | padding-right: 2px; | |
c0f6797e RK |
1619 | margin-top: 3px; |
1620 | margin-bottom: 3px; | |
1621 | border-radius: 0 10000px 10000px 0; | |
319c6529 RK |
1622 | } |
1623 | ||
c0f6797e RK |
1624 | #forward-button:-moz-locale-dir(rtl) { |
1625 | border-radius: 10000px 0 0 10000px; | |
8ad8bf83 RK |
1626 | } |
1627 | ||
2c62526c | 1628 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button { |
aec5dfad | 1629 | transition: margin-left 150ms ease-out; |
2c62526c RK |
1630 | } |
1631 | ||
1632 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { | |
aec5dfad | 1633 | margin-left: -27px !important; |
2c62526c RK |
1634 | } |
1635 | ||
1636 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] { | |
1637 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ | |
1638 | transition-delay: 100s; | |
1639 | } | |
1640 | ||
1641 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] { | |
1642 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ | |
aec5dfad | 1643 | margin-left: -27.01px !important; |
2c62526c RK |
1644 | } |
1645 | ||
c0f6797e RK |
1646 | #back-button { |
1647 | /* padding-top: 3px !important; | |
1648 | padding-bottom: 3px !important; | |
1649 | -moz-padding-start: 5px !important; | |
1650 | -moz-padding-end: 0 !important;*/ | |
1651 | position: relative; | |
1652 | z-index: 1; | |
1653 | border-radius: 10000px; | |
1654 | width: 30px; | |
1655 | height: 30px; | |
1656 | margin-top: -2px; | |
1657 | margin-bottom: -2px; | |
143c5409 RK |
1658 | } |
1659 | ||
c0f6797e | 1660 | #back-button:-moz-locale-dir(rtl) { |
319c6529 RK |
1661 | } |
1662 | ||
c0f6797e RK |
1663 | #back-button > menupopup { |
1664 | margin-top: -1px !important; | |
b36fc72e RK |
1665 | } |
1666 | ||
c0f6797e RK |
1667 | #back-button > .toolbarbutton-icon { |
1668 | border-radius: 10000px !important; | |
1669 | background-clip: padding-box !important; | |
1670 | /* background-color: hsla(210,25%,98%,.08) !important; | |
1671 | padding: 6px !important; | |
589b5528 RK |
1672 | border-style: none !important; |
1673 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), | |
1674 | 0 0 0 1px hsla(210,4%,10%,.25);*/ | |
1675 | transition-property: background-color, box-shadow !important; | |
c0f6797e | 1676 | transition-duration: 250ms !important; |
143c5409 RK |
1677 | } |
1678 | ||
c0f6797e | 1679 | #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { |
589b5528 | 1680 | /* background-color: hsla(210,4%,10%,.08) !important;*/ |
143c5409 RK |
1681 | } |
1682 | ||
c0f6797e RK |
1683 | #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon, |
1684 | #back-button[open="true"] > .toolbarbutton-icon { | |
1685 | /* background-color: hsla(210,4%,10%,.12) !important; | |
589b5528 RK |
1686 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), |
1687 | 0 0 0 1px hsla(210,4%,10%,.25), | |
1688 | 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/ | |
143c5409 RK |
1689 | } |
1690 | ||
2c62526c | 1691 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
c0f6797e | 1692 | transform: scaleX(-1); |
143c5409 | 1693 | } |
c0f6797e RK |
1694 | /* |
1695 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), | |
1696 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
1697 | list-style-image: url("chrome://browser/skin/menu-back.png") !important; | |
6adbc9a6 RK |
1698 | } |
1699 | ||
c0f6797e RK |
1700 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), |
1701 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
1702 | list-style-image: url("chrome://browser/skin/menu-forward.png") !important; | |
6adbc9a6 RK |
1703 | } |
1704 | ||
c0f6797e RK |
1705 | #home-button.bookmark-item { |
1706 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
6adbc9a6 RK |
1707 | } |
1708 | ||
c0f6797e RK |
1709 | #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), |
1710 | #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), | |
1711 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1712 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1713 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1714 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
1715 | #home-button.bookmark-item:-moz-lwtheme-brighttext { | |
1716 | position: relative; | |
1717 | z-index: 1; | |
1718 | list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); | |
6adbc9a6 RK |
1719 | } |
1720 | ||
c0f6797e RK |
1721 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
1722 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) { | |
1723 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); | |
6adbc9a6 | 1724 | } |
c0f6797e | 1725 | */ |
6adbc9a6 | 1726 | |
c0f6797e RK |
1727 | #downloads-button > .toolbarbutton-icon { |
1728 | margin: 0; | |
6adbc9a6 RK |
1729 | } |
1730 | ||
9168a62c | 1731 | /* tabview menu item */ |
c0f6797e | 1732 | |
6adbc9a6 | 1733 | #menu_tabview { |
832af407 | 1734 | list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); |
6adbc9a6 RK |
1735 | -moz-image-region: rect(1px, 89px, 17px, 73px); |
1736 | } | |
1737 | ||
1738 | #menu_tabview[groups="0"] { | |
1739 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
1740 | } | |
1741 | ||
1742 | #menu_tabview[groups="1"] { | |
1743 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
1744 | } | |
1745 | ||
1746 | #menu_tabview[groups="2"] { | |
1747 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
1748 | } | |
1749 | ||
1750 | #menu_tabview[groups="3"] { | |
1751 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
1752 | } | |
1753 | ||
9168a62c RK |
1754 | /* undo close tab menu item */ |
1755 | #alltabs_undoCloseTab { | |
1756 | list-style-image: url(chrome://browser/skin/undoCloseTab.png); | |
1757 | } | |
1758 | ||
1759 | @media (min-resolution: 1.25dppx) { | |
1760 | #alltabs_undoCloseTab { | |
1761 | list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png); | |
1762 | } | |
1763 | #alltabs_undoCloseTab > .toolbarbutton-icon { | |
1764 | width: 16px; | |
1765 | } | |
1766 | } | |
1767 | ||
5401f433 RK |
1768 | /* zoom control text (reset) button special case: */ |
1769 | ||
1770 | #nav-bar #zoom-reset-button > .toolbarbutton-text { | |
1771 | /* To make this line up with the icons, it needs the same height (18px) + | |
1772 | * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise | |
1773 | * increase in text sizes would break things... | |
1774 | */ | |
1775 | min-height: 20px; | |
1776 | } | |
1777 | ||
319c6529 RK |
1778 | /* ::::: fullscreen window controls ::::: */ |
1779 | ||
8d7ef0d9 | 1780 | #window-controls { |
ab799a7a RK |
1781 | -moz-margin-start: 4px; |
1782 | } | |
1783 | ||
319c6529 RK |
1784 | #minimize-button, |
1785 | #restore-button, | |
1786 | #close-button { | |
c0f6797e RK |
1787 | /* list-style-image: url("chrome://global/skin/icons/windowControls.png"); |
1788 | padding: 0; */ | |
319c6529 RK |
1789 | } |
1790 | ||
1791 | #minimize-button { | |
1792 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
1793 | } | |
1794 | ||
1795 | #minimize-button:hover { | |
1796 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
1797 | } | |
1798 | ||
1799 | #restore-button { | |
1800 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
1801 | } | |
1802 | ||
1803 | #restore-button:hover { | |
1804 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
1805 | } | |
1806 | ||
1807 | #close-button { | |
1808 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
1809 | } | |
1810 | ||
1811 | #close-button:hover { | |
1812 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
1813 | } | |
1814 | ||
1815 | /* ::::: Location Bar ::::: */ | |
1816 | ||
319c6529 RK |
1817 | #urlbar, |
1818 | .searchbar-textbox { | |
1819 | border-radius: 5px; | |
aec5dfad | 1820 | margin: 2px 0; |
319c6529 RK |
1821 | -moz-margin-start: 3px; |
1822 | } | |
1823 | ||
ffce2402 | 1824 | #urlbar { |
f0071a71 RK |
1825 | /* make color as light as possible to deal with dark non-domain parts */ |
1826 | color: #FFBFFF; | |
ffce2402 RK |
1827 | } |
1828 | ||
319c6529 RK |
1829 | #urlbar:-moz-lwtheme, |
1830 | .searchbar-textbox:-moz-lwtheme { | |
1831 | /* background-color: rgba(255,255,255,.8); | |
1832 | @navbarTextboxCustomBorder@ | |
1833 | color: black; */ | |
1834 | } | |
1835 | ||
c0f6797e RK |
1836 | #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]), |
1837 | .searchbar-textbox:-moz-lwtheme:hover:not([focused]) { | |
1838 | /* background-color: rgba(255,255,255,.9);*/ | |
1839 | } | |
1840 | ||
1841 | #urlbar:-moz-lwtheme[focused]:not([readonly]), | |
1842 | .searchbar-textbox:-moz-lwtheme[focused] { | |
1843 | /* background-color: white;*/ | |
1844 | } | |
1845 | ||
2c62526c | 1846 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar { |
2299146f RK |
1847 | /* -moz-border-start: none; |
1848 | margin-left: 0;*/ | |
2c62526c RK |
1849 | } |
1850 | ||
1851 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { | |
1852 | /* border-top-left-radius: 0; | |
1853 | border-bottom-left-radius: 0; */ | |
1854 | } | |
1855 | ||
1856 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { | |
1857 | /* border-top-right-radius: 0; | |
1858 | border-bottom-right-radius: 0; */ | |
1859 | } | |
1860 | ||
1861 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper { | |
1862 | /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/ | |
aec5dfad | 1863 | /* -moz-margin-start: -5px; */ |
2c62526c RK |
1864 | } |
1865 | ||
fff8097b RK |
1866 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl), |
1867 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { | |
2c62526c | 1868 | /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
71a617ff | 1869 | transform: scaleX(-1); |
8ad8bf83 RK |
1870 | } |
1871 | ||
2c62526c RK |
1872 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) { |
1873 | -moz-box-direction: reverse; | |
1874 | } | |
1875 | ||
a7145e95 RK |
1876 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
1877 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { | |
319c6529 RK |
1878 | color: #E7ADE7; |
1879 | } | |
1880 | ||
319c6529 RK |
1881 | #urlbar-container { |
1882 | -moz-box-orient: horizontal; | |
1883 | -moz-box-align: stretch; | |
1884 | } | |
1885 | ||
9abeb12c RK |
1886 | .urlbar-textbox-container { |
1887 | -moz-box-align: stretch; | |
1888 | } | |
1889 | ||
a40f6a79 RK |
1890 | .urlbar-input-box { |
1891 | -moz-margin-start: 0; | |
1892 | } | |
1893 | ||
319c6529 | 1894 | #urlbar-icons { |
319c6529 RK |
1895 | -moz-box-align: center; |
1896 | } | |
1897 | ||
1898 | .urlbar-icon { | |
b8384c33 | 1899 | padding: 0 2px; |
ffce2402 RK |
1900 | } |
1901 | ||
1902 | .searchbar-engine-button, | |
1903 | .search-go-container { | |
4b686546 RK |
1904 | padding: 2px; |
1905 | } | |
1906 | ||
1907 | .search-go-container > .search-go-button { | |
1908 | padding: 0; | |
319c6529 RK |
1909 | } |
1910 | ||
ffce2402 RK |
1911 | .urlbar-icon:hover { |
1912 | } | |
1913 | ||
1914 | .urlbar-icon[open="true"], | |
1915 | .urlbar-icon:hover:active { | |
1916 | } | |
1917 | ||
319c6529 RK |
1918 | #urlbar-search-splitter { |
1919 | min-width: 6px; | |
1920 | -moz-margin-start: -3px; | |
1921 | border: none; | |
1922 | background: transparent; | |
1923 | } | |
1924 | ||
f0071a71 | 1925 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
319c6529 RK |
1926 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
1927 | -moz-margin-start: 0; | |
1928 | } | |
1929 | ||
e20c83c3 RK |
1930 | #urlbar-display-box { |
1931 | } | |
1932 | ||
8922acc9 | 1933 | .urlbar-display { |
319c6529 RK |
1934 | -moz-border-end: 1px solid #9C9CFF; |
1935 | -moz-margin-end: 3px; | |
ab799a7a RK |
1936 | margin-top: 0; |
1937 | margin-bottom: 0; | |
a40f6a79 | 1938 | -moz-margin-start: 0; |
ab799a7a RK |
1939 | color: #8050B0; |
1940 | } | |
1941 | ||
26125509 RK |
1942 | #search-container { |
1943 | min-width: calc(54px + 11ch); | |
1944 | } | |
1945 | ||
319c6529 RK |
1946 | /* identity box */ |
1947 | ||
1948 | #identity-box { | |
319c6529 | 1949 | border-radius: 2px; |
85cfb236 | 1950 | font-size: .9em; |
319c6529 RK |
1951 | } |
1952 | ||
e20c83c3 RK |
1953 | #identity-box:-moz-locale-dir(ltr) { |
1954 | /* border-top-left-radius: 1.5px; | |
1955 | border-bottom-left-radius: 1.5px;*/ | |
1956 | } | |
1957 | ||
1958 | #identity-box:-moz-locale-dir(rtl) { | |
1959 | /* border-top-right-radius: 1.5px; | |
1960 | border-bottom-right-radius: 1.5px;*/ | |
1961 | } | |
1962 | ||
8ad8bf83 | 1963 | #notification-popup-box:not([hidden]) + #identity-box { |
5517da5a | 1964 | -moz-padding-start: 10px !important; |
8ad8bf83 RK |
1965 | border-radius: 0; |
1966 | } | |
1967 | ||
fff8097b | 1968 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { |
d15d08bf | 1969 | /* border-radius: 0; */ |
2a5b7882 RK |
1970 | -moz-padding-start: 2px; |
1971 | -moz-padding-end: 2px; | |
1972 | -moz-margin-end: 1px; | |
8ad8bf83 RK |
1973 | } |
1974 | ||
2c62526c RK |
1975 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box { |
1976 | transition: padding-left, padding-right; | |
1977 | } | |
1978 | ||
2c62526c | 1979 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
26125509 | 1980 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
2a5b7882 | 1981 | padding-left: 2px; |
8ad8bf83 RK |
1982 | } |
1983 | ||
2c62526c | 1984 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
26125509 | 1985 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
2a5b7882 | 1986 | padding-right: 2px; |
8ad8bf83 RK |
1987 | } |
1988 | ||
2c62526c | 1989 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > |
26125509 | 1990 | #notification-popup-box[hidden] + #identity-box { |
8ad8bf83 | 1991 | /* forward button hiding is delayed when hovered */ |
71a617ff | 1992 | transition-delay: 100s; |
8ad8bf83 RK |
1993 | } |
1994 | ||
2c62526c | 1995 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
26125509 | 1996 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 | 1997 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 1998 | padding-left: 2.01px; |
8ad8bf83 RK |
1999 | } |
2000 | ||
2c62526c | 2001 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
26125509 | 2002 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 | 2003 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 2004 | padding-right: 2.01px; |
8ad8bf83 RK |
2005 | } |
2006 | ||
56859d76 RK |
2007 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
2008 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
a40f6a79 | 2009 | -moz-margin-end: 3px; |
319c6529 RK |
2010 | } |
2011 | ||
56859d76 | 2012 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), |
37953ab4 | 2013 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
a40f6a79 RK |
2014 | border-top-right-radius: 0; |
2015 | border-bottom-right-radius: 0; | |
319c6529 RK |
2016 | } |
2017 | ||
56859d76 | 2018 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
37953ab4 | 2019 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2020 | border-top-left-radius: 0; |
2021 | border-bottom-left-radius: 0; | |
319c6529 RK |
2022 | } |
2023 | ||
a40f6a79 | 2024 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
e548e22e | 2025 | var(--verified-identity-box-backgroundcolor); |
319c6529 RK |
2026 | } |
2027 | ||
2028 | #identity-box:-moz-focusring { | |
2029 | outline: 1px dotted #008484; | |
f993773d | 2030 | outline-offset: -1px; |
319c6529 RK |
2031 | } |
2032 | ||
2033 | #identity-box.verifiedDomain:-moz-focusring, | |
2034 | #identity-box.verifiedIdentity:-moz-focusring { | |
2035 | outline-color: #000000; | |
2036 | } | |
2037 | ||
2038 | #identity-icon-labels { | |
2039 | -moz-margin-start: 1px; | |
2040 | -moz-margin-end: 3px; | |
319c6529 RK |
2041 | } |
2042 | ||
2043 | /* Location bar dropmarker */ | |
2044 | ||
38cfeb47 | 2045 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 2046 | background-color: transparent; |
319c6529 RK |
2047 | } |
2048 | ||
00f971bc RK |
2049 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, |
2050 | #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { | |
38cfeb47 RK |
2051 | border: none; |
2052 | border-radius: 0px; | |
319c6529 RK |
2053 | } |
2054 | ||
ffce2402 RK |
2055 | .urlbar-history-dropmarker:hover { |
2056 | } | |
2057 | ||
2058 | .urlbar-history-dropmarker:hover:active, | |
2059 | .urlbar-history-dropmarker[open="true"] { | |
2060 | } | |
2061 | ||
319c6529 RK |
2062 | /* page proxy icon */ |
2063 | ||
e7c8bab1 RK |
2064 | /* === BEGIN identity-block.inc.css === */ |
2065 | ||
e548e22e RK |
2066 | :root { |
2067 | --identity-box-verified-color: #008484; | |
e7c8bab1 | 2068 | /* Default theme does different color per channel, we can't as they do it build-time. */ |
e548e22e RK |
2069 | --identity-box-chrome-color: #9C9CFF; |
2070 | } | |
2071 | ||
2072 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { | |
2073 | color: var(--identity-box-chrome-color); | |
2074 | -moz-border-end: 1px solid var(--identity-box-chrome-color); | |
e7c8bab1 RK |
2075 | } |
2076 | ||
2077 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
e548e22e RK |
2078 | color: var(--identity-box-verified-color); |
2079 | -moz-border-end: 1px solid var(--identity-box-verified-color); | |
e7c8bab1 RK |
2080 | } |
2081 | ||
2082 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, | |
2083 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
2084 | background-position: right; | |
2085 | background-size: 1px; | |
2086 | background-repeat: no-repeat; | |
2087 | } | |
2088 | ||
2089 | /* page proxy icon */ | |
2090 | ||
4d58ff64 | 2091 | #page-proxy-favicon { |
319c6529 RK |
2092 | width: 16px; |
2093 | height: 16px; | |
a40f6a79 | 2094 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
00f971bc | 2095 | margin: 2px; |
e7c8bab1 RK |
2096 | } |
2097 | ||
2098 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { | |
2099 | list-style-image: url("chrome://branding/content/identity-icons-brand.png"); | |
319c6529 RK |
2100 | } |
2101 | ||
2a5b7882 | 2102 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2103 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
2104 | } | |
2105 | ||
2a5b7882 | 2106 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2107 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
2108 | } | |
2109 | ||
56ab361a RK |
2110 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
2111 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); | |
2112 | } | |
2113 | ||
e7c8bab1 RK |
2114 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
2115 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2116 | } | |
2117 | ||
2118 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { | |
2119 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2120 | } | |
2121 | ||
2122 | #page-proxy-favicon[pageproxystate="invalid"] { | |
2123 | opacity: 0.3; | |
2124 | } | |
2125 | ||
2126 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { | |
2127 | list-style-image: url("chrome://branding/content/icon64.png"); | |
2128 | } | |
2129 | ||
2130 | #identity-popup-brandName { | |
2131 | font-weight: bold; | |
2132 | font-size: 1.25em; | |
2133 | margin-top: .5em; | |
2134 | margin-bottom: .5em; | |
2135 | } | |
2136 | ||
2137 | #identity-popup-content-box { | |
2138 | max-width: 50ch; | |
2139 | } | |
2140 | ||
2141 | /* === END identity-block.inc.css === */ | |
2142 | ||
2143 | #page-proxy-favicon { | |
2144 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2145 | } | |
2146 | ||
3b1da406 | 2147 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon { |
c0f6797e RK |
2148 | /* -moz-margin-end: 1px;*/ |
2149 | } | |
2150 | ||
2a5b7882 | 2151 | #identity-box:hover > #page-proxy-favicon { |
a40f6a79 RK |
2152 | -moz-image-region: rect(0, 32px, 16px, 16px); |
2153 | } | |
2154 | ||
2a5b7882 RK |
2155 | #identity-box:hover:active > #page-proxy-favicon, |
2156 | #identity-box[open=true] > #page-proxy-favicon { | |
a40f6a79 | 2157 | -moz-image-region: rect(0, 48px, 16px, 32px); |
acb0e9b8 | 2158 | } |
2159 | ||
2a5b7882 RK |
2160 | #identity-box:hover { |
2161 | background-color: #FFCF00; | |
7092015d | 2162 | color: #000000; |
2a5b7882 RK |
2163 | } |
2164 | ||
2165 | #identity-box:hover:active, | |
2166 | #identity-box[open=true] { | |
2167 | background-color: #FF9F00; | |
7092015d | 2168 | color: #000000; |
2a5b7882 RK |
2169 | } |
2170 | ||
56859d76 RK |
2171 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, |
2172 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, | |
2173 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { | |
2174 | background-color: #9C9CFF; | |
2175 | color: #000000; | |
2176 | } | |
2177 | ||
387e6560 RK |
2178 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
2179 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, | |
2180 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { | |
2a5b7882 RK |
2181 | background-color: #008484; |
2182 | color: #000000; | |
2183 | } | |
2184 | ||
319c6529 RK |
2185 | /* autocomplete */ |
2186 | ||
319c6529 RK |
2187 | #treecolAutoCompleteImage { |
2188 | max-width: 36px; | |
2189 | } | |
acb0e9b8 | 2190 | |
319c6529 RK |
2191 | .ac-result-type-bookmark, |
2192 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 2193 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 2194 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 2195 | width: 16px; |
319c6529 | 2196 | height: 16px; |
acb0e9b8 | 2197 | } |
2198 | ||
c0f6797e RK |
2199 | richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark, |
2200 | .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) { | |
2201 | /* -moz-image-region: rect(0px 48px 16px 32px);*/ | |
2202 | } | |
2203 | ||
319c6529 | 2204 | .ac-result-type-keyword, |
8922acc9 RK |
2205 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), |
2206 | richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { | |
2207 | list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); | |
acb0e9b8 | 2208 | width: 16px; |
2209 | height: 16px; | |
2210 | } | |
2211 | ||
8922acc9 RK |
2212 | .ac-result-type-keyword[selected="true"], |
2213 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), | |
2214 | richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { | |
2215 | list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); | |
2216 | } | |
2217 | ||
319c6529 RK |
2218 | .ac-result-type-tag, |
2219 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 2220 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 2221 | width: 16px; |
319c6529 RK |
2222 | height: 16px; |
2223 | } | |
acb0e9b8 | 2224 | |
319c6529 | 2225 | .ac-comment { |
c0f6797e | 2226 | font-size: 1.06em; |
acb0e9b8 | 2227 | } |
319c6529 RK |
2228 | |
2229 | .ac-extra > .ac-comment { | |
c0f6797e | 2230 | font-size: 1em; |
acb0e9b8 | 2231 | } |
319c6529 RK |
2232 | |
2233 | .ac-url-text, | |
2234 | .ac-action-text { | |
c0f6797e | 2235 | font-size: 1em; |
319c6529 | 2236 | color: #9C9CFF; |
acb0e9b8 | 2237 | } |
319c6529 RK |
2238 | |
2239 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
2240 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
85cfb236 RK |
2241 | -moz-image-region: rect(0, 16px, 16px, 0); |
2242 | padding: 0 3px; | |
2243 | } | |
2244 | ||
2245 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { | |
2246 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
acb0e9b8 | 2247 | } |
2248 | ||
319c6529 RK |
2249 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
2250 | color: #8050B0; | |
2251 | } | |
acb0e9b8 | 2252 | |
319c6529 RK |
2253 | .ac-comment[selected="true"], |
2254 | .ac-url-text[selected="true"], | |
2255 | .ac-action-text[selected="true"] { | |
2256 | color: inherit !important; | |
acb0e9b8 | 2257 | } |
2258 | ||
c1f7cc84 RK |
2259 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
2260 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
2261 | { |
2262 | color: #8050B0; | |
2263 | font-size: smaller; | |
acb0e9b8 | 2264 | } |
319c6529 RK |
2265 | |
2266 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
2267 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 2268 | } |
2269 | ||
319c6529 RK |
2270 | /* combined go/reload/stop button in location bar */ |
2271 | ||
2272 | #urlbar > toolbarbutton { | |
9abeb12c | 2273 | -moz-margin-start: 0; |
ffce2402 | 2274 | padding: 0 2px; |
319c6529 RK |
2275 | background-origin: border-box; |
2276 | border: none; | |
832af407 | 2277 | list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); |
9abeb12c RK |
2278 | -moz-border-start: 1px solid #9C9CFF; |
2279 | } | |
2280 | ||
2281 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { | |
38cfeb47 RK |
2282 | border-top-left-radius: 0px; |
2283 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 2284 | } |
acb0e9b8 | 2285 | |
9abeb12c | 2286 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
2287 | border-top-right-radius: 0px; |
2288 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
2289 | } |
2290 | ||
46e71434 | 2291 | #urlbar > toolbarbutton:not([disabled=true]):active:hover, |
dce90fef RK |
2292 | #urlbar-reload-button:not(:hover) { |
2293 | -moz-border-start-style: none; | |
714b11f6 | 2294 | -moz-padding-start: 3px; |
dce90fef RK |
2295 | } |
2296 | ||
c0f6797e RK |
2297 | #urlbar-reload-button { |
2298 | -moz-image-region: rect(0px, 14px, 14px, 0px); | |
acb0e9b8 | 2299 | } |
2300 | ||
46e71434 | 2301 | #urlbar-reload-button[disabled=true] { |
c0f6797e | 2302 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 2303 | } |
2304 | ||
46e71434 | 2305 | #urlbar-reload-button:not([disabled=true]):hover { |
c0f6797e | 2306 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
ffce2402 RK |
2307 | } |
2308 | ||
c0f6797e RK |
2309 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
2310 | transform: scaleX(-1); | |
acb0e9b8 | 2311 | } |
2312 | ||
c0f6797e RK |
2313 | #urlbar-go-button { |
2314 | -moz-image-region: rect(0, 42px, 14px, 28px); | |
38cfeb47 RK |
2315 | } |
2316 | ||
fff8097b | 2317 | #urlbar-go-button:hover { |
c0f6797e | 2318 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
acb0e9b8 | 2319 | } |
2320 | ||
c0f6797e RK |
2321 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
2322 | transform: scaleX(-1); | |
acb0e9b8 | 2323 | } |
319c6529 RK |
2324 | |
2325 | #urlbar-stop-button { | |
ffce2402 | 2326 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 2327 | } |
319c6529 RK |
2328 | |
2329 | #urlbar-stop-button:hover { | |
ffce2402 | 2330 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 2331 | } |
2332 | ||
319c6529 RK |
2333 | /* popup blocker button */ |
2334 | ||
2335 | #page-report-button { | |
2336 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
2337 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 2338 | } |
319c6529 | 2339 | |
71bac478 | 2340 | #page-report-button:hover , |
319c6529 RK |
2341 | #page-report-button:hover:active, |
2342 | #page-report-button[open="true"] { | |
71bac478 | 2343 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 2344 | } |
2345 | ||
c4460289 RK |
2346 | /* social share panel */ |
2347 | ||
2348 | #social-share-panel > iframe { | |
2349 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ | |
2350 | width: 300px; | |
2351 | height: 150px; | |
2352 | } | |
2353 | ||
c4460289 RK |
2354 | .social-share-toolbar { |
2355 | border-right: 1px solid #9C9CFF; | |
2356 | /* background-color: #000000; */ | |
2357 | } | |
2358 | ||
2359 | #social-share-provider-buttons { | |
2360 | padding: 6px; | |
2361 | } | |
2362 | ||
2363 | #social-share-provider-buttons > .share-provider-button { | |
2364 | -moz-appearance: none; | |
2365 | padding: 5px; | |
2366 | margin: 1px; | |
2367 | border: none; | |
2368 | background: none; | |
2369 | border-radius: 2px; | |
2370 | } | |
2371 | ||
2372 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), | |
2373 | #social-share-provider-buttons > .share-provider-button:hover, | |
2374 | #social-share-provider-buttons > .share-provider-button:active { | |
2375 | padding: 4px; | |
2376 | } | |
2377 | ||
2378 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { | |
2379 | } | |
2380 | ||
2381 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { | |
2382 | display: none; | |
2383 | } | |
2384 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { | |
2385 | width: 16px; | |
2386 | min-height: 16px; | |
2387 | max-height: 16px; | |
2388 | } | |
2389 | ||
5a199ba1 RK |
2390 | toolbarbutton[type="socialmark"] > .toolbarbutton-icon { |
2391 | width: auto; | |
2392 | height: auto; | |
2393 | max-width: 32px; | |
2394 | max-height: 24px; | |
2395 | } | |
2396 | ||
c4460289 RK |
2397 | /* fixup corners for share panel */ |
2398 | .social-panel > .social-panel-frame { | |
2399 | border-radius: inherit; | |
2400 | } | |
2401 | ||
2402 | #social-share-panel { | |
2403 | max-height: 600px; | |
2404 | min-height: 100px; | |
2405 | max-width: 800px; | |
2406 | min-width: 300px; | |
2407 | } | |
2408 | ||
2409 | .social-share-frame { | |
2410 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ | |
2411 | width: 330px; | |
2412 | height: 150px; | |
c4460289 RK |
2413 | /* we resize our panels dynamically, make it look nice */ |
2414 | transition: height 100ms ease-out, width 100ms ease-out; | |
2415 | } | |
2416 | ||
e2734cc7 RK |
2417 | .social-share-frame:-moz-locale-dir(ltr) { |
2418 | border-top-left-radius: 0; | |
2419 | border-bottom-left-radius: 0; | |
2420 | border-top-right-radius: inherit; | |
2421 | border-bottom-right-radius: inherit; | |
2422 | } | |
2423 | ||
2424 | .social-share-frame:-moz-locale-dir(rtl) { | |
c4460289 RK |
2425 | border-top-left-radius: inherit; |
2426 | border-bottom-left-radius: inherit; | |
e2734cc7 RK |
2427 | border-top-right-radius: 0; |
2428 | border-bottom-right-radius: 0; | |
c4460289 RK |
2429 | } |
2430 | ||
e2734cc7 RK |
2431 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { |
2432 | border-top-left-radius: inherit; | |
2433 | border-bottom-left-radius: inherit; | |
2434 | } | |
2435 | ||
2436 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { | |
2437 | border-top-right-radius: inherit; | |
2438 | border-bottom-right-radius: inherit; | |
2439 | } | |
2440 | ||
2441 | #social-share-provider-buttons:-moz-locale-dir(ltr) { | |
c4460289 RK |
2442 | border-top-left-radius: inherit; |
2443 | border-bottom-left-radius: inherit; | |
2444 | } | |
2445 | ||
e2734cc7 RK |
2446 | #social-share-provider-buttons:-moz-locale-dir(rtl) { |
2447 | border-top-right-radius: inherit; | |
2448 | border-bottom-right-radius: inherit; | |
2449 | } | |
2450 | ||
889649fd RK |
2451 | /* social recommending panel */ |
2452 | ||
a6757852 | 2453 | #social-mark-button { |
d7cfd768 | 2454 | -moz-image-region: rect(0, 16px, 16px, 0); |
889649fd RK |
2455 | } |
2456 | ||
c0f6797e | 2457 | /* bookmarks menu-button */ |
319c6529 | 2458 | |
c0f6797e RK |
2459 | #bookmarks-menu-button.bookmark-item { |
2460 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
2461 | -moz-image-region: rect(0px 16px 16px 0px); | |
acb0e9b8 | 2462 | } |
319c6529 | 2463 | |
c0f6797e RK |
2464 | #bookmarks-menu-button.bookmark-item[starred] { |
2465 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 2466 | } |
319c6529 | 2467 | |
c0f6797e RK |
2468 | #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
2469 | -moz-margin-start: 5px; | |
acb0e9b8 | 2470 | } |
2471 | ||
c0f6797e RK |
2472 | #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
2473 | padding-top: 2px; | |
2474 | padding-bottom: 2px; | |
71bac478 RK |
2475 | } |
2476 | ||
c0f6797e RK |
2477 | #BMB_bookmarksPopup[side="top"], |
2478 | #BMB_bookmarksPopup[side="bottom"] { | |
2479 | margin-left: -20px; | |
2480 | margin-right: -20px; | |
71bac478 RK |
2481 | } |
2482 | ||
c0f6797e RK |
2483 | #BMB_bookmarksPopup[side="left"], |
2484 | #BMB_bookmarksPopup[side="right"] { | |
2485 | margin-top: -20px; | |
2486 | margin-bottom: -20px; | |
acb0e9b8 | 2487 | } |
319c6529 RK |
2488 | |
2489 | /* bookmarking panel */ | |
c0f6797e | 2490 | |
319c6529 RK |
2491 | #editBookmarkPanelStarIcon { |
2492 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
2493 | width: 48px; | |
2494 | height: 48px; | |
acb0e9b8 | 2495 | } |
319c6529 RK |
2496 | |
2497 | #editBookmarkPanelStarIcon[unstarred] { | |
2498 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 2499 | } |
2500 | ||
319c6529 RK |
2501 | #editBookmarkPanelTitle { |
2502 | font-size: 130%; | |
acb0e9b8 | 2503 | } |
319c6529 RK |
2504 | |
2505 | #editBookmarkPanelHeader, | |
2506 | #editBookmarkPanelContent { | |
2507 | margin-bottom: .5em; | |
acb0e9b8 | 2508 | } |
319c6529 RK |
2509 | |
2510 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
2511 | #editBMPanel_folderTree { | |
2512 | min-width: 27em; | |
acb0e9b8 | 2513 | } |
2514 | ||
f993773d | 2515 | .panel-promo-box { |
46e71434 RK |
2516 | margin: 5px 0 -6px; |
2517 | padding: 5px 0; | |
889649fd | 2518 | border-top: 1px solid #9C9CFF; |
f0eab82c RK |
2519 | border-bottom-left-radius: 5px; |
2520 | border-bottom-right-radius: 5px; | |
f993773d RK |
2521 | } |
2522 | ||
2523 | .panel-promo-icon { | |
2524 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
2525 | -moz-margin-end: 10px; | |
2526 | vertical-align: middle; | |
2527 | } | |
2528 | ||
2529 | .panel-promo-closebutton { | |
2530 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
2531 | -moz-margin-end: -3px; |
2532 | margin-top: -3px; | |
f993773d RK |
2533 | } |
2534 | ||
2535 | .panel-promo-closebutton:hover { | |
2536 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2537 | } | |
2538 | ||
2539 | .panel-promo-closebutton:hover:active { | |
2540 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2541 | } | |
2542 | ||
2543 | .panel-promo-closebutton > .toolbarbutton-text { | |
2544 | padding: 0; | |
f993773d RK |
2545 | } |
2546 | ||
319c6529 RK |
2547 | /* ::::: content area ::::: */ |
2548 | ||
2549 | #sidebar { | |
2550 | background-color: Window; | |
acb0e9b8 | 2551 | } |
319c6529 RK |
2552 | |
2553 | #sidebar-title { | |
2554 | -moz-padding-start: 0px; | |
acb0e9b8 | 2555 | } |
319c6529 | 2556 | |
589b5528 RK |
2557 | #sidebar-header > .close-icon { |
2558 | /* padding: 4px 2px; | |
2559 | margin: 0; | |
2560 | border: none;*/ | |
2561 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
2562 | } | |
2563 | ||
2564 | #sidebar-header > .close-icon:hover, | |
2565 | #sidebar-header > .close-icon:hover:active { | |
2566 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2567 | } | |
2568 | ||
fe524e0c RK |
2569 | .browserContainer > findbar { |
2570 | /* | |
2571 | background-color: -moz-dialog; | |
2572 | color: -moz-DialogText; | |
2573 | */ | |
2574 | } | |
2575 | ||
319c6529 | 2576 | /* Tabstrip */ |
b36fc72e | 2577 | |
c0f6797e | 2578 | #TabsToolbar { |
e20c83c3 RK |
2579 | min-height: 0; |
2580 | padding: 0; | |
2581 | -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar"); | |
2582 | } | |
2583 | ||
b36fc72e | 2584 | #TabsToolbar .toolbar-holder { |
c1f7cc84 | 2585 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 2586 | } |
2587 | ||
b36fc72e | 2588 | #main-window[disablechrome] #TabsToolbar, |
319c6529 | 2589 | #TabsToolbar[tabsontop="false"] { |
8b5fc82e | 2590 | border-bottom: 1px solid #008484; |
acb0e9b8 | 2591 | } |
319c6529 | 2592 | |
6dc70335 RK |
2593 | /* === BEGIN tabs.inc.css === */ |
2594 | ||
319c6529 | 2595 | .tabbrowser-tab, |
43ee1307 RK |
2596 | .tabs-newtab-button, |
2597 | #TabsToolbar > #new-tab-button { | |
319c6529 | 2598 | margin-top: 0px; |
acb0e9b8 | 2599 | } |
319c6529 | 2600 | |
43ee1307 | 2601 | .tabbrowser-tab { |
57fc408c RK |
2602 | padding: 1px 4px 2px; |
2603 | } | |
2604 | ||
2605 | .tabbrowser-tab:first-of-type { | |
2606 | -moz-margin-start: 2px; | |
2607 | } | |
2608 | ||
43ee1307 RK |
2609 | .tabs-newtab-button, |
2610 | #TabsToolbar > #new-tab-button { | |
57fc408c RK |
2611 | border-radius: 8px 8px 0px 0px; |
2612 | -moz-margin-start: 0; | |
2613 | } | |
2614 | ||
43ee1307 RK |
2615 | .tabs-newtab-button:not(:hover), |
2616 | #TabsToolbar > #new-tab-button:not(:hover) { | |
57fc408c RK |
2617 | background-color: #C09070; |
2618 | } | |
2619 | ||
fe524e0c RK |
2620 | .tabbrowser-tab[remote] { |
2621 | text-decoration: underline; | |
2622 | } | |
2623 | ||
c0f6797e RK |
2624 | /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ |
2625 | .tabbrowser-tab[selected=true] { | |
2626 | /* position: relative; | |
2627 | z-index: 2;*/ | |
acb0e9b8 | 2628 | } |
2629 | ||
c0f6797e | 2630 | .tab-background-middle { |
acb0e9b8 | 2631 | } |
2632 | ||
c0f6797e | 2633 | .tab-content { |
acb0e9b8 | 2634 | } |
319c6529 | 2635 | |
46e71434 | 2636 | .tab-/*throbber*/, |
c0f6797e RK |
2637 | .tab-icon-image, |
2638 | .tab-close-button { | |
acb0e9b8 | 2639 | } |
2640 | ||
319c6529 RK |
2641 | .tab-throbber, |
2642 | .tab-icon-image { | |
319c6529 | 2643 | height: 16px; |
c0f6797e RK |
2644 | width: 16px; |
2645 | } | |
2646 | ||
2647 | .tab-icon-image { | |
dce90fef | 2648 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
613daf44 | 2649 | } |
2650 | ||
3d64e0ce | 2651 | .tab-throbber[busy] { |
95f333af | 2652 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
613daf44 | 2653 | } |
319c6529 RK |
2654 | |
2655 | .tab-throbber[progress] { | |
95f333af | 2656 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
613daf44 | 2657 | } |
319c6529 | 2658 | |
c0f6797e RK |
2659 | .tab-throbber:not([pinned]), |
2660 | .tab-icon-image:not([pinned]) { | |
2661 | -moz-margin-end: 3px; | |
2662 | } | |
2663 | ||
319c6529 RK |
2664 | .tab-throbber[pinned], |
2665 | .tab-icon-image[pinned] { | |
2666 | -moz-margin-start: 2px; | |
2667 | -moz-margin-end: 2px; | |
613daf44 | 2668 | } |
319c6529 | 2669 | |
c0f6797e | 2670 | .tab-label { |
aec5dfad RK |
2671 | /* this needs to add up to the 16px of the icon image */ |
2672 | height: 12px; | |
2673 | margin-top: 2px !important; | |
2674 | margin-bottom: 2px !important; | |
c0f6797e RK |
2675 | } |
2676 | ||
2677 | .tab-close-button { | |
2678 | margin-top: 1px; | |
2679 | padding: 0; | |
2680 | } | |
2681 | ||
2682 | .tab-background, | |
2683 | .tabs-newtab-button { | |
2684 | /* overlap the tab curves */ | |
2685 | } | |
2686 | ||
2687 | .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { | |
2688 | } | |
2689 | ||
93c91f62 RK |
2690 | /* Tab Overflow */ |
2691 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), | |
2692 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { | |
2693 | } | |
2694 | ||
2695 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), | |
2696 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { | |
2697 | } | |
2698 | ||
2699 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { | |
2700 | } | |
2701 | ||
2702 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { | |
2703 | } | |
2704 | ||
2705 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], | |
2706 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { | |
2707 | } | |
2708 | ||
2709 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, | |
2710 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { | |
2711 | } | |
2712 | ||
c0f6797e RK |
2713 | .tab-background-start[selected=true]::after, |
2714 | .tab-background-start[selected=true]::before, | |
2715 | .tab-background-start, | |
2716 | .tab-background-end, | |
2717 | .tab-background-end[selected=true]::after, | |
2718 | .tab-background-end[selected=true]::before { | |
2719 | } | |
2720 | ||
2721 | .tabbrowser-tab:not([selected=true]), | |
2722 | .tabbrowser-tab:-moz-lwtheme { | |
2723 | } | |
2724 | ||
319c6529 | 2725 | /* tabbrowser-tab focus ring */ |
c0f6797e | 2726 | .tabbrowser-tab:focus { |
319c6529 | 2727 | outline: 1px dotted; |
613daf44 | 2728 | } |
319c6529 | 2729 | |
c0f6797e RK |
2730 | /* Selected tab */ |
2731 | ||
2732 | .tabbrowser-tab[selected="true"] { | |
2733 | } | |
2734 | ||
2735 | /* End selected tab */ | |
2736 | ||
c0f6797e RK |
2737 | /* Tab pointer-events */ |
2738 | /* | |
2739 | .tabbrowser-tab { | |
2740 | pointer-events: none; | |
2741 | } | |
2742 | ||
2743 | .tab-background-middle, | |
2744 | .tabs-newtab-button, | |
2745 | .tab-close-button { | |
2746 | pointer-events: auto; | |
2747 | } | |
2748 | */ | |
2749 | /* Pinned tabs */ | |
2750 | ||
2751 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { | |
2752 | background-color: #E7ADE7; | |
2753 | } | |
2754 | ||
2755 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { | |
2756 | background-color: #3333FF; | |
2757 | color: #000000; | |
2758 | } | |
2759 | ||
2760 | /* New tab button */ | |
2761 | ||
2762 | .tabs-newtab-button { | |
2763 | width: 28px; | |
2764 | } | |
2765 | ||
2766 | /* === END tabs.inc.css === */ | |
2767 | ||
43371c9b RK |
2768 | /* Background tabs: |
2769 | * | |
2770 | * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top | |
2771 | * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by | |
2772 | * the titlebar. We don't need this in fullscreen since window dragging is not an issue there. | |
2773 | */ | |
2774 | #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) { | |
2775 | /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/ | |
2776 | } | |
2777 | ||
8ad8bf83 | 2778 | /* Tab DnD indicator */ |
319c6529 RK |
2779 | .tab-drop-indicator { |
2780 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 2781 | margin-bottom: -11px; |
613daf44 | 2782 | } |
2783 | ||
319c6529 RK |
2784 | /* Tab close button */ |
2785 | .tab-close-button { | |
319c6529 RK |
2786 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
2787 | } | |
acb0e9b8 | 2788 | |
319c6529 RK |
2789 | .tab-close-button:hover, |
2790 | .tab-close-button:hover[selected="true"] { | |
2791 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2792 | } |
319c6529 RK |
2793 | |
2794 | .tab-close-button:hover:active, | |
2795 | .tab-close-button:hover:active[selected="true"] { | |
2796 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2797 | } |
319c6529 | 2798 | |
319c6529 RK |
2799 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
2800 | ||
319c6529 RK |
2801 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
2802 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
2803 | margin: 0; |
2804 | padding-top: 0; | |
2805 | padding-bottom: 0; | |
c0f6797e RK |
2806 | background-origin: border-box; |
2807 | } | |
2808 | ||
2809 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2810 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2811 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext, | |
2812 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext { | |
2813 | } | |
b7f3670c | 2814 | |
c0f6797e RK |
2815 | .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], |
2816 | .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { | |
2817 | } | |
2818 | ||
2819 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), | |
2820 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { | |
2821 | /* transform: scaleX(-1);*/ | |
2822 | } | |
2823 | ||
2824 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
2825 | transition: 1s background-color ease-out; | |
acb0e9b8 | 2826 | } |
319c6529 | 2827 | |
319c6529 RK |
2828 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
2829 | background-color: #008484; | |
acb0e9b8 | 2830 | } |
319c6529 | 2831 | |
c0f6797e RK |
2832 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]), |
2833 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) { | |
2834 | /* border-width: 0 2px 0 0; | |
2835 | border-style: solid; | |
2836 | border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/ | |
2837 | } | |
2838 | ||
319c6529 RK |
2839 | .tabs-newtab-button > .toolbarbutton-icon { |
2840 | margin-top: -1px; | |
2841 | margin-bottom: -1px; | |
acb0e9b8 | 2842 | } |
319c6529 RK |
2843 | |
2844 | .tabs-newtab-button, | |
2845 | #TabsToolbar > #new-tab-button, | |
e20c83c3 RK |
2846 | #TabsToolbar > toolbarpaletteitem > #new-tab-button, |
2847 | #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { | |
832af407 | 2848 | list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png"); |
319c6529 | 2849 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 2850 | } |
2851 | ||
8b5fc82e | 2852 | .tabs-newtab-button, |
38cfeb47 | 2853 | .tabs-newtab-button:hover, |
c0f6797e | 2854 | #TabsToolbar > #new-tab-button, |
38cfeb47 | 2855 | #TabsToolbar > #new-tab-button:hover { |
319c6529 | 2856 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 2857 | } |
319c6529 | 2858 | |
c0f6797e RK |
2859 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
2860 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2861 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), | |
2862 | .tabs-newtab-button:-moz-lwtheme-brighttext, | |
2863 | #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext, | |
2864 | #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 2865 | } |
2866 | ||
c0f6797e RK |
2867 | #TabsToolbar > #new-tab-button { |
2868 | width: 26px; | |
2869 | } | |
2870 | ||
2871 | #alltabs-button { | |
2872 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
acb0e9b8 | 2873 | } |
319c6529 | 2874 | |
f9fc08c7 RK |
2875 | #alltabs-button:hover, |
2876 | #alltabs-button:hover:active, | |
2877 | #alltabs-button[open="true"] { | |
8da9da4e | 2878 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
acb0e9b8 | 2879 | } |
319c6529 | 2880 | |
c0f6797e RK |
2881 | #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
2882 | #alltabs-button:-moz-lwtheme-brighttext { | |
2883 | } | |
2884 | ||
2885 | #alltabs-button > .toolbarbutton-icon { | |
2886 | /* margin: 0 2px;*/ | |
2887 | } | |
2888 | ||
2889 | #alltabs-button > .toolbarbutton-menu-dropmarker { | |
2890 | display: none; | |
2891 | } | |
2892 | ||
319c6529 RK |
2893 | /* All tabs menupopup */ |
2894 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 2895 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 2896 | -moz-image-region: auto; |
acb0e9b8 | 2897 | } |
2898 | ||
319c6529 RK |
2899 | .alltabs-item[selected="true"] { |
2900 | font-weight: bold; | |
acb0e9b8 | 2901 | } |
319c6529 RK |
2902 | |
2903 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
2904 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 2905 | } |
319c6529 | 2906 | |
85cfb236 | 2907 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
b1234db8 RK |
2908 | background-color: #402800; |
2909 | } | |
2910 | ||
319c6529 RK |
2911 | toolbarbutton.chevron { |
2912 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 2913 | } |
319c6529 RK |
2914 | |
2915 | toolbarbutton.chevron:hover { | |
2916 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 2917 | } |
e548e22e RK |
2918 | /* |
2919 | toolbar[brighttext] toolbarbutton.chevron { | |
2920 | list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important; | |
2921 | } | |
2922 | */ | |
319c6529 RK |
2923 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
2924 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
71a617ff | 2925 | transform: scaleX(-1); |
acb0e9b8 | 2926 | } |
319c6529 RK |
2927 | |
2928 | toolbarbutton.chevron > .toolbarbutton-text, | |
2929 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
2930 | display: none; | |
acb0e9b8 | 2931 | } |
319c6529 RK |
2932 | |
2933 | toolbarbutton.chevron > .toolbarbutton-icon { | |
2934 | margin: 0; | |
acb0e9b8 | 2935 | } |
2936 | ||
319c6529 RK |
2937 | #sidebar-throbber[loading="true"] { |
2938 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
2939 | -moz-margin-end: 4px; | |
acb0e9b8 | 2940 | } |
319c6529 RK |
2941 | |
2942 | /* Bookmarks toolbar */ | |
2943 | #PlacesToolbarDropIndicator { | |
8da9da4e | 2944 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 2945 | } |
2946 | ||
319c6529 RK |
2947 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
2948 | background-color: #008484 !important; | |
2949 | color: #FFCF00 !important; | |
613daf44 | 2950 | } |
319c6529 RK |
2951 | |
2952 | /* rules for menupopup drop indicators */ | |
2953 | .menupopup-drop-indicator-bar { | |
2954 | position: relative; | |
2955 | /* these two margins must together compensate the indicator's height */ | |
2956 | margin-top: -1px; | |
2957 | margin-bottom: -1px; | |
613daf44 | 2958 | } |
319c6529 RK |
2959 | |
2960 | .menupopup-drop-indicator { | |
2961 | list-style-image: none; | |
2962 | height: 2px; | |
2963 | -moz-margin-end: -4em; | |
2964 | background-color: #008484; | |
613daf44 | 2965 | } |
2966 | ||
319c6529 RK |
2967 | /* ::::: Identity Indicator Styling ::::: */ |
2968 | ||
2969 | /* Popup Icons */ | |
2970 | #identity-popup-icon { | |
2971 | height: 64px; | |
2972 | width: 64px; | |
2973 | padding: 0; | |
2974 | list-style-image: url("chrome://browser/skin/identity.png"); | |
2975 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 2976 | } |
319c6529 RK |
2977 | |
2978 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
2979 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 2980 | } |
319c6529 RK |
2981 | |
2982 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
2983 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 2984 | } |
2985 | ||
319c6529 RK |
2986 | /* Popup Body Text */ |
2987 | .identity-popup-description { | |
2988 | white-space: pre-wrap; | |
2989 | -moz-padding-start: 15px; | |
2990 | margin: 2px 0 4px; | |
613daf44 | 2991 | } |
319c6529 RK |
2992 | |
2993 | .identity-popup-label { | |
2994 | white-space: pre-wrap; | |
2995 | -moz-padding-start: 15px; | |
2996 | margin: 0; | |
613daf44 | 2997 | } |
319c6529 | 2998 | |
5517da5a | 2999 | #identity-popup-content-host, |
319c6529 RK |
3000 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
3001 | font-size: 1.2em; | |
613daf44 | 3002 | } |
3003 | ||
319c6529 RK |
3004 | #identity-popup-content-host { |
3005 | margin-top: 3px; | |
3006 | margin-bottom: 5px; | |
3007 | font-weight: bold; | |
3008 | max-width: 300px; | |
3009 | } | |
613daf44 | 3010 | |
319c6529 RK |
3011 | #identity-popup-content-owner { |
3012 | margin-top: 4px; | |
3013 | margin-bottom: 0 !important; | |
3014 | font-weight: bold; | |
3015 | max-width: 300px; | |
3016 | } | |
613daf44 | 3017 | |
319c6529 RK |
3018 | .verifiedDomain > #identity-popup-content-owner { |
3019 | font-weight: normal; | |
613daf44 | 3020 | } |
3021 | ||
319c6529 RK |
3022 | #identity-popup-content-verifier { |
3023 | margin: 4px 0 2px; | |
613daf44 | 3024 | } |
3025 | ||
319c6529 RK |
3026 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
3027 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
3028 | margin-top: 10px; | |
3029 | -moz-margin-start: -24px; | |
613daf44 | 3030 | } |
3031 | ||
319c6529 RK |
3032 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
3033 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
3034 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 3035 | } |
3036 | ||
3a0880a9 RK |
3037 | #identity-popup-help-icon { |
3038 | border: none; | |
3039 | margin: 7px 0 0 -3px; | |
3040 | background: none; | |
3041 | min-width: 0; | |
3042 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
3043 | cursor: pointer; | |
3044 | } | |
3045 | ||
3046 | #identity-popup-help-icon > .button-box > .button-text { | |
3047 | display: none; | |
3048 | } | |
3049 | ||
3050 | #identity-popup-help-icon > .button-box > .button-icon { | |
3051 | height: 16px; | |
3052 | width: 16px; | |
3053 | } | |
3054 | ||
319c6529 RK |
3055 | #identity-popup-more-info-button { |
3056 | margin-top: 6px; | |
3057 | margin-bottom: 0; | |
3058 | -moz-margin-end: 0; | |
613daf44 | 3059 | } |
acb0e9b8 | 3060 | |
fe524e0c RK |
3061 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
3062 | padding: 0; | |
3063 | } | |
3064 | ||
3065 | #identity-popup-container { | |
3066 | min-width: 280px; | |
3067 | padding: 10px; | |
3068 | } | |
3069 | ||
3070 | #identity-popup-button-container { | |
3071 | /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ | |
3072 | padding: 10px; | |
3073 | margin-top: 5px; | |
3074 | } | |
3075 | ||
319c6529 RK |
3076 | .popup-notification-icon { |
3077 | width: 64px; | |
3078 | height: 64px; | |
3079 | -moz-margin-end: 10px; | |
3080 | } | |
acb0e9b8 | 3081 | |
319c6529 RK |
3082 | .popup-notification-icon[popupid="geolocation"] { |
3083 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 3084 | } |
3085 | ||
319c6529 RK |
3086 | .popup-notification-icon[popupid="xpinstall-disabled"], |
3087 | .popup-notification-icon[popupid="addon-progress"], | |
3088 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
3089 | .popup-notification-icon[popupid="addon-install-blocked"], | |
3090 | .popup-notification-icon[popupid="addon-install-failed"], | |
a40f6a79 | 3091 | .popup-notification-icon[popupid="addon-install-complete"] { |
319c6529 RK |
3092 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
3093 | width: 32px; | |
3094 | height: 32px; | |
acb0e9b8 | 3095 | } |
319c6529 | 3096 | |
a40f6a79 | 3097 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
fcfb76ce | 3098 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
a40f6a79 RK |
3099 | } |
3100 | ||
82b4252f RK |
3101 | .popup-notification-icon[popupid="web-notifications"] { |
3102 | list-style-image: url("chrome://browser/skin/notification-64.png"); | |
3103 | } | |
3104 | ||
319c6529 RK |
3105 | .addon-progress-description { |
3106 | width: 350px; | |
3107 | max-width: 350px; | |
acb0e9b8 | 3108 | } |
319c6529 RK |
3109 | |
3110 | .popup-progress-label, | |
3111 | .popup-progress-meter { | |
3112 | -moz-margin-start: 0; | |
3113 | -moz-margin-end: 0; | |
acb0e9b8 | 3114 | } |
319c6529 RK |
3115 | |
3116 | .popup-progress-cancel { | |
3117 | -moz-appearance: none; | |
3118 | background: transparent; | |
3119 | border: none; | |
3120 | padding: 0; | |
3121 | margin: 0; | |
3122 | min-height: 0; | |
3123 | min-width: 0; | |
3124 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
3125 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 3126 | } |
319c6529 RK |
3127 | |
3128 | .popup-progress-cancel:hover { | |
3129 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 3130 | } |
3131 | ||
319c6529 RK |
3132 | .popup-progress-cancel:active { |
3133 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
3134 | } | |
acb0e9b8 | 3135 | |
319c6529 | 3136 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
a6757852 | 3137 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
e2734cc7 RK |
3138 | .popup-notification-icon[popupid*="offline-app-requested"], |
3139 | .popup-notification-icon[popupid="offline-app-usage"] { | |
319c6529 | 3140 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
acb0e9b8 | 3141 | } |
3142 | ||
319c6529 RK |
3143 | .popup-notification-icon[popupid="password-save"], |
3144 | .popup-notification-icon[popupid="password-change"] { | |
3145 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 3146 | } |
3147 | ||
1b13529a | 3148 | .popup-notification-icon[popupid="webapps-install-progress"], |
8d7ef0d9 | 3149 | .popup-notification-icon[popupid="webapps-install"] { |
87a1144f | 3150 | list-style-image: url("chrome://global/skin/icons/webapps-64.png"); |
8d7ef0d9 RK |
3151 | } |
3152 | ||
c066e743 RK |
3153 | .popup-notification-icon[popupid="bad-content"] { |
3154 | list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); | |
3155 | } | |
3156 | ||
3157 | .popup-notification-icon[popupid="bad-content"][mixedblockdisabled], | |
3158 | .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] { | |
3159 | list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png); | |
56ab361a RK |
3160 | } |
3161 | ||
0142a07b | 3162 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
7bc075b6 RK |
3163 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
3164 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); | |
3165 | } | |
3166 | ||
c1d2ce3e RK |
3167 | .popup-notification-icon[popupid="webRTC-sharingMicrophone"], |
3168 | .popup-notification-icon[popupid="webRTC-shareMicrophone"] { | |
3169 | list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png"); | |
3170 | } | |
3171 | ||
9168a62c RK |
3172 | .popup-notification-icon[popupid="webRTC-sharingScreen"], |
3173 | .popup-notification-icon[popupid="webRTC-shareScreen"] { | |
3174 | list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png); | |
3175 | } | |
3176 | ||
82b4252f RK |
3177 | .popup-notification-icon[popupid="pointerLock"] { |
3178 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); | |
3179 | } | |
3180 | ||
319c6529 | 3181 | /* Notification icon box */ |
cae267ab RK |
3182 | #notification-popup .panel-promo-box { |
3183 | /* margin: 10px -10px -10px; */ | |
3184 | } | |
3185 | ||
319c6529 | 3186 | #notification-popup-box { |
f993773d RK |
3187 | position: relative; |
3188 | background-color: #000000; | |
3189 | background-clip: padding-box; | |
3190 | padding-left: 3px; | |
5517da5a | 3191 | padding-right: 8px; |
f0eab82c | 3192 | border-radius: 3px 0 0 3px; |
82b4252f | 3193 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
f993773d | 3194 | -moz-margin-end: -8px; |
5517da5a | 3195 | border-right-width: 8px; |
f993773d RK |
3196 | } |
3197 | ||
589b5528 RK |
3198 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box { |
3199 | /* padding-left: 7px; */ | |
f993773d RK |
3200 | } |
3201 | ||
3202 | #notification-popup-box:-moz-locale-dir(rtl), | |
3203 | .notification-anchor-icon:-moz-locale-dir(rtl) { | |
71a617ff | 3204 | transform: scaleX(-1); |
319c6529 | 3205 | } |
acb0e9b8 | 3206 | |
319c6529 | 3207 | .notification-anchor-icon { |
acb0e9b8 | 3208 | width: 16px; |
3209 | height: 16px; | |
85cfb236 | 3210 | margin: 0 2px; |
acb0e9b8 | 3211 | } |
3212 | ||
319c6529 | 3213 | .notification-anchor-icon:-moz-focusring { |
f0eab82c | 3214 | outline: 1px dotted #008484; |
acb0e9b8 | 3215 | } |
3216 | ||
e2734cc7 | 3217 | .default-notification-icon, |
ab799a7a RK |
3218 | #default-notification-icon { |
3219 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
3220 | } | |
3221 | ||
e2734cc7 | 3222 | .identity-notification-icon, |
9585a561 RK |
3223 | #identity-notification-icon { |
3224 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); | |
3225 | } | |
3226 | ||
e2734cc7 | 3227 | .geo-notification-icon, |
319c6529 RK |
3228 | #geo-notification-icon { |
3229 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 3230 | } |
3231 | ||
319c6529 RK |
3232 | #addons-notification-icon { |
3233 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 3234 | } |
3235 | ||
e2734cc7 | 3236 | .indexedDB-notification-icon, |
319c6529 RK |
3237 | #indexedDB-notification-icon { |
3238 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 3239 | } |
3240 | ||
319c6529 RK |
3241 | #password-notification-icon { |
3242 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 3243 | } |
3244 | ||
8d7ef0d9 | 3245 | #webapps-notification-icon { |
87a1144f | 3246 | list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); |
8d7ef0d9 RK |
3247 | } |
3248 | ||
a40f6a79 | 3249 | #plugins-notification-icon { |
b27cc46e RK |
3250 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
3251 | } | |
3252 | ||
f76c6aee | 3253 | #plugins-notification-icon.plugin-hidden { |
b27cc46e | 3254 | list-style-image: url("chrome://browser/skin/notification-pluginAlert.png"); |
a40f6a79 RK |
3255 | } |
3256 | ||
f76c6aee | 3257 | #plugins-notification-icon.plugin-blocked { |
b27cc46e | 3258 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
990cba4b RK |
3259 | } |
3260 | ||
f76c6aee | 3261 | #plugins-notification-icon { |
fe524e0c RK |
3262 | /* -moz-image-region: rect(0, 16px, 16px, 0);*/ |
3263 | } | |
3264 | ||
f76c6aee | 3265 | #plugins-notification-icon:hover { |
fe524e0c RK |
3266 | /* -moz-image-region: rect(0, 32px, 16px, 16px);*/ |
3267 | } | |
3268 | ||
6adbc9a6 RK |
3269 | #notification-popup-box[hidden] { |
3270 | /* Override display:none to make the pluginBlockedNotification animation work | |
3271 | when showing the notification repeatedly. */ | |
3272 | display: -moz-box; | |
3273 | visibility: collapse; | |
3274 | } | |
3275 | ||
f76c6aee | 3276 | #plugins-notification-icon.plugin-blocked[showing] { |
990cba4b RK |
3277 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; |
3278 | } | |
3279 | ||
3280 | @keyframes pluginBlockedNotification { | |
3281 | from { | |
3282 | opacity: 0; | |
3283 | } | |
3284 | to { | |
3285 | opacity: 1; | |
3286 | } | |
3287 | } | |
3288 | ||
c066e743 RK |
3289 | .bad-content-blocked-notification-icon, |
3290 | #bad-content-blocked-notification-icon { | |
3291 | list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png"); | |
3292 | } | |
3293 | ||
3294 | .bad-content-unblocked-notification-icon, | |
3295 | #bad-content-unblocked-notification-icon { | |
3296 | list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png); | |
56ab361a RK |
3297 | } |
3298 | ||
e2734cc7 | 3299 | .webRTC-shareDevices-notification-icon, |
0142a07b | 3300 | #webRTC-shareDevices-notification-icon { |
7bc075b6 RK |
3301 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
3302 | } | |
3303 | ||
e2734cc7 | 3304 | .webRTC-sharingDevices-notification-icon, |
6adbc9a6 RK |
3305 | #webRTC-sharingDevices-notification-icon { |
3306 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); | |
3307 | } | |
3308 | ||
c1d2ce3e RK |
3309 | .webRTC-shareMicrophone-notification-icon, |
3310 | #webRTC-shareMicrophone-notification-icon { | |
3311 | list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png"); | |
3312 | } | |
3313 | ||
3314 | .webRTC-sharingMicrophone-notification-icon, | |
3315 | #webRTC-sharingMicrophone-notification-icon { | |
3316 | list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png"); | |
3317 | } | |
3318 | ||
9168a62c RK |
3319 | .webRTC-shareScreen-notification-icon, |
3320 | #webRTC-shareScreen-notification-icon { | |
3321 | list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png); | |
3322 | } | |
3323 | ||
3324 | .webRTC-sharingScreen-notification-icon, | |
3325 | #webRTC-sharingScreen-notification-icon { | |
3326 | list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png); | |
3327 | } | |
3328 | ||
e2734cc7 | 3329 | .web-notifications-notification-icon, |
82b4252f RK |
3330 | #web-notifications-notification-icon { |
3331 | list-style-image: url("chrome://browser/skin/notification-16.png"); | |
3332 | } | |
3333 | ||
3334 | #pointerLock-notification-icon { | |
3335 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); | |
3336 | } | |
3337 | #pointerLock-cancel { | |
3338 | margin: 0px; | |
3339 | } | |
3340 | ||
ed88669c RK |
3341 | /* Translation infobar */ |
3342 | ||
3343 | /* === BEGIN infobar.inc.css === */ | |
3344 | ||
3345 | notification[value="translation"] .messageImage { | |
93c91f62 | 3346 | list-style-image: url("chrome://browser/skin/translation-16.png"); |
ed88669c RK |
3347 | -moz-image-region: rect(0, 32px, 16px, 16px); |
3348 | } | |
3349 | ||
3350 | @media (min-resolution: 1.25dppx) { | |
3351 | notification[value="translation"] .messageImage { | |
93c91f62 | 3352 | list-style-image: url("chrome://browser/skin/translation-16@2x.png"); |
ed88669c RK |
3353 | -moz-image-region: rect(0, 64px, 32px, 32px); |
3354 | } | |
3355 | } | |
3356 | ||
93c91f62 RK |
3357 | notification[value="translation"][state="translating"] .messageImage { |
3358 | list-style-image: url("chrome://browser/skin/translating-16.png"); | |
3359 | -moz-image-region: auto; | |
3360 | } | |
3361 | ||
3362 | @media (min-resolution: 1.25dppx) { | |
3363 | notification[value="translation"][state="translating"] .messageImage { | |
3364 | list-style-image: url("chrome://browser/skin/translating-16@2x.png"); | |
3365 | } | |
3366 | } | |
3367 | ||
ed88669c RK |
3368 | notification[value="translation"] button, |
3369 | notification[value="translation"] menulist { | |
3370 | min-width: 0; | |
ed88669c RK |
3371 | } |
3372 | ||
3373 | notification[value="translation"] menulist > .menulist-dropmarker { | |
3374 | } | |
3375 | ||
93c91f62 RK |
3376 | .translation-menupopup arrowscrollbox { |
3377 | padding-bottom: 0; | |
3378 | } | |
3379 | ||
3380 | .translation-attribution { | |
3381 | cursor: pointer; | |
3382 | -moz-box-align: end; | |
3383 | font-size: small; | |
3384 | } | |
3385 | ||
3386 | .translation-attribution > label { | |
3387 | margin-bottom: 0; | |
3388 | } | |
3389 | ||
3390 | .translation-attribution > image { | |
3391 | width: 70px; | |
3392 | } | |
3393 | ||
8837ac2c RK |
3394 | .translation-welcome-panel { |
3395 | width: 305px; | |
3396 | } | |
3397 | ||
3398 | .translation-welcome-logo { | |
3399 | height: 32px; | |
3400 | width: 32px; | |
3401 | list-style-image: url(chrome://browser/skin/translation-16@2x.png); | |
3402 | -moz-image-region: rect(0, 64px, 32px, 32px); | |
3403 | } | |
3404 | ||
3405 | .translation-welcome-content { | |
3406 | -moz-margin-start: 16px; | |
3407 | } | |
3408 | ||
3409 | .translation-welcome-headline { | |
3410 | font-size: larger; | |
3411 | font-weight: bold; | |
3412 | } | |
3413 | ||
3414 | .translation-welcome-body { | |
3415 | padding: 1em 0; | |
3416 | margin: 0 0; | |
3417 | } | |
3418 | ||
ed88669c RK |
3419 | /* === END infobar.inc.css === */ |
3420 | ||
0bcd5587 RK |
3421 | notification[value="translation"] { |
3422 | min-height: 40px; | |
3423 | } | |
3424 | ||
ed88669c RK |
3425 | .translate-notification-icon, |
3426 | #translate-notification-icon { | |
3427 | list-style-image: url("chrome://browser/skin/translation-16.png"); | |
3428 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3429 | } | |
3430 | ||
3431 | .translated-notification-icon, | |
3432 | #translated-notification-icon { | |
3433 | list-style-image: url("chrome://browser/skin/translation-16.png"); | |
3434 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3435 | } | |
3436 | ||
3437 | .translation-menupopup { | |
3438 | -moz-appearance: none; | |
3439 | } | |
3440 | ||
319c6529 | 3441 | /* Bookmarks roots menu-items */ |
319c6529 RK |
3442 | #subscribeToPageMenuitem:not([disabled]), |
3443 | #subscribeToPageMenupopup, | |
3444 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
3445 | #BMB_subscribeToPageMenupopup { | |
3446 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 3447 | } |
3448 | ||
319c6529 | 3449 | #bookmarksToolbarFolderMenu, |
c0f6797e RK |
3450 | #BMB_bookmarksToolbar, |
3451 | #panelMenu_bookmarksToolbar { | |
8da9da4e | 3452 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
319c6529 RK |
3453 | -moz-image-region: auto; |
3454 | } | |
acb0e9b8 | 3455 | |
c0f6797e RK |
3456 | #BMB_unsortedBookmarks, |
3457 | #panelMenu_unsortedBookmarks { | |
8da9da4e | 3458 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
319c6529 | 3459 | -moz-image-region: auto; |
acb0e9b8 | 3460 | } |
3461 | ||
319c6529 | 3462 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 3463 | |
319c6529 RK |
3464 | .KUI-panel { |
3465 | color: #FF9F00; | |
3466 | border-style: none; | |
3467 | border-radius: 20px; | |
acb0e9b8 | 3468 | } |
3469 | ||
319c6529 RK |
3470 | .KUI-panel[level="top"] { |
3471 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 3472 | } |
3473 | ||
319c6529 RK |
3474 | /* Ctrl-Tab */ |
3475 | ||
3476 | #ctrlTab-panel { | |
3477 | padding: 20px 10px 10px; | |
3478 | font-weight: bold; | |
acb0e9b8 | 3479 | } |
3480 | ||
319c6529 RK |
3481 | .ctrlTab-favicon[src] { |
3482 | background-color: #000000; | |
3483 | width: 20px; | |
3484 | height: 20px; | |
3485 | padding: 2px; | |
3486 | } | |
acb0e9b8 | 3487 | |
319c6529 | 3488 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 3489 | } |
3490 | ||
319c6529 RK |
3491 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
3492 | margin-bottom: 2px; | |
acb0e9b8 | 3493 | } |
3494 | ||
319c6529 RK |
3495 | .ctrlTab-preview-inner { |
3496 | padding-bottom: 10px; | |
acb0e9b8 | 3497 | } |
3498 | ||
319c6529 RK |
3499 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
3500 | padding: 10px; | |
3501 | background-color: #000000; | |
3502 | border-radius: .5em; | |
acb0e9b8 | 3503 | } |
3504 | ||
319c6529 RK |
3505 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
3506 | color: white; | |
3507 | background-color: #000000; | |
3508 | text-shadow: none; | |
3509 | padding: 8px; | |
3510 | border: 2px solid #9C9CFF; | |
3511 | border-radius: .5em; | |
acb0e9b8 | 3512 | } |
3513 | ||
319c6529 RK |
3514 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
3515 | margin: -10px -10px 0; | |
acb0e9b8 | 3516 | } |
3517 | ||
319c6529 RK |
3518 | #ctrlTab-showAll { |
3519 | margin-top: .5em; | |
acb0e9b8 | 3520 | } |
3521 | ||
45dc7657 RK |
3522 | /* Sync Panel */ |
3523 | ||
3524 | .sync-panel-icon { | |
cae267ab | 3525 | height:32px; |
45dc7657 RK |
3526 | width: 32px; |
3527 | background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat; | |
3528 | } | |
3529 | ||
3530 | .sync-panel-inner { | |
3531 | width: 0; | |
3532 | padding-left: 10px; | |
3533 | } | |
3534 | ||
3535 | .sync-panel-button-box { | |
3536 | margin-top: 1em; | |
3537 | } | |
3538 | ||
3539 | #sync-error-panel-title, | |
3540 | #sync-start-panel-title { | |
cae267ab | 3541 | font-size: 120%; |
45dc7657 | 3542 | font-weight: bold; |
cae267ab | 3543 | margin-bottom: 5px; |
45dc7657 RK |
3544 | } |
3545 | ||
3546 | #sync-start-panel-subtitle, | |
3547 | #sync-error-panel-subtitle { | |
3548 | margin: 0; | |
3549 | } | |
3550 | ||
9abeb12c RK |
3551 | /* Status panel */ |
3552 | ||
3553 | .statuspanel-label { | |
3554 | margin: 0; | |
3555 | padding: 2px 4px; | |
38cfeb47 | 3556 | background: #404000; |
9abeb12c RK |
3557 | border: 1px none #9C9CFF; |
3558 | border-top-style: solid; | |
3559 | color: #FF9F00; | |
3560 | text-shadow: none; | |
3561 | } | |
3562 | ||
3563 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
3564 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
3565 | border-right-style: solid; | |
3566 | border-top-right-radius: .3em; | |
3567 | margin-right: 1em; | |
3568 | } | |
3569 | ||
3570 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
3571 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
3572 | border-left-style: solid; | |
3573 | border-top-left-radius: .3em; | |
3574 | margin-left: 1em; | |
3575 | } | |
3e6e0e5c RK |
3576 | |
3577 | /* HACK to abolish devily color on main content */ | |
3578 | ||
3579 | #content { | |
3580 | background-color: transparent !important; | |
3581 | } | |
dce90fef | 3582 | |
7600e0b1 RK |
3583 | /* === BEGIN highlighter.inc.css === */ |
3584 | ||
cae267ab RK |
3585 | /* Box model highlighter */ |
3586 | svg|g.box-model-container { | |
3587 | opacity: 0.4; | |
3588 | } | |
3589 | ||
3590 | svg|polygon.box-model-content { | |
3591 | fill: #008484; | |
3592 | } | |
3593 | ||
3594 | svg|polygon.box-model-padding { | |
3595 | fill: #9C9CFF; | |
3596 | } | |
3597 | ||
3598 | svg|polygon.box-model-border { | |
3599 | fill: #FFCF00; | |
3600 | } | |
3601 | ||
3602 | svg|polygon.box-model-margin { | |
3603 | fill: #A09090; | |
3604 | } | |
3605 | ||
3606 | svg|polygon.box-model-content, | |
3607 | svg|polygon.box-model-padding, | |
3608 | svg|polygon.box-model-border, | |
3609 | svg|polygon.box-model-margin { | |
3610 | stroke: none; | |
3611 | } | |
dce90fef | 3612 | |
cae267ab RK |
3613 | svg|line.box-model-guide-top, |
3614 | svg|line.box-model-guide-right, | |
3615 | svg|line.box-model-guide-bottom, | |
3616 | svg|line.box-model-guide-left { | |
3617 | stroke: #E7ADE7; | |
3618 | stroke-dasharray: 5 3; | |
9168a62c | 3619 | shape-rendering: crispEdges; |
dce90fef RK |
3620 | } |
3621 | ||
8ad8bf83 RK |
3622 | /* Highlighter - Node Infobar */ |
3623 | ||
0142a07b | 3624 | .highlighter-nodeinfobar { |
a40f6a79 | 3625 | color: #FF9F00; |
a40f6a79 RK |
3626 | border-radius: 3px; |
3627 | background-color: #000000; | |
3628 | background-clip: padding-box; | |
1bf116f8 RK |
3629 | border: 1px solid #008484; |
3630 | padding: 5px; | |
3631 | /* Avoid cases where the infobar is smaller than the arrow, when the text is | |
3632 | short */ | |
3633 | min-width: 75px; | |
a40f6a79 RK |
3634 | } |
3635 | ||
8ad8bf83 RK |
3636 | /* Highlighter - Node Infobar - text */ |
3637 | ||
0142a07b | 3638 | .highlighter-nodeinfobar-text { |
45dc7657 | 3639 | text-align: center; |
a40f6a79 | 3640 | /* 100% - size of the buttons and margins */ |
c29b709d | 3641 | max-width: calc(100% - 2 * (26px + 6px)); |
a40f6a79 RK |
3642 | padding-bottom: 1px; |
3643 | } | |
3644 | ||
0142a07b | 3645 | html|*.highlighter-nodeinfobar-tagname { |
8ad8bf83 RK |
3646 | color: #FFCF00; |
3647 | } | |
3648 | ||
0142a07b | 3649 | html|*.highlighter-nodeinfobar-id { |
8ad8bf83 RK |
3650 | color: #9C9CFF; |
3651 | } | |
3652 | ||
0142a07b | 3653 | html|*.highlighter-nodeinfobar-pseudo-classes { |
eec397be | 3654 | color: #FF9F00; |
8ad8bf83 RK |
3655 | } |
3656 | ||
93c91f62 RK |
3657 | html|*.highlighter-nodeinfobar-dimensions { |
3658 | color: #A09090; | |
3659 | -moz-border-start: 1px solid #9C9CFF; | |
3660 | -moz-margin-start: 6px; | |
3661 | -moz-padding-start: 6px; | |
3662 | } | |
3663 | ||
a40f6a79 RK |
3664 | /* Highlighter - Node Infobar - box & arrow */ |
3665 | ||
8ad8bf83 RK |
3666 | .highlighter-nodeinfobar-arrow { |
3667 | width: 14px; | |
3668 | height: 14px; | |
c29b709d | 3669 | -moz-margin-start: calc(50% - 7px); |
71a617ff | 3670 | transform: rotate(-45deg); |
8ad8bf83 RK |
3671 | background-clip: padding-box; |
3672 | background-repeat: no-repeat; | |
3673 | } | |
3674 | ||
0142a07b | 3675 | .highlighter-nodeinfobar-arrow-top { |
8ad8bf83 RK |
3676 | margin-bottom: -8px; |
3677 | margin-top: 8px; | |
fcaeefc2 | 3678 | background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
3679 | } |
3680 | ||
0142a07b | 3681 | .highlighter-nodeinfobar-arrow-bottom { |
8ad8bf83 RK |
3682 | margin-top: -8px; |
3683 | margin-bottom: 8px; | |
fcaeefc2 | 3684 | background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
3685 | } |
3686 | ||
0142a07b | 3687 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
8ad8bf83 RK |
3688 | margin: 7px 0; |
3689 | } | |
3690 | ||
2b5a5147 RK |
3691 | /* Css transform highlighter */ |
3692 | ||
3693 | svg|polygon.css-transform-transformed { | |
3694 | fill: #9C9CFF; | |
3695 | opacity: 0.8; | |
3696 | } | |
3697 | ||
3698 | svg|polygon.css-transform-untransformed { | |
3699 | fill: #A09090; | |
3700 | opacity: 0.8; | |
3701 | } | |
3702 | ||
3703 | svg|polygon.css-transform-transformed, | |
3704 | svg|polygon.css-transform-untransformed, | |
3705 | svg|line.css-transform-line { | |
3706 | stroke: #E7ADE7; | |
3707 | stroke-dasharray: 5 3; | |
3708 | stroke-width: 2; | |
3709 | } | |
3710 | ||
7600e0b1 RK |
3711 | /* === END highlighter.inc.css === */ |
3712 | ||
8ad8bf83 RK |
3713 | #full-screen-warning-message { |
3714 | background-color: #000000; | |
3715 | color: #FF9F00; | |
8ad8bf83 RK |
3716 | border-radius: 8px; |
3717 | margin-top: 30px; | |
3718 | padding: 30px 50px; | |
3719 | box-shadow: 0 0 2px #9C9CFF; | |
3720 | } | |
3721 | ||
3722 | #full-screen-warning-container[obscure-browser] { | |
85cfb236 RK |
3723 | background-color: rgba(0,0,0,0.3); |
3724 | } | |
3725 | ||
3726 | .full-screen-description { | |
3727 | font-size: 150%; | |
3728 | } | |
3729 | ||
3730 | #full-screen-domain-text { | |
3731 | font-size: 300%; | |
8ad8bf83 RK |
3732 | } |
3733 | ||
85cfb236 RK |
3734 | .full-screen-approval-button, |
3735 | #full-screen-remember-decision { | |
3736 | font-size: 120%; | |
8ad8bf83 RK |
3737 | } |
3738 | ||
b27cc46e RK |
3739 | /* === BEGIN commandline.inc.css === */ |
3740 | ||
3741 | /* Developer toolbar */ | |
3742 | ||
3743 | #developer-toolbar { | |
3744 | border-top: 3px solid #000000; | |
3745 | border-bottom: none; | |
3746 | } | |
3747 | ||
3748 | #developer-toolbar .toolbar-holder { | |
3749 | background-color: #8050B0; | |
3750 | color: #FFCF00; | |
3751 | } | |
3752 | ||
3753 | #developer-toolbar .toolbar-holder { | |
3754 | background-color: #8050B0; | |
3755 | color: #FFCF00; | |
3756 | } | |
3757 | ||
3758 | #developer-toolbar .toolbar-startcap, | |
3759 | #developer-toolbar .toolbar-endcap{ | |
3760 | background-color: #6000CF; | |
3761 | } | |
3762 | ||
3763 | #developer-toolbar { | |
3764 | /* padding: 0; | |
3765 | min-height: 32px; */ | |
3766 | } | |
3767 | ||
de57e474 | 3768 | #developer-toolbar > toolbarbutton { |
b27cc46e RK |
3769 | /* margin: 0; |
3770 | padding: 0 10px; | |
3771 | width: 32px; */ | |
3772 | } | |
3773 | ||
3774 | .developer-toolbar-button > image { | |
3775 | /* margin: auto 10px; */ | |
3776 | } | |
3777 | ||
fe524e0c RK |
3778 | #developer-toolbar-toolbox-button > label { |
3779 | display: none; | |
3780 | } | |
3781 | ||
0bcd5587 RK |
3782 | .developer-toolbar-button > .toolbarbutton-icon, |
3783 | #developer-toolbar-closebutton > .toolbarbutton-icon { | |
3784 | width: 16px; | |
3785 | height: 16px; | |
3786 | } | |
3787 | ||
b27cc46e RK |
3788 | #developer-toolbar-toolbox-button { |
3789 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); | |
3790 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3791 | } | |
3792 | ||
3793 | #developer-toolbar-toolbox-button > label { | |
3794 | display: none; | |
3795 | } | |
3796 | ||
3797 | #developer-toolbar-toolbox-button:hover, | |
3798 | #developer-toolbar-toolbox-button:hover:active, | |
3799 | #developer-toolbar-toolbox-button[checked=true] { | |
3800 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3801 | } | |
3802 | ||
0bcd5587 RK |
3803 | @media (min-resolution: 2dppx) { |
3804 | #developer-toolbar-toolbox-button { | |
3805 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png"); | |
3806 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
3807 | } | |
3808 | ||
3809 | #developer-toolbar-toolbox-button:hover, | |
3810 | #developer-toolbar-toolbox-button:hover:active, | |
3811 | #developer-toolbar-toolbox-button[checked=true] { | |
3812 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
3813 | } | |
3814 | } | |
3815 | ||
de57e474 RK |
3816 | #developer-toolbar-closebutton { |
3817 | list-style-image: url("chrome://browser/skin/devtools/close.png"); | |
3818 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3819 | min-width: 16px; | |
3820 | width: 16px; | |
3821 | } | |
3822 | ||
3823 | #developer-toolbar-closebutton > .toolbarbutton-icon { | |
3824 | } | |
3825 | ||
3826 | #developer-toolbar-closebutton > .toolbarbutton-text { | |
3827 | display: none; | |
3828 | } | |
3829 | ||
3830 | #developer-toolbar-closebutton:hover, | |
3831 | #developer-toolbar-closebutton:hover:active { | |
3832 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3833 | } | |
3834 | ||
0bcd5587 RK |
3835 | @media (min-resolution: 2dppx) { |
3836 | #developer-toolbar-closebutton { | |
3837 | list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); | |
3838 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
3839 | } | |
3840 | ||
3841 | #developer-toolbar-closebutton:hover, | |
3842 | #developer-toolbar-closebutton:hover:active { | |
3843 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
3844 | } | |
3845 | } | |
3846 | ||
b27cc46e RK |
3847 | /* GCLI */ |
3848 | ||
37953ab4 RK |
3849 | html|*#gcli-tooltip-frame, |
3850 | html|*#gcli-output-frame { | |
85cfb236 | 3851 | padding: 0; |
37953ab4 RK |
3852 | border-width: 0; |
3853 | background-color: transparent; | |
3854 | } | |
3855 | ||
3856 | #gcli-output, | |
3857 | #gcli-tooltip { | |
3858 | border-width: 0; | |
3859 | background-color: transparent; | |
85cfb236 RK |
3860 | } |
3861 | ||
3862 | .gclitoolbar-input-node, | |
b27cc46e | 3863 | .gclitoolbar-complete-node { |
37953ab4 RK |
3864 | margin: 1px 3px; |
3865 | -moz-box-align: center; | |
3866 | padding-top: 0; | |
3867 | padding-bottom: 0; | |
b27cc46e | 3868 | padding-right: 8px; |
37953ab4 | 3869 | background-color: transparent; |
85cfb236 RK |
3870 | } |
3871 | ||
3872 | .gclitoolbar-input-node { | |
b27cc46e RK |
3873 | /* line-height: 32px; |
3874 | outline-style: none; */ | |
de57e474 RK |
3875 | background-repeat: no-repeat; |
3876 | background-color: rgba(0, 0, 0, .75); | |
b27cc46e RK |
3877 | } |
3878 | ||
3879 | .gclitoolbar-input-node[focused="true"] { | |
de57e474 | 3880 | background-color: #000000; |
37953ab4 RK |
3881 | } |
3882 | ||
0bcd5587 RK |
3883 | .gclitoolbar-input-node::before { |
3884 | content: ""; | |
3885 | display: inline-block; | |
3886 | -moz-box-ordinal-group: 0; | |
3887 | width: 16px; | |
3888 | height: 16px; | |
3889 | margin: 0 2px; | |
3890 | background-image: url("chrome://browser/skin/devtools/commandline-icon.png"); | |
3891 | background-position: 0 center; | |
3892 | background-size: 32px 16px; | |
3893 | } | |
3894 | ||
3895 | .gclitoolbar-input-node[focused="true"]::before { | |
3896 | background-position: -16px center; | |
3897 | } | |
3898 | ||
3899 | @media (min-resolution: 2dppx) { | |
3900 | .gclitoolbar-input-node::before { | |
3901 | background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png"); | |
3902 | } | |
3903 | } | |
3904 | ||
37953ab4 RK |
3905 | .gclitoolbar-input-node:not([focused="true"]) { |
3906 | border-color: transparent; | |
85cfb236 RK |
3907 | } |
3908 | ||
7bc075b6 RK |
3909 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
3910 | background-color: #008484; | |
3911 | color: #000000; | |
3912 | text-shadow: none; | |
3913 | } | |
3914 | ||
85cfb236 | 3915 | .gclitoolbar-complete-node { |
37953ab4 | 3916 | padding-left: 21px; |
85cfb236 RK |
3917 | background-color: transparent; |
3918 | color: transparent; | |
b27cc46e RK |
3919 | z-index: 100; |
3920 | pointer-events: none; | |
85cfb236 RK |
3921 | } |
3922 | ||
85cfb236 RK |
3923 | .gcli-in-incomplete, |
3924 | .gcli-in-error, | |
3925 | .gcli-in-ontab, | |
3926 | .gcli-in-todo, | |
3927 | .gcli-in-closebrace, | |
3928 | .gcli-in-param, | |
3929 | .gcli-in-valid { | |
3930 | margin: 0; | |
3931 | padding: 0; | |
3932 | } | |
3933 | ||
3934 | .gcli-in-incomplete { | |
3935 | border-bottom: 2px dotted #8050B0; | |
3936 | } | |
3937 | ||
3938 | .gcli-in-error { | |
3939 | border-bottom: 2px dotted #FF0000; | |
3940 | } | |
3941 | ||
3942 | .gcli-in-ontab { | |
3943 | color: #9C9CFF; | |
3944 | } | |
3945 | ||
3946 | .gcli-in-todo { | |
3947 | color: #795900; | |
3948 | } | |
3949 | ||
3950 | .gcli-in-closebrace { | |
3951 | color: #8050B0; | |
3952 | } | |
3953 | ||
b27cc46e RK |
3954 | /* === END commandline.inc.css === */ |
3955 | ||
fe524e0c RK |
3956 | /* === BEGIN responsivedesign.inc.css === */ |
3957 | ||
37953ab4 | 3958 | /* Responsive Mode */ |
85cfb236 | 3959 | |
7bc075b6 | 3960 | .browserContainer[responsivemode] { |
0bcd5587 | 3961 | background-color: #221500; |
37953ab4 RK |
3962 | padding: 0 20px 20px 20px; |
3963 | } | |
3964 | ||
7bc075b6 | 3965 | .browserStack[responsivemode] { |
37953ab4 RK |
3966 | box-shadow: 0 0 7px #9C9CFF; |
3967 | } | |
3968 | ||
3969 | .devtools-responsiveui-toolbar { | |
3970 | background: transparent; | |
d2ce251d RK |
3971 | /* text color is textColor from dark theme, since no theme is applied to |
3972 | * the responsive toolbar. | |
3973 | */ | |
3974 | color: #FF9F00; | |
37953ab4 RK |
3975 | margin: 10px 0; |
3976 | padding: 0; | |
3977 | box-shadow: none; | |
3978 | border-bottom-width: 0; | |
3979 | } | |
3980 | ||
de57e474 RK |
3981 | .devtools-responsiveui-menulist, |
3982 | .devtools-responsiveui-toolbarbutton { | |
3983 | -moz-box-align: center; | |
3984 | min-width: 32px; | |
3985 | /* min-height: 22px;*/ | |
3986 | /* margin: 0 3px; */ | |
3987 | } | |
3988 | ||
1988bb88 RK |
3989 | .devtools-responsiveui-menulist .menulist-editable-box { |
3990 | background-color: transparent; | |
3991 | } | |
3992 | ||
3993 | .devtools-responsiveui-menulist html|*.menulist-editable-input { | |
3994 | color: inherit; | |
3995 | text-align: center; | |
3996 | } | |
3997 | ||
3998 | .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection { | |
3999 | /* background: hsla(212,7%,57%,.35);*/ | |
4000 | } | |
4001 | ||
0bcd5587 RK |
4002 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon { |
4003 | width: 16px; | |
4004 | height: 16px; | |
4005 | } | |
4006 | ||
de57e474 RK |
4007 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { |
4008 | -moz-box-orient: horizontal; | |
4009 | } | |
4010 | ||
4011 | .devtools-responsiveui-menulist:-moz-focusring, | |
4012 | .devtools-responsiveui-toolbarbutton:-moz-focusring { | |
4013 | /* outline: 1px dotted hsla(210,30%,85%,0.7); | |
4014 | outline-offset: -4px;*/ | |
4015 | } | |
4016 | ||
4017 | .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { | |
4018 | display: none; | |
4019 | } | |
4020 | ||
4021 | .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { | |
4022 | /* border-color: hsla(210,8%,5%,.6); | |
4023 | background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); | |
4024 | box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ | |
4025 | } | |
4026 | ||
4027 | .devtools-responsiveui-menulist[open=true], | |
4028 | .devtools-responsiveui-toolbarbutton[open=true], | |
4029 | .devtools-responsiveui-toolbarbutton[checked=true] { | |
4030 | /* border-color: hsla(210,8%,5%,.6) !important; | |
4031 | background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); | |
4032 | box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ | |
4033 | } | |
4034 | ||
4035 | .devtools-responsiveui-toolbarbutton[checked=true] { | |
4036 | /* color: hsl(208,100%,60%); */ | |
4037 | } | |
4038 | ||
4039 | .devtools-responsiveui-toolbarbutton[checked=true]:hover { | |
4040 | /* background-color: transparent !important;*/ | |
4041 | } | |
4042 | ||
4043 | .devtools-responsiveui-toolbarbutton[checked=true]:hover:active { | |
4044 | /* background-color: hsla(210,8%,5%,.2) !important;*/ | |
4045 | } | |
4046 | ||
4047 | .devtools-responsiveui-menulist > .menulist-label-box { | |
4048 | text-align: center; | |
4049 | } | |
4050 | ||
4051 | .devtools-responsiveui-menulist > .menulist-dropmarker { | |
4052 | /* display: -moz-box; | |
4053 | background-color: transparent; | |
0bcd5587 | 4054 | list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); |
de57e474 RK |
4055 | -moz-box-align: center; |
4056 | border-width: 0; | |
4057 | min-width: 16px;*/ | |
4058 | } | |
4059 | ||
4060 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { | |
4061 | /* color: inherit; | |
4062 | border-width: 0; | |
4063 | -moz-border-end: 1px solid hsla(210,8%,5%,.45); | |
4064 | box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/ | |
4065 | } | |
4066 | ||
4067 | .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { | |
4068 | /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/ | |
4069 | } | |
4070 | ||
4071 | .devtools-responsiveui-toolbarbutton[type=menu-button] { | |
4072 | /* padding: 0 1px;*/ | |
4073 | -moz-box-align: stretch; | |
4074 | } | |
4075 | ||
4076 | .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, | |
4077 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { | |
0bcd5587 | 4078 | /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); |
de57e474 RK |
4079 | -moz-box-align: center; |
4080 | padding: 0 3px;*/ | |
37953ab4 RK |
4081 | } |
4082 | ||
4083 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, | |
4084 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { | |
fe524e0c RK |
4085 | margin-left: 3px; |
4086 | } | |
4087 | ||
4088 | .devtools-responsiveui-close { | |
4089 | list-style-image: url("chrome://browser/skin/devtools/close.png"); | |
4090 | -moz-image-region: rect(0px,16px,16px,0px); | |
4091 | } | |
4092 | ||
4093 | .devtools-responsiveui-close:hover { | |
4094 | -moz-image-region: rect(0px,32px,16px,16px); | |
4095 | } | |
4096 | ||
4097 | .devtools-responsiveui-rotate { | |
4098 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); | |
4099 | -moz-image-region: rect(0px,16px,16px,0px); | |
4100 | } | |
4101 | ||
4102 | .devtools-responsiveui-rotate:hover { | |
4103 | -moz-image-region: rect(0px,32px,16px,16px); | |
4104 | } | |
4105 | ||
0bcd5587 RK |
4106 | @media (min-resolution: 2dppx) { |
4107 | .devtools-responsiveui-close { | |
4108 | list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); | |
4109 | } | |
4110 | ||
4111 | .devtools-responsiveui-close:hover { | |
4112 | -moz-image-region: rect(0px,64px,32px,32px); | |
4113 | } | |
4114 | ||
4115 | .devtools-responsiveui-rotate { | |
4116 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png"); | |
4117 | } | |
4118 | ||
4119 | .devtools-responsiveui-rotate:hover { | |
4120 | -moz-image-region: rect(0px,64px,32px,32px); | |
4121 | } | |
4122 | } | |
4123 | ||
fe524e0c RK |
4124 | .devtools-responsiveui-touch { |
4125 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); | |
4126 | -moz-image-region: rect(0px,16px,16px,0px); | |
4127 | } | |
4128 | ||
4129 | .devtools-responsiveui-touch:hover, | |
4130 | .devtools-responsiveui-touch[checked], | |
4131 | .devtools-responsiveui-touch[checked]:hover { | |
4132 | -moz-image-region: rect(0px,32px,16px,16px); | |
4133 | } | |
4134 | ||
0bcd5587 RK |
4135 | @media (min-resolution: 2dppx) { |
4136 | .devtools-responsiveui-touch { | |
4137 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png"); | |
4138 | -moz-image-region: rect(0px,32px,32px,0px); | |
4139 | } | |
4140 | ||
4141 | .devtools-responsiveui-touch:hover, | |
4142 | .devtools-responsiveui-touch[checked], | |
4143 | .devtools-responsiveui-touch[checked]:hover { | |
4144 | -moz-image-region: rect(0px,64px,32px,32px); | |
4145 | } | |
4146 | } | |
4147 | ||
fe524e0c RK |
4148 | .devtools-responsiveui-screenshot { |
4149 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); | |
4150 | -moz-image-region: rect(0px,16px,16px,0px); | |
4151 | } | |
4152 | ||
4153 | .devtools-responsiveui-screenshot:hover { | |
4154 | -moz-image-region: rect(0px,32px,16px,16px); | |
37953ab4 RK |
4155 | } |
4156 | ||
0bcd5587 RK |
4157 | @media (min-resolution: 2dppx) { |
4158 | .devtools-responsiveui-screenshot { | |
4159 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png"); | |
4160 | } | |
4161 | ||
4162 | .devtools-responsiveui-screenshot:hover { | |
4163 | -moz-image-region: rect(0px,64px,32px,32px); | |
4164 | } | |
4165 | } | |
4166 | ||
fe524e0c | 4167 | .devtools-responsiveui-resizebarV { |
37953ab4 RK |
4168 | width: 7px; |
4169 | height: 24px; | |
4170 | cursor: ew-resize; | |
71a617ff | 4171 | transform: translate(12px, -12px); |
0bcd5587 | 4172 | background-size: cover; |
37953ab4 RK |
4173 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
4174 | } | |
4175 | ||
fe524e0c RK |
4176 | .devtools-responsiveui-resizebarH { |
4177 | width: 24px; | |
4178 | height: 7px; | |
4179 | cursor: ns-resize; | |
4180 | transform: translate(-12px, 12px); | |
0bcd5587 | 4181 | background-size: cover; |
fe524e0c RK |
4182 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); |
4183 | } | |
4184 | ||
37953ab4 RK |
4185 | .devtools-responsiveui-resizehandle { |
4186 | width: 16px; | |
4187 | height: 16px; | |
4188 | cursor: se-resize; | |
71a617ff | 4189 | transform: translate(12px, 12px); |
0bcd5587 | 4190 | background-size: cover; |
37953ab4 | 4191 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
8d7ef0d9 | 4192 | } |
889649fd | 4193 | |
a21f2959 RK |
4194 | /* FxOS custom mode with additional buttons and phone look'n feel */ |
4195 | ||
4196 | /* Hide devtools manual resizer */ | |
4197 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle, | |
4198 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH, | |
4199 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV { | |
4200 | display: none; | |
4201 | } | |
4202 | ||
4203 | /* Gives responsive mode a phone look'n feel */ | |
4204 | .browserStack[responsivemode].fxos-mode { | |
4205 | padding: 60px 15px 0; | |
4206 | ||
4207 | border-radius: 25px / 20px; | |
4208 | border-bottom-left-radius: 0; | |
4209 | border-bottom-right-radius: 0; | |
4210 | border: 1px solid #FFFFFF; | |
4211 | border-bottom-width: 0; | |
4212 | ||
4213 | background-color: #353535; | |
4214 | ||
4215 | box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset; | |
4216 | ||
4217 | background-image: linear-gradient(to right, #111 11%, #333 56%); | |
4218 | min-width: 320px; | |
4219 | } | |
4220 | ||
4221 | .devtools-responsiveui-hardware-buttons { | |
4222 | -moz-appearance: none; | |
4223 | padding: 20px; | |
4224 | ||
4225 | border: 1px solid #FFFFFF; | |
4226 | border-bottom-left-radius: 25px; | |
4227 | border-bottom-right-radius: 25px; | |
4228 | border-top-width: 0; | |
4229 | ||
4230 | box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset; | |
4231 | ||
4232 | background-image: linear-gradient(to right, #111 11%, #333 56%); | |
4233 | } | |
4234 | ||
4235 | .devtools-responsiveui-home-button { | |
4236 | width: 40px; | |
4237 | height: 30px; | |
4238 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png"); | |
4239 | } | |
4240 | ||
4241 | .devtools-responsiveui-sleep-button { | |
4242 | -moz-appearance: none; | |
4243 | /* compensate browserStack top padding */ | |
4244 | margin-top: -67px; | |
4245 | margin-right: 10px; | |
4246 | ||
4247 | min-width: 10px; | |
4248 | width: 50px; | |
4249 | height: 5px; | |
4250 | ||
4251 | border: 1px solid #444; | |
4252 | border-top-right-radius: 12px; | |
4253 | border-top-left-radius: 12px; | |
4254 | border-bottom-color: transparent; | |
4255 | ||
4256 | background-image: linear-gradient(to top, #111 11%, #333 56%); | |
4257 | } | |
4258 | ||
4259 | .devtools-responsiveui-sleep-button:hover:active { | |
4260 | background-image: linear-gradient(to top, #aaa 11%, #ddd 56%); | |
4261 | } | |
4262 | ||
4263 | .devtools-responsiveui-volume-buttons { | |
4264 | margin-left: -29px; | |
4265 | } | |
4266 | ||
4267 | .devtools-responsiveui-volume-up-button, | |
4268 | .devtools-responsiveui-volume-down-button { | |
4269 | -moz-appearance: none; | |
4270 | border: 1px solid red; | |
4271 | min-width: 8px; | |
4272 | height: 40px; | |
4273 | ||
4274 | border: 1px solid #444; | |
4275 | border-right-color: transparent; | |
4276 | ||
4277 | background-image: linear-gradient(to right, #111 11%, #333 56%); | |
4278 | } | |
4279 | ||
4280 | .devtools-responsiveui-volume-up-button:hover:active, | |
4281 | .devtools-responsiveui-volume-down-button:hover:active { | |
4282 | background-image: linear-gradient(to right, #aaa 11%, #ddd 56%); | |
4283 | } | |
4284 | ||
4285 | .devtools-responsiveui-volume-up-button { | |
4286 | border-top-left-radius: 12px; | |
4287 | } | |
4288 | ||
4289 | .devtools-responsiveui-volume-down-button { | |
4290 | border-bottom-left-radius: 12px; | |
4291 | } | |
4292 | ||
0bcd5587 RK |
4293 | @media (min-resolution: 2dppx) { |
4294 | .devtools-responsiveui-resizebarV { | |
4295 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png"); | |
4296 | } | |
4297 | ||
4298 | .devtools-responsiveui-resizebarH { | |
4299 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png"); | |
4300 | } | |
4301 | ||
4302 | .devtools-responsiveui-resizehandle { | |
4303 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png"); | |
4304 | } | |
4305 | } | |
4306 | ||
fe524e0c | 4307 | /* === END responsivedesign.inc.css === */ |
fcaeefc2 RK |
4308 | |
4309 | /* === including indicator.css is done at the start of the file === */ | |
fe524e0c | 4310 | |
889649fd RK |
4311 | /* Error counter */ |
4312 | ||
0142a07b | 4313 | #developer-toolbar-toolbox-button[error-count]:before { |
889649fd RK |
4314 | color: #000000; |
4315 | min-width: 16px; | |
4316 | text-shadow: none; | |
4317 | background-color: #FF0000; | |
4318 | border-radius: 1px; | |
c29b709d | 4319 | -moz-margin-end: 5px; |
c54ac991 | 4320 | } |
e9c73590 | 4321 | |
348c0499 | 4322 | /* Social toolbar item */ |
e9c73590 | 4323 | |
0142a07b RK |
4324 | #social-provider-button { |
4325 | -moz-image-region: rect(0, 16px, 16px, 0); | |
a6757852 | 4326 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
0142a07b RK |
4327 | } |
4328 | ||
348c0499 RK |
4329 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
4330 | display: none; | |
e9c73590 RK |
4331 | } |
4332 | ||
348c0499 | 4333 | #social-notification-icon-mentions { |
e9c73590 | 4334 | background-color: #000000; |
348c0499 RK |
4335 | border-radius: 3px; |
4336 | -moz-margin-start: 2px; | |
e9c73590 RK |
4337 | } |
4338 | ||
348c0499 RK |
4339 | #social-notification-icon-mentions:hover { |
4340 | background-color: #FFCF00; | |
4341 | } | |
4342 | ||
4343 | #social-notification-icon-mentions[open="true"] { | |
4344 | background-color: #FF9F00; | |
e9c73590 RK |
4345 | } |
4346 | ||
4347 | #social-sidebar-splitter { | |
4348 | border: 0; | |
4349 | } | |
4350 | ||
ed1a91c6 RK |
4351 | .popup-notification-icon[popupid="servicesInstall"] { |
4352 | list-style-image: url("chrome://browser/skin/social/services-64.png"); | |
4353 | } | |
4354 | #servicesInstall-notification-icon { | |
4355 | list-style-image: url("chrome://browser/skin/social/services-16.png"); | |
4356 | } | |
c1d2ce3e | 4357 | #social-undoactivation-button { |
ed1a91c6 RK |
4358 | -moz-margin-start: 0; /* override default label margin to match description margin */ |
4359 | } | |
4360 | ||
4361 | #socialActivatedNotification .popup-notification-button-container { | |
4362 | margin-left: 6px; | |
4363 | } | |
4364 | ||
4365 | .social-activation-icon { | |
4366 | width: auto; | |
4367 | height: auto; | |
4368 | max-height: 64px; | |
4369 | max-width: 64px; | |
4370 | } | |
4371 | ||
4372 | #social-activation-message { | |
4373 | max-width: 250px; | |
4374 | } | |
4375 | ||
4376 | #social-activation-message > label { | |
4377 | margin: 0; | |
4378 | } | |
4379 | ||
e9c73590 | 4380 | /* social toolbar provider menu */ |
990cba4b | 4381 | .social-statusarea-popup { |
e9c73590 RK |
4382 | margin-top: 0; |
4383 | margin-left: -12px; | |
4384 | margin-right: -12px; | |
4385 | } | |
4386 | ||
990cba4b | 4387 | .social-statusarea-user { |
e9c73590 RK |
4388 | border-bottom: 1px solid #9C9CFF; |
4389 | background-color: #000000; | |
4390 | color: #FF9F00; | |
4391 | position: relative; | |
348c0499 | 4392 | cursor: pointer; |
e9c73590 RK |
4393 | } |
4394 | ||
990cba4b | 4395 | .social-statusarea-user-portrait { |
e9c73590 RK |
4396 | width: 32px; |
4397 | height: 32px; | |
4398 | border-radius: 2px; | |
4399 | margin: 10px; | |
e9c73590 RK |
4400 | } |
4401 | ||
990cba4b | 4402 | .social-statusarea-loggedInStatus { |
e9c73590 RK |
4403 | background: transparent; |
4404 | border: none; | |
b8384c33 | 4405 | color: #3333FF; |
e9c73590 RK |
4406 | min-width: 0; |
4407 | margin: 0 6px; | |
348c0499 | 4408 | list-style-image: none; |
e9c73590 | 4409 | } |
90a244b7 | 4410 | |
990cba4b | 4411 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
e9c73590 RK |
4412 | text-decoration: underline; |
4413 | } | |
4414 | ||
348c0499 RK |
4415 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
4416 | padding: 0; | |
4417 | } | |
4418 | ||
348c0499 RK |
4419 | .social-panel-frame { |
4420 | border-radius: inherit; | |
4421 | } | |
e9c73590 | 4422 | |
e7c8bab1 RK |
4423 | /* === BEGIN chat.inc.css === */ |
4424 | ||
dfa34f73 RK |
4425 | #social-sidebar-header { |
4426 | padding: 3px; | |
4427 | } | |
4428 | ||
4429 | #social-sidebar-button { | |
4430 | -moz-appearance: none; | |
4431 | list-style-image: url("chrome://browser/skin/social/gear_default.png"); | |
45dc7657 | 4432 | border: none; |
dfa34f73 RK |
4433 | padding: 0; |
4434 | margin: 2px; | |
4435 | } | |
45dc7657 RK |
4436 | #social-sidebar-button > .toolbarbutton-icon { |
4437 | min-height: 16px; | |
4438 | min-width: 16px; | |
4439 | } | |
dfa34f73 RK |
4440 | #social-sidebar-button:hover, |
4441 | #social-sidebar-button:hover:active { | |
4442 | list-style-image: url("chrome://browser/skin/social/gear_clicked.png"); | |
4443 | } | |
4444 | #social-sidebar-button > .toolbarbutton-menu-dropmarker { | |
4445 | display: none; | |
4446 | } | |
4447 | ||
4448 | #social-sidebar-button[loading="true"] { | |
4449 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
4450 | } | |
4451 | ||
4452 | #social-sidebar-favico { | |
4453 | max-height: 16px; | |
4454 | max-width: 16px; | |
4455 | padding: 0; | |
4456 | margin: 2px; | |
4457 | } | |
4458 | ||
e9c73590 RK |
4459 | .chat-status-icon { |
4460 | max-height: 16px; | |
4461 | max-width: 16px; | |
4462 | padding: 0; | |
4463 | } | |
4464 | ||
4465 | .chat-toolbarbutton { | |
4466 | -moz-appearance: none; | |
4467 | border: none; | |
8837ac2c | 4468 | padding: 0 3px; |
e9c73590 RK |
4469 | margin: 0; |
4470 | background: none; | |
8837ac2c RK |
4471 | } |
4472 | ||
4473 | .chat-toolbarbutton:hover { | |
4474 | /* background-color: rgba(255,255,255,.35);*/ | |
4475 | } | |
4476 | ||
4477 | .chat-toolbarbutton:hover:active { | |
4478 | /* background-color: rgba(255,255,255,.5);*/ | |
e9c73590 RK |
4479 | } |
4480 | ||
4481 | .chat-toolbarbutton > .toolbarbutton-text { | |
4482 | display: none; | |
4483 | } | |
4484 | ||
b27cc46e | 4485 | .chat-toolbarbutton > .toolbarbutton-icon { |
8837ac2c RK |
4486 | width: 16px; |
4487 | height: 16px; | |
e7c8bab1 RK |
4488 | } |
4489 | ||
e9c73590 | 4490 | .chat-close-button { |
8837ac2c | 4491 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close"); |
e9c73590 RK |
4492 | } |
4493 | ||
8837ac2c RK |
4494 | .chat-close-button:-moz-any(:hover,:hover:active) { |
4495 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active"); | |
e9c73590 RK |
4496 | } |
4497 | ||
e2734cc7 | 4498 | .chat-minimize-button { |
8837ac2c | 4499 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize"); |
e2734cc7 RK |
4500 | } |
4501 | ||
8837ac2c RK |
4502 | .chat-minimize-button:-moz-any(:hover,:hover:active) { |
4503 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active"); | |
e2734cc7 RK |
4504 | } |
4505 | ||
4506 | .chat-swap-button { | |
8837ac2c RK |
4507 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand"); |
4508 | transform: rotate(180deg); | |
e2734cc7 RK |
4509 | } |
4510 | ||
8837ac2c RK |
4511 | .chat-swap-button:-moz-any(:hover,:hover:active) { |
4512 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active"); | |
e2734cc7 RK |
4513 | } |
4514 | ||
4515 | chatbar > chatbox > .chat-titlebar > .chat-swap-button { | |
8837ac2c | 4516 | transform: none; |
e2734cc7 RK |
4517 | } |
4518 | ||
e9c73590 RK |
4519 | .chat-title { |
4520 | font-weight: bold; | |
4521 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
90a244b7 | 4522 | text-shadow: none; |
348c0499 | 4523 | cursor: inherit; |
e9c73590 RK |
4524 | } |
4525 | ||
4526 | .chat-titlebar { | |
4527 | background-color: #9C9CFF; | |
4528 | color: #000000; | |
8837ac2c RK |
4529 | height: 30px; |
4530 | min-height: 30px; | |
e9c73590 RK |
4531 | width: 100%; |
4532 | margin: 0; | |
8837ac2c | 4533 | padding: 7px 6px; |
e9c73590 RK |
4534 | border: none; |
4535 | border-bottom: 1px solid #008484; | |
348c0499 | 4536 | cursor: pointer; |
e9c73590 RK |
4537 | } |
4538 | ||
e2734cc7 RK |
4539 | .chat-titlebar > .notification-anchor-icon { |
4540 | margin-left: 2px; | |
4541 | margin-right: 2px; | |
4542 | } | |
4543 | ||
e9c73590 RK |
4544 | .chat-titlebar[minimized="true"] { |
4545 | border-bottom: none; | |
4546 | } | |
4547 | ||
348c0499 RK |
4548 | .chat-titlebar[selected] { |
4549 | background-color: #008484; | |
4550 | } | |
4551 | ||
4552 | .chat-titlebar[activity] { | |
4553 | background-color: #E7ADE7; | |
4554 | } | |
4555 | ||
8837ac2c RK |
4556 | chatbox[dark=true] > .chat-titlebar, |
4557 | chatbox[dark=true] > .chat-titlebar[selected] { | |
4558 | /* border-bottom: none; | |
4559 | background-color: #000; | |
4560 | background-image: none;*/ | |
4561 | } | |
4562 | ||
4563 | chatbox[dark=true] > .chat-titlebar > hbox > .chat-title { | |
4564 | /* font-weight: normal; | |
4565 | color: #c1c1c1;*/ | |
4566 | } | |
4567 | ||
e9c73590 RK |
4568 | .chat-frame { |
4569 | padding: 0; | |
4570 | margin: 0; | |
4571 | overflow: hidden; | |
4572 | } | |
4573 | ||
4574 | .chatbar-button { | |
ed1a91c6 | 4575 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
e9c73590 RK |
4576 | background-color: #000000; |
4577 | border: none; | |
4578 | margin: 0; | |
4579 | padding: 2px; | |
4580 | height: 21px; | |
4581 | width: 21px; | |
4582 | border-top: 1px solid #008484; | |
4583 | -moz-border-end: 1px solid #008484; | |
4584 | } | |
4585 | ||
ed1a91c6 RK |
4586 | @media (min-resolution: 2dppx) { |
4587 | .chatbar-button { | |
4588 | list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); | |
4589 | } | |
4590 | } | |
4591 | ||
fe524e0c RK |
4592 | .chatbar-button > .toolbarbutton-icon { |
4593 | width: 16px; | |
4594 | } | |
4595 | ||
d7cfd768 RK |
4596 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
4597 | width: auto; | |
4598 | height: auto; | |
e9c73590 RK |
4599 | max-height: 16px; |
4600 | max-width: 16px; | |
e9c73590 RK |
4601 | } |
4602 | ||
90a244b7 RK |
4603 | .chatbar-button > .toolbarbutton-icon { |
4604 | opacity: .6; | |
4605 | -moz-margin-end: 0; | |
4606 | } | |
4607 | .chatbar-button:hover > .toolbarbutton-icon, | |
4608 | .chatbar-button[open="true"] > .toolbarbutton-icon { | |
4609 | opacity: 1; | |
4610 | } | |
4611 | ||
a6757852 | 4612 | .chatbar-button:hover, |
90a244b7 | 4613 | .chatbar-button[open="true"] { |
e9c73590 RK |
4614 | } |
4615 | ||
e9c73590 RK |
4616 | .chatbar-button > .toolbarbutton-text, |
4617 | .chatbar-button > .toolbarbutton-menu-dropmarker { | |
4618 | display: none; | |
4619 | } | |
4620 | ||
90a244b7 | 4621 | .chatbar-button[activity]:not([open="true"]) { |
348c0499 RK |
4622 | background-color: #E7ADE7; |
4623 | } | |
4624 | ||
4625 | .chatbar-button > menupopup > menuitem[activity] { | |
4626 | font-weight: bold; | |
4627 | } | |
4628 | ||
e9c73590 RK |
4629 | .chatbar-innerbox { |
4630 | background: transparent; | |
90a244b7 | 4631 | margin: -285px 0 0; |
e9c73590 RK |
4632 | overflow: hidden; |
4633 | } | |
4634 | ||
fcfb76ce RK |
4635 | chatbar { |
4636 | -moz-margin-end: 20px; | |
4637 | } | |
4638 | ||
e9c73590 | 4639 | chatbar > chatbox { |
fcfb76ce RK |
4640 | height: 285px; |
4641 | width: 260px; | |
4642 | -moz-margin-start: 4px; | |
e9c73590 RK |
4643 | background-color: #000000; |
4644 | border: 1px solid #9C9CFF; | |
4645 | border-bottom: none; | |
90a244b7 RK |
4646 | border-top-left-radius: 2.5px; |
4647 | border-top-right-radius: 2.5px; | |
e9c73590 RK |
4648 | } |
4649 | ||
fcfb76ce RK |
4650 | chatbox[minimized="true"] { |
4651 | width: 160px; | |
e9c73590 | 4652 | height: 20px; |
e9c73590 | 4653 | } |
348c0499 | 4654 | |
e2734cc7 RK |
4655 | window > chatbox { |
4656 | -moz-margin-start: 0px; | |
4657 | margin: 0px; | |
4658 | border: none; | |
4659 | padding: 0px; | |
4660 | } | |
4661 | ||
e7c8bab1 RK |
4662 | /* === END chat.inc.css === */ |
4663 | ||
c0f6797e RK |
4664 | .chat-titlebar { |
4665 | /* background-color: #c4cfde; */ | |
4666 | } | |
4667 | ||
4668 | .chat-titlebar[selected] { | |
4669 | /* background-color: #dae3f0; */ | |
4670 | } | |
4671 | ||
4672 | .chatbar-button { | |
4673 | -moz-appearance: none; | |
4674 | /* background-color: #c4cfde; */ | |
4675 | } | |
4676 | ||
4677 | .chatbar-button > .toolbarbutton-icon { | |
4678 | /* -moz-margin-end: 0; */ | |
4679 | } | |
4680 | ||
4681 | .chatbar-button:hover, | |
4682 | .chatbar-button[open="true"] { | |
4683 | /* background-color: #dae3f0; */ | |
4684 | } | |
4685 | ||
4686 | .chatbar-button[activity]:not([open="true"]) { | |
4687 | } | |
4688 | ||
4689 | chatbox { | |
4690 | /* border-top-left-radius: 2.5px; | |
4691 | border-top-right-radius: 2.5px; */ | |
4692 | } | |
4693 | ||
b27cc46e | 4694 | /* === BEGIN plugin-doorhanger.inc.css === */ |
348c0499 | 4695 | |
b27cc46e RK |
4696 | /** |
4697 | * Plugin Doorhanger Styles | |
4698 | */ | |
348c0499 | 4699 | |
b27cc46e | 4700 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
1e32332f | 4701 | padding: 6px 1px 2px; |
348c0499 RK |
4702 | } |
4703 | ||
348c0499 | 4704 | .click-to-play-plugins-notification-center-box { |
348c0499 RK |
4705 | } |
4706 | ||
fe524e0c RK |
4707 | .plugin-popupnotification-centeritem:nth-child(odd) { |
4708 | /* background-color: rgba(0,0,0,0.1);*/ | |
348c0499 RK |
4709 | } |
4710 | ||
b27cc46e RK |
4711 | .center-item-label { |
4712 | margin-bottom: 0; | |
4713 | text-overflow: ellipsis; | |
348c0499 RK |
4714 | } |
4715 | ||
b27cc46e RK |
4716 | .center-item-warning-icon { |
4717 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); | |
348c0499 | 4718 | background-repeat: no-repeat; |
348c0499 | 4719 | width: 16px; |
b27cc46e RK |
4720 | height: 15px; |
4721 | -moz-margin-start: 6px; | |
348c0499 RK |
4722 | } |
4723 | ||
b27cc46e | 4724 | .click-to-play-plugins-notification-button-container { |
348c0499 RK |
4725 | } |
4726 | ||
b27cc46e RK |
4727 | .click-to-play-popup-button { |
4728 | width: 50%; | |
348c0499 RK |
4729 | } |
4730 | ||
b27cc46e | 4731 | .click-to-play-plugins-notification-description-box { |
1e32332f RK |
4732 | margin-left: 5px; |
4733 | margin-right: 5px; | |
4734 | margin-top: 0; | |
4735 | padding-bottom: 3px; | |
348c0499 RK |
4736 | } |
4737 | ||
b27cc46e | 4738 | .click-to-play-plugins-outer-description { |
1e32332f | 4739 | margin-top: 1px; |
348c0499 RK |
4740 | } |
4741 | ||
b27cc46e RK |
4742 | .click-to-play-plugins-notification-link, |
4743 | .center-item-link { | |
4744 | margin: 0; | |
348c0499 RK |
4745 | } |
4746 | ||
2c225fcb RK |
4747 | .messageImage[value="plugin-hidden"] { |
4748 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); | |
4749 | } | |
4750 | ||
4751 | /* Keep any changes to this style in sync with pluginProblem.css */ | |
4752 | notification.pluginVulnerable { | |
4753 | } | |
4754 | ||
4755 | notification.pluginVulnerable .messageImage { | |
4756 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); | |
4757 | } | |
4758 | ||
b27cc46e | 4759 | /* === END plugin-doorhanger.inc.css === */ |
0142a07b | 4760 | |
c066e743 RK |
4761 | /* === BEGIN badcontent-doorhanger.inc.css === */ |
4762 | ||
4763 | .popup-notification-item-title[popupid="bad-content"] { | |
4764 | font-weight: bold; | |
4765 | } | |
4766 | ||
4767 | .popup-notification-item-message[popupid="bad-content"] { | |
4768 | width: 17em; | |
4769 | } | |
4770 | ||
8922acc9 RK |
4771 | .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical), |
4772 | .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) { | |
4773 | color: #8050B0; | |
4774 | } | |
4775 | ||
c066e743 RK |
4776 | .popup-notification-item-message-critical[popupid="bad-content"] { |
4777 | color: #FF0000; | |
4778 | font-style: italic; | |
4779 | } | |
4780 | ||
4781 | .popup-notification-footer[popupid="bad-content"] { | |
4782 | padding-top: 1em; | |
4783 | } | |
4784 | ||
4785 | /* === END badcontent-doorhanger.inc.css === */ | |
4786 | ||
43cc2806 RK |
4787 | /* === BEGIN customizeMode.inc.css === */ |
4788 | ||
4789 | /* Customization mode */ | |
e28f3f71 | 4790 | |
5401f433 RK |
4791 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox { |
4792 | margin-bottom: 1em; | |
e28f3f71 RK |
4793 | } |
4794 | ||
5401f433 RK |
4795 | #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck, |
4796 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, | |
e28f3f71 RK |
4797 | #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox { |
4798 | margin-left: 1em; | |
4799 | margin-right: 1em; | |
43cc2806 RK |
4800 | } |
4801 | ||
e28f3f71 RK |
4802 | #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck { |
4803 | pointer-events: none; | |
4804 | } | |
4805 | ||
4806 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, | |
43cc2806 | 4807 | #PanelUI-contents > .panel-customization-placeholder { |
e28f3f71 | 4808 | -moz-outline-radius: 2.5px; |
43cc2806 RK |
4809 | outline: 1px dashed transparent; |
4810 | } | |
4811 | ||
e28f3f71 RK |
4812 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before { |
4813 | /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */ | |
4814 | -moz-box-ordinal-group: 0; | |
4815 | content: ""; | |
4816 | display: -moz-box; | |
4817 | height: 100%; | |
4818 | left: 0; | |
4819 | outline-offset: -2px; | |
4820 | pointer-events: none; | |
4821 | position: absolute; | |
4822 | top: 0; | |
4823 | width: 100%; | |
4824 | } | |
4825 | ||
4826 | /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the | |
4827 | #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the | |
4828 | offset from the bottom effectively the same as other targets (-2px). */ | |
4829 | #main-window[customize-entered] #TabsToolbar.customization-target::before { | |
e20c83c3 | 4830 | /* top: -2px;*/ |
e28f3f71 RK |
4831 | } |
4832 | ||
4833 | /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */ | |
4834 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover, | |
4835 | #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)), | |
4836 | #main-window[customize-entered] #nav-bar-customization-target.customization-target { | |
4837 | position: relative; | |
4838 | } | |
4839 | ||
4840 | /* Most target outlines are shown on hover and drag over but the panel menu uses | |
4841 | placeholders instead. */ | |
4842 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before, | |
4843 | #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, | |
4844 | /* nav-bar and panel outlines are always shown */ | |
4845 | #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { | |
4846 | outline-color: #A09090; | |
4847 | } | |
4848 | ||
4849 | #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { | |
4850 | transition: outline-color 250ms linear; | |
4851 | } | |
4852 | ||
4853 | #PanelUI-contents[showoutline=true] > .panel-customization-placeholder { | |
4854 | transition: outline-color 250ms linear; | |
43cc2806 RK |
4855 | outline-color: #9C9CFF; |
4856 | } | |
4857 | ||
4858 | #PanelUI-contents > .panel-customization-placeholder { | |
4859 | cursor: auto; | |
4860 | outline-offset: -5px; | |
4861 | } | |
4862 | ||
e28f3f71 | 4863 | #main-window[customizing] .customization-target:not(#PanelUI-contents) { |
43cc2806 | 4864 | min-width: 100px; |
e20c83c3 RK |
4865 | /* padding-left: 10px; |
4866 | padding-right: 10px;*/ | |
4867 | } | |
4868 | ||
4869 | #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck { | |
4870 | padding: 0 2em 2em; | |
43cc2806 RK |
4871 | } |
4872 | ||
4873 | #customization-container { | |
4874 | background-color: #000000; | |
93c91f62 | 4875 | color: #FF9F00; |
43cc2806 RK |
4876 | } |
4877 | ||
e28f3f71 RK |
4878 | #customization-palette, |
4879 | #customization-empty { | |
4880 | padding: 0 15px 15px; | |
43cc2806 RK |
4881 | } |
4882 | ||
4883 | #customization-header { | |
cac2a998 RK |
4884 | font-size: 1.75em; |
4885 | line-height: 1.75em; | |
43cc2806 | 4886 | color: #9C9CFF; |
cac2a998 RK |
4887 | font-weight: 200; |
4888 | margin: 25px 25px 12px; | |
4889 | padding-bottom: 12px; | |
4890 | border-bottom: 1px solid #A09090; | |
43cc2806 RK |
4891 | } |
4892 | ||
4893 | #customization-panel-container { | |
e28f3f71 RK |
4894 | padding: 10px 10px 0px; |
4895 | } | |
4896 | ||
5401f433 | 4897 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, |
e28f3f71 RK |
4898 | #customization-footer { |
4899 | /*background-color: rgb(236,236,236);*/ | |
5401f433 RK |
4900 | } |
4901 | ||
4902 | #customization-footer { | |
e28f3f71 | 4903 | border-top: 1px solid #9C9CFF; |
93c91f62 | 4904 | padding: 10px; |
e28f3f71 RK |
4905 | } |
4906 | ||
4907 | .customizationmode-button { | |
93c91f62 | 4908 | margin: 5px; |
e28f3f71 RK |
4909 | } |
4910 | ||
4911 | .customizationmode-button:hover { | |
4912 | } | |
4913 | ||
e548e22e RK |
4914 | #customization-titlebar-visibility-button[checked], |
4915 | #customization-devedition-theme-button[checked] { | |
4916 | background-color: #008484; | |
4917 | } | |
4918 | ||
4919 | #customization-titlebar-visibility-button[checked]:hover, | |
4920 | #customization-devedition-theme-button[checked]:hover { | |
4921 | background-color: #FFCF00; | |
4922 | } | |
4923 | ||
4924 | #customization-titlebar-visibility-button[checked]:hover:active, | |
4925 | #customization-devedition-theme-button[checked]:hover:active { | |
4926 | background-color: #FF9F00; | |
4927 | } | |
4928 | ||
e28f3f71 RK |
4929 | .customizationmode-button[disabled="true"] { |
4930 | } | |
4931 | ||
93c91f62 RK |
4932 | .customizationmode-button > .box-inherit > .box-inherit > .button-icon, |
4933 | .customizationmode-button > .button-box > .button-icon { | |
4934 | /* height: 24px;*/ | |
4935 | } | |
4936 | ||
e28f3f71 RK |
4937 | #customization-titlebar-visibility-button { |
4938 | list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png"); | |
b7f3670c RK |
4939 | -moz-image-region: rect(0, 16px, 16px, 0); |
4940 | padding: 0px 5px; | |
e28f3f71 RK |
4941 | } |
4942 | ||
b7f3670c RK |
4943 | #customization-titlebar-visibility-button:hover { |
4944 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
4945 | } | |
4946 | ||
4947 | #customization-titlebar-visibility-button > .button-box { | |
4948 | padding-top: 0; | |
4949 | padding-bottom: 1px; | |
4950 | } | |
4951 | ||
4952 | #customization-titlebar-visibility-button:hover:active > .button-box { | |
4953 | padding-top: 1px; | |
4954 | padding-bottom: 0; | |
4955 | } | |
4956 | ||
e28f3f71 RK |
4957 | #customization-titlebar-visibility-button > .button-box > .button-text { |
4958 | /* Sadly, button.css thinks its margins are perfect for everyone. */ | |
b7f3670c | 4959 | -moz-margin-start: 5px !important; |
e28f3f71 RK |
4960 | } |
4961 | ||
93c91f62 RK |
4962 | #customization-titlebar-visibility-button > .button-box > .button-icon { |
4963 | vertical-align: middle; | |
4964 | } | |
4965 | ||
e28f3f71 | 4966 | #customization-titlebar-visibility-button[checked] { |
b7f3670c | 4967 | -moz-image-region: rect(0, 32px, 16px, 16px); |
e28f3f71 RK |
4968 | background-color: #008484; |
4969 | } | |
4970 | ||
b7f3670c RK |
4971 | #customization-titlebar-visibility-button[checked]:hover { |
4972 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
4973 | background-color: #FFCF00; | |
4974 | } | |
4975 | ||
4976 | #customization-titlebar-visibility-button[checked]:hover:active { | |
4977 | background-color: #FF9F00; | |
4978 | } | |
4979 | ||
e28f3f71 | 4980 | #main-window[customize-entered] #customization-panel-container { |
43cc2806 RK |
4981 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
4982 | background-position: left top; | |
4983 | background-repeat: repeat; | |
4984 | background-size: auto; | |
4985 | background-attachment: fixed; | |
4986 | } | |
4987 | ||
e28f3f71 RK |
4988 | toolbarpaletteitem[place="toolbar"] { |
4989 | transition: border-width 250ms ease-in-out; | |
43cc2806 RK |
4990 | } |
4991 | ||
4992 | toolbarpaletteitem[mousedown] { | |
4993 | outline: 1px solid #008484; | |
4994 | cursor: -moz-grabbing; | |
4995 | opacity: 0.8; | |
4996 | } | |
4997 | ||
4998 | .panel-customization-placeholder, | |
4999 | toolbarpaletteitem[place="palette"], | |
5000 | toolbarpaletteitem[place="panel"] { | |
e28f3f71 RK |
5001 | transition: transform .3s ease-in-out; |
5002 | } | |
5003 | ||
5004 | #customization-palette { | |
5005 | transition: opacity .3s ease-in-out; | |
5006 | opacity: 0; | |
43cc2806 RK |
5007 | } |
5008 | ||
e28f3f71 RK |
5009 | #customization-palette[showing="true"] { |
5010 | opacity: 1; | |
5011 | } | |
5012 | ||
5013 | toolbarpaletteitem[notransition].panel-customization-placeholder, | |
5014 | toolbarpaletteitem[notransition][place="toolbar"], | |
43cc2806 RK |
5015 | toolbarpaletteitem[notransition][place="palette"], |
5016 | toolbarpaletteitem[notransition][place="panel"] { | |
e28f3f71 | 5017 | transition: none; |
43cc2806 RK |
5018 | } |
5019 | ||
e28f3f71 | 5020 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon, |
d0e580f1 | 5021 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon, |
e28f3f71 RK |
5022 | toolbarpaletteitem > toolbaritem.panel-wide-item, |
5023 | toolbarpaletteitem > toolbarbutton[type="menu-button"] { | |
5024 | transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important; | |
43cc2806 RK |
5025 | } |
5026 | ||
d0e580f1 RK |
5027 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon, |
5028 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon { | |
e28f3f71 RK |
5029 | transform: scale(1.3); |
5030 | } | |
5031 | ||
5032 | toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item, | |
5033 | toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] { | |
43cc2806 RK |
5034 | transform: scale(1.1); |
5035 | } | |
5036 | ||
5037 | /* Override the toolkit styling for items being dragged over. */ | |
5038 | toolbarpaletteitem[place="toolbar"] { | |
5039 | border-left-width: 0; | |
5040 | border-right-width: 0; | |
5041 | margin-right: 0; | |
5042 | margin-left: 0; | |
5043 | } | |
5044 | ||
5045 | #customization-palette:not([hidden]) { | |
5046 | margin-bottom: 25px; | |
5047 | } | |
5048 | ||
43cc2806 RK |
5049 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, |
5050 | #wrapper-edit-controls[place="palette"] > #edit-controls > separator, | |
e28f3f71 RK |
5051 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, |
5052 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { | |
5053 | margin-top: 20px; | |
43cc2806 RK |
5054 | } |
5055 | ||
5056 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, | |
c0f6797e | 5057 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { |
43cc2806 RK |
5058 | margin-left: 0; |
5059 | margin-right: 0; | |
e28f3f71 RK |
5060 | max-width: 24px; |
5061 | min-width: 24px; | |
43cc2806 | 5062 | max-height: 24px; |
5401f433 | 5063 | min-height: 24px; |
e28f3f71 | 5064 | padding: 4px; |
43cc2806 RK |
5065 | } |
5066 | ||
e28f3f71 RK |
5067 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon, |
5068 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon { | |
5069 | width: 16px; | |
43cc2806 RK |
5070 | } |
5071 | ||
e28f3f71 RK |
5072 | #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon { |
5073 | opacity: 1; /* To ensure these buttons always look enabled in customize mode */ | |
5074 | } | |
5075 | ||
c0f6797e RK |
5076 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button, |
5077 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator { | |
e28f3f71 RK |
5078 | display: none; |
5079 | } | |
5080 | ||
5081 | #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks { | |
5082 | -moz-box-pack: center; | |
5083 | min-height: 48px; | |
43cc2806 RK |
5084 | } |
5085 | ||
5086 | #customization-palette > toolbarpaletteitem > label { | |
5087 | text-align: center; | |
5088 | margin-left: 0; | |
5089 | margin-right: 0; | |
5090 | } | |
5091 | ||
cac2a998 RK |
5092 | #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent { |
5093 | -moz-box-orient: vertical; | |
5094 | /* Make the panel padding uniform across all platforms due to the | |
5095 | styling of the section headers and footer. */ | |
5096 | padding: 10px; | |
5097 | } | |
5098 | ||
5099 | .customization-lwtheme-menu-theme > .toolbarbutton-icon { | |
5100 | width: 32px; | |
5101 | height: 32px; | |
5102 | } | |
5103 | ||
5104 | .customization-lwtheme-menu-theme { | |
5105 | -moz-appearance: none; | |
5106 | margin: 0 -5px 5px; | |
5107 | padding-top: 0; | |
5108 | -moz-padding-end: 5px; | |
5109 | padding-bottom: 0; | |
5110 | -moz-padding-start: 0; | |
5111 | } | |
5112 | ||
8837ac2c RK |
5113 | .customization-lwtheme-menu-theme[defaulttheme] { |
5114 | list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png); | |
5115 | } | |
5116 | ||
cac2a998 RK |
5117 | .customization-lwtheme-menu-theme[active="true"] { |
5118 | background-color: #008484; | |
5119 | } | |
5120 | ||
5121 | .customization-lwtheme-menu-theme > .toolbarbutton-icon { | |
5122 | margin: 5px; | |
5123 | } | |
5124 | ||
5125 | .customization-lwtheme-menu-theme > .toolbarbutton-text { | |
5126 | text-align: start; | |
5127 | } | |
5128 | ||
5129 | #customization-lwtheme-menu-header, | |
5130 | #customization-lwtheme-menu-recommended { | |
5131 | padding: 10px; | |
5132 | margin-bottom: 5px; | |
5133 | } | |
5134 | ||
5135 | #customization-lwtheme-menu-header, | |
5136 | #customization-lwtheme-menu-recommended, | |
5137 | #customization-lwtheme-menu-footer { | |
5138 | background-color: #A09090; | |
5139 | color: #000000; | |
5140 | margin-right: -10px; | |
5141 | margin-left: -10px; | |
5142 | } | |
5143 | ||
5144 | #customization-lwtheme-menu-header { | |
5145 | margin-top: -10px; | |
5146 | border-top-right-radius: 3px; | |
5147 | border-top-left-radius: 3px; | |
5148 | } | |
5149 | ||
5150 | #customization-lwtheme-menu-recommended { | |
5151 | } | |
5152 | ||
5153 | #customization-lwtheme-menu-footer { | |
5154 | margin-bottom: -10px; | |
5155 | border-bottom-right-radius: 3px; | |
5156 | border-bottom-left-radius: 3px; | |
5157 | } | |
5158 | ||
5159 | .customization-lwtheme-menu-footeritem { | |
5160 | -moz-appearance: none; | |
5161 | -moz-box-flex: 1; | |
5162 | background-color: #C09070; | |
5163 | color: #000000; | |
5164 | border: 1px solid transparent; | |
5165 | padding: 10px; | |
5166 | margin-left: 0; | |
5167 | margin-right: 0; | |
5168 | } | |
5169 | ||
5170 | .customization-lwtheme-menu-footeritem:hover { | |
5171 | background-color: #FFCF00; | |
5172 | } | |
5173 | ||
8837ac2c | 5174 | .customization-lwtheme-menu-footeritem:first-child { |
cac2a998 RK |
5175 | } |
5176 | ||
43cc2806 RK |
5177 | /* === END customizeMode.inc.css === */ |
5178 | ||
e28f3f71 RK |
5179 | /* === BEGIN customizeTip.inc.css === */ |
5180 | ||
5181 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent { | |
5182 | padding: 0; | |
5183 | margin: 0; | |
5184 | min-width: 400px; | |
5185 | max-width: 1000px; | |
5186 | min-height: 200px; | |
5187 | border-radius: 3px; | |
5188 | /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/ | |
5189 | border: 1px solid #9C9CFF; | |
d1e87ec1 | 5190 | color: #FF9F00; |
e28f3f71 RK |
5191 | } |
5192 | ||
5193 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) { | |
5194 | /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/ | |
5195 | } | |
5196 | ||
5197 | .customization-tipPanel-infoBox { | |
5198 | margin: 20px 25px 25px; | |
5199 | width: 25px; | |
5200 | background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png"); | |
5201 | background-repeat: no-repeat; | |
5202 | } | |
5203 | ||
5204 | .customization-tipPanel-content { | |
5205 | margin: 25px 0; | |
5206 | font-size: 12px; | |
5207 | line-height: 18px; | |
5208 | } | |
5209 | ||
5210 | .customization-tipPanel-em { | |
5211 | margin: 0; | |
5212 | font-weight: bold; | |
5213 | } | |
5214 | ||
5215 | .customization-tipPanel-contentImage { | |
5216 | margin-top: 25px; | |
5217 | list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png"); | |
5218 | min-width: 300px; | |
5219 | max-width: 300px; | |
5220 | min-height: 190px; | |
5221 | max-height: 190px; | |
5222 | display: -moz-box; | |
5223 | } | |
5224 | ||
5225 | .customization-tipPanel-contentImage:-moz-locale-dir(rtl) { | |
5226 | list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png"); | |
5227 | } | |
5228 | ||
5229 | .customization-tipPanel-link { | |
5230 | -moz-appearance: none; | |
5231 | background: transparent; | |
5232 | border: none; | |
5233 | box-shadow: none; | |
5234 | color: #3333FF; | |
5235 | margin: 0; | |
5236 | cursor: pointer; | |
5237 | } | |
5238 | ||
5239 | .customization-tipPanel-link > .button-box > .button-text { | |
5240 | margin: 0 !important; | |
5241 | } | |
5242 | ||
5243 | .customization-tipPanel-closeBox > .close-icon { | |
5244 | -moz-appearance: none; | |
5245 | border: 0; | |
5246 | -moz-margin-end: -25px; | |
5247 | } | |
5248 | ||
5249 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"], | |
5250 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { | |
5251 | list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png"); | |
5252 | } | |
5253 | ||
5254 | /* === END customizeTip.inc.css === */ | |
5255 | ||
c0f6797e RK |
5256 | /** |
5257 | * This next rule is a hack to disable subpixel anti-aliasing on all | |
5258 | * labels during the customize mode transition. Subpixel anti-aliasing | |
5259 | * on Windows with Direct2D layers acceleration is particularly slow to | |
5260 | * paint, so this hack is how we sidestep that performance bottleneck. | |
5261 | */ | |
5262 | #main-window:-moz-any([customize-entering],[customize-exiting]) label { | |
5263 | transform: perspective(0.01px); | |
5264 | } | |
5265 | ||
93c91f62 | 5266 | #main-window[customize-entered] > #tab-view-deck { |
43cc2806 RK |
5267 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
5268 | background-attachment: fixed; | |
5269 | } | |
5270 | ||
93c91f62 RK |
5271 | #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme { |
5272 | background-repeat: no-repeat; | |
5273 | background-position: right top; | |
5274 | background-attachment: fixed; | |
5275 | /* The image will get set from CustomizeMode.jsm */ | |
5276 | background-image: none; | |
5277 | background-color: transparent; | |
5278 | } | |
5279 | ||
5280 | #main-window[customization-lwtheme]:-moz-lwtheme { | |
5281 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); | |
5282 | background-repeat: repeat; | |
5283 | background-attachment: fixed; | |
5284 | background-position: left top; | |
5285 | } | |
5286 | ||
5401f433 RK |
5287 | #main-window[customize-entered] #browser-bottombox, |
5288 | #main-window[customize-entered] #customization-container { | |
43cc2806 RK |
5289 | border-left: 1px solid #9C9CFF; |
5290 | border-right: 1px solid #9C9CFF; | |
5291 | background-clip: padding-box; | |
5292 | } | |
5293 | ||
5401f433 RK |
5294 | #main-window[customize-entered] #browser-bottombox { |
5295 | border-bottom: 1px solid #9C9CFF; | |
5296 | } | |
5297 | ||
e20c83c3 RK |
5298 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] { |
5299 | margin-right: -2px; | |
5300 | } | |
5301 | ||
5302 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { | |
5303 | margin-left: -2px; | |
5304 | } | |
5305 | ||
5306 | /* End customization mode */ | |
5307 | ||
51994fad RK |
5308 | /* Private browsing indicators */ |
5309 | ||
5310 | /** | |
5311 | * Currently, we have two places where we put private browsing indicators on | |
5312 | * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar. | |
5313 | * When tabsintitlebar is disabled, we draw the indicator at the end of the | |
5314 | * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we | |
5315 | * want the bottom border of the image to line up with the bottom of the window | |
5316 | * caption buttons. That's why there's so much special-casing going on in here. | |
5317 | */ | |
5318 | .private-browsing-indicator { | |
5319 | display: none; | |
5320 | pointer-events: none; | |
e20c83c3 RK |
5321 | } |
5322 | ||
51994fad RK |
5323 | #private-browsing-indicator-titlebar { |
5324 | display: block; | |
5325 | position: absolute; | |
e20c83c3 RK |
5326 | } |
5327 | ||
51994fad RK |
5328 | #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator { |
5329 | display: block; | |
e20c83c3 RK |
5330 | } |
5331 | ||
51994fad RK |
5332 | #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator { |
5333 | display: -moz-box; | |
5334 | } | |
5335 | ||
5336 | #TabsToolbar > .private-browsing-indicator { | |
5337 | background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px; | |
5338 | -moz-margin-start: 4px; | |
5339 | width: 48px; | |
5340 | } | |
5341 | ||
5342 | /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen | |
5343 | * mode, since the tabstrip "mimics" the titlebar in that case with its own | |
5344 | * min/max/close window buttons. | |
5345 | */ | |
5346 | #private-browsing-indicator-titlebar > .private-browsing-indicator, | |
5347 | #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator { | |
5348 | background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px; | |
5349 | -moz-margin-end: 4px; | |
43cc2806 | 5350 | width: 40px; |
51994fad RK |
5351 | height: 20px; |
5352 | position: relative; | |
43cc2806 RK |
5353 | } |
5354 | ||
51994fad RK |
5355 | /* This one is for Linux */ |
5356 | #main-window[privatebrowsingmode=temporary] #private-browsing-indicator { | |
5357 | background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat; | |
5358 | width: 48px; | |
5359 | } | |
5360 | ||
5361 | /* End private browsing indicators */ | |
5362 | ||
43cc2806 RK |
5363 | /* === BEGIN UITour.inc.css === */ |
5364 | ||
5365 | /* UI Tour */ | |
5366 | ||
2a8b2b48 RK |
5367 | #UITourHighlightContainer { |
5368 | -moz-appearance: none; | |
5369 | border: none; | |
5370 | background-color: transparent; | |
5371 | /* This is a buffer to compensate for the movement in the "wobble" effect */ | |
5372 | padding: 4px; | |
5373 | } | |
5374 | ||
5375 | #UITourHighlight { | |
5376 | background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%); | |
5377 | border-radius: 40px; | |
5378 | border: 1px solid #9C9CFF; | |
5379 | /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity | |
5380 | on Linux without an X compositor where opacity is either 0 or 1. */ | |
5381 | box-shadow: 0 0 3px 0 rgba(0,0,0,0.49); | |
43cc2806 RK |
5382 | min-height: 32px; |
5383 | min-width: 32px; | |
1bf116f8 RK |
5384 | } |
5385 | ||
2a8b2b48 RK |
5386 | #UITourTooltipBody { |
5387 | -moz-margin-end: 14px; | |
5388 | } | |
5389 | ||
5390 | #UITourTooltipBody > vbox { | |
5391 | padding-top: 4px; | |
43cc2806 RK |
5392 | } |
5393 | ||
2a8b2b48 RK |
5394 | #UITourTooltipIconContainer { |
5395 | -moz-margin-start: -16px; | |
5396 | } | |
5397 | ||
5398 | #UITourTooltipIcon { | |
5399 | width: 48px; | |
5400 | height: 48px; | |
5401 | -moz-margin-start: 28px; | |
5402 | -moz-margin-end: 28px; | |
5403 | } | |
5404 | ||
5405 | #UITourTooltipTitle, | |
5406 | #UITourTooltipDescription { | |
5407 | max-width: 20rem; | |
43cc2806 RK |
5408 | } |
5409 | ||
5410 | #UITourTooltipTitle { | |
2a8b2b48 | 5411 | font-size: 1.45rem; |
43cc2806 | 5412 | font-weight: bold; |
2a8b2b48 RK |
5413 | -moz-margin-start: 0; |
5414 | -moz-margin-end: 0; | |
5415 | margin: 0 0 9px 0; | |
43cc2806 RK |
5416 | } |
5417 | ||
5418 | #UITourTooltipDescription { | |
2a8b2b48 RK |
5419 | -moz-margin-start: 0; |
5420 | -moz-margin-end: 0; | |
5421 | font-size: 1.15rem; | |
5422 | line-height: 1.8rem; | |
5423 | margin-bottom: 0; /* Override global.css */ | |
5424 | } | |
5425 | ||
5426 | #UITourTooltipClose { | |
5427 | -moz-appearance: none; | |
5428 | border: none; | |
5429 | background-color: transparent; | |
5430 | min-width: 0; | |
5431 | -moz-margin-start: 4px; | |
5432 | margin-top: -2px; | |
5433 | } | |
5434 | ||
5435 | #UITourTooltipClose > .toolbarbutton-text { | |
5436 | display: none; | |
5437 | } | |
5438 | ||
5439 | #UITourTooltipButtons { | |
5440 | -moz-box-pack: end; | |
5441 | background-color: rgba(0,0,0,.2); | |
5442 | border-top: 1px solid rgba(0,0,0,.4); | |
5443 | margin: 24px -16px -16px; | |
5444 | padding: 2em 15px; | |
5445 | } | |
5446 | ||
5447 | #UITourTooltipButtons > button { | |
5448 | margin: 0 15px; | |
5449 | } | |
5450 | ||
5451 | #UITourTooltipButtons > button:first-child { | |
5452 | -moz-margin-start: 0; | |
5453 | } | |
5454 | ||
5455 | #UITourTooltipButtons > button[image] > .button-box > .button-icon { | |
5456 | width: 16px; | |
5457 | height: 16px; | |
5458 | -moz-margin-end: 5px; | |
5459 | } | |
5460 | ||
5461 | #UITourTooltipButtons > button .button-text { | |
5462 | font-size: 1.15rem; | |
5463 | } | |
5464 | ||
5465 | #UITourTooltipButtons > button:not(.button-link) { | |
5466 | -moz-appearance: none; | |
5467 | background-color: #C09070; | |
5468 | border-radius: 3000px; | |
5469 | border: none; | |
5470 | color: #000000; | |
5471 | padding: 4px 30px; | |
5472 | transition-property: background-color, color; | |
5473 | transition-duration: 150ms; | |
5474 | } | |
5475 | ||
5476 | #UITourTooltipButtons > button:not(.button-link):not(:active):hover { | |
5477 | background-color: #FFCF00; | |
5478 | color: #000000; | |
5479 | } | |
5480 | ||
5481 | #UITourTooltipButtons > button.button-link { | |
5482 | -moz-appearance: none; | |
5483 | background: transparent; | |
5484 | border: none; | |
5485 | box-shadow: none; | |
5486 | color: rgba(0,0,0,0.35); | |
5487 | padding-left: 10px; | |
5488 | padding-right: 10px; | |
5489 | } | |
5490 | ||
5491 | #UITourTooltipButtons > button.button-link:hover { | |
5492 | color: black; | |
5493 | } | |
5494 | ||
5495 | /* The primary button gets the same color as the customize button. */ | |
5496 | #UITourTooltipButtons > button.button-primary { | |
5497 | background-color: #A06060; /* LCARS default button background color */ | |
5498 | color: #000000; | |
5499 | padding-left: 30px; | |
5500 | padding-right: 30px; | |
5501 | } | |
5502 | ||
5503 | #UITourTooltipButtons > button.button-primary:not(:active):hover { | |
5504 | background-color: #FFCF00; | |
5505 | color: #000000; | |
43cc2806 RK |
5506 | } |
5507 | ||
58036cb8 RK |
5508 | .SearchHighlight { |
5509 | -moz-margin-end: 6px; | |
5510 | font-size: 110%; | |
5511 | width: 225px; | |
5512 | } | |
5513 | ||
5514 | .SearchHighlight label, | |
5515 | .SearchHighlight description { | |
5516 | color: #008484; | |
5517 | margin: 0 0 8px 0; | |
5518 | padding: 0; | |
5519 | } | |
5520 | ||
5521 | .SearchHighlightTitle { | |
5522 | font-weight: bold; | |
5523 | } | |
5524 | ||
5525 | .SearchHighlight .dot { | |
5526 | width: 7px; | |
5527 | height: 7px; | |
5528 | background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9); | |
5529 | background-size: 7px; | |
5530 | background-position: center center; | |
5531 | background-repeat: no-repeat; | |
5532 | -moz-margin-end: 2px; | |
5533 | } | |
5534 | ||
5535 | .SearchHighlight .dot.filled { | |
5536 | background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0); | |
5537 | } | |
5538 | ||
5539 | .SearchHighlight button { | |
5540 | margin: 0; | |
5541 | /* On some platforms clicking the button will steal focus from the search box | |
5542 | causing the popup to close. */ | |
5543 | -moz-user-focus: ignore; | |
5544 | } | |
5545 | ||
5546 | @media not all and (max-resolution: 1dppx) { | |
5547 | .SearchHighlight .dot { | |
5548 | background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18); | |
5549 | } | |
5550 | ||
5551 | .SearchHighlight .dot.filled { | |
5552 | background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0); | |
5553 | } | |
5554 | } | |
5555 | ||
43cc2806 | 5556 | /* === END UITour.inc.css === */ |
c0f6797e RK |
5557 | |
5558 | #UITourTooltipButtons { | |
5559 | margin: 24px -4px -4px; | |
5560 | } | |
fff8097b RK |
5561 | |
5562 | /* === BEGIN contextmenu.inc.css === */ | |
5563 | ||
5564 | menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { | |
5565 | } | |
5566 | ||
5567 | #context-navigation > .menuitem-iconic { | |
5568 | -moz-box-flex: 1; | |
5569 | -moz-box-pack: center; | |
5570 | -moz-box-align: center; | |
5571 | } | |
5572 | ||
5573 | #context-navigation > .menuitem-iconic[disabled="true"] { | |
5574 | background-color: transparent; | |
5575 | } | |
5576 | ||
5577 | #context-navigation > .menuitem-iconic > .menu-iconic-left { | |
5578 | -moz-appearance: none; | |
5579 | } | |
5580 | ||
93c91f62 RK |
5581 | #context-back > .menu-iconic-left { |
5582 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */ | |
fff8097b RK |
5583 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
5584 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
5585 | } | |
5586 | ||
93c91f62 RK |
5587 | #context-back:not([disabled="true"]):hover > .menu-iconic-left { |
5588 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */ | |
fff8097b RK |
5589 | -moz-image-region: rect(18px, 54px, 36px, 36px); |
5590 | } | |
5591 | ||
93c91f62 RK |
5592 | #context-back[disabled="true"] > .menu-iconic-left { |
5593 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */ | |
fff8097b RK |
5594 | -moz-image-region: rect(36px, 54px, 54px, 36px); |
5595 | } | |
5596 | ||
93c91f62 RK |
5597 | #context-forward > .menu-iconic-left { |
5598 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */ | |
fff8097b RK |
5599 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
5600 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
5601 | } | |
5602 | ||
93c91f62 RK |
5603 | #context-forward:not([disabled="true"]):hover > .menu-iconic-left { |
5604 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */ | |
fff8097b RK |
5605 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
5606 | } | |
5607 | ||
93c91f62 RK |
5608 | #context-forward[disabled="true"] > .menu-iconic-left { |
5609 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */ | |
fff8097b RK |
5610 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
5611 | } | |
5612 | ||
93c91f62 RK |
5613 | #context-reload > .menu-iconic-left { |
5614 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */ | |
832af407 | 5615 | list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); |
fff8097b RK |
5616 | -moz-image-region: rect(0, 14px, 14px, 0); |
5617 | } | |
5618 | ||
93c91f62 RK |
5619 | #context-reload:not([disabled="true"]):hover > .menu-iconic-left { |
5620 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */ | |
fff8097b RK |
5621 | -moz-image-region: rect(14px, 14px, 28px, 0); |
5622 | } | |
5623 | ||
93c91f62 RK |
5624 | #context-reload[disabled="true"] > .menu-iconic-left { |
5625 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */ | |
fff8097b RK |
5626 | -moz-image-region: rect(28px, 14px, 42px, 0); |
5627 | } | |
5628 | ||
93c91f62 RK |
5629 | #context-stop > .menu-iconic-left { |
5630 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */ | |
832af407 | 5631 | list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); |
fff8097b RK |
5632 | -moz-image-region: rect(0, 28px, 14px, 14px); |
5633 | } | |
5634 | ||
93c91f62 RK |
5635 | #context-stop:not([disabled="true"]):hover > .menu-iconic-left { |
5636 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */ | |
fff8097b RK |
5637 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
5638 | } | |
5639 | ||
93c91f62 RK |
5640 | #context-stop[disabled="true"] > .menu-iconic-left { |
5641 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */ | |
fff8097b RK |
5642 | -moz-image-region: rect(28px, 28px, 42px, 14px); |
5643 | } | |
5644 | ||
93c91f62 RK |
5645 | #context-bookmarkpage > .menu-iconic-left { |
5646 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */ | |
fff8097b RK |
5647 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
5648 | -moz-image-region: rect(0, 144px, 18px, 126px); | |
5649 | } | |
5650 | ||
93c91f62 RK |
5651 | #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left { |
5652 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */ | |
fff8097b RK |
5653 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
5654 | } | |
5655 | ||
93c91f62 RK |
5656 | #context-bookmarkpage[disabled="true"] > .menu-iconic-left { |
5657 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */ | |
fff8097b RK |
5658 | -moz-image-region: rect(36px, 144px, 54px, 126px); |
5659 | } | |
5660 | ||
5661 | #context-back:-moz-locale-dir(rtl), | |
5662 | #context-forward:-moz-locale-dir(rtl), | |
5663 | #context-reload:-moz-locale-dir(rtl) { | |
5664 | transform: scaleX(-1); | |
5665 | } | |
5666 | ||
5667 | #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { | |
93c91f62 RK |
5668 | width: 18px; /*16px;*/ |
5669 | height: 18px; /*16px;*/ | |
fff8097b RK |
5670 | margin: 7px; |
5671 | } | |
5672 | ||
5673 | #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon, | |
5674 | #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon { | |
5675 | width: 14px; | |
5676 | height: 14px; | |
5677 | margin: 9px; | |
5678 | } | |
5679 | ||
5680 | /* === END contextmenu.inc.css === */ | |
3d64e0ce RK |
5681 | |
5682 | #context-navigation { | |
5683 | } | |
5684 | ||
5685 | #context-sep-navigation { | |
5686 | /* margin-top: -4px; */ | |
5687 | } |