mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
20d9cf4517
MozReview-Commit-ID: Ead7pIfHBJP --HG-- extra : rebase_source : 72d469d6d4ab12e5179a4acd279f84b7ba0993b7
98 lines
2.6 KiB
CSS
98 lines
2.6 KiB
CSS
/* 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/. */
|
|
|
|
.tabbrowser-tabpanels {
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabpanels");
|
|
}
|
|
|
|
.tabbrowser-arrowscrollbox {
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-arrowscrollbox");
|
|
}
|
|
|
|
.tab-close-button[pinned],
|
|
#tabbrowser-tabs[closebuttons="activetab"] > .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]),
|
|
.tab-icon-image:not([src]):not([pinned]):not([crashed])[selected],
|
|
.tab-icon-image:not([src]):not([pinned]):not([crashed]):not([sharing]),
|
|
.tab-icon-image[busy],
|
|
.tab-throbber:not([busy]),
|
|
.tab-throbber-fallback:not([busy]),
|
|
.tab-icon-sound:not([soundplaying]):not([muted]):not([activemedia-blocked]),
|
|
.tab-icon-sound[pinned],
|
|
.tab-sharing-icon-overlay,
|
|
.tab-icon-overlay {
|
|
display: none;
|
|
}
|
|
|
|
.tab-sharing-icon-overlay[sharing]:not([selected]),
|
|
.tab-icon-overlay[soundplaying][pinned],
|
|
.tab-icon-overlay[muted][pinned],
|
|
.tab-icon-overlay[activemedia-blocked][pinned],
|
|
.tab-icon-overlay[crashed] {
|
|
display: -moz-box;
|
|
}
|
|
|
|
.tab-label {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tab-label-container {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tab-label-container[pinned] {
|
|
width: 0;
|
|
}
|
|
|
|
.tab-label-container[textoverflow][labeldirection=ltr]:not([pinned]),
|
|
.tab-label-container[textoverflow]:not([labeldirection]):not([pinned]):-moz-locale-dir(ltr) {
|
|
direction: ltr;
|
|
mask-image: linear-gradient(to left, transparent, black 2em);
|
|
}
|
|
|
|
.tab-label-container[textoverflow][labeldirection=rtl]:not([pinned]),
|
|
.tab-label-container[textoverflow]:not([labeldirection]):not([pinned]):-moz-locale-dir(rtl) {
|
|
direction: rtl;
|
|
mask-image: linear-gradient(to right, transparent, black 2em);
|
|
}
|
|
|
|
tabpanels {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.tab-drop-indicator-box {
|
|
-moz-box-align: end;
|
|
}
|
|
|
|
.tab-drop-indicator {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* Apply crisp rendering for favicons at exactly 2dppx resolution */
|
|
@media (resolution: 2dppx) {
|
|
.tab-icon-image {
|
|
image-rendering: -moz-crisp-edges;
|
|
}
|
|
}
|
|
|
|
.closing-tabs-spacer {
|
|
pointer-events: none;
|
|
}
|
|
|
|
#tabbrowser-tabs:not(:hover) > .tabbrowser-arrowscrollbox > .closing-tabs-spacer {
|
|
transition: width .15s ease-out;
|
|
}
|
|
|
|
browser[blank],
|
|
browser[pendingpaint] {
|
|
opacity: 0;
|
|
}
|
|
|
|
#tabbrowser-tabpanels[pendingpaint] {
|
|
background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-size: 30px;
|
|
}
|