Skip to content

Commit 978b912

Browse files
Stephan AngoStephan Ango
authored andcommitted
Add support for outgoing links
1 parent b81a39e commit 978b912

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

obsidian.css

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Minimal Obsidian 2.5.11 by @kepano
3+
Minimal Obsidian 2.5.12 by @kepano
44
55
This theme is designed to be used with the Minimal Theme Settings
66
plugin and the Hider plugin.
@@ -78,6 +78,10 @@ Disabled features */
7878
display:none;
7979
}
8080

81+
.tree-item-inner-subtext { /* Folder name */
82+
display: none;
83+
}
84+
8185
/* Hides the name of the root folder */
8286
.nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
8387
display:none;
@@ -1163,6 +1167,15 @@ input.prompt-input:hover {
11631167
background:var(--background-primary);
11641168
padding-left:10px;
11651169
}
1170+
.suggestion-item {
1171+
cursor:var(--cursor);
1172+
padding-left:10px;
1173+
}
1174+
.suggestion-flair {
1175+
left:auto;
1176+
right:16px;
1177+
opacity:0.25;
1178+
}
11661179
.modal-container .suggestion-item.is-selected {
11671180
border-radius:6px;
11681181
background:var(--background-tertiary);
@@ -2611,19 +2624,32 @@ input.search-input:focus {
26112624
/* --------------- */
26122625
/* Backlink pane */
26132626

2627+
.outgoing-link-pane,
26142628
.backlink-pane {
26152629
padding-bottom:30px;
26162630
}
2631+
.outgoing-link-pane .search-result-container,
26172632
.backlink-pane .search-result-container {
26182633
padding:5px 5px 5px 5px;
26192634
margin-left:0;
26202635
}
2636+
.outgoing-link-pane .search-result-file-title,
26212637
.backlink-pane .search-result-file-title {
26222638
padding-left:15px;
26232639
}
2640+
.outgoing-link-pane .tree-item-icon,
2641+
.outgoing-link-pane > .tree-item-self .collapse-icon,
26242642
.backlink-pane > .tree-item-self .collapse-icon {
26252643
display:none;
26262644
}
2645+
2646+
.tree-item-self.outgoing-link-item {
2647+
padding:0;
2648+
margin-left:5px;
2649+
}
2650+
2651+
.outgoing-link-pane > .tree-item-self:hover,
2652+
.outgoing-link-pane > .tree-item-self,
26272653
.backlink-pane > .tree-item-self:hover,
26282654
.backlink-pane > .tree-item-self {
26292655
padding-left:15px;
@@ -2635,10 +2661,24 @@ input.search-input:focus {
26352661
padding:5px 7px 5px 10px;
26362662
background:transparent;
26372663
}
2664+
2665+
.outgoing-link-pane > .tree-item-self.is-collapsed,
26382666
.backlink-pane > .tree-item-self.is-collapsed {
26392667
color:var(--text-faint);
26402668
}
26412669

2670+
.outgoing-link-pane .search-result-file-match {
2671+
padding:5px 0;
2672+
border:0;
2673+
}
2674+
.outgoing-link-pane .search-result-file-match-destination-file {
2675+
background:transparent;
2676+
}
2677+
.search-result-file-match:hover .search-result-file-match-destination-file:hover {
2678+
background:transparent;
2679+
color:var(--text-normal);
2680+
}
2681+
26422682
/* --------------- */
26432683
/* Tag pane */
26442684

0 commit comments

Comments
 (0)