summary refs log tree commit diff
path: root/.mozilla/firefox/hibiki.default/chrome/user.sidebar.css
blob: 4b762460cf769b78f36efa4ba23737f978ffedfc (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
50
51
52
53
54
55
56
57
58
59
/* = SIDEBAR STUFF ========================================================== */

/* sidebar that collapses when not hovered */
:root {
	--thin-tab-width: 31px;
	--wide-tab-width: 280px;
}

@media (-moz-bool-pref: "sidebar.revamp") {
	#sidebar-box {
		padding: 0 !important;
	}

	#sidebar {
		border-radius: 0 !important;
	}
}

#sidebar-box {
	width: unset !important;
	z-index: 1;
	opacity: 1.0 !important;
	border-right: 1px solid var(--chrome-content-separator-color);
	background-color: var(--toolbar-bgcolor) !important;
}

#sidebar-box:not([hidden]) {
	min-width: var(--thin-tab-width) !important;
	max-width: var(--thin-tab-width) !important;
	overflow-x: hidden !important;
	/* animate transition */
	transition: all 40ms !important;
}

#sidebar-box:not([hidden]):hover,
#sidebar-box:not([hidden]):active,
#sidebar-box:not([hidden]):focus-within,
#sidebar-box:not([hidden]):-moz-drag-over,
#sidebar-box:not([hidden])>.Tab[selected="true"] {
	min-width: var(--wide-tab-width) !important;
	max-width: var(--wide-tab-width) !important;
}

/* make sure the contents of the sidebar are not squished */
#sidebar {
	min-width: var(--wide-tab-width) !important;
	max-width: var(--wide-tab-width) !important;
	margin-left: 0 !important;
}

/* hide sidebar header */
#sidebar-header {
	visibility: collapse;
}

/* hide sidebar shadow */
#sidebar-splitter {
	display: none !important;
}