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