generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
90 lines (70 loc) · 1.92 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
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
.hierarchy-title-outer {
width: fit-content;
text-transform: none;
cursor: var(--cursor);
align-items: center;
padding: var(--nav-item-padding);
padding-inline-start: var(--size-4-2);
position: relative;
font-weight: var(--nav-heading-weight);
letter-spacing: unset;
font-size: var(--font-adaptive-normal);
color: var(--text-normal);
display: flex;
border-radius: var(--radius-s);
}
.hierarchy-wrapper {
margin-bottom: var(--size-4-18);
border-top: 1px solid var(--background-modifier-border);
}
.hierarchy-title-outer:hover {
text-transform: none;
color: var(--nav-item-color-hover);
background-color: var(--nav-item-background-hover);
}
.hierarchy-title-outer.hierarchy-expanded {
color: var(--text-normal);
}
.hierarchy-title-outer.hierarchy-expanded:hover {
color: var(--nav-item-color-hover);
background-color: var(--nav-item-background-hover);
}
.hierarchy-title-outer.hierarchy-collapsed {
color: var(--nav-heading-color-collapsed);
}
.hierarchy-title-outer.hierarchy-collapsed:hover {
color: var(--nav-heading-color-collapsed-hover);
}
.hierarchy-title-outer.hover {
color: var(--nav-item-color-active);
background-color: var(--nav-item-background-active);
}
.hierarchy-list-outer {
padding-inline-start: var(--size-4-2);
margin-top: var(--size-4-2);
display: grid;
transition: all var(--anim-duration-superfast);
}
.hierarchy-list-outer.hierarchy-expanded {
grid-template-rows: 1fr;
}
.hierarchy-list-outer.hierarchy-collapsed {
grid-template-rows: 0fr;
}
.hierarchy-list {
overflow: hidden;
}
.hierarchy-count-outer {
display: grid;
margin-inline-start: var(--size-2-3);
padding-inline-start: var(--size-4-1);
}
.hierarchy-count {
color: var(--text-faint);
font-size: max(var(--font-ui-small),var(--font-smallest));
}