@riebeckite/plugin-garden-explorer 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +2 -2
- package/style.css +292 -292
package/README.md
CHANGED
|
@@ -85,5 +85,5 @@ in the browser.
|
|
|
85
85
|
|
|
86
86
|
## See also
|
|
87
87
|
|
|
88
|
-
- [Plugin guide](
|
|
89
|
-
- [`@riebeckite/plugin-local-graph`](../
|
|
88
|
+
- [Plugin guide](../../../docs/en/plugin-system.md)
|
|
89
|
+
- [`@riebeckite/plugin-local-graph`](../local-graph/README.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-garden-explorer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"hono": "^4.12.25",
|
|
25
|
-
"@riebeckite/core": "0.0.
|
|
25
|
+
"@riebeckite/core": "0.0.7"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
package/style.css
CHANGED
|
@@ -1,292 +1,292 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.garden-explorer-page {
|
|
3
|
-
width: min(100%, 96rem);
|
|
4
|
-
padding-inline: var(--rb-space-2);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.garden-explorer-page__header {
|
|
8
|
-
display: grid;
|
|
9
|
-
gap: var(--rb-space-1);
|
|
10
|
-
border-block: var(--rb-rule-width) solid var(--rb-color-border);
|
|
11
|
-
padding-block: var(--rb-space-3);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.garden-explorer-page__eyebrow,
|
|
15
|
-
.garden-explorer__eyebrow {
|
|
16
|
-
margin: 0;
|
|
17
|
-
color: var(--rb-color-muted);
|
|
18
|
-
font-size: 0.72rem;
|
|
19
|
-
font-weight: 700;
|
|
20
|
-
letter-spacing: 0.16em;
|
|
21
|
-
text-transform: uppercase;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.garden-explorer-page__title {
|
|
25
|
-
margin: 0;
|
|
26
|
-
font-family: var(--rb-font-heading);
|
|
27
|
-
font-size: clamp(2.5rem, 8vw, 5.5rem);
|
|
28
|
-
line-height: 0.95;
|
|
29
|
-
letter-spacing: -0.06em;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.garden-explorer-page__description {
|
|
33
|
-
max-width: 42rem;
|
|
34
|
-
margin: 0;
|
|
35
|
-
color: var(--rb-color-muted);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.garden-explorer {
|
|
39
|
-
display: grid;
|
|
40
|
-
grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr) minmax(
|
|
41
|
-
16rem,
|
|
42
|
-
22rem
|
|
43
|
-
);
|
|
44
|
-
min-height: 42rem;
|
|
45
|
-
margin-top: var(--rb-space-4);
|
|
46
|
-
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.garden-explorer__panel {
|
|
50
|
-
min-width: 0;
|
|
51
|
-
border-color: var(--rb-color-border);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.garden-explorer__panel--explorer,
|
|
55
|
-
.garden-explorer__panel--details {
|
|
56
|
-
overflow: auto;
|
|
57
|
-
max-height: 46rem;
|
|
58
|
-
padding: var(--rb-space-2);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.garden-explorer__panel--explorer {
|
|
62
|
-
border-right: var(--rb-rule-width) solid var(--rb-color-border);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.garden-explorer__panel--details {
|
|
66
|
-
border-left: var(--rb-rule-width) solid var(--rb-color-border);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.garden-explorer__section {
|
|
70
|
-
display: grid;
|
|
71
|
-
gap: var(--rb-space-1);
|
|
72
|
-
padding-block: var(--rb-space-2);
|
|
73
|
-
border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.garden-explorer__section--flush {
|
|
77
|
-
padding-bottom: 0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.garden-explorer__search input {
|
|
81
|
-
width: 100%;
|
|
82
|
-
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
83
|
-
background: var(--rb-color-paper);
|
|
84
|
-
color: var(--rb-color-ink);
|
|
85
|
-
padding: 0.7rem 0.75rem;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.garden-explorer__search input:focus,
|
|
89
|
-
.garden-explorer button:focus-visible,
|
|
90
|
-
.garden-graph a:focus-visible {
|
|
91
|
-
outline: 2px solid var(--rb-color-accent);
|
|
92
|
-
outline-offset: 2px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.garden-explorer__text-button,
|
|
96
|
-
.garden-explorer__chip,
|
|
97
|
-
.garden-explorer__note-list button,
|
|
98
|
-
.garden-explorer__graph-toolbar button,
|
|
99
|
-
.garden-explorer__mobile-tab {
|
|
100
|
-
cursor: pointer;
|
|
101
|
-
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
102
|
-
background: var(--rb-color-paper);
|
|
103
|
-
color: var(--rb-color-ink);
|
|
104
|
-
font: inherit;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.garden-explorer__text-button {
|
|
108
|
-
justify-self: start;
|
|
109
|
-
border: 0;
|
|
110
|
-
border-bottom: var(--rb-rule-width) solid currentColor;
|
|
111
|
-
padding: 0;
|
|
112
|
-
color: var(--rb-color-muted);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.garden-explorer__chips {
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-wrap: wrap;
|
|
118
|
-
gap: 0.4rem;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.garden-explorer__chip {
|
|
122
|
-
display: inline-flex;
|
|
123
|
-
gap: 0.45rem;
|
|
124
|
-
align-items: center;
|
|
125
|
-
padding: 0.35rem 0.5rem;
|
|
126
|
-
font-size: 0.85rem;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.garden-explorer__chip[aria-pressed="true"],
|
|
130
|
-
.garden-explorer__note-list button[aria-pressed="true"],
|
|
131
|
-
.garden-explorer__mobile-tab[aria-pressed="true"] {
|
|
132
|
-
background: var(--rb-color-accent);
|
|
133
|
-
color: var(--rb-color-paper);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.garden-explorer__note-list {
|
|
137
|
-
display: grid;
|
|
138
|
-
gap: 0.35rem;
|
|
139
|
-
padding: 0;
|
|
140
|
-
margin: 0;
|
|
141
|
-
list-style: none;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.garden-explorer__note-list button {
|
|
145
|
-
display: grid;
|
|
146
|
-
width: 100%;
|
|
147
|
-
gap: 0.2rem;
|
|
148
|
-
padding: 0.55rem 0.6rem;
|
|
149
|
-
text-align: left;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.garden-explorer__note-list small,
|
|
153
|
-
.garden-explorer__path,
|
|
154
|
-
.garden-explorer__empty {
|
|
155
|
-
color: var(--rb-color-muted);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.garden-explorer__graph-toolbar {
|
|
159
|
-
display: flex;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
align-items: center;
|
|
162
|
-
gap: var(--rb-space-1);
|
|
163
|
-
min-height: 3rem;
|
|
164
|
-
padding-inline: var(--rb-space-2);
|
|
165
|
-
border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
|
|
166
|
-
color: var(--rb-color-muted);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.garden-explorer__graph-toolbar div {
|
|
170
|
-
display: flex;
|
|
171
|
-
gap: 0.35rem;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.garden-explorer__graph-toolbar button {
|
|
175
|
-
min-width: 2rem;
|
|
176
|
-
padding: 0.35rem 0.55rem;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.garden-graph {
|
|
180
|
-
display: block;
|
|
181
|
-
width: 100%;
|
|
182
|
-
min-height: 38rem;
|
|
183
|
-
touch-action: none;
|
|
184
|
-
background-image:
|
|
185
|
-
linear-gradient(var(--rb-color-border) 1px, transparent 1px),
|
|
186
|
-
linear-gradient(90deg, var(--rb-color-border) 1px, transparent 1px);
|
|
187
|
-
background-size: 48px 48px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.garden-graph__edge {
|
|
191
|
-
stroke: var(--rb-color-border);
|
|
192
|
-
stroke-width: 1.2;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.garden-graph__node circle {
|
|
196
|
-
fill: var(--rb-color-paper);
|
|
197
|
-
stroke: var(--rb-color-ink);
|
|
198
|
-
stroke-width: 1.5;
|
|
199
|
-
transition:
|
|
200
|
-
fill 120ms ease,
|
|
201
|
-
stroke 120ms ease;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.garden-graph__node circle[data-selected="true"] {
|
|
205
|
-
fill: var(--rb-color-accent);
|
|
206
|
-
stroke: var(--rb-color-accent);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.garden-graph__node text {
|
|
210
|
-
fill: var(--rb-color-ink);
|
|
211
|
-
font-size: 0.8rem;
|
|
212
|
-
pointer-events: none;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.garden-graph__node a {
|
|
216
|
-
cursor: pointer;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.garden-explorer__details h2 {
|
|
220
|
-
margin-block: var(--rb-space-1);
|
|
221
|
-
font-size: 1.6rem;
|
|
222
|
-
line-height: 1.1;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.garden-explorer__details a {
|
|
226
|
-
color: inherit;
|
|
227
|
-
text-decoration: none;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.garden-explorer__details a:hover {
|
|
231
|
-
color: var(--rb-color-accent);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.garden-explorer__tag-row {
|
|
235
|
-
display: flex;
|
|
236
|
-
flex-wrap: wrap;
|
|
237
|
-
gap: 0.4rem;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.garden-explorer__tag-row span {
|
|
241
|
-
border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
|
|
242
|
-
color: var(--rb-color-muted);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.garden-explorer__mobile-tabs {
|
|
246
|
-
display: none;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
@media (prefers-reduced-motion: reduce) {
|
|
250
|
-
.garden-graph__node circle {
|
|
251
|
-
transition: none;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
@media (max-width: 58rem) {
|
|
256
|
-
.garden-explorer {
|
|
257
|
-
display: block;
|
|
258
|
-
border: 0;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.garden-explorer__mobile-tabs {
|
|
262
|
-
display: grid;
|
|
263
|
-
grid-template-columns: repeat(3, 1fr);
|
|
264
|
-
gap: 0.35rem;
|
|
265
|
-
margin-bottom: var(--rb-space-1);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.garden-explorer__mobile-tab {
|
|
269
|
-
padding: 0.6rem 0.4rem;
|
|
270
|
-
text-transform: capitalize;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.garden-explorer__panel {
|
|
274
|
-
display: none;
|
|
275
|
-
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.garden-explorer__panel--active {
|
|
279
|
-
display: block;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.garden-explorer__panel--explorer,
|
|
283
|
-
.garden-explorer__panel--details {
|
|
284
|
-
max-height: none;
|
|
285
|
-
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.garden-graph {
|
|
289
|
-
min-height: 28rem;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
1
|
+
@layer components {
|
|
2
|
+
.garden-explorer-page {
|
|
3
|
+
width: min(100%, 96rem);
|
|
4
|
+
padding-inline: var(--rb-space-2);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.garden-explorer-page__header {
|
|
8
|
+
display: grid;
|
|
9
|
+
gap: var(--rb-space-1);
|
|
10
|
+
border-block: var(--rb-rule-width) solid var(--rb-color-border);
|
|
11
|
+
padding-block: var(--rb-space-3);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.garden-explorer-page__eyebrow,
|
|
15
|
+
.garden-explorer__eyebrow {
|
|
16
|
+
margin: 0;
|
|
17
|
+
color: var(--rb-color-muted);
|
|
18
|
+
font-size: 0.72rem;
|
|
19
|
+
font-weight: 700;
|
|
20
|
+
letter-spacing: 0.16em;
|
|
21
|
+
text-transform: uppercase;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.garden-explorer-page__title {
|
|
25
|
+
margin: 0;
|
|
26
|
+
font-family: var(--rb-font-heading);
|
|
27
|
+
font-size: clamp(2.5rem, 8vw, 5.5rem);
|
|
28
|
+
line-height: 0.95;
|
|
29
|
+
letter-spacing: -0.06em;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.garden-explorer-page__description {
|
|
33
|
+
max-width: 42rem;
|
|
34
|
+
margin: 0;
|
|
35
|
+
color: var(--rb-color-muted);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.garden-explorer {
|
|
39
|
+
display: grid;
|
|
40
|
+
grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr) minmax(
|
|
41
|
+
16rem,
|
|
42
|
+
22rem
|
|
43
|
+
);
|
|
44
|
+
min-height: 42rem;
|
|
45
|
+
margin-top: var(--rb-space-4);
|
|
46
|
+
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.garden-explorer__panel {
|
|
50
|
+
min-width: 0;
|
|
51
|
+
border-color: var(--rb-color-border);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.garden-explorer__panel--explorer,
|
|
55
|
+
.garden-explorer__panel--details {
|
|
56
|
+
overflow: auto;
|
|
57
|
+
max-height: 46rem;
|
|
58
|
+
padding: var(--rb-space-2);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.garden-explorer__panel--explorer {
|
|
62
|
+
border-right: var(--rb-rule-width) solid var(--rb-color-border);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.garden-explorer__panel--details {
|
|
66
|
+
border-left: var(--rb-rule-width) solid var(--rb-color-border);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.garden-explorer__section {
|
|
70
|
+
display: grid;
|
|
71
|
+
gap: var(--rb-space-1);
|
|
72
|
+
padding-block: var(--rb-space-2);
|
|
73
|
+
border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.garden-explorer__section--flush {
|
|
77
|
+
padding-bottom: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.garden-explorer__search input {
|
|
81
|
+
width: 100%;
|
|
82
|
+
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
83
|
+
background: var(--rb-color-paper);
|
|
84
|
+
color: var(--rb-color-ink);
|
|
85
|
+
padding: 0.7rem 0.75rem;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.garden-explorer__search input:focus,
|
|
89
|
+
.garden-explorer button:focus-visible,
|
|
90
|
+
.garden-graph a:focus-visible {
|
|
91
|
+
outline: 2px solid var(--rb-color-accent);
|
|
92
|
+
outline-offset: 2px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.garden-explorer__text-button,
|
|
96
|
+
.garden-explorer__chip,
|
|
97
|
+
.garden-explorer__note-list button,
|
|
98
|
+
.garden-explorer__graph-toolbar button,
|
|
99
|
+
.garden-explorer__mobile-tab {
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
102
|
+
background: var(--rb-color-paper);
|
|
103
|
+
color: var(--rb-color-ink);
|
|
104
|
+
font: inherit;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.garden-explorer__text-button {
|
|
108
|
+
justify-self: start;
|
|
109
|
+
border: 0;
|
|
110
|
+
border-bottom: var(--rb-rule-width) solid currentColor;
|
|
111
|
+
padding: 0;
|
|
112
|
+
color: var(--rb-color-muted);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.garden-explorer__chips {
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-wrap: wrap;
|
|
118
|
+
gap: 0.4rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.garden-explorer__chip {
|
|
122
|
+
display: inline-flex;
|
|
123
|
+
gap: 0.45rem;
|
|
124
|
+
align-items: center;
|
|
125
|
+
padding: 0.35rem 0.5rem;
|
|
126
|
+
font-size: 0.85rem;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.garden-explorer__chip[aria-pressed="true"],
|
|
130
|
+
.garden-explorer__note-list button[aria-pressed="true"],
|
|
131
|
+
.garden-explorer__mobile-tab[aria-pressed="true"] {
|
|
132
|
+
background: var(--rb-color-accent);
|
|
133
|
+
color: var(--rb-color-paper);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.garden-explorer__note-list {
|
|
137
|
+
display: grid;
|
|
138
|
+
gap: 0.35rem;
|
|
139
|
+
padding: 0;
|
|
140
|
+
margin: 0;
|
|
141
|
+
list-style: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.garden-explorer__note-list button {
|
|
145
|
+
display: grid;
|
|
146
|
+
width: 100%;
|
|
147
|
+
gap: 0.2rem;
|
|
148
|
+
padding: 0.55rem 0.6rem;
|
|
149
|
+
text-align: left;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.garden-explorer__note-list small,
|
|
153
|
+
.garden-explorer__path,
|
|
154
|
+
.garden-explorer__empty {
|
|
155
|
+
color: var(--rb-color-muted);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.garden-explorer__graph-toolbar {
|
|
159
|
+
display: flex;
|
|
160
|
+
justify-content: space-between;
|
|
161
|
+
align-items: center;
|
|
162
|
+
gap: var(--rb-space-1);
|
|
163
|
+
min-height: 3rem;
|
|
164
|
+
padding-inline: var(--rb-space-2);
|
|
165
|
+
border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
|
|
166
|
+
color: var(--rb-color-muted);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.garden-explorer__graph-toolbar div {
|
|
170
|
+
display: flex;
|
|
171
|
+
gap: 0.35rem;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.garden-explorer__graph-toolbar button {
|
|
175
|
+
min-width: 2rem;
|
|
176
|
+
padding: 0.35rem 0.55rem;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.garden-graph {
|
|
180
|
+
display: block;
|
|
181
|
+
width: 100%;
|
|
182
|
+
min-height: 38rem;
|
|
183
|
+
touch-action: none;
|
|
184
|
+
background-image:
|
|
185
|
+
linear-gradient(var(--rb-color-border) 1px, transparent 1px),
|
|
186
|
+
linear-gradient(90deg, var(--rb-color-border) 1px, transparent 1px);
|
|
187
|
+
background-size: 48px 48px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.garden-graph__edge {
|
|
191
|
+
stroke: var(--rb-color-border);
|
|
192
|
+
stroke-width: 1.2;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.garden-graph__node circle {
|
|
196
|
+
fill: var(--rb-color-paper);
|
|
197
|
+
stroke: var(--rb-color-ink);
|
|
198
|
+
stroke-width: 1.5;
|
|
199
|
+
transition:
|
|
200
|
+
fill 120ms ease,
|
|
201
|
+
stroke 120ms ease;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.garden-graph__node circle[data-selected="true"] {
|
|
205
|
+
fill: var(--rb-color-accent);
|
|
206
|
+
stroke: var(--rb-color-accent);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.garden-graph__node text {
|
|
210
|
+
fill: var(--rb-color-ink);
|
|
211
|
+
font-size: 0.8rem;
|
|
212
|
+
pointer-events: none;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.garden-graph__node a {
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.garden-explorer__details h2 {
|
|
220
|
+
margin-block: var(--rb-space-1);
|
|
221
|
+
font-size: 1.6rem;
|
|
222
|
+
line-height: 1.1;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.garden-explorer__details a {
|
|
226
|
+
color: inherit;
|
|
227
|
+
text-decoration: none;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.garden-explorer__details a:hover {
|
|
231
|
+
color: var(--rb-color-accent);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.garden-explorer__tag-row {
|
|
235
|
+
display: flex;
|
|
236
|
+
flex-wrap: wrap;
|
|
237
|
+
gap: 0.4rem;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.garden-explorer__tag-row span {
|
|
241
|
+
border-bottom: var(--rb-rule-width) solid var(--rb-color-border);
|
|
242
|
+
color: var(--rb-color-muted);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.garden-explorer__mobile-tabs {
|
|
246
|
+
display: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@media (prefers-reduced-motion: reduce) {
|
|
250
|
+
.garden-graph__node circle {
|
|
251
|
+
transition: none;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@media (max-width: 58rem) {
|
|
256
|
+
.garden-explorer {
|
|
257
|
+
display: block;
|
|
258
|
+
border: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.garden-explorer__mobile-tabs {
|
|
262
|
+
display: grid;
|
|
263
|
+
grid-template-columns: repeat(3, 1fr);
|
|
264
|
+
gap: 0.35rem;
|
|
265
|
+
margin-bottom: var(--rb-space-1);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.garden-explorer__mobile-tab {
|
|
269
|
+
padding: 0.6rem 0.4rem;
|
|
270
|
+
text-transform: capitalize;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.garden-explorer__panel {
|
|
274
|
+
display: none;
|
|
275
|
+
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.garden-explorer__panel--active {
|
|
279
|
+
display: block;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.garden-explorer__panel--explorer,
|
|
283
|
+
.garden-explorer__panel--details {
|
|
284
|
+
max-height: none;
|
|
285
|
+
border: var(--rb-rule-width) solid var(--rb-color-border);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.garden-graph {
|
|
289
|
+
min-height: 28rem;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|