browser/base/content/tabbrowser.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 .tabbrowser-tabbox {
michael@0 6 -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabbox");
michael@0 7 }
michael@0 8
michael@0 9 .tabbrowser-arrowscrollbox {
michael@0 10 -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
michael@0 11 }
michael@0 12
michael@0 13 .tab-close-button {
michael@0 14 -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-close-tab-button");
michael@0 15 }
michael@0 16
michael@0 17 .tab-close-button[pinned],
michael@0 18 .tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([selected="true"]) {
michael@0 19 display: none;
michael@0 20 }
michael@0 21
michael@0 22 .tab-label[pinned] {
michael@0 23 width: 0;
michael@0 24 margin-left: 0 !important;
michael@0 25 margin-right: 0 !important;
michael@0 26 padding-left: 0 !important;
michael@0 27 padding-right: 0 !important;
michael@0 28 }
michael@0 29
michael@0 30 .tab-stack {
michael@0 31 vertical-align: top; /* for pinned tabs */
michael@0 32 }
michael@0 33
michael@0 34 tabpanels {
michael@0 35 background-color: transparent;
michael@0 36 }
michael@0 37
michael@0 38 .tab-drop-indicator {
michael@0 39 position: relative;
michael@0 40 z-index: 2;
michael@0 41 }
michael@0 42
michael@0 43 .tab-icon-image:not([src]):not([pinned]),
michael@0 44 .tab-throbber:not([busy]),
michael@0 45 .tab-throbber[busy] + .tab-icon-image {
michael@0 46 display: none;
michael@0 47 }
michael@0 48
michael@0 49 .closing-tabs-spacer {
michael@0 50 pointer-events: none;
michael@0 51 }
michael@0 52
michael@0 53 .tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
michael@0 54 transition: width .15s ease-out;
michael@0 55 }
michael@0 56
michael@0 57 /**
michael@0 58 * Optimization for tabs that are restored lazily. We can save a good amount of
michael@0 59 * memory that to-be-restored tabs would otherwise consume simply by setting
michael@0 60 * their browsers to 'display: none' as that will prevent them from having to
michael@0 61 * create a presentation and the like.
michael@0 62 */
michael@0 63 browser[pending] {
michael@0 64 display: none;
michael@0 65 }

mercurial