2012-05-21 11:12:37 +00: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-17 06:36:13 +00:00
|
|
|
.tabbrowser-tabbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabbox");
|
2008-01-15 03:04:37 +00:00
|
|
|
}
|
|
|
|
|
2014-08-02 12:22:06 +00:00
|
|
|
.tabbrowser-tabpanels {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabpanels");
|
|
|
|
}
|
|
|
|
|
2008-01-15 03:04:37 +00:00
|
|
|
.tabbrowser-arrowscrollbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button {
|
2010-04-27 16:57:19 +00:00
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-close-tab-button");
|
2008-01-15 03:04:37 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 12:30:18 +00:00
|
|
|
.tab-close-button[pinned],
|
2016-08-24 14:23:55 +00:00
|
|
|
.tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([visuallyselected="true"]),
|
2016-06-22 11:07:39 +00:00
|
|
|
.tab-icon-image:not([src]):not([pinned]):not([crashed])[selected],
|
|
|
|
.tab-icon-image:not([src]):not([pinned]):not([crashed]):not([sharing]),
|
2015-08-12 05:32:27 +00:00
|
|
|
.tab-icon-image[busy],
|
|
|
|
.tab-throbber:not([busy]),
|
|
|
|
.tab-icon-sound:not([soundplaying]):not([muted]),
|
|
|
|
.tab-icon-sound[pinned],
|
2016-06-22 11:07:39 +00:00
|
|
|
.tab-sharing-icon-overlay,
|
2015-08-12 05:32:27 +00:00
|
|
|
.tab-icon-overlay {
|
2014-04-25 12:30:18 +00:00
|
|
|
display: none;
|
2008-01-15 03:04:37 +00:00
|
|
|
}
|
2009-01-23 08:13:11 +00:00
|
|
|
|
2016-06-22 11:07:39 +00:00
|
|
|
.tab-sharing-icon-overlay[sharing]:not([selected]),
|
2015-08-12 05:32:27 +00:00
|
|
|
.tab-icon-overlay[soundplaying][pinned],
|
|
|
|
.tab-icon-overlay[muted][pinned],
|
|
|
|
.tab-icon-overlay[crashed] {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2010-09-15 07:28:37 +00:00
|
|
|
.tab-label[pinned] {
|
2010-09-29 10:16:32 +00:00
|
|
|
width: 0;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
2010-09-15 07:28:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-stack {
|
2010-09-29 10:16:32 +00:00
|
|
|
vertical-align: top; /* for pinned tabs */
|
2010-09-15 07:28:37 +00:00
|
|
|
}
|
|
|
|
|
2010-02-02 07:47:11 +00:00
|
|
|
tabpanels {
|
2011-05-04 07:29:31 +00:00
|
|
|
background-color: transparent;
|
2010-02-02 07:47:11 +00:00
|
|
|
}
|
|
|
|
|
2010-03-10 08:07:45 +00:00
|
|
|
.tab-drop-indicator {
|
|
|
|
position: relative;
|
2010-11-29 14:18:40 +00:00
|
|
|
z-index: 2;
|
2010-03-10 08:07:45 +00:00
|
|
|
}
|
2010-09-16 23:59:25 +00:00
|
|
|
|
2014-08-11 18:03:00 +00:00
|
|
|
/* Apply crisp rendering for favicons at exactly 2dppx resolution */
|
|
|
|
@media (resolution: 2dppx) {
|
|
|
|
.tab-icon-image {
|
|
|
|
image-rendering: -moz-crisp-edges;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-04-12 06:50:56 +00:00
|
|
|
.closing-tabs-spacer {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
|
2013-03-17 21:03:08 +00:00
|
|
|
transition: width .15s ease-out;
|
2011-04-12 06:50:56 +00:00
|
|
|
}
|
2012-09-05 05:52:31 +00: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;
|
|
|
|
}
|
2014-10-10 15:46:27 +00:00
|
|
|
|
|
|
|
browser[pendingpaint] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabbrowser[pendingpaint] {
|
|
|
|
background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
2015-08-19 04:13:13 +00:00
|
|
|
background-color: #f9f9f9 !important;
|
|
|
|
background-size: 30px;
|
2014-10-10 15:46:27 +00:00
|
|
|
}
|