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