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