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/. */
6 -moz-binding: url
("chrome://browser/content/tabbrowser.xml#tabbrowser-tabbox");
9 .tabbrowser-tabpanels {
10 -moz-binding: url
("chrome://browser/content/tabbrowser.xml#tabbrowser-tabpanels");
13 .tabbrowser-arrowscrollbox {
14 -moz-binding: url
("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
18 -moz-binding: url
("chrome://browser/content/tabbrowser.xml#tabbrowser-close-tab-button");
21 .tab-close-button
[pinned
],
22 .tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([selected="true"]) {
28 margin-left: 0 !important
;
29 margin-right: 0 !important
;
30 padding-left: 0 !important
;
31 padding-right: 0 !important
;
35 vertical-align: top
; /* for pinned tabs */
39 background-color: transparent
;
47 /* Apply crisp rendering for favicons at exactly 2dppx resolution */
48 @media (resolution: 2dppx) {
50 image-rendering: -moz-crisp-edges
;
54 .tab-icon-image:not
([src
]):not
([pinned
]),
55 .tab-throbber:not
([busy
]),
56 .tab-throbber[busy] + .tab-icon-image {
60 .closing-tabs-spacer {
64 .tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
65 transition: width
.15s ease-out
;
69 * Optimization for tabs that are restored lazily. We can save a good amount of
70 * memory that to-be-restored tabs would otherwise consume simply by setting
71 * their browsers to 'display: none' as that will prevent them from having to
72 * create a presentation and the like.