michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: .tabbrowser-tabbox { michael@0: -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabbox"); michael@0: } michael@0: michael@0: .tabbrowser-arrowscrollbox { michael@0: -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox"); michael@0: } michael@0: michael@0: .tab-close-button { michael@0: -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-close-tab-button"); michael@0: } michael@0: michael@0: .tab-close-button[pinned], michael@0: .tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([selected="true"]) { michael@0: display: none; michael@0: } michael@0: michael@0: .tab-label[pinned] { michael@0: width: 0; michael@0: margin-left: 0 !important; michael@0: margin-right: 0 !important; michael@0: padding-left: 0 !important; michael@0: padding-right: 0 !important; michael@0: } michael@0: michael@0: .tab-stack { michael@0: vertical-align: top; /* for pinned tabs */ michael@0: } michael@0: michael@0: tabpanels { michael@0: background-color: transparent; michael@0: } michael@0: michael@0: .tab-drop-indicator { michael@0: position: relative; michael@0: z-index: 2; michael@0: } michael@0: michael@0: .tab-icon-image:not([src]):not([pinned]), michael@0: .tab-throbber:not([busy]), michael@0: .tab-throbber[busy] + .tab-icon-image { michael@0: display: none; michael@0: } michael@0: michael@0: .closing-tabs-spacer { michael@0: pointer-events: none; michael@0: } michael@0: michael@0: .tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer { michael@0: transition: width .15s ease-out; michael@0: } michael@0: michael@0: /** michael@0: * Optimization for tabs that are restored lazily. We can save a good amount of michael@0: * memory that to-be-restored tabs would otherwise consume simply by setting michael@0: * their browsers to 'display: none' as that will prevent them from having to michael@0: * create a presentation and the like. michael@0: */ michael@0: browser[pending] { michael@0: display: none; michael@0: }