-
Notifications
You must be signed in to change notification settings - Fork 23
/
Omnisearch.css
94 lines (75 loc) · 1.9 KB
/
Omnisearch.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
/*
Omnisearch
Cleaner and less jank, essential fixes to be honest it was noisy on the eyes
https://github.com/replete/obsidian-minimal-theme-css-snippets
*/
.omnisearch-modal.prompt {
.prompt-results {
}
:has(> .omnisearch-result__title-container) {
width:100%;
}
.omnisearch-result__title {
display:flex;
width:100%;
font-size:1rem;
font-weight:500;
margin-bottom:3px;
:has(svg) {
display:none;
margin-left:-2px;
transform:scale(0.9) translate(0, 2px)
}
}
.omnisearch-result {
}
.omnisearch-result__folder-path {
/* font-style:italic; */
font-size:11px;
margin-top:-5px;
margin-bottom:3px;
/* > span {
background: var(--bg3);
padding:0px 4px;
border-radius:2px;
&::before {
content:'/';
}
} */
:has(svg) {
/* display:none; */
/* icon resized inline with text: */
transform: scale(0.7) translate(0,2px);
transform-origin: left center;
margin-right:-7px;
}
}
.omnisearch-result__extension {
display:none;
transform: translate(-4px,2px);
font-weight:500;
}
.omnisearch-result__counter {
margin-left: auto;
/* &::before {
content:'('
}
&::after {
content:')'
} */
}
.omnisearch-result__body {
margin-left:0;
font-style:italic;
}
.omnisearch-result {
padding-top:var(--size-4-3);
padding-bottom:var(--size-4-3);
margin-top:calc( (-1 * var(--size-4-3)) / 2);
}
.omnisearch-highlight {
text-decoration-color:var(--accent-color);
text-underline-offset:3px;
text-decoration-thickness:1px;
}
}