-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuserChrome.css
More file actions
133 lines (106 loc) · 3.23 KB
/
userChrome.css
File metadata and controls
133 lines (106 loc) · 3.23 KB
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
:root,
menupopset,
tooltip,
panel {
font-family: sans-serif !important;
--toolbar-bgcolor: #1e1e1e !important;
--space-medium: 2px !important;
}
/* Private Colors */
:root[privatebrowsingmode="temporary"] {
--toolbar-bgcolor: #25003e !important;
--toolbox-non-lwt-bgcolor-inactive: #25003e !important;
--toolbox-non-lwt-bgcolor: #25003e !important;
}
#sidebar-box {
min-width: 30px !important;
}
:root[titlepreface*="🦊"] #urlbar-container {
margin-inline: 4px !important;
}
/* New Sidebar */
#sidebar-main {
-moz-window-dragging: drag;
}
.wrapper .buttons-wrapper > * {
-moz-window-dragging: no-drag;
}
#sidebar-panel-header {
display: none !important;
}
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_extensions_panel.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* This style hides some information from the extensions-button panel, but makes it appear more compact. Might be useful for someone having lot of extensions */
#unified-extensions-view {
--uei-icon-size: 16px;
}
.unified-extensions-item-menu-button.subviewbutton {
padding: 0px !important;
margin-inline-end: 0 !important;
}
.unified-extensions-item-action-button.subviewbutton {
padding-block: 6px !important;
}
.unified-extensions-item-menu-button.subviewbutton > .toolbarbutton-icon {
padding: 4px !important;
}
.unified-extensions-item-message-deck {
display: none;
}
#unified-extensions-view > vbox > vbox > .unified-extensions-item {
padding-block: 0px !important;
}
#unified-extensions-panel .unified-extensions-item {
margin-block: 0 !important;
}
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar_v2.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* This requires Firefox 133+ to work */
@media -moz-pref("sidebar.verticalTabs") {
#sidebar-main {
visibility: collapse;
}
}
@media -moz-pref("userchrome.force-window-controls-on-left.enabled") {
#nav-bar > .titlebar-buttonbox-container {
order: -1 !important;
> .titlebar-buttonbox {
flex-direction: row-reverse;
}
}
}
@media not -moz-pref("sidebar.verticalTabs") {
:root[titlepreface*="🦊"] #TabsToolbar:not([customizing]) {
visibility: collapse;
}
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container {
display: flex !important;
}
:root[titlepreface*="🦊"][customtitlebar]
#toolbar-menubar:not([autohide="false"])
~ #nav-bar {
> .titlebar-buttonbox-container {
display: flex !important;
}
:root[sizemode="normal"] & {
> .titlebar-spacer {
display: flex !important;
}
}
:root[sizemode="maximized"] & {
> .titlebar-spacer[type="post-tabs"] {
display: flex !important;
}
@media -moz-pref("userchrome.force-window-controls-on-left.enabled"),
(-moz-gtk-csd-reversed-placement),
(-moz-platform: macos) {
> .titlebar-spacer[type="post-tabs"] {
display: none !important;
}
> .titlebar-spacer[type="pre-tabs"] {
display: flex !important;
}
}
}
}
}