/
TabView.css
53 lines (41 loc) · 1.7 KB
/
TabView.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* 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/. */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* tabview menus */
.tabview-menuitem {
max-width: 32em;
}
/* tabview toolbar button */
.tabGroups-icon {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar.png);
}
toolbar[brighttext] #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar-inverted.png);
}
#tabGroups-tabview-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/menuPanel.png);
}
@media (min-resolution: 1.1dppx) {
.tabGroups-icon {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar@2x.png);
}
toolbar[brighttext] #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar-inverted@2x.png);
}
#tabGroups-tabview-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/menuPanel@2x.png);
}
}
#tabGroups-tabview-button[showGroupTitle][cui-areatype="toolbar"] > .toolbarbutton-text {
display: -moz-box;
}
#tabGroups-tabview-button[showGroupTitle][cui-areatype="toolbar"]:not([overflowedItem="true"]) > .toolbarbutton-icon {
display: none;
}
/* Compatibility with Tree Style Tab, make sure the button's text is visible with all themes */
#TabsToolbar[treestyletab-mode]:not([treestyletab-tabbar-position="top"]) #tabGroups-tabview-button[showGroupTitle] {
color: var(--tst-tab-text) !important;
}