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