From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .librewolf/hibiki.default/chrome/user.sidebar.css | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .librewolf/hibiki.default/chrome/user.sidebar.css (limited to '.librewolf/hibiki.default/chrome/user.sidebar.css') diff --git a/.librewolf/hibiki.default/chrome/user.sidebar.css b/.librewolf/hibiki.default/chrome/user.sidebar.css new file mode 100644 index 0000000..a8927d1 --- /dev/null +++ b/.librewolf/hibiki.default/chrome/user.sidebar.css @@ -0,0 +1,49 @@ +/* = SIDEBAR STUFF ========================================================== */ + +/* sidebar that collapses when not hovered */ +:root { + --thin-tab-width: 28px; + --wide-tab-width: 280px; +} + +@media (-moz-bool-pref:"sidebar.revamp") { + #sidebar-box { + padding: 0 !important; + } + + #sidebar { + border-radius: 0 !important; + } +} + +/* [sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] */ +#sidebar-box { + &:not([hidden]) { + width: var(--thin-tab-width) !important; + min-width: unset !important; + z-index: 9999 !important; + border-right: 1px solid var(--chrome-content-separator-color); + background-color: var(--toolbar-bgcolor) !important; + opacity: 1 !important; + /* animate transition */ + transition: all .2s ease-in-out !important; + } + + &#sidebar { + } + + &:hover #sidebar { + width: var(--wide-tab-width) !important; + border-right: 1px solid var(--chrome-content-separator-color); + } +} + +/* hide sidebar header */ +#sidebar-header { + visibility: collapse; +} + +/* hide sidebar shadow */ +#sidebar-splitter { + display: none !important; +} -- cgit 1.4.1