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