-
Notifications
You must be signed in to change notification settings - Fork 20
/
userChrome.css
102 lines (83 loc) · 3.45 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* hide the scroll bar on the vertical tabs */
#sidebar {
/* margin-right:-17px !important; */
margin-bottom:-23px !important;
overflow-y:scroll;
overflow-x:hidden;
}
/* to hide the sidebar header */
#sidebar-header {
visibility: collapse;
}
/* Tridactyl minimal CSS
*
* Contributors: aplaice, Oliver Blanthorn, Colin Caine
*
* Move this file to %appdata%/Mozilla/Firefox/[your-profile]/chrome/userChrome.css
* Currently, it reduces the amount of padding around the UI, removes the tab bar
* and autohides the navigation bar. If you want to drag the window around press
* "alt" and then use the menu bar to move it, but you're better off pressing
* the Windows key + an arrow key to move the window where you want it.
*
* If you're not on Windows, you can find your profile folder on
* about:support
*
* Borrowed from https://www.reddit.com/r/FirefoxCSS/comments/73359a/my_firefox_57_setup/?utm_content=title&utm_medium=browse&utm_source=reddit&utm_name=FirefoxCSS
*
* This file is a work in progress.
*
* Any information on where to find documentation on valid properties we can edit here would be appreciated.
*
*/
/* auto-hide the tab and navigation bar in a similar way to fullscreen mode */
/* User config */
/* #navigator-toolbox {*/
/* /* The height of the area at the top of the screen that causes the nav-bar to be shown*/
/* If zero, you can still focus with <C-l> or F6.*/
/* */*/
/* --tridactyl-auto-show-zone: 10px;*/
/* }*/
/* Hide grey container box */
:root:not([customizing]) #navigator-toolbox:not(:hover):not(:focus-within) {
max-height: 0;
min-height: calc(0px); /* I have no idea why just using 0 or 0px does not work... */
}
/* Auto hide tab bar */
:root:not([customizing]) #navigator-toolbox:not(:hover):not(:focus-within) #TabsToolbar {
visibility: collapse;
}
/* /1* Auto hide nav bar *1/ */
/* :root:not([customizing]) #navigator-toolbox:not(:hover):not(:focus-within) #nav-bar { */
/* max-height: 0; */
/* min-height: 0!important; */
/* /1* Use margin-bottom to allow trigger zones that are larger than the nav-bar *1/ */
/* margin-bottom: calc(-1 * var(--tridactyl-auto-show-zone)); */
/* opacity: 0; */
/* } */
/* Avoid transparent background for menubar if nav-toolbox not focussed */
#navigator-toolbox:not(:hover):not(:focus-within) #toolbar-menubar > * {
/* Colour matches the grey background of the default firefox theme. Can't see what variable it uses */
background-color: rgb(232, 232, 231);
}
/* Make top bar more compact */
/* Make nav-bar thinner */
#nav-bar{
padding-top: 1px !important;
padding-bottom: 0 !important;
}
/* We need more padding when maximised (maybe just on Windows?) */
#main-window[sizemode="maximized"] #nav-bar{
padding-top: 7px !important;
}
/* Hide URL notifications that aren't particularly useful and cover up the command line
* TODO: move it above the command line / bring functionality into status line like Vimperator */
statuspanel[type="overLink"]{display: none !important;}
/* Partial removal of black bottom 1px line shown in fullscreen mode */
#navigator-toolbox::after { display: none !important; }
/* Kill tab bar */
#TabsToolbar { visibility: collapse; }
/* Remove window decorations (Close, Minimize, Fullscreen) */
/* XXX: this makes things blow up:
#titlebar { display: none !important; } */
#TabsToolbar .titlebar-placeholder { display: none !important; }