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