Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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");
7 }
9 .tabbrowser-arrowscrollbox {
10 -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
11 }
13 .tab-close-button {
14 -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-close-tab-button");
15 }
17 .tab-close-button[pinned],
18 .tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([selected="true"]) {
19 display: none;
20 }
22 .tab-label[pinned] {
23 width: 0;
24 margin-left: 0 !important;
25 margin-right: 0 !important;
26 padding-left: 0 !important;
27 padding-right: 0 !important;
28 }
30 .tab-stack {
31 vertical-align: top; /* for pinned tabs */
32 }
34 tabpanels {
35 background-color: transparent;
36 }
38 .tab-drop-indicator {
39 position: relative;
40 z-index: 2;
41 }
43 .tab-icon-image:not([src]):not([pinned]),
44 .tab-throbber:not([busy]),
45 .tab-throbber[busy] + .tab-icon-image {
46 display: none;
47 }
49 .closing-tabs-spacer {
50 pointer-events: none;
51 }
53 .tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
54 transition: width .15s ease-out;
55 }
57 /**
58 * Optimization for tabs that are restored lazily. We can save a good amount of
59 * memory that to-be-restored tabs would otherwise consume simply by setting
60 * their browsers to 'display: none' as that will prevent them from having to
61 * create a presentation and the like.
62 */
63 browser[pending] {
64 display: none;
65 }