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