forked from iiz00/obsidian-daily-note-outline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
115 lines (94 loc) · 3.13 KB
/
styles.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*日付表示 date range */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-date-range{
display: inline-block;
text-align:center;
font-size: var(--nav-item-size);
padding: var(--size-2-1) var(--size-2-3);
}
.workspace-leaf-content[data-type="daily-note-outline"] .nav-header{
text-align:center;
}
/*viewの書式指定*/
.workspace-leaf-content[data-type="daily-note-outline"] .view-content{
height: 100%;
overflow-x: hidden;
overflow-y: hidden;
padding: 0 0 16px 0;
}
.workspace-leaf-content[data-type="daily-note-outline"] .nav-files-container{
box-sizing: border-box;
height: calc(100% - 63px);
}
/* 100%からUI部分の高さを引いた*/
/*デイリーノートファイル名 filename of daily notes*/
/*要素を中央揃え align center*/
.workspace-leaf-content[data-type="daily-note-outline"] .nav-folder-title{
align-items: center;
}
/*ノート横に情報を表示 display file information */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-folder-title::after{
content: attr(data-subinfo);
font-size: 80%;
display: inline-block;
position: relative;
margin-right: 2px;
padding: 2px 0;
}
.workspace-leaf-content[data-type="daily-note-outline"] .nav-folder-title-content {
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
flex-grow: 1;
}
/* アウトライン要素 outline elements*/
.workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title-content{
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
display: inline-block;
flex-shrink: 1;
}
/* icon */
.workspace-leaf-content[data-type="daily-note-outline"] .nav-folder .svg-icon{
height: 1.2em;
flex-shrink: 0;
}
/* obsidian ver1.2で項目にhover時、色が変わらなくなった事への暫定対応*/
.workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title:hover,
.workspace-leaf-content[data-type="daily-note-outline"] .nav-folder-title:hover {
background-color: var(--nav-item-background-hover);
color:var(--nav-item-color-hover);
}
/*インラインプレビュー inline preview */
/*アウトライン要素行の各項目を中央揃えで同じ高さに表示 align center*/
.workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title{
align-items: center;
}
/*インラインプレビューのフォント inline preview font*/
.workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title-preview{
display: inline-block;
font-size: 85%;
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
padding-left: 16px;
/*margin-left:auto; 右寄せ*/
color: var(--color-base-50);
flex-shrink: 1000;
}
.daily-note-preview{
text-align: left;
animation: unset !important;
}
/*設定画面 settings*/
/*インデント用*/
.setting-indent{
padding-left: 2em;
}
.setting-indent-2{
padding-left: 3em;
}
/*カテゴリ名の下のスペースを減らす*/
.setting-category{
margin-block-end: 0em;
}