forked from guopenghui/obsidian-quiet-outline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
160 lines (158 loc) · 4.19 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
/* src/stalin.css */
.quiet-outline .n-tree {
font-size: var(--nav-item-size);
}
.quiet-outline .n-tree-node-indent {
flex: 0 0 13px !important;
}
.quiet-outline .n-tree-node-wrapper {
padding: 0px;
}
.quiet-outline .n-tree-node.n-tree-node--selectable {
align-items: center;
}
.quiet-outline .n-tree-node .n-tree-node-content {
line-height: 1.6em;
min-height: 10px;
}
.quiet-outline .n-tree-node-content__text p {
margin: 0;
}
.quiet-outline .n-tree.ellipsis {
overflow-x: hidden;
}
.quiet-outline .n-tree.ellipsis .n-tree-node .n-tree-node-content p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.quiet-outline .n-tree.ellipsis .n-tree-node-content__text {
width: 100%;
}
.quiet-outline .n-tree.ellipsis .n-tree-node-content {
width: 90%;
}
.quiet-outline .n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled):hover {
color: var(--nav-item-color-active);
background-color: var(--nav-item-background-active);
font-weight: var(--nav-item-weight-active);
}
.quiet-outline .function-bar {
display: flex;
align-items: center;
padding: 0px;
margin-bottom: 5px;
}
.quiet-outline .function-bar .n-button {
margin-right: 5px;
text-align: center;
}
.quiet-outline .function-bar .n-input {
flex: 1;
min-width: 10px;
}
.is-mobile .quiet-outline .function-bar .n-button {
margin-right: 5px;
text-align: center;
flex: 1;
}
.is-mobile .quiet-outline .function-bar .n-input {
min-width: 10px;
flex: none;
}
.quiet-outline .n-button__icon {
--n-icon-size: 22px;
font-size: 22px;
}
.quiet-outline code {
color: var(--text-color-code, var(--code-normal));
font-weight: bold;
font-family: var(--font-monospace);
background-color: var(--code-background);
border-radius: var(--radius-s);
}
.quiet-outline a.tag {
white-space: nowrap;
padding: 0.2em 0.6em;
}
.quiet-outline a:not(.tag) {
color: var(--link-external-color);
}
.quiet-outline span.internal-link {
color: var(--link-color);
}
.quiet-outline mark {
background-color: var(--text-highlight-bg);
color: var(--text-normal);
}
.n-tree .n-tree-node-switcher {
height: 0px;
}
.quiet-outline [class*=level-]:not(.level-1) .n-tree-node-content {
font-size: 1em;
}
.n-tree-node.located {
font-weight: bold !important;
}
.n-tree-node.located code {
font-weight: 1000 !important;
}
.n-tree-node.located mjx-math {
font-weight: bold !important;
}
.n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
background-color: transparent !important;
}
.quiet-outline {
height: 100%;
padding-bottom: 24px;
}
.quiet-outline #container {
height: 100%;
}
.quiet-outline .n-config-provider {
display: flex;
flex-direction: column;
height: 100%;
}
.quiet-outline .n-tree {
overflow: auto;
}
.n-tree__empty {
display: none;
}
/* main.css */
.quiet-outline .n-tree .n-tree-node-indent {
content: "";
height: unset;
align-self: stretch;
}
.quiet-outline .level-2 .n-tree-node-indent,
.quiet-outline .level-3 .n-tree-node-indent:first-child,
.quiet-outline .level-4 .n-tree-node-indent:first-child,
.quiet-outline .level-5 .n-tree-node-indent:first-child,
.quiet-outline .level-6 .n-tree-node-indent:first-child {
border-right: var(--nav-indentation-guide-width) solid var(--762e1073-rainbowColor1);
}
.quiet-outline .level-3 .n-tree-node-indent,
.quiet-outline .level-4 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-5 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(2) {
border-right: var(--nav-indentation-guide-width) solid var(--762e1073-rainbowColor2);
}
.quiet-outline .level-4 .n-tree-node-indent,
.quiet-outline .level-5 .n-tree-node-indent:nth-child(3),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(3) {
border-right: var(--nav-indentation-guide-width) solid var(--762e1073-rainbowColor3);
}
.quiet-outline .level-5 .n-tree-node-indent,
.quiet-outline .level-6 .n-tree-node-indent:nth-child(4) {
border-right: var(--nav-indentation-guide-width) solid var(--762e1073-rainbowColor4);
}
.quiet-outline .level-6 .n-tree-node-indent {
border-right: var(--nav-indentation-guide-width) solid var(--762e1073-rainbowColor5);
}
.n-tree-node.located p {
color: var(--762e1073-locatedColor);
}
/* src/main.css */