-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
187 lines (156 loc) · 4.28 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
/* Link Maintainer Modal Styles */
.link-maintainer-modal {
padding: 20px;
}
.link-maintainer-modal label {
font-weight: 500;
font-size: 14px;
margin-bottom: 5px;
display: block;
text-align: left;
color: var(--text-normal);
}
.link-maintainer-modal .setting-item {
margin-bottom: 15px;
display: flex;
flex-direction: column; /* Align label and input vertically */
align-items: flex-start; /* Align content to the left */
}
.link-maintainer-modal select,
.link-maintainer-modal input {
width: 100%; /* Ensure inputs take up the full width */
max-width: 400px; /* Optional: Set a max width for better layout */
height: 36px;
padding: 8px;
border-radius: 4px;
border: 1px solid var(--background-modifier-border);
background-color: var(--background-primary);
color: var(--text-normal);
box-sizing: border-box;
}
.link-maintainer-modal select {
appearance: none; /* Remove browser-specific styling */
}
.link-maintainer-modal select:focus,
.link-maintainer-modal input:focus {
outline: 2px solid var(--interactive-accent);
border-color: var(--interactive-accent);
}
.link-maintainer-modal button {
padding: 8px 16px;
border-radius: 4px;
background-color: var(--interactive-accent);
color: var(--text-on-accent);
border: none;
cursor: pointer;
margin-top: 10px;
}
.link-maintainer-modal button:hover {
background-color: var(--interactive-accent-hover);
}
/* Link Maintainer Info Section */
.link-maintainer-info {
margin-bottom: 20px;
padding: 10px;
background-color: var(--background-secondary);
border-radius: 5px;
}
.link-maintainer-info-item {
margin: 5px 0;
font-family: var(--font-monospace);
}
/* Link Maintainer Match List */
.link-maintainer-match-list {
margin-top: 10px;
}
.link-maintainer-group-header {
margin: 20px 0 10px;
padding: 5px 10px;
background-color: var(--background-secondary);
border-radius: 4px;
font-size: 1em;
color: var(--text-normal);
}
.link-maintainer-match-item {
margin: 15px 0;
padding: 10px;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
background-color: var(--background-primary);
}
.link-maintainer-match-item:hover {
border-color: var(--interactive-accent);
}
.link-maintainer-file-info {
font-weight: bold;
margin-bottom: 5px;
display: flex;
align-items: center;
gap: 5px;
}
.link-maintainer-file-link {
color: var(--text-accent);
text-decoration: none;
cursor: pointer;
}
.link-maintainer-file-link:hover {
text-decoration: underline;
}
.link-maintainer-line-number {
margin: 5px 0;
color: var(--text-muted);
font-size: 0.9em;
}
.link-maintainer-line-content {
font-family: var(--font-monospace);
padding: 8px;
background-color: var(--background-secondary);
border-radius: 3px;
white-space: pre-wrap;
font-size: 0.9em;
}
.link-maintainer-button-container {
margin-top: 20px;
display: flex;
justify-content: flex-end;
gap: 10px;
}
/* Hide block and heading containers by default */
.link-maintainer-modal .block-container,
.link-maintainer-modal .heading-container {
display: none;
}
/* Show containers when their respective link types are selected */
.link-maintainer-modal .block-container.active,
.link-maintainer-modal .heading-container.active {
display: block;
}
/* File type specific styles */
.link-maintainer-match-item[data-file-type="canvas"] {
border-left: 3px solid var(--interactive-accent);
}
.link-maintainer-match-item[data-file-type="markdown"] {
border-left: 3px solid var(--text-accent);
}
/* Changes list in confirmation dialog */
.link-maintainer-changes-list {
background-color: var(--background-primary);
}
.link-maintainer-changes-list .file-type-header {
font-weight: bold;
padding: 8px;
margin: 8px 0;
background-color: var(--background-secondary);
border-radius: 4px;
}
.link-maintainer-changes-list .match-item {
padding: 8px;
margin: 8px 0;
border-left: 3px solid transparent;
}
.link-maintainer-changes-list .match-item[data-file-type="canvas"] {
border-left-color: var(--interactive-accent);
}
.link-maintainer-changes-list .match-item[data-file-type="markdown"] {
border-left-color: var(--text-accent);
}