-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
floating-title.scss
23 lines (23 loc) · 922 Bytes
/
floating-title.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*------------FLOATING VAULT TITLE-----------*/
/*----------------------------------
This feature is inspired by Cecilia May's Primary theme: https://github.com/ceciliamay/obsidianmd-theme-primary
None of the original code was used and the feature was implemented from scratch.
----------------------------------*/
.anp-floating-header .nav-folder.mod-root > .nav-folder-title {
background-color: var(--background-secondary);
position: sticky;
top: 0;
z-index: var(--layer-popover);
width: 100%;
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-s);
box-shadow: 0 3px 4px 0px rgb(0 0 0 / 5%);
}
.anp-floating-header.anp-card-layout .nav-folder.mod-root > .nav-folder-title {
background-color: var(--card-foreground-color, var(--background-primary));
}
.anp-floating-header.anp-custom-vault-toggle {
.nav-folder.mod-root > .nav-folder-title {
padding-top: 10px;
}
}