This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
userChrome.css
70 lines (60 loc) · 1.9 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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* hide tabs and sidebar header (for TreeStyleTab) */
#TabsToolbar, #sidebar-header {
visibility: collapse !important;
}
/* hide menu button and spacer (the menu bar is the superior UI) */
#PanelUI-menu-button {
display: none !important;
}
#PanelUI-button {
padding: 0 !important;
margin: 0 !important;
border: none !important;
}
/* clean up Photon URL and search bar appearance slightly */
#urlbar:focus-within > #urlbar-background {
box-shadow: none !important;
border-color: -moz-accent-color !important;
border-width: 1px !important;
}
#searchbar:focus-within {
box-shadow: none !important;
border-color: -moz-accent-color !important;
/*border-bottom: none !important;
border-radius: var(--toolbarbutton-border-radius) var(--toolbarbutton-border-radius) 0 0 !important;*/
}
#urlbar[breakout][breakout-extend] {
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
width: 100% !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: 0 !important;
padding-inline: 0 !important;
}
/*
#PopupSearchAutoComplete {
border: 1px solid -moz-accent-color !important;
padding-top: 0 !important;
border-top: none !important;
}
hbox.search-panel-header, #PopupSearchAutoComplete > menuseparator:first-child {
display: none !important;
}
*/
/* hide the nav buttons in the context menu */
#context-navigation,
#context-sep-navigation {
display:none !important;
}
/* hide the line above the tool bar */
#navigator-toolbox {
--tabs-border-color: none !important;
}
/* and make the tool bar be exactly the same color as the menu */
.browser-toolbar:not(.titlebar-color) {
background: none !important;
background-image: none !important;
}