@mosetta/editor 0.0.0-stage → 0.0.28
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/CHANGELOG.md +185 -0
- package/LICENSE +21 -0
- package/README.md +10 -2
- package/mosetta.json +6 -0
- package/package.json +35 -3
- package/prefabs/workbench/prefab.json +11 -0
- package/prefabs/workbench/versions/1.json +120 -0
- package/prefabs/workbench/versions/2.json +13 -0
- package/prefabs/workbench/versions/3.json +19 -0
- package/prefabs/workbench/versions/4.json +29 -0
- package/prefabs/workbench/versions/5.json +29 -0
- package/tiles/canvas/canvas.component.tsx +2038 -0
- package/tiles/canvas/canvas.css +973 -0
- package/tiles/canvas/canvasTools.ts +66 -0
- package/tiles/canvas/chromeNodes.ts +35 -0
- package/tiles/canvas/ghosts.ts +33 -0
- package/tiles/canvas/insertPopover.tsx +56 -0
- package/tiles/canvas/popoverPlacement.ts +104 -0
- package/tiles/canvas/popoverSize.ts +87 -0
- package/tiles/canvas/providerChrome.tsx +191 -0
- package/tiles/canvas/scrollWatch.ts +43 -0
- package/tiles/canvas/settingsPopover.tsx +257 -0
- package/tiles/canvas/settingsTabs.ts +78 -0
- package/tiles/canvas/toolPanel.tsx +86 -0
- package/tiles/content/autoBind.ts +61 -0
- package/tiles/content/blockPage.css +390 -0
- package/tiles/content/blockPage.tsx +379 -0
- package/tiles/content/blockPicker.css +215 -0
- package/tiles/content/blockPicker.tsx +501 -0
- package/tiles/content/blockUpgrades.ts +145 -0
- package/tiles/content/blockVariants.ts +185 -0
- package/tiles/content/blockVocabulary.ts +77 -0
- package/tiles/content/catalogVersions.ts +106 -0
- package/tiles/content/componentPreview.css +82 -0
- package/tiles/content/componentPreview.tsx +249 -0
- package/tiles/content/content.server.ts +593 -0
- package/tiles/content/contentCommon.ts +133 -0
- package/tiles/content/disconnected.ts +56 -0
- package/tiles/content/distributions.css +256 -0
- package/tiles/content/distributions.tsx +271 -0
- package/tiles/content/editingAutosave.ts +125 -0
- package/tiles/content/editingClipboard.ts +185 -0
- package/tiles/content/editingConflicts.ts +223 -0
- package/tiles/content/editingHotkeys.ts +59 -0
- package/tiles/content/editingNotices.ts +105 -0
- package/tiles/content/formRoot.ts +18 -0
- package/tiles/content/fuzzySearch.ts +121 -0
- package/tiles/content/mediaUpload.ts +55 -0
- package/tiles/content/moduleSiblings.ts +9 -0
- package/tiles/content/mountedTree.ts +136 -0
- package/tiles/content/nodeSettings.css +483 -0
- package/tiles/content/nodeSettings.tsx +963 -0
- package/tiles/content/pasteText.ts +131 -0
- package/tiles/content/prefabFields.tsx +158 -0
- package/tiles/content/prefabParts.ts +105 -0
- package/tiles/content/previewEnvironment.ts +46 -0
- package/tiles/content/projectConfig.ts +46 -0
- package/tiles/content/projectPrefabs.ts +57 -0
- package/tiles/content/publishModal.css +109 -0
- package/tiles/content/publishModal.tsx +92 -0
- package/tiles/content/refsEditing.ts +412 -0
- package/tiles/content/scaledStage.ts +63 -0
- package/tiles/content/searchField.css +32 -0
- package/tiles/content/searchField.tsx +32 -0
- package/tiles/content/settingsDraft.ts +178 -0
- package/tiles/content/settingsIssues.tsx +124 -0
- package/tiles/content/themeScope.ts +72 -0
- package/tiles/content/themeVariables.ts +47 -0
- package/tiles/content/tooltipPlacement.ts +17 -0
- package/tiles/content/tooltips.tsx +131 -0
- package/tiles/content/treeMounter.ts +33 -0
- package/tiles/content/updatesModal.css +124 -0
- package/tiles/content/updatesModal.tsx +110 -0
- package/tiles/content/useCtrlHeld.ts +24 -0
- package/tiles/content/useEditingSession.ts +115 -0
- package/tiles/content/useMountedTree.ts +47 -0
- package/tiles/content/workbenchScale.css +27 -0
- package/tiles/hostFallback/hostFallback.component.tsx +32 -0
- package/tiles/hostFallback/hostFallback.css +12 -0
- package/tiles/hostFallback/hostFallback.editor.tsx +10 -0
- package/tiles/page/page.component.tsx +7 -0
- package/tiles/page/page.script.tsx +5 -0
- package/tiles/pageModules/pageModules.component.tsx +740 -0
- package/tiles/pageModules/pageModules.css +383 -0
- package/tiles/pageModules/pageModules.icon.svg +1 -0
- package/tiles/pageModules/servedPage.ts +465 -0
- package/tiles/pagesPanel/pagesPanel.component.tsx +1645 -0
- package/tiles/pagesPanel/pagesPanel.css +713 -0
- package/tiles/pagesPanel/pagesPanel.editor.tsx +23 -0
- package/tiles/pagesPanel/pagesSearch.ts +194 -0
- package/tiles/pagesPanel/routeTree.ts +98 -0
- package/tiles/previewBridge/landing.ts +66 -0
- package/tiles/previewBridge/previewAgent.ts +457 -0
- package/tiles/previewBridge/previewBridge.component.tsx +137 -0
- package/tiles/previewBridge/previewBridge.editor.tsx +10 -0
- package/tiles/previewBridge/previewBridgeCommon.ts +172 -0
- package/tiles/previewBridge/standIn.ts +22 -0
- package/tiles/treeView/treeView.component.tsx +514 -0
- package/tiles/treeView/treeView.css +303 -0
- package/tiles/treeView/treeView.editor.tsx +12 -0
- package/tiles/workbench/assistant.css +401 -0
- package/tiles/workbench/assistant.tsx +516 -0
- package/tiles/workbench/assistantChat.ts +165 -0
- package/tiles/workbench/dictation.ts +354 -0
- package/tiles/workbench/projectInfo.ts +72 -0
- package/tiles/workbench/recent.ts +67 -0
- package/tiles/workbench/workbench.component.tsx +476 -0
- package/tiles/workbench/workbench.css +376 -0
- package/tiles/workbench/workbenchAddress.ts +202 -0
- package/tiles/workbench/workspace.ts +775 -0
- package/tiles/workbenchEditor/workbenchEditor.component.tsx +461 -0
- package/tiles/workbenchEditor/workbenchEditor.css +370 -0
- package/tiles/workbenchHome/workbenchHome.component.tsx +196 -0
- package/tiles/workbenchHome/workbenchHome.css +271 -0
- package/tsconfig.json +3 -0
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
/* THE BLOCK'S PAGE (blockPage.tsx): the block live on a stage, its settings form always open beside
|
|
2
|
+
it, and its variants as a wall of live specimens below. */
|
|
3
|
+
.block-page {
|
|
4
|
+
/* the workbench's main area is a frame of the window's height: the page scrolls inside it (the
|
|
5
|
+
settings stick to its top meanwhile) */
|
|
6
|
+
flex: 1 1 auto;
|
|
7
|
+
min-height: 0;
|
|
8
|
+
overflow-y: auto;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
padding: 24px 28px 40px;
|
|
11
|
+
color: #18181b;
|
|
12
|
+
font-family: ui-sans-serif, system-ui, sans-serif;
|
|
13
|
+
font-size: var(--mosetta-wb-font);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.block-page__header {
|
|
17
|
+
margin-bottom: 18px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.block-page__back {
|
|
21
|
+
margin: 0 0 12px;
|
|
22
|
+
padding: 0;
|
|
23
|
+
border: 0;
|
|
24
|
+
background: none;
|
|
25
|
+
color: #52525b;
|
|
26
|
+
font: inherit;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.block-page__back:hover {
|
|
31
|
+
color: #18181b;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.block-page__title-row {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 12px;
|
|
38
|
+
min-width: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.block-page__icon {
|
|
42
|
+
flex: none;
|
|
43
|
+
width: 36px;
|
|
44
|
+
height: 36px;
|
|
45
|
+
border-radius: 9px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.block-page__title {
|
|
49
|
+
margin: 0;
|
|
50
|
+
font-size: 22px;
|
|
51
|
+
font-weight: 650;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.block-page__meta {
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
color: #a1a1aa;
|
|
57
|
+
font-size: var(--mosetta-wb-font-xs);
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.block-page__note {
|
|
63
|
+
padding: 14px 4px;
|
|
64
|
+
color: #a1a1aa;
|
|
65
|
+
font-size: var(--mosetta-wb-font-sm);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* the stage with the variants under it, the settings beside both — a column of the page's whole
|
|
69
|
+
height, so they stay in sight down to the last variant (Storybook's controls); where there is no
|
|
70
|
+
room, one under another: the stage, the settings, the variants */
|
|
71
|
+
.block-page__main {
|
|
72
|
+
display: grid;
|
|
73
|
+
grid-template-columns: minmax(0, 1fr) 340px;
|
|
74
|
+
grid-template-rows: auto 1fr;
|
|
75
|
+
grid-template-areas:
|
|
76
|
+
"stage settings"
|
|
77
|
+
"variants settings";
|
|
78
|
+
gap: 16px 16px;
|
|
79
|
+
align-items: start;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (max-width: 900px) {
|
|
83
|
+
.block-page__main {
|
|
84
|
+
grid-template-columns: minmax(0, 1fr);
|
|
85
|
+
grid-template-rows: auto;
|
|
86
|
+
grid-template-areas:
|
|
87
|
+
"stage"
|
|
88
|
+
"settings"
|
|
89
|
+
"variants";
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.block-page__settings {
|
|
93
|
+
position: static;
|
|
94
|
+
max-height: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.block-page__stage-frame {
|
|
99
|
+
grid-area: stage;
|
|
100
|
+
min-width: 0;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
border: 1px solid #e4e4e7;
|
|
103
|
+
border-radius: 12px;
|
|
104
|
+
background: #ffffff;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.block-page__stage-head {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
align-items: baseline;
|
|
111
|
+
gap: 8px;
|
|
112
|
+
padding: 10px 14px;
|
|
113
|
+
border-bottom: 1px solid #f4f4f5;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.block-page__stage-name {
|
|
117
|
+
font-weight: 600;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.block-page__changed {
|
|
121
|
+
padding: 0 6px;
|
|
122
|
+
border-radius: 4px;
|
|
123
|
+
background: #fef3c7;
|
|
124
|
+
color: #92400e;
|
|
125
|
+
font-size: var(--mosetta-wb-font-xs);
|
|
126
|
+
line-height: 18px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.block-page__stage-description {
|
|
130
|
+
color: #71717a;
|
|
131
|
+
font-size: var(--mosetta-wb-font-sm);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* the block at its own size, on a quiet field that shows where it ends */
|
|
135
|
+
.block-page__stage-view {
|
|
136
|
+
min-height: 220px;
|
|
137
|
+
padding: 28px;
|
|
138
|
+
overflow: auto;
|
|
139
|
+
background:
|
|
140
|
+
linear-gradient(45deg, #fafafa 25%, transparent 25%, transparent 75%, #fafafa 75%),
|
|
141
|
+
linear-gradient(45deg, #fafafa 25%, transparent 25%, transparent 75%, #fafafa 75%);
|
|
142
|
+
background-position: 0 0, 8px 8px;
|
|
143
|
+
background-size: 16px 16px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* the block's own box, on the field: where it ends shows */
|
|
147
|
+
.block-page__stage {
|
|
148
|
+
display: flow-root;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* the settings: the popover's frame, standing — sticky while the page scrolls */
|
|
152
|
+
.block-page__settings {
|
|
153
|
+
grid-area: settings;
|
|
154
|
+
position: sticky;
|
|
155
|
+
top: 16px;
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
max-height: calc(100vh - 32px);
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
border: 1px solid #e4e4e7;
|
|
161
|
+
border-radius: 12px;
|
|
162
|
+
background: #ffffff;
|
|
163
|
+
box-shadow: 0 6px 18px rgb(0 0 0 / 6%);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.block-page__settings-head {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
gap: 2px;
|
|
170
|
+
padding: 10px 14px;
|
|
171
|
+
border-bottom: 1px solid #f4f4f5;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.block-page__settings-name {
|
|
175
|
+
font-weight: 600;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.block-page__settings-note {
|
|
179
|
+
color: #a1a1aa;
|
|
180
|
+
font-size: var(--mosetta-wb-font-xs);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.block-page__tabs {
|
|
184
|
+
display: flex;
|
|
185
|
+
gap: 2px;
|
|
186
|
+
padding: 6px 10px 0;
|
|
187
|
+
border-bottom: 1px solid #f4f4f5;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.block-page__tab {
|
|
191
|
+
padding: 6px 10px;
|
|
192
|
+
border: 0;
|
|
193
|
+
border-bottom: 2px solid transparent;
|
|
194
|
+
background: none;
|
|
195
|
+
color: #71717a;
|
|
196
|
+
font: inherit;
|
|
197
|
+
font-size: var(--mosetta-wb-font-sm);
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.block-page__tab:hover {
|
|
202
|
+
color: #18181b;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.block-page__tab--on {
|
|
206
|
+
border-bottom-color: #2563eb;
|
|
207
|
+
color: #18181b;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.block-page__settings-body {
|
|
211
|
+
flex: 1 1 auto;
|
|
212
|
+
min-height: 120px;
|
|
213
|
+
padding: 12px 14px;
|
|
214
|
+
overflow: auto;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* one tab at a time, as in the popover (settingsTabs.ts): a named section shows on its own tab… */
|
|
218
|
+
.block-page__settings-body[data-settings-tab="main"] [data-inspector-tab]:not([data-inspector-tab="main"]),
|
|
219
|
+
.block-page__settings-body[data-settings-tab="styles"] [data-inspector-tab]:not([data-inspector-tab="styles"]),
|
|
220
|
+
.block-page__settings-body[data-settings-tab="other"] [data-inspector-tab]:is([data-inspector-tab="main"], [data-inspector-tab="styles"]) {
|
|
221
|
+
display: none !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* …and what the form leaves unnamed is its main settings */
|
|
225
|
+
.block-page__settings-body:not([data-settings-tab="main"]) .settings__form-host :not([data-inspector-tab], [data-inspector-tab] *):not(:has([data-inspector-tab])) {
|
|
226
|
+
display: none !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.block-page__settings-foot {
|
|
230
|
+
display: flex;
|
|
231
|
+
flex-direction: column;
|
|
232
|
+
align-items: flex-start;
|
|
233
|
+
gap: 6px;
|
|
234
|
+
padding: 10px 14px;
|
|
235
|
+
border-top: 1px solid #f4f4f5;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.block-page__action {
|
|
239
|
+
height: 30px;
|
|
240
|
+
padding: 0 12px;
|
|
241
|
+
border: 1px solid #e4e4e7;
|
|
242
|
+
border-radius: 6px;
|
|
243
|
+
background: #ffffff;
|
|
244
|
+
color: #18181b;
|
|
245
|
+
font: inherit;
|
|
246
|
+
font-size: var(--mosetta-wb-font-sm);
|
|
247
|
+
cursor: pointer;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.block-page__action:hover:not(:disabled) {
|
|
251
|
+
border-color: #a1a1aa;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* the copy an author wants: the block, to paste on a page */
|
|
255
|
+
.block-page__action--main {
|
|
256
|
+
border-color: #18181b;
|
|
257
|
+
background: #18181b;
|
|
258
|
+
color: #ffffff;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.block-page__action--main:hover:not(:disabled) {
|
|
262
|
+
border-color: #3f3f46;
|
|
263
|
+
background: #3f3f46;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.block-page__action:disabled {
|
|
267
|
+
color: #a1a1aa;
|
|
268
|
+
cursor: default;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.block-page__variants-frame {
|
|
272
|
+
grid-area: variants;
|
|
273
|
+
min-width: 0;
|
|
274
|
+
margin-top: 12px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.block-page__variants-title {
|
|
278
|
+
display: flex;
|
|
279
|
+
align-items: center;
|
|
280
|
+
gap: 8px;
|
|
281
|
+
margin: 0 0 12px;
|
|
282
|
+
font-size: 16px;
|
|
283
|
+
font-weight: 650;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.block-page__variants-count {
|
|
287
|
+
padding: 0 7px;
|
|
288
|
+
border-radius: 9px;
|
|
289
|
+
background: #f4f4f5;
|
|
290
|
+
color: #71717a;
|
|
291
|
+
font-size: var(--mosetta-wb-font-xs);
|
|
292
|
+
font-weight: 500;
|
|
293
|
+
line-height: 18px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.block-page__variants-hint {
|
|
297
|
+
margin: -4px 0 12px;
|
|
298
|
+
color: #71717a;
|
|
299
|
+
font-size: var(--mosetta-wb-font-sm);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* the variants: a wall of columns, each card as tall as its specimen — wide enough to hold a
|
|
303
|
+
block at its own size */
|
|
304
|
+
.block-page__variants {
|
|
305
|
+
column-width: 340px;
|
|
306
|
+
column-gap: 16px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.block-page__variant {
|
|
310
|
+
display: inline-block;
|
|
311
|
+
box-sizing: border-box;
|
|
312
|
+
width: 100%;
|
|
313
|
+
margin: 0 0 16px;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
border: 1px solid #e4e4e7;
|
|
316
|
+
border-radius: 12px;
|
|
317
|
+
background: #ffffff;
|
|
318
|
+
break-inside: avoid;
|
|
319
|
+
cursor: pointer;
|
|
320
|
+
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.block-page__variant:hover {
|
|
324
|
+
border-color: #d4d4d8;
|
|
325
|
+
box-shadow: 0 6px 18px rgb(0 0 0 / 8%);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.block-page__variant--picked,
|
|
329
|
+
.block-page__variant--picked:hover {
|
|
330
|
+
border-color: #2563eb;
|
|
331
|
+
box-shadow: 0 0 0 1px #2563eb;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.block-page__variant-head {
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: column;
|
|
337
|
+
gap: 2px;
|
|
338
|
+
padding: 10px 12px;
|
|
339
|
+
border-bottom: 1px solid #f4f4f5;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.block-page__variant-name {
|
|
343
|
+
font-weight: 600;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.block-page__variant-description {
|
|
347
|
+
color: #71717a;
|
|
348
|
+
font-size: var(--mosetta-wb-font-xs);
|
|
349
|
+
line-height: 1.4;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* the specimen at its own size, on the stage's field; for looking, not for clicking */
|
|
353
|
+
.block-page__variant-view {
|
|
354
|
+
min-height: 48px;
|
|
355
|
+
overflow: hidden;
|
|
356
|
+
padding: 16px;
|
|
357
|
+
pointer-events: none;
|
|
358
|
+
background:
|
|
359
|
+
linear-gradient(45deg, #fafafa 25%, transparent 25%, transparent 75%, #fafafa 75%),
|
|
360
|
+
linear-gradient(45deg, #fafafa 25%, transparent 25%, transparent 75%, #fafafa 75%);
|
|
361
|
+
background-position: 0 0, 8px 8px;
|
|
362
|
+
background-size: 16px 16px;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.block-page__variant-stage {
|
|
366
|
+
display: flow-root;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.block-page__settings-actions {
|
|
370
|
+
display: flex;
|
|
371
|
+
flex-wrap: wrap;
|
|
372
|
+
gap: 8px;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/* the developer's copy: a small grey link under the buttons, not a button to mistake for the block's */
|
|
376
|
+
.block-page__json {
|
|
377
|
+
padding: 0;
|
|
378
|
+
border: 0;
|
|
379
|
+
background: none;
|
|
380
|
+
color: #a1a1aa;
|
|
381
|
+
font: inherit;
|
|
382
|
+
font-size: var(--mosetta-wb-font-xs);
|
|
383
|
+
text-decoration: underline;
|
|
384
|
+
text-underline-offset: 2px;
|
|
385
|
+
cursor: pointer;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.block-page__json:hover {
|
|
389
|
+
color: #52525b;
|
|
390
|
+
}
|