This repository has been archived by the owner on Nov 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
136 lines (110 loc) · 4.44 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ================================================================================
* [Firefox] Address bar as title bar
* Remove the title bar on a Mac and replaced it with address bar.
*/
#main-window[tabsintitlebar=true] #titlebar-buttonbox-container {
margin-top: 8px;
}
#main-window[tabsintitlebar=true] #nav-bar {
padding-left: 75px;
}
#main-window[tabsintitlebar=true][inFullscreen] #nav-bar,
#main-window[tabsintitlebar=true][chromehidden*="toolbar"] #nav-bar,
#main-window[tabsintitlebar=true][customizing=true] #nav-bar {
padding-left: 0;
}
#main-window[tabsintitlebar=true][uidensity="compact"] #nav-bar {
height: 37px;
}
#main-window[tabsintitlebar=true][inFullscreen] #titlebar-buttonbox-container,
#main-window[tabsintitlebar=true][chromehidden*="toolbar"] #titlebar-buttonbox-container,
#main-window[tabsintitlebar=true][customizing=true] #titlebar-buttonbox-container {
margin-top: 0;
}
#main-window[tabsintitlebar=true][uidensity="compact"][inFullscreen] #nav-bar,
#main-window[tabsintitlebar=true][uidensity="compact"][chromehidden*="toolbar"] #nav-bar {
height: auto;
}
#main-window[tabsintitlebar=true][privatebrowsingmode="temporary"] #nav-bar {
padding-right: 40px;
}
#main-window[tabsintitlebar=true][privatebrowsingmode="temporary"] #titlebar-secondary-buttonbox {
position: relative !important;
}
#main-window[tabsintitlebar=true][privatebrowsingmode="temporary"] #titlebar-secondary-buttonbox .private-browsing-indicator {
margin-top: -8px;
position: absolute !important;
right: 0;
top: 50%;
}
#main-window[tabsintitlebar=true][inFullscreen][privatebrowsingmode="temporary"] #nav-bar {
padding-right: 0;
}
/* ================================================================================
* Firefox: remove tab bar
* Hide the top tab bar.
*/
#TabsToolbar {
min-height: 0px !important;
}
#TabsToolbar .private-browsing-indicator {
display: none;
}
#TabsToolbar #tabbrowser-tabs {
visibility: collapse !important;
}
/* ================================================================================
* Tab Center Redux: auto-hide sidebar
* Implements Tab Center-style auto-hide sidebar.
*/
:root {
--tab-center-redux-sidebar-minimize: 4vw;
--tab-center-redux-sidebar-maximize: 20vw;
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] {
border-right: 1px solid #0c0c0d;
max-width: var(--tab-center-redux-sidebar-minimize);
min-width: var(--tab-center-redux-sidebar-minimize);
overflow: hidden;
position: fixed;
transition: all 0.2s ease;
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"]::before {
border-right: 1px solid var(--toolbox-border-bottom-color);
box-shadow: inset -3px -3px 3px rgba(0, 0, 0, 0.05);
content: "\a0";
height: calc(100vh - 37px);
max-width: var(--tab-center-redux-sidebar-minimize);
min-width: var(--tab-center-redux-sidebar-minimize);
pointer-events: none;
position: fixed;
transition: all 0.2s ease;
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"]:hover::before {
max-width: var(--tab-center-redux-sidebar-maximize);
min-width: var(--tab-center-redux-sidebar-maximize);
box-shadow: none;
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"]:hover ,
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] #sidebar-header,
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] #sidebar {
max-width: var(--tab-center-redux-sidebar-maximize) !important;
min-width: var(--tab-center-redux-sidebar-maximize) !important;
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] #sidebar-header,
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] #sidebar-splitter {
display: none;
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"] #sidebar {
height: calc(100vh - 37px);
}
#sidebar-box[sidebarcommand="_0ad88674-2b41-4cfb-99e3-e206c74a0076_-sidebar-action"]:not([hidden="true"]) ~ #sidebar-splitter ~ #appcontent {
margin-left: var(--tab-center-redux-sidebar-minimize);
}
#main-window[chromehidden*="toolbar"] #appcontent {
margin-left: 0 !important;
}
#main-window[inFullscreen] #sidebar {
height: 100vh;
}