summary refs log tree commit diff
path: root/.librewolf/hibiki.default/chrome/user.sidebar.css
blob: a8927d16200f0341a7e3ec43cdc92a8f84474d1e (plain) (blame)
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
/* = 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;
}