-
Notifications
You must be signed in to change notification settings - Fork 23
/
Daily Note Outline.css
69 lines (61 loc) · 1.71 KB
/
Daily Note Outline.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
65
66
67
68
69
/*
Daily Note Outline
Visual tweaks
https://github.com/replete/obsidian-minimal-theme-css-snippets
*/
/* Container */
.workspace-leaf-content[data-type="daily-note-outline"] .view-content {
padding-bottom:0;
}
/* Compact header */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-header {
padding:4px 2px 4px 2px;
transform:scale(0.85);
transform-origin:0 0;
text-align: left;
}
/* Date range buttons styling */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-date-range {
color: var(--tx2);
line-height:1em;
padding: 4px 6px;
border-radius: 10px;
opacity:0.7
}
.workspace-leaf-content[data-type="daily-note-outline"] .nav-buttons-container + .nav-date-range {
margin-right: 4px;
margin-left: 4px
}
/* Files container */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-files-container {
padding:4px 0 0 4px;
border-top:1px solid var(--divider-color);
margin-top:-6px;
/* file title */
> .nav-folder .nav-folder-title {
/* Fix indentation of first heading */
padding-left:8px;
}
}
/* Note detail suffix styling */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-folder-title::after {
padding-left: 4px;
opacity: 0.7;
}
/* Files preview */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title-preview {
color: var(--tx2);
opacity:0.7;
padding-left:8px;
font-style:italic;
}
.workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title-preview::after {
content:'';
background:linear-gradient(to right, transparent, var(--bg1));
width:1.5em;
height:1.5em;
position:absolute;
right:0;
top:5px;
display:block;
}