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