-
Notifications
You must be signed in to change notification settings - Fork 0
/
receding-sidebar.theme.css
36 lines (34 loc) · 1.08 KB
/
receding-sidebar.theme.css
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
/**
* @name Receding Sidebar
* @version AutoUpdate
* @author Blade0
* @authorId 1124341362955919371
* @description Make sidebar collapse until hovered.
* @source Vencord server
*/
:root {
--guild-mini: 12px;
--guild-max: 72px; /* normal server list size */
--channel-mini: 24px;
--channel-max: 240px; /* normal channel list size */
}
div[class^="base"] > div[class^="content"] > div[class^="sidebar"] {
width: 0px!important;
padding-left: var(--channel-mini)!important;
transition: all 0.2s;
}
div[class^="base"] > div[class^="content"] > div[class^="sidebar"]:hover {
transition-delay: 0s;
width: var(--channel-max)!important;
padding-left: initial!important;
}
nav[aria-label="Servers sidebar"][class*="guilds"] {
width: 0px!important;
padding-left: var(--guild-mini)!important;
transition: all 0.3s; /* smoothest slide in the west */
}
nav[aria-label="Servers sidebar"][class*="guilds"]:hover {
transition-delay: 0.1s;
width: var(--guild-max)!important;
padding-left: initial!important;
}