-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path[ui] Compact Sidebar.css
64 lines (51 loc) · 1.21 KB
/
[ui] Compact Sidebar.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
Compact Sidebar
Make icons in sidebar tab headers more compact, for smaller screens
Make Vault selector sidebar footer more compact
https://github.com/replete/obsidian-minimal-theme-css-snippets
*/
.workspace-tab-header-inner{
padding-left:3px;
padding-right:3px;
}
.nav-buttons-container {
justify-content:start !important;
margin-left:-4px
}
.nav-buttons-container .clickable-icon {
padding-left:8px;
padding-right:3px;
}
.nav-buttons-container .clickable-icon{
color:var(--tx2, var(--text-normal)) !important;
transition: .2s color ease-in;
}
.nav-buttons-container .view-actions:hover .clickable-icon {
color: var(--tx1, var(--text-faint)) !important;
}
/* Compact Vault selector sidebar footer */
body:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
padding: 0;
gap:0;
.workspace-drawer-vault-switcher {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
padding-left: 12px;
margin-top:-1px;
}
.clickable-icon {
border-radius:0;
&:last-of-type {
padding-right:12px
}
}
svg {
width:16px !important;
height:16px !important;
}
svg {
}
.workspace-drawer-vault-name {
margin-left:-5px;
}
}