summary refs log tree commit diff
path: root/.librewolf/hibiki.default/chrome/user.sidebar.css
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
committerRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
commit0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch)
tree11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.librewolf/hibiki.default/chrome/user.sidebar.css
parent4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff)
downloaddotfiles-0860db73ae6fd9a6f6347219d820bf026a6b8b91.tar.gz
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.librewolf/hibiki.default/chrome/user.sidebar.css')
-rw-r--r--.librewolf/hibiki.default/chrome/user.sidebar.css49
1 files changed, 49 insertions, 0 deletions
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;
+}