1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5.tab-label-container {
6  overflow: hidden;
7}
8
9.tab-label-container[textoverflow] {
10  mask-image: linear-gradient(to left, transparent, black 2em);
11}
12
13.tab-label-container[textoverflow]:-moz-locale-dir(rtl) {
14  mask-image: linear-gradient(to right, transparent, black 2em);
15}
16
17.tab-label {
18  white-space: nowrap;
19}
20
21.tab-close-button {
22  display: none;
23}
24
25#tabmail-tabs > arrowscrollbox > .tabmail-tab:first-child > .tab-stack > .tab-content >
26.tab-close-button {
27  visibility: collapse;
28}
29
30#tabmail-tabs:not([closebuttons="noclose"],[closebuttons="closeatend"]) >
31arrowscrollbox > .tabmail-tab[selected="true"]:not(:only-child) > .tab-stack >
32.tab-content > .tab-close-button {
33  display: -moz-box;
34}
35
36#tabmail-tabs[closebuttons="alltabs"] > arrowscrollbox >
37.tabmail-tab:not(:only-child) > .tab-stack > .tab-content > .tab-close-button {
38  display: -moz-box;
39}
40
41.tab-drop-indicator {
42  position: absolute;
43  top: 0;
44  /* The z-index needs to be big enough to trump other positioned UI pieces
45     that we want to overlay. The selected tab uses 2. */
46  z-index: 3;
47}
48
49.tab-throbber:not([busy]):not([thinking]),
50.tab-throbber[busy] + .tab-icon-image,
51.tab-throbber[thinking] + .tab-icon-image,
52.tab-throbber[busy][thinking] + .tab-icon-image {
53  display: none;
54}
55