From 978b9122f9362cad4742fcdda2df0cfc33514b83 Mon Sep 17 00:00:00 2001 From: Stephan Ango Date: Tue, 25 May 2021 17:48:07 -0700 Subject: [PATCH] Add support for outgoing links --- obsidian.css | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/obsidian.css b/obsidian.css index 44f4d3c7..d585a489 100644 --- a/obsidian.css +++ b/obsidian.css @@ -1,6 +1,6 @@ /* -Minimal Obsidian 2.5.11 by @kepano +Minimal Obsidian 2.5.12 by @kepano This theme is designed to be used with the Minimal Theme Settings plugin and the Hider plugin. @@ -78,6 +78,10 @@ Disabled features */ display:none; } +.tree-item-inner-subtext { /* Folder name */ + display: none; +} + /* Hides the name of the root folder */ .nav-folder.mod-root > .nav-folder-title .nav-folder-title-content { display:none; @@ -1163,6 +1167,15 @@ input.prompt-input:hover { background:var(--background-primary); padding-left:10px; } +.suggestion-item { + cursor:var(--cursor); + padding-left:10px; +} +.suggestion-flair { + left:auto; + right:16px; + opacity:0.25; +} .modal-container .suggestion-item.is-selected { border-radius:6px; background:var(--background-tertiary); @@ -2611,19 +2624,32 @@ input.search-input:focus { /* --------------- */ /* Backlink pane */ +.outgoing-link-pane, .backlink-pane { padding-bottom:30px; } +.outgoing-link-pane .search-result-container, .backlink-pane .search-result-container { padding:5px 5px 5px 5px; margin-left:0; } +.outgoing-link-pane .search-result-file-title, .backlink-pane .search-result-file-title { padding-left:15px; } +.outgoing-link-pane .tree-item-icon, +.outgoing-link-pane > .tree-item-self .collapse-icon, .backlink-pane > .tree-item-self .collapse-icon { display:none; } + +.tree-item-self.outgoing-link-item { + padding:0; + margin-left:5px; +} + +.outgoing-link-pane > .tree-item-self:hover, +.outgoing-link-pane > .tree-item-self, .backlink-pane > .tree-item-self:hover, .backlink-pane > .tree-item-self { padding-left:15px; @@ -2635,10 +2661,24 @@ input.search-input:focus { padding:5px 7px 5px 10px; background:transparent; } + +.outgoing-link-pane > .tree-item-self.is-collapsed, .backlink-pane > .tree-item-self.is-collapsed { color:var(--text-faint); } +.outgoing-link-pane .search-result-file-match { + padding:5px 0; + border:0; +} +.outgoing-link-pane .search-result-file-match-destination-file { + background:transparent; +} +.search-result-file-match:hover .search-result-file-match-destination-file:hover { + background:transparent; + color:var(--text-normal); +} + /* --------------- */ /* Tag pane */