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],
|
2016-08-24 17:40:11 +03:00
|
|
|
.tabbrowser-tabs[closebuttons="activetab"] > * > * > * > .tab-close-button:not([selected="true"]),
|
2016-06-22 14:07:39 +03: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 08:32:27 +03:00
|
|
|
.tab-icon-image[busy],
|
|
|
|
.tab-throbber:not([busy]),
|
2017-06-29 14:48:38 +03:00
|
|
|
.tab-icon-sound:not([soundplaying]):not([muted]):not([activemedia-blocked]),
|
2015-08-12 08:32:27 +03:00
|
|
|
.tab-icon-sound[pinned],
|
2016-06-22 14:07:39 +03:00
|
|
|
.tab-sharing-icon-overlay,
|
2015-08-12 08:32:27 +03:00
|
|
|
.tab-icon-overlay {
|
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
|
|
|
|
2016-06-22 14:07:39 +03:00
|
|
|
.tab-sharing-icon-overlay[sharing]:not([selected]),
|
2015-08-12 08:32:27 +03:00
|
|
|
.tab-icon-overlay[soundplaying][pinned],
|
|
|
|
.tab-icon-overlay[muted][pinned],
|
2017-06-29 14:48:38 +03:00
|
|
|
.tab-icon-overlay[activemedia-blocked][pinned],
|
2015-08-12 08:32:27 +03:00
|
|
|
.tab-icon-overlay[crashed] {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2016-12-08 19:17:41 +03:00
|
|
|
.tab-label {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-label-container {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-label-container[pinned] {
|
2010-09-29 14:16:32 +04:00
|
|
|
width: 0;
|
2016-12-08 19:17:41 +03:00
|
|
|
}
|
|
|
|
|
2017-06-12 21:31:30 +03:00
|
|
|
.tab-label-container[textoverflow][labeldirection=ltr]:not([pinned]),
|
|
|
|
.tab-label-container[textoverflow]:not([labeldirection]):not([pinned]):-moz-locale-dir(ltr) {
|
2017-06-09 23:00:32 +03:00
|
|
|
direction: ltr;
|
2017-05-08 18:19:57 +03:00
|
|
|
mask-image: linear-gradient(to left, transparent, black 2em);
|
2016-12-08 19:17:41 +03:00
|
|
|
}
|
|
|
|
|
2017-06-12 21:31:30 +03:00
|
|
|
.tab-label-container[textoverflow][labeldirection=rtl]:not([pinned]),
|
|
|
|
.tab-label-container[textoverflow]:not([labeldirection]):not([pinned]):-moz-locale-dir(rtl) {
|
2017-06-09 23:00:32 +03:00
|
|
|
direction: rtl;
|
2017-05-08 18:19:57 +03:00
|
|
|
mask-image: linear-gradient(to right, transparent, black 2em);
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2017-05-21 00:04:48 +03:00
|
|
|
browser[blank],
|
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-08-19 07:13:13 +03:00
|
|
|
background-color: #f9f9f9 !important;
|
|
|
|
background-size: 30px;
|
2014-10-10 19:46:27 +04:00
|
|
|
}
|