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