136 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			136 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| 
 | |
| /*日付表示  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;
 | |
|     align-items: normal;
 | |
| }
 | |
| 
 | |
| /* wrap-lineクラスがついていたらwhite-space設定をnormalに */
 | |
| .workspace-leaf-content[data-type="daily-note-outline"] .nav-file-title-content.wrap-line {
 | |
|     white-space: normal;
 | |
| }
 | |
| 
 | |
| /* icon */
 | |
| .workspace-leaf-content[data-type="daily-note-outline"] .nav-folder .svg-icon{
 | |
|     height: 1.2em;
 | |
|     flex-shrink: 0;
 | |
| }
 | |
| 
 | |
| .workspace-leaf-content[data-type="daily-note-outline"] .nav-folder-collapse-indicator .is-open{
 | |
|     transform: rotate(90deg);
 | |
| }
 | |
| 
 | |
| /* 折りたたみアイコンの範囲 */
 | |
| .workspace-leaf-content[data-type="daily-note-outline"] .tree-item-icon.collapse-icon{
 | |
|     padding: 4px;
 | |
| }
 | |
| 
 | |
| 
 | |
| /* 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: normal;
 | |
| }
 | |
| 
 | |
| /*インラインプレビューのフォント 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: 10000;
 | |
|     align-self: center;
 | |
| }
 | |
| 
 | |
| /*ツールチッププレビュー*/
 | |
| .DNO-preview{
 | |
|     text-align: left;
 | |
|     animation: unset !important;
 | |
|     max-width: 600px;
 | |
| }
 | |
| 
 | |
| 
 | |
| /*設定画面 settings*/
 | |
| /*インデント用*/
 | |
| .setting-indent{
 | |
|     padding-left: 2em;
 | |
| }
 | |
| 
 | |
| .setting-indent-2{
 | |
|     padding-left: 3em;
 | |
| }
 | |
| /*カテゴリ名の下のスペースを減らす*/
 | |
| .setting-category{
 | |
|     margin-block-end: 0em;
 | |
| } |