-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserChrome.css
More file actions
144 lines (117 loc) · 4.06 KB
/
userChrome.css
File metadata and controls
144 lines (117 loc) · 4.06 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
134
135
136
137
138
139
140
141
142
143
144
@import url("MrOtherGuy--firefox-csshacks/compact_extensions_panel.css");
@import url("MrOtherGuy--firefox-csshacks/hide_tabs_toolbar_v2.css");
@import url("MrOtherGuy--firefox-csshacks/autohide_sidebar.css");
@import url("datguypiko--Firefox-Mod-Blur/icons_in_main_menu.css");
@import url("datguypiko--Firefox-Mod-Blur/menu_icon_change_to_firefox.css");
@import url("datguypiko--Firefox-Mod-Blur/ublock-icon-change.css");
@import url("datguypiko--Firefox-Mod-Blur/white_github_icon_in_bookmarks.css");
/*@import url("ranmaru22--firefox-vertical-tabs/userChrome.css");*/
/*@import url("stonecrusher--simpleMenuWizard/userChrome.css");*/
:root {
--accent-1: #61c792;
--lwt-background-alignment: left top !important;
}
/* *** Extension menu: hide header *** */
/* header text */
#unified-extensions-view > .panel-header {
display: none !important;
}
/* divider bar */
#unified-extensions-view > toolbarseparator:nth-of-type(1) {
display: none !important;
}
/* readd top padding */
#unified-extensions-area {
padding-top: 4px !important;
}
/* *** END Extension menu: hide header *** */
/* *** Use theme background image for titlebar *** */
#nav-bar {
background-image: var(--lwt-additional-images);
background-repeat: var(--lwt-background-tiling);
background-position: var(--lwt-background-alignment) !important;;
}
/* *** END Use theme background image for titlebar *** */
/* *** Remove toolbox bottom border *** */
#navigator-toolbox {
border-bottom-width: 0px !important;
}
/* *** END Remove navbar bottom border *** */
/* *** Sidebar things *** */
/* set vars for MrOtherGuy--firefox-csshacks/autohide_sidebar */
#sidebar-box {
--uc-sidebar-width: 50px !important;
--uc-sidebar-hover-width: 250px !important;
--uc-autohide-sidebar-delay: 0.2s !important;
--uc-autohide-transition-duration: 0.2s !important;
--uc-autohide-transition-type: ease !important;
}
/* hide header */
#sidebar-box[sidebarcommand*="treestyletab_piro_sakura_ne_jp-sidebar-action"] > #sidebar-header/*,
#sidebar-splitter[sidebarcommand*="treestyletab_piro_sakura_ne_jp-sidebar-action"]*/ {
display: none;
}
/* hide right border */
#sidebar, #sidebar-header {
border-inline: none !important;
}
/* *** END Sidebar things *** */
@media (-moz-platform: linux) {
}
/* *** Right-click menu things *** */
@media (-moz-platform: linux) {
/* kde assumed! */
menupopup {
--panel-background: #26292d !important;
--panel-border-radius: 3px !important;
--panel-border-color: #5f6265 !important;
--panel-padding: 0px !important;
}
menuseparator {
width: calc(100% - 14px) !important;
margin: auto;
}
menu, menuitem, menucaption {
padding: 3.2px 6px;
}
/* purposefully ignoring menugroups because their only instances
are the forward/backward/reload/star bars that are hidden
anyways in the userChrome.js */
menupopup[hasbeenopened] > :nth-child(1 of .x-nhnd-menuobject:not([hidden])) {
padding-top: 5.5px !important;
}
menupopup[hasbeenopened] > :nth-last-child(1 of .x-nhnd-menuobject:not([hidden])) {
padding-bottom: 5.5px !important;
}
.x-nhnd-menuobject {
text-decoration: none !important;
background-color: unset !important;
}
.x-nhnd-menuobject:hover {
background-color: unset !important;
text-decoration: underline !important;
text-decoration-color: var(--accent-1) !important;
}
}
/* *** END Right-click menu things *** */
/* *** Override weird spacer from
MrOtherGuy--firefox-csshacks/hide_tabs_toolbar_v2 *** */
@media not (-moz-bool-pref: "sidebar.verticalTabs") {
:root:is([tabsintitlebar], [customtitlebar]) #toolbar-menubar:not([autohide="false"]) ~ #nav-bar {
:root[sizemode="normal"] & {
& > .titlebar-spacer {
display: none !important;
}
}
}
}
/* *** END Override weird spacer from [...] *** */
/* *** set background for find bar *** */
findbar {
background: none !important; /* zero out existing style */
background-image: var(--lwt-additional-images) !important;
background-repeat: var(--lwt-background-tiling) !important;
background-position: var(--lwt-background-alignment) !important;
border: none;
}
/* *** END set background for find bar *** */