Add firefox userChrome.css

This commit is contained in:
David Aizenberg
2020-12-15 05:51:09 +04:00
parent 5905601127
commit 4f34ba32c2

60
firefox/userChrome.css Normal file
View File

@@ -0,0 +1,60 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#back-button, #forward-button { display: none; }
:root {
--uc-bg-color: #fff;
--uc-show-new-tab-button: none;
--uc-show-tab-separators: none;
--uc-tab-separators-color: none;
--uc-tab-separators-width: none;
--uc-tab-fg-color: #000;
--uc-mg-color: #F5F6F7;
}
/* Options with pixel amounts could need to be adjusted, as this only works for my laptop's display */
#titlebar {
-moz-box-ordinal-group: 2 !important;
}
#nav-bar {
margin-left: 0vw !important;
}
.titlebar-buttonbox-container {
-moz-box-ordinal-group: 1 !important;
background-color: rgb(50,50,52);
margin-top: 0px !important;
}
#TabsToolbar {
min-height: 28px !important;
}
#TabsToolbar > .toolbar-items {
margin-left: 0px !important;
}
.tabbrowser-tab:not([pinned]){
max-width: 100vw !important;
}
.tabbrowser-tab:not([fadein]),
#page-action-buttons,
.titlebar-spacer,
.tab-line,
#tracking-protection-icon-container,
#back-button,
#forward-button,
#identity-box {
display: none !important;
border: none !important;
}
#urlbar-background, .titlebar-buttonbox-container, #nav-bar, .tab-background[selected="true"]{
background: var(--uc-bg-color) !important;
border: none !important;
}
#tabs-newtab-button {
display: none !important;
}
.tab-close-button.close-icon {
display: none !important;
}
#navigator-toolbox {
border-bottom: 0px solid red !important;
background: var(--uc-bg-color) !important;
}