-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstyles.css
213 lines (166 loc) · 5.12 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
:root {
--symbol-base-padding: 0px;
--symbol-indent-padding: 12px;
}
.qsp-filter-active {
color: var(--text-accent);
}
/* suggestion file path icon */
.qsp-path-indicator {
margin-right: 4px;
vertical-align: middle;
}
/* symbol suggestion, symbol type icon */
.qsp-symbol-indicator {
width: 2em;
text-align: center;
float: left;
font-weight: 800;
}
.qsp-symbol-indicator.callout {
background-color:inherit;
padding: inherit;
}
/* warning/error text */
.qsp-warning {
color: var(--text-error);
}
.qsp-tag {
background-color: var(--background-modifier-hover);
border-radius: var(--radius-s);
font-size: 9px;
font-weight: var(--font-semibold);
letter-spacing: 0.05em;
line-height: var(--line-height-normal);
margin-left: var(--size-2-3);
padding: 0 var(--size-4-1);
text-transform: uppercase;
align-self: center;
}
/* settings panel, indent setting to create visual hierarchy */
.qsp-setting-item-indent {
border: 0px;
padding-left: 36px;
}
/* symbol suggestion should align to the left */
.suggestion-item.qsp-suggestion-symbol {
justify-content: left;
}
/* highlight recently used file suggestions */
.suggestion-item.qsp-recent-file .qsp-title {
text-decoration: underline dotted var(--text-muted);
}
/* highlight currently open editor suggestions */
.suggestion-item.qsp-open-editor .qsp-title {
text-decoration: underline var(--text-accent);
}
/* highlight the open editor flair icon */
.suggestion-item.qsp-open-editor .qsp-editor-indicator {
color: var(--text-accent);
}
/* symbol suggestion display the icon first (on the left side) */
.qsp-suggestion-symbol > .qsp-aux {
order: -1;
}
/* symbol suggestion indentation when in outline mode */
.qsp-symbol-l0 {
padding-left: var(--symbol-base-padding);
}
.qsp-symbol-l1 {
padding-left: calc(var(--symbol-base-padding) + var(--symbol-indent-padding));
}
.qsp-symbol-l2 {
padding-left: calc(var(--symbol-base-padding) + (2 * var(--symbol-indent-padding)));
}
.qsp-symbol-l3 {
padding-left: calc(var(--symbol-base-padding) + (3 * var(--symbol-indent-padding)));
}
.qsp-symbol-l4 {
padding-left: calc(var(--symbol-base-padding) + (4 * var(--symbol-indent-padding)));
}
.qsp-symbol-l5 {
padding-left: calc(var(--symbol-base-padding) + (5 * var(--symbol-indent-padding)));
}
.qsp-symbol-l6 {
padding-left: calc(var(--symbol-base-padding) + (6 * var(--symbol-indent-padding)));
}
/* Wrapper container for rendered markdown content using MarkdownRenderer.render() */
.qsp-rendered-container {}
/* Override styles for child elements of rendered markdown content */
.qsp-rendered-container > * {
/* Remove start margin/padding so elements don't take up a bunch of extra
horizontal space */
margin-block-start: 0px;
margin-inline-start: 0px;
padding-block-start: 0px;
padding-inline-start: 0px;
/* Disable elements from reacting to mouse events, so things like links & tags don't
react to mouseover hover, etc.. */
pointer-events: none;
}
/* Rendered markdown content that starts with an Ordered List should keep it's start
margin so that the list number is displayed properly. Obsidian defaults to 40px */
.qsp-rendered-container > ol {
padding-inline-start: 40px;
margin-block-end: 0px;
}
/* command suggestion item */
.qsp-suggestion-command {}
/* editor suggestion item */
.qsp-suggestion-editor {}
/* heading suggestion item */
.qsp-suggestion-headings {}
/* related item suggestion */
.qsp-suggestion-related {}
/* symbol suggestion item */
.qsp-suggestion-symbol {}
/* workspace suggestion item */
.qsp-suggestion-workspace {}
/* file suggestion when not in standard mode */
.qsp-suggestion-file {}
/* alias suggestion when not in standard mode */
.qsp-suggestion-alias {}
/* suggestion primary content container */
.qsp-content {}
/* suggestion title element */
.qsp-title {}
/* suggestion secondary information element (like file path information) */
.qsp-note {}
/* suggestion flair/icon container */
.qsp-aux {}
/* suggestion file path element */
.qsp-path {}
/* headings suggestion, heading level (H1, H2, etc..) icon */
.qsp-headings-indicator {}
/* flair icon for suggestions that represent a recent file */
.qsp-recent-indicator {}
/* flair icon for suggestion that represent a file currently opened in an editor */
.qsp-editor-indicator {}
/* flair icon for suggestions that represent a related file */
.qsp-related-indicator {}
/* flair icon for suggestions that represent an alias */
.qsp-alias-indicator {}
/* Quick Open indicator container element */
.qsp-quick-open-aux {
display: flex;
align-items: center;
align-self: center;
flex-shrink: 0;
}
/* Quick Open hotkey indicator element */
.qsp-quick-open-hotkey {}
/* headings level */
.qsp-headings-l1 {}
.qsp-headings-l2 {}
.qsp-headings-l3 {}
.qsp-headings-l4 {}
.qsp-headings-l5 {}
.qsp-headings-l6 {}
/* Usually the "plus" button button in the NavBar on mobile platforms */
.qsp-mobile-launcher-button {}
/* Prompt instructions element in custom modes */
.qsp-prompt-instructions {}
/* Prompt instructions element for facets in custom modes */
.qsp-prompt-instructions-facets {}
/* Prompt instructions element for mode triggers */
.qsp-prompt-instructions-modes {}