-
Notifications
You must be signed in to change notification settings - Fork 1
/
userChrome.css
61 lines (52 loc) · 1.21 KB
/
userChrome.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
54
55
56
57
58
59
60
61
/*
* Hide window controls
*/
.titlebar-buttonbox-container {
display: none !important;
}
.titlebar-placeholder, #TabsToolbar .titlebar-spacer {
display: none;
}
#navigator-toolbox::after{
display: none !important;
}
/*
* Hide all the clutter in the navbar
*/
#main-window :-moz-any(
#PanelUI-button,
#forward-button,
#stop-reload-button,
#home-button,
#star-button,
#urlbar-zoom-button,
#save-to-pocket-button,
#tabs-newtab-button,
#permissions-granted-icon,
#fxa-toolbar-menu-button,
#tracking-protection-icon-container
) {
display: none !important;
}
toolbarspring {
display: none !important;
}
/*
* Hide tabs if only one tab
* https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206
*/
/* Set --tab-min-height to 0px so tab bar can disappear */
#tabbrowser-tabs {
--tab-min-height: 0px;
}
/* Restore minimum height when more than one tab */
#tabbrowser-tabs tab {
--tab-min-height: 30px;
}
/* Collapse tab bar when there is only one tab (tab is both first & last) */
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {
visibility: collapse;
}
toolbar#TabsToolbar {
min-height: 0px !important;
}