-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
99 lines (86 loc) · 2.19 KB
/
styles.css
File metadata and controls
99 lines (86 loc) · 2.19 KB
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
/* entity-notes: settings tab — frontmatter fields table */
.entity-notes-frontmatter-table {
width: 100%;
border-collapse: collapse;
margin-bottom: var(--size-4-4, 16px);
}
.entity-notes-frontmatter-table th,
.entity-notes-frontmatter-table td {
padding: 6px 8px;
vertical-align: middle;
}
.entity-notes-frontmatter-table th {
text-align: left;
font-size: var(--font-smaller);
color: var(--text-muted);
font-weight: 600;
border-bottom: 1px solid var(--background-modifier-border);
}
.entity-notes-frontmatter-table td:last-child {
text-align: right;
}
.entity-notes-field-label {
font-weight: 500;
margin-bottom: 2px;
}
.entity-notes-field-name-input {
width: 100%;
}
.entity-notes-field-name-input:disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* entity-notes: settings modal — frontmatter template rows */
.entity-notes-template-rows {
margin-bottom: 0.75em;
}
.entity-notes-template-row {
display: flex;
gap: 0.5em;
align-items: center;
margin-bottom: 0.4em;
}
.entity-notes-template-row input {
flex: 1;
min-width: 0;
}
/* entity-notes: wrapper span inserted by the CM6 widget */
.entity-notes-plugin {
margin-left: 0.4em;
display: inline;
}
/* entity-notes: the inline "→ EntityType" convert button */
.entity-notes-convert-button {
display: inline;
padding: 0 0.35em;
margin: 0;
font-size: 0.78em;
line-height: 1.4;
vertical-align: middle;
border: 1px solid var(--interactive-accent);
border-radius: 3px;
color: var(--interactive-accent);
background: transparent;
cursor: pointer;
font-family: inherit;
opacity: 0.7;
transition: opacity 0.1s ease;
}
.entity-notes-convert-button:hover {
opacity: 1;
background: var(--interactive-accent-hover);
color: var(--text-on-accent);
}
/* entity-notes: entity type pill badge (decoration-only, not written to file) */
.entity-notes-pill {
display: inline-block;
margin-left: 0.5em;
padding: 0.05em 0.45em;
border-radius: 10px;
font-size: 0.72em;
font-weight: 500;
line-height: 1.4;
vertical-align: middle;
color: var(--text-on-accent);
letter-spacing: 0.02em;
}