2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
.tabbrowser-tabbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabbox");
|
2008-01-14 19:04:37 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-arrowscrollbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button {
|
2010-04-27 09:57:19 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-close-tab-button");
|
2008-01-14 19:04:37 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-01-07 16:35:33 -08:00
|
|
|
.tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([pinned])[selected="true"],
|
2010-09-15 00:28:37 -07:00
|
|
|
.tabbrowser-tabs[closebuttons="alltabs"] > * > * > * > .tab-close-button:not([pinned]) {
|
2008-01-14 19:04:37 -08:00
|
|
|
display: -moz-box;
|
|
|
|
}
|
2009-01-23 00:13:11 -08:00
|
|
|
|
2010-09-15 00:28:37 -07:00
|
|
|
.tab-label[pinned] {
|
2010-09-29 03:16:32 -07:00
|
|
|
width: 0;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
2010-09-15 00:28:37 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-stack {
|
2010-09-29 03:16:32 -07:00
|
|
|
vertical-align: top; /* for pinned tabs */
|
2010-09-15 00:28:37 -07:00
|
|
|
}
|
|
|
|
|
2010-02-01 23:47:11 -08:00
|
|
|
tabpanels {
|
2011-05-04 00:29:31 -07:00
|
|
|
background-color: transparent;
|
2010-02-01 23:47:11 -08:00
|
|
|
}
|
|
|
|
|
2010-03-10 00:07:45 -08:00
|
|
|
.tab-drop-indicator {
|
|
|
|
position: relative;
|
2010-11-29 06:18:40 -08:00
|
|
|
z-index: 2;
|
2010-03-10 00:07:45 -08:00
|
|
|
}
|
2010-09-16 16:59:25 -07:00
|
|
|
|
2010-10-11 20:47:59 -07:00
|
|
|
.tab-throbber:not([busy]),
|
|
|
|
.tab-throbber[busy] + .tab-icon-image {
|
2010-09-16 16:59:25 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2011-04-11 23:50:56 -07:00
|
|
|
|
|
|
|
.closing-tabs-spacer {
|
2013-01-29 18:14:45 -08:00
|
|
|
min-width: 0;
|
2011-04-11 23:50:56 -07:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
|
2013-01-29 18:14:45 -08:00
|
|
|
transition: min-width 150ms ease-out;
|
2011-04-11 23:50:56 -07:00
|
|
|
}
|
2012-09-04 22:52:31 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Optimization for tabs that are restored lazily. We can save a good amount of
|
|
|
|
* memory that to-be-restored tabs would otherwise consume simply by setting
|
|
|
|
* their browsers to 'display: none' as that will prevent them from having to
|
|
|
|
* create a presentation and the like.
|
|
|
|
*/
|
|
|
|
browser[pending] {
|
|
|
|
display: none;
|
|
|
|
}
|