Bumping manifests a=b2g-bump
[gecko.git] / browser / base / content / tabbrowser.css
blobbc5860e7114af6826ee5e2280147aa67d9c60278
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/. */
5 .tabbrowser-tabbox {
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");
17 .tab-close-button {
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"]) {
23 display: none;
26 .tab-label[pinned] {
27 width: 0;
28 margin-left: 0 !important;
29 margin-right: 0 !important;
30 padding-left: 0 !important;
31 padding-right: 0 !important;
34 .tab-stack {
35 vertical-align: top; /* for pinned tabs */
38 tabpanels {
39 background-color: transparent;
42 .tab-drop-indicator {
43 position: relative;
44 z-index: 2;
47 /* Apply crisp rendering for favicons at exactly 2dppx resolution */
48 @media (resolution: 2dppx) {
49 .tab-icon-image {
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 {
57 display: none;
60 .closing-tabs-spacer {
61 pointer-events: none;
64 .tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
65 transition: width .15s ease-out;
68 /**
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.
74 browser[pending] {
75 display: none;