diff options
Diffstat (limited to '.librewolf/hibiki.default/chrome/userChrome.css')
| -rw-r--r-- | .librewolf/hibiki.default/chrome/userChrome.css | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/.librewolf/hibiki.default/chrome/userChrome.css b/.librewolf/hibiki.default/chrome/userChrome.css new file mode 100644 index 0000000..070df8f --- /dev/null +++ b/.librewolf/hibiki.default/chrome/userChrome.css @@ -0,0 +1,111 @@ +/* vim: foldmethod=marker shiftwidth=4 expandtab + */ + +@import url(lepton.userChrome.css); +@import url(csshacks.hide_tabs_toolbar_v2.css); +@import url(user.urlbar.css); +@import url(user.sidebar.css); + +@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; +@namespace html "http://www.w3.org/1999/xhtml"; + +* { + font-family: monospace !important; +} + +@media (-moz-toolbar-prefers-color-scheme: dark), +(prefers-color-scheme: dark) { + :root { + --toolbar-non-lwt-bgcolor: #040405 !important; + --toolbar-bgcolor: #040405 !important; + --toolbar-color: #fffffb !important; + } +} + +:root { + --urlbar-box-bgcolor: var(--toolbar-bgcolor) !important; + --urlbar-icon-fill-opacity: 0.8 !important; + --arrowpanel-background: var(--toolbar-bgcolor) !important; + + --chrome-content-separator-color: #70649ab0 !important; +} + +/* prevent pre-load flash bang */ +.browserContainer { + background-color: var(--toolbar-bgcolor) !important; +} + +.tabbrowser tabpanels { + background-color: var(--toolbar-bgcolor) !important; +} + +#titlebar { + display: none !important; +} + +.titlebar-spacer[type="pre-tabs"], +.titlebar-spacer[type="post-tabs"] { + width: 0 !important; +} + +/* = RADIUS STUFF ========================================================== */ + +/* Makes urlbar and many other things sharper on the edges */ +:root { + --any-border-radius: 0; + --button-border-radius: var(--any-border-radius) !important; + --urlbar-border-radius: var(--any-border-radius) !important; + --urlbarview-border-radius: var(--any-border-radius) !important; + --toolbarbutton-border-radius: var(--any-border-radius) !important; + --urlbar-icon-border-radius: var(--any-border-radius) !important; + --arrowpanel-menuitem-border-radius: var(--any-border-radius) !important; + --arrowpanel-border-radius: var(--any-border-radius) !important; +} + +menupopup, +panel { + --panel-border-radius: var(--any-border-radius) !important; +} + +.dialogBox { + border-radius: var(--any-border-radius) !important; +} + +/* Hide the back and forward buttons */ +#main-window :-moz-any(#back-button, #forward-button) { + display: none !important; +} + +/* Disable statuspanel completely, remove this if you want to keep the statuspanel */ +statuspanel { + display: none !important; +} + +/* = PANEL STUFF =========================================================== */ + +:root { + /* --panel-padding: 0 !important; */ + /*removes any excess space at start/end of toolbar*/ + --toolbarbutton-outer-padding: 0 !important; + --toolbar-start-end-padding: 0 !important; + --toolbar-padding-inline: 0 !important; +} + +#TabsToolbar { + display: none !important; +} + +#nav-bar { + /*removes thin space at the top of window*/ + border-top: none !important; +} + +/*spacer cannot be removed via customize, do this instead*/ +#nav-bar toolbarspring { + min-width: 0 !important; + flex-grow: 0 !important; +} + +.titlebar-spacer { + width: 0 !important; +} |