@mgks/docmd 0.2.8 → 0.2.9
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/config.js +11 -1
- package/docs/configuration.md +29 -1
- package/docs/content/markdown-syntax.md +32 -0
- package/docs/contributing.md +8 -0
- package/package.json +3 -1
- package/src/assets/css/docmd-main.css +427 -329
- package/src/assets/css/docmd-theme-retro.css +860 -1
- package/src/assets/css/docmd-theme-ruby.css +621 -1
- package/src/assets/css/docmd-theme-sky.css +606 -1
- package/src/assets/js/docmd-image-lightbox.js +13 -13
- package/src/assets/js/docmd-main.js +23 -23
- package/src/assets/js/docmd-mermaid.js +28 -29
- package/src/commands/build.js +79 -40
- package/src/commands/init.js +10 -0
- package/src/core/html-generator.js +23 -0
- package/src/core/markdown/setup.js +27 -11
- package/src/templates/layout.ejs +15 -0
|
@@ -3,15 +3,25 @@
|
|
|
3
3
|
/*
|
|
4
4
|
* Main CSS file for docmd
|
|
5
5
|
*/
|
|
6
|
-
.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list
|
|
6
|
+
.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list>li.step-item::before,
|
|
7
|
+
.docmd-container.steps-reset ol.steps-list>li.step-item::before,
|
|
8
|
+
.docmd-container.steps-reset ol.steps-list[start]>li.step-item::before {
|
|
7
9
|
content: counter(list-counter) ".";
|
|
8
10
|
font-weight: 700;
|
|
9
11
|
margin-right: .5em;
|
|
10
|
-
color:var(--accent-color, #007acc)
|
|
12
|
+
color: var(--accent-color, #007acc)
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
.docmd-tab-pane.active,
|
|
14
|
-
|
|
15
|
+
.docmd-tab-pane.active,
|
|
16
|
+
.logo-link img,
|
|
17
|
+
.logo-link img.logo-light,
|
|
18
|
+
.tab-panel.active,
|
|
19
|
+
.theme-toggle-button .icon-sun,
|
|
20
|
+
body.sidebar-collapsible .sidebar-toggle-button,
|
|
21
|
+
html[data-theme=dark] .logo-link img.logo-dark,
|
|
22
|
+
html[data-theme=dark] .theme-toggle-button .icon-moon,
|
|
23
|
+
img {
|
|
24
|
+
display: block
|
|
15
25
|
}
|
|
16
26
|
|
|
17
27
|
:root {
|
|
@@ -34,7 +44,7 @@
|
|
|
34
44
|
--image-caption-bg: #f8f8f8;
|
|
35
45
|
--image-caption-text: #666;
|
|
36
46
|
--lightbox-bg: rgba(0, 0, 0, 0.9);
|
|
37
|
-
--lightbox-text
|
|
47
|
+
--lightbox-text: #fff
|
|
38
48
|
}
|
|
39
49
|
|
|
40
50
|
[data-theme=dark] {
|
|
@@ -55,7 +65,7 @@
|
|
|
55
65
|
--image-caption-bg: #2c2c2c;
|
|
56
66
|
--image-caption-text: #bdc3c7;
|
|
57
67
|
--lightbox-bg: rgba(0, 0, 0, 0.95);
|
|
58
|
-
--lightbox-text
|
|
68
|
+
--lightbox-text: #fff
|
|
59
69
|
}
|
|
60
70
|
|
|
61
71
|
body {
|
|
@@ -65,12 +75,13 @@ body {
|
|
|
65
75
|
margin: 0;
|
|
66
76
|
display: flex;
|
|
67
77
|
min-height: 100vh;
|
|
68
|
-
line-height:1.6
|
|
78
|
+
line-height: 1.6
|
|
69
79
|
}
|
|
70
80
|
|
|
71
|
-
code,
|
|
81
|
+
code,
|
|
82
|
+
pre {
|
|
72
83
|
font-family: var(--font-family-mono);
|
|
73
|
-
background-color:var(--code-bg)
|
|
84
|
+
background-color: var(--code-bg)
|
|
74
85
|
}
|
|
75
86
|
|
|
76
87
|
.sidebar {
|
|
@@ -85,7 +96,7 @@ code, pre {
|
|
|
85
96
|
left: 0;
|
|
86
97
|
overflow-y: auto;
|
|
87
98
|
box-sizing: border-box;
|
|
88
|
-
flex-shrink:0
|
|
99
|
+
flex-shrink: 0
|
|
89
100
|
}
|
|
90
101
|
|
|
91
102
|
.sidebar h1 {
|
|
@@ -93,13 +104,13 @@ code, pre {
|
|
|
93
104
|
margin-top: 0;
|
|
94
105
|
margin-bottom: 20px;
|
|
95
106
|
padding-bottom: 10px;
|
|
96
|
-
border-bottom:1px solid var(--border-color)
|
|
107
|
+
border-bottom: 1px solid var(--border-color)
|
|
97
108
|
}
|
|
98
109
|
|
|
99
110
|
.sidebar nav ul {
|
|
100
111
|
list-style: none;
|
|
101
112
|
padding: 0;
|
|
102
|
-
margin:0
|
|
113
|
+
margin: 0
|
|
103
114
|
}
|
|
104
115
|
|
|
105
116
|
.sidebar nav li a {
|
|
@@ -108,25 +119,29 @@ code, pre {
|
|
|
108
119
|
text-decoration: none;
|
|
109
120
|
color: var(--sidebar-text);
|
|
110
121
|
border-radius: 4px;
|
|
111
|
-
transition:background-color .2s
|
|
122
|
+
transition: background-color .2s
|
|
112
123
|
}
|
|
113
124
|
|
|
114
|
-
.copy-code-button:hover,
|
|
115
|
-
|
|
125
|
+
.copy-code-button:hover,
|
|
126
|
+
.docmd-tabs-nav-item:hover,
|
|
127
|
+
.sidebar nav li a.active,
|
|
128
|
+
.sidebar nav li a:hover,
|
|
129
|
+
.theme-toggle-button:hover {
|
|
130
|
+
background-color: var(--sidebar-link-active-bg)
|
|
116
131
|
}
|
|
117
132
|
|
|
118
133
|
.sidebar nav li a.active {
|
|
119
134
|
font-weight: 600;
|
|
120
|
-
color:var(--link-color)
|
|
135
|
+
color: var(--link-color)
|
|
121
136
|
}
|
|
122
137
|
|
|
123
|
-
.sidebar nav li.active-parent
|
|
138
|
+
.sidebar nav li.active-parent>a {
|
|
124
139
|
background-color: var(--sidebar-link-active-parent-bg);
|
|
125
140
|
font-weight: 500;
|
|
126
|
-
position:relative
|
|
141
|
+
position: relative
|
|
127
142
|
}
|
|
128
143
|
|
|
129
|
-
.sidebar nav li.active-parent
|
|
144
|
+
.sidebar nav li.active-parent>a::before {
|
|
130
145
|
content: "";
|
|
131
146
|
position: absolute;
|
|
132
147
|
left: 0;
|
|
@@ -134,16 +149,18 @@ code, pre {
|
|
|
134
149
|
bottom: 0;
|
|
135
150
|
width: 3px;
|
|
136
151
|
background-color: var(--link-color);
|
|
137
|
-
opacity
|
|
152
|
+
opacity: .5
|
|
138
153
|
}
|
|
139
154
|
|
|
140
|
-
.copy-code-button:hover,
|
|
141
|
-
|
|
155
|
+
.copy-code-button:hover,
|
|
156
|
+
.sidebar nav li.active-parent>a.active::before,
|
|
157
|
+
div:hover>.copy-code-button {
|
|
158
|
+
opacity: 1
|
|
142
159
|
}
|
|
143
160
|
|
|
144
161
|
.sidebar nav ul ul {
|
|
145
162
|
padding-left: 20px;
|
|
146
|
-
margin-top:5px
|
|
163
|
+
margin-top: 5px
|
|
147
164
|
}
|
|
148
165
|
|
|
149
166
|
.sidebar-toggle-button {
|
|
@@ -154,30 +171,32 @@ code, pre {
|
|
|
154
171
|
padding: 0;
|
|
155
172
|
margin: .5em 0 0;
|
|
156
173
|
display: none;
|
|
157
|
-
border-radius:4px
|
|
174
|
+
border-radius: 4px
|
|
158
175
|
}
|
|
159
176
|
|
|
160
177
|
.sidebar-toggle-button:hover {
|
|
161
178
|
background-color: var(--sidebar-bg);
|
|
162
|
-
border-color:var(--border-color)
|
|
179
|
+
border-color: var(--border-color)
|
|
163
180
|
}
|
|
164
181
|
|
|
165
182
|
.sidebar-toggle-button .lucide-icon {
|
|
166
183
|
width: 2em;
|
|
167
|
-
height:2em
|
|
184
|
+
height: 2em
|
|
168
185
|
}
|
|
169
186
|
|
|
170
187
|
body.sidebar-collapsed .sidebar {
|
|
171
188
|
transform: translateX(-100%);
|
|
172
|
-
visibility:hidden
|
|
189
|
+
visibility: hidden
|
|
173
190
|
}
|
|
174
191
|
|
|
175
|
-
.toc-level-2,
|
|
176
|
-
|
|
192
|
+
.toc-level-2,
|
|
193
|
+
body.sidebar-collapsed .main-content-wrapper {
|
|
194
|
+
margin-left: 0
|
|
177
195
|
}
|
|
178
196
|
|
|
179
|
-
.main-content-wrapper,
|
|
180
|
-
|
|
197
|
+
.main-content-wrapper,
|
|
198
|
+
.sidebar {
|
|
199
|
+
transition: transform .3s, margin-left .3s, visibility .3s
|
|
181
200
|
}
|
|
182
201
|
|
|
183
202
|
.main-content-wrapper {
|
|
@@ -185,12 +204,13 @@ body.sidebar-collapsed .sidebar {
|
|
|
185
204
|
flex-grow: 1;
|
|
186
205
|
display: flex;
|
|
187
206
|
flex-direction: column;
|
|
188
|
-
overflow:hidden
|
|
207
|
+
overflow: hidden
|
|
189
208
|
}
|
|
190
209
|
|
|
191
|
-
.header-left,
|
|
210
|
+
.header-left,
|
|
211
|
+
.page-header {
|
|
192
212
|
align-items: center;
|
|
193
|
-
display:flex
|
|
213
|
+
display: flex
|
|
194
214
|
}
|
|
195
215
|
|
|
196
216
|
.page-header {
|
|
@@ -198,21 +218,21 @@ body.sidebar-collapsed .sidebar {
|
|
|
198
218
|
border-bottom: 1px solid var(--header-border);
|
|
199
219
|
background-color: var(--header-bg);
|
|
200
220
|
justify-content: space-between;
|
|
201
|
-
min-height:2.5em
|
|
221
|
+
min-height: 2.5em
|
|
202
222
|
}
|
|
203
223
|
|
|
204
224
|
.header-left {
|
|
205
|
-
gap:15px
|
|
225
|
+
gap: 15px
|
|
206
226
|
}
|
|
207
227
|
|
|
208
228
|
.header-right {
|
|
209
229
|
display: flex;
|
|
210
|
-
align-items:center
|
|
230
|
+
align-items: center
|
|
211
231
|
}
|
|
212
232
|
|
|
213
233
|
.page-header h1 {
|
|
214
234
|
margin: 0;
|
|
215
|
-
font-size:1.8em
|
|
235
|
+
font-size: 1.8em
|
|
216
236
|
}
|
|
217
237
|
|
|
218
238
|
.theme-toggle-header {
|
|
@@ -221,16 +241,17 @@ body.sidebar-collapsed .sidebar {
|
|
|
221
241
|
border: 1px solid var(--border-color);
|
|
222
242
|
border-radius: 6px;
|
|
223
243
|
cursor: pointer;
|
|
224
|
-
transition
|
|
244
|
+
transition: .2s
|
|
225
245
|
}
|
|
226
246
|
|
|
227
247
|
.theme-toggle-header:hover {
|
|
228
248
|
background: var(--sidebar-bg);
|
|
229
|
-
border-color:var(--accent-color)
|
|
249
|
+
border-color: var(--accent-color)
|
|
230
250
|
}
|
|
231
251
|
|
|
232
|
-
.card .card-title,
|
|
233
|
-
|
|
252
|
+
.card .card-title,
|
|
253
|
+
.sidebar-header {
|
|
254
|
+
border-bottom: 1px solid var(--border-color)
|
|
234
255
|
}
|
|
235
256
|
|
|
236
257
|
.content-area {
|
|
@@ -238,7 +259,7 @@ body.sidebar-collapsed .sidebar {
|
|
|
238
259
|
max-width: 1200px;
|
|
239
260
|
margin: 0 auto;
|
|
240
261
|
width: 100%;
|
|
241
|
-
box-sizing:border-box
|
|
262
|
+
box-sizing: border-box
|
|
242
263
|
}
|
|
243
264
|
|
|
244
265
|
pre {
|
|
@@ -246,7 +267,7 @@ pre {
|
|
|
246
267
|
padding: 1em;
|
|
247
268
|
border-radius: 4px;
|
|
248
269
|
overflow-x: auto;
|
|
249
|
-
position:relative
|
|
270
|
+
position: relative
|
|
250
271
|
}
|
|
251
272
|
|
|
252
273
|
pre {
|
|
@@ -263,13 +284,13 @@ pre {
|
|
|
263
284
|
code {
|
|
264
285
|
padding: .2em .4em;
|
|
265
286
|
border-radius: 3px;
|
|
266
|
-
font-size
|
|
287
|
+
font-size: .9em
|
|
267
288
|
}
|
|
268
289
|
|
|
269
290
|
pre code {
|
|
270
291
|
background-color: transparent;
|
|
271
292
|
padding: 0;
|
|
272
|
-
font-size:inherit
|
|
293
|
+
font-size: inherit
|
|
273
294
|
}
|
|
274
295
|
|
|
275
296
|
.table-wrapper {
|
|
@@ -311,23 +332,29 @@ tr:last-child td {
|
|
|
311
332
|
padding-bottom: 10px;
|
|
312
333
|
margin-bottom: 10px;
|
|
313
334
|
text-align: center;
|
|
314
|
-
height:2.5em
|
|
335
|
+
height: 2.5em
|
|
315
336
|
}
|
|
316
337
|
|
|
317
338
|
.sidebar-header h1 {
|
|
318
339
|
font-size: 1.5em;
|
|
319
340
|
margin-top: 0;
|
|
320
|
-
margin-bottom:0
|
|
341
|
+
margin-bottom: 0
|
|
321
342
|
}
|
|
322
343
|
|
|
323
344
|
.logo-link img {
|
|
324
345
|
max-height: 40px;
|
|
325
346
|
width: auto;
|
|
326
|
-
margin:0 auto
|
|
347
|
+
margin: 0 auto
|
|
327
348
|
}
|
|
328
349
|
|
|
329
|
-
.docmd-tab-pane,
|
|
330
|
-
|
|
350
|
+
.docmd-tab-pane,
|
|
351
|
+
.logo-link img.logo-dark,
|
|
352
|
+
.tab-panel,
|
|
353
|
+
.theme-toggle-button .icon-moon,
|
|
354
|
+
html[data-theme=dark] .logo-link img.logo-light,
|
|
355
|
+
html[data-theme=dark] .theme-toggle-button .icon-sun,
|
|
356
|
+
.sidebar nav li.collapsible:not([aria-expanded=true])>.submenu {
|
|
357
|
+
display: none
|
|
331
358
|
}
|
|
332
359
|
|
|
333
360
|
.sidebar-nav .lucide-icon {
|
|
@@ -335,7 +362,7 @@ tr:last-child td {
|
|
|
335
362
|
height: 1em;
|
|
336
363
|
margin-right: .5em;
|
|
337
364
|
vertical-align: -.15em;
|
|
338
|
-
stroke-width:2
|
|
365
|
+
stroke-width: 2
|
|
339
366
|
}
|
|
340
367
|
|
|
341
368
|
.sidebar-nav .nav-external-icon {
|
|
@@ -343,7 +370,7 @@ tr:last-child td {
|
|
|
343
370
|
height: 1.5em;
|
|
344
371
|
float: right;
|
|
345
372
|
margin-left: .3em;
|
|
346
|
-
opacity
|
|
373
|
+
opacity: .7
|
|
347
374
|
}
|
|
348
375
|
|
|
349
376
|
.theme-toggle-button {
|
|
@@ -357,21 +384,27 @@ tr:last-child td {
|
|
|
357
384
|
display: flex;
|
|
358
385
|
align-items: center;
|
|
359
386
|
justify-content: center;
|
|
360
|
-
width:100%
|
|
387
|
+
width: 100%
|
|
361
388
|
}
|
|
362
389
|
|
|
363
|
-
.next-page,
|
|
390
|
+
.next-page,
|
|
391
|
+
.prev-page,
|
|
392
|
+
.step::before {
|
|
364
393
|
color: var(--link-color);
|
|
365
|
-
display:flex
|
|
394
|
+
display: flex
|
|
366
395
|
}
|
|
367
396
|
|
|
368
|
-
.callout .callout-content
|
|
369
|
-
|
|
397
|
+
.callout .callout-content> :first-child,
|
|
398
|
+
.card .card-content> :first-child,
|
|
399
|
+
.docmd-container> :first-child,
|
|
400
|
+
.step-content> :first-child,
|
|
401
|
+
.step-title {
|
|
402
|
+
margin-top: 0
|
|
370
403
|
}
|
|
371
404
|
|
|
372
405
|
.theme-toggle-button .lucide-icon {
|
|
373
406
|
width: 1.2em;
|
|
374
|
-
height:1.2em
|
|
407
|
+
height: 1.2em
|
|
375
408
|
}
|
|
376
409
|
|
|
377
410
|
.docmd-container {
|
|
@@ -379,48 +412,52 @@ tr:last-child td {
|
|
|
379
412
|
margin-bottom: 1.5rem;
|
|
380
413
|
border-radius: 6px;
|
|
381
414
|
border: 1px solid var(--border-color);
|
|
382
|
-
background-color:var(--code-bg)
|
|
415
|
+
background-color: var(--code-bg)
|
|
383
416
|
}
|
|
384
417
|
|
|
385
|
-
.callout .callout-content
|
|
386
|
-
|
|
418
|
+
.callout .callout-content> :last-child,
|
|
419
|
+
.card .card-content> :last-child,
|
|
420
|
+
.docmd-container> :last-child,
|
|
421
|
+
.step-content> :last-child {
|
|
422
|
+
margin-bottom: 0
|
|
387
423
|
}
|
|
388
424
|
|
|
389
425
|
.callout {
|
|
390
426
|
border-left-width: 5px;
|
|
391
|
-
background-color:transparent
|
|
427
|
+
background-color: transparent
|
|
392
428
|
}
|
|
393
429
|
|
|
394
430
|
.callout-title {
|
|
395
431
|
font-weight: 700;
|
|
396
|
-
margin-bottom
|
|
432
|
+
margin-bottom: .5em
|
|
397
433
|
}
|
|
398
434
|
|
|
399
435
|
.callout-info {
|
|
400
436
|
border-left-color: #3498db;
|
|
401
|
-
background-color:rgba(52, 152, 219, .07)
|
|
437
|
+
background-color: rgba(52, 152, 219, .07)
|
|
402
438
|
}
|
|
403
439
|
|
|
404
440
|
.callout-warning {
|
|
405
441
|
border-left-color: #f39c12;
|
|
406
|
-
background-color:rgba(243, 156, 18, .07)
|
|
442
|
+
background-color: rgba(243, 156, 18, .07)
|
|
407
443
|
}
|
|
408
444
|
|
|
409
|
-
.callout-success,
|
|
445
|
+
.callout-success,
|
|
446
|
+
.callout-tip {
|
|
410
447
|
border-left-color: #2ecc71;
|
|
411
|
-
background-color:rgba(46, 204, 113, .07)
|
|
448
|
+
background-color: rgba(46, 204, 113, .07)
|
|
412
449
|
}
|
|
413
450
|
|
|
414
451
|
.callout-danger {
|
|
415
452
|
border-left-color: #e74c3c;
|
|
416
|
-
background-color:rgba(231, 76, 60, .07)
|
|
453
|
+
background-color: rgba(231, 76, 60, .07)
|
|
417
454
|
}
|
|
418
455
|
|
|
419
456
|
.card .card-title {
|
|
420
457
|
font-weight: 700;
|
|
421
458
|
font-size: 1.1em;
|
|
422
459
|
margin: -1rem -1.5rem 1rem;
|
|
423
|
-
padding
|
|
460
|
+
padding: .75rem 1.5rem
|
|
424
461
|
}
|
|
425
462
|
|
|
426
463
|
.docmd-container.steps {
|
|
@@ -428,7 +465,7 @@ tr:last-child td {
|
|
|
428
465
|
padding-left: 3rem;
|
|
429
466
|
border: none;
|
|
430
467
|
background: 0 0;
|
|
431
|
-
box-shadow:none
|
|
468
|
+
box-shadow: none
|
|
432
469
|
}
|
|
433
470
|
|
|
434
471
|
.docmd-container.steps::before {
|
|
@@ -438,16 +475,16 @@ tr:last-child td {
|
|
|
438
475
|
bottom: 1rem;
|
|
439
476
|
left: 2.5rem;
|
|
440
477
|
width: 2px;
|
|
441
|
-
background-color:var(--border-color)
|
|
478
|
+
background-color: var(--border-color)
|
|
442
479
|
}
|
|
443
480
|
|
|
444
481
|
.step {
|
|
445
482
|
position: relative;
|
|
446
|
-
padding-bottom:1.5rem
|
|
483
|
+
padding-bottom: 1.5rem
|
|
447
484
|
}
|
|
448
485
|
|
|
449
486
|
.step:last-child {
|
|
450
|
-
padding-bottom:0
|
|
487
|
+
padding-bottom: 0
|
|
451
488
|
}
|
|
452
489
|
|
|
453
490
|
.step::before {
|
|
@@ -464,44 +501,49 @@ tr:last-child td {
|
|
|
464
501
|
justify-content: center;
|
|
465
502
|
font-size: 1rem;
|
|
466
503
|
font-weight: 600;
|
|
467
|
-
z-index:1
|
|
504
|
+
z-index: 1
|
|
468
505
|
}
|
|
469
506
|
|
|
470
507
|
.step-title {
|
|
471
508
|
font-size: 1.25rem;
|
|
472
509
|
font-weight: 600;
|
|
473
|
-
margin-bottom
|
|
510
|
+
margin-bottom: .5rem
|
|
474
511
|
}
|
|
475
512
|
|
|
476
513
|
.docmd-container.steps-reset {
|
|
477
|
-
counter-reset:step-counter 0
|
|
514
|
+
counter-reset: step-counter 0
|
|
478
515
|
}
|
|
479
516
|
|
|
480
517
|
.docmd-container.steps-reset ol.steps-list {
|
|
481
518
|
counter-reset: list-counter 0;
|
|
482
|
-
list-style:none
|
|
519
|
+
list-style: none
|
|
483
520
|
}
|
|
484
521
|
|
|
485
|
-
.docmd-container.steps-reset ol.steps-list
|
|
522
|
+
.docmd-container.steps-reset ol.steps-list>li.step-item {
|
|
486
523
|
counter-increment: list-counter 1;
|
|
487
524
|
position: relative;
|
|
488
525
|
padding-left: 0;
|
|
489
|
-
margin-bottom:2.5rem
|
|
526
|
+
margin-bottom: 2.5rem
|
|
490
527
|
}
|
|
491
528
|
|
|
492
|
-
.docmd-container.steps-reset ol.steps-list
|
|
493
|
-
font-size:2rem
|
|
529
|
+
.docmd-container.steps-reset ol.steps-list>li.step-item::before {
|
|
530
|
+
font-size: 2rem
|
|
494
531
|
}
|
|
495
532
|
|
|
496
|
-
.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list,
|
|
497
|
-
|
|
533
|
+
.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list,
|
|
534
|
+
.docmd-container.steps-reset ol.steps-list[start] {
|
|
535
|
+
counter-reset: list-counter 0
|
|
498
536
|
}
|
|
499
537
|
|
|
500
|
-
.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list
|
|
501
|
-
|
|
538
|
+
.docmd-container.steps-reset .docmd-container.steps-reset ol.steps-list>li.step-item,
|
|
539
|
+
.docmd-container.steps-reset ol.steps-list[start]>li.step-item {
|
|
540
|
+
counter-increment: list-counter 1
|
|
502
541
|
}
|
|
503
542
|
|
|
504
|
-
.docmd-container.steps-reset ol:not(.steps-list)::before,
|
|
543
|
+
.docmd-container.steps-reset ol:not(.steps-list)::before,
|
|
544
|
+
.docmd-container.steps-reset ol:not(.steps-list)>li::before,
|
|
545
|
+
.docmd-container.steps-reset ul::before,
|
|
546
|
+
.docmd-container.steps-reset ul>li::before {
|
|
505
547
|
width: .75rem;
|
|
506
548
|
height: .75rem;
|
|
507
549
|
left: -1.5rem;
|
|
@@ -512,13 +554,13 @@ tr:last-child td {
|
|
|
512
554
|
.mermaid-container {
|
|
513
555
|
margin: 1.5rem 0;
|
|
514
556
|
overflow-x: auto;
|
|
515
|
-
text-align:center
|
|
557
|
+
text-align: center
|
|
516
558
|
}
|
|
517
559
|
|
|
518
560
|
.mermaid-container svg {
|
|
519
561
|
max-width: 100%;
|
|
520
562
|
height: auto;
|
|
521
|
-
display:inline-block
|
|
563
|
+
display: inline-block
|
|
522
564
|
}
|
|
523
565
|
|
|
524
566
|
.mermaid-error {
|
|
@@ -528,7 +570,7 @@ tr:last-child td {
|
|
|
528
570
|
background-color: rgba(231, 76, 60, .07);
|
|
529
571
|
border-left: 4px solid #e74c3c;
|
|
530
572
|
border-radius: 4px;
|
|
531
|
-
font-size
|
|
573
|
+
font-size: .9rem
|
|
532
574
|
}
|
|
533
575
|
|
|
534
576
|
pre.mermaid {
|
|
@@ -541,188 +583,200 @@ pre.mermaid {
|
|
|
541
583
|
|
|
542
584
|
/* --- Collapsible (Accordion) Container --- */
|
|
543
585
|
.docmd-container.collapsible {
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
586
|
+
padding: 0;
|
|
587
|
+
background-color: var(--card-bg, var(--bg-color));
|
|
588
|
+
border: 1px solid var(--border-color);
|
|
589
|
+
border-radius: 8px;
|
|
590
|
+
overflow: hidden;
|
|
591
|
+
margin-bottom: 1.5rem;
|
|
592
|
+
transition: border-color 0.2s;
|
|
551
593
|
}
|
|
552
594
|
|
|
553
595
|
.docmd-container.collapsible[open] {
|
|
554
|
-
|
|
596
|
+
border-color: var(--link-color);
|
|
555
597
|
}
|
|
556
598
|
|
|
557
599
|
.collapsible-summary {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
600
|
+
list-style: none;
|
|
601
|
+
padding: 0.75rem 1.25rem;
|
|
602
|
+
cursor: pointer;
|
|
603
|
+
display: flex;
|
|
604
|
+
align-items: center;
|
|
605
|
+
justify-content: space-between;
|
|
606
|
+
font-weight: 600;
|
|
607
|
+
background-color: var(--sidebar-bg);
|
|
608
|
+
user-select: none;
|
|
609
|
+
transition: background-color 0.2s;
|
|
568
610
|
}
|
|
569
611
|
|
|
570
612
|
.collapsible-summary:hover {
|
|
571
|
-
|
|
613
|
+
background-color: var(--sidebar-link-active-bg);
|
|
572
614
|
}
|
|
573
615
|
|
|
574
|
-
.collapsible-summary::-webkit-details-marker {
|
|
616
|
+
.collapsible-summary::-webkit-details-marker {
|
|
617
|
+
display: none;
|
|
618
|
+
}
|
|
575
619
|
|
|
576
620
|
.collapsible-arrow svg {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
621
|
+
width: 1.2em;
|
|
622
|
+
height: 1.2em;
|
|
623
|
+
transition: transform 0.2s ease;
|
|
624
|
+
opacity: 0.7;
|
|
581
625
|
}
|
|
582
626
|
|
|
583
|
-
details[open]
|
|
584
|
-
|
|
627
|
+
details[open]>.collapsible-summary .collapsible-arrow svg {
|
|
628
|
+
transform: rotate(180deg);
|
|
585
629
|
}
|
|
586
630
|
|
|
587
631
|
.collapsible-content {
|
|
588
|
-
|
|
589
|
-
|
|
632
|
+
padding: 1rem 1.25rem;
|
|
633
|
+
border-top: 1px solid var(--border-color);
|
|
590
634
|
}
|
|
591
635
|
|
|
592
636
|
/* --- Changelog Timeline (Mintlify Style) --- */
|
|
593
637
|
.docmd-container.changelog-timeline {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
638
|
+
border: none;
|
|
639
|
+
background: transparent;
|
|
640
|
+
padding: 0;
|
|
641
|
+
margin-top: 2rem;
|
|
642
|
+
box-shadow: none;
|
|
643
|
+
/* Remove default container shadow */
|
|
599
644
|
}
|
|
600
645
|
|
|
601
646
|
.changelog-entry {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
647
|
+
display: grid;
|
|
648
|
+
grid-template-columns: 180px 1fr;
|
|
649
|
+
/* Date width | Content width */
|
|
650
|
+
gap: 2rem;
|
|
651
|
+
margin-bottom: 3rem;
|
|
652
|
+
position: relative;
|
|
607
653
|
}
|
|
608
654
|
|
|
609
655
|
.changelog-meta {
|
|
610
|
-
|
|
611
|
-
|
|
656
|
+
text-align: right;
|
|
657
|
+
padding-top: 0.5rem;
|
|
612
658
|
}
|
|
613
659
|
|
|
614
660
|
.changelog-date {
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
661
|
+
display: inline-block;
|
|
662
|
+
background-color: var(--sidebar-bg);
|
|
663
|
+
color: var(--accent-color, var(--link-color));
|
|
664
|
+
border: 1px solid var(--border-color);
|
|
665
|
+
padding: 4px 12px;
|
|
666
|
+
border-radius: 20px;
|
|
667
|
+
font-size: 0.85rem;
|
|
668
|
+
font-weight: 600;
|
|
669
|
+
font-family: var(--font-family-mono);
|
|
624
670
|
}
|
|
625
671
|
|
|
626
672
|
.changelog-body {
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
673
|
+
border-left: 2px solid var(--border-color);
|
|
674
|
+
padding-left: 2rem;
|
|
675
|
+
padding-bottom: 1rem;
|
|
630
676
|
}
|
|
631
677
|
|
|
632
678
|
/* Reset top margin for the first element in the body */
|
|
633
|
-
.changelog-body
|
|
634
|
-
|
|
679
|
+
.changelog-body> :first-child {
|
|
680
|
+
margin-top: 0;
|
|
635
681
|
}
|
|
636
682
|
|
|
637
683
|
:focus-visible {
|
|
638
684
|
outline: 2px solid var(--link-color);
|
|
639
|
-
outline-offset:2px
|
|
685
|
+
outline-offset: 2px
|
|
640
686
|
}
|
|
641
687
|
|
|
642
688
|
:focus:not(:focus-visible) {
|
|
643
|
-
outline:currentcolor
|
|
689
|
+
outline: currentcolor
|
|
644
690
|
}
|
|
645
691
|
|
|
646
692
|
.sidebar nav li a:focus-visible {
|
|
647
693
|
background-color: var(--sidebar-link-active-bg);
|
|
648
694
|
outline: 2px solid var(--link-color);
|
|
649
|
-
outline-offset
|
|
695
|
+
outline-offset: -2px
|
|
650
696
|
}
|
|
651
697
|
|
|
652
698
|
.theme-toggle-button:focus-visible {
|
|
653
699
|
border-color: var(--link-color);
|
|
654
|
-
box-shadow:0 0 0 2px var(--link-color)
|
|
700
|
+
box-shadow: 0 0 0 2px var(--link-color)
|
|
655
701
|
}
|
|
656
702
|
|
|
657
|
-
.page-footer,
|
|
658
|
-
|
|
703
|
+
.page-footer,
|
|
704
|
+
.page-navigation {
|
|
705
|
+
border-top: 1px solid var(--border-color)
|
|
659
706
|
}
|
|
660
707
|
|
|
661
708
|
.page-navigation {
|
|
662
709
|
display: flex;
|
|
663
710
|
justify-content: space-between;
|
|
664
711
|
margin-top: 3rem;
|
|
665
|
-
padding-top:1.5rem
|
|
712
|
+
padding-top: 1.5rem
|
|
666
713
|
}
|
|
667
714
|
|
|
668
|
-
.next-page,
|
|
715
|
+
.next-page,
|
|
716
|
+
.prev-page {
|
|
669
717
|
align-items: center;
|
|
670
718
|
text-decoration: none;
|
|
671
719
|
padding: .75rem;
|
|
672
720
|
border-radius: 6px;
|
|
673
721
|
transition: background-color .2s;
|
|
674
722
|
width: 48%;
|
|
675
|
-
max-width:48%
|
|
723
|
+
max-width: 48%
|
|
676
724
|
}
|
|
677
725
|
|
|
678
|
-
.next-page:hover,
|
|
726
|
+
.next-page:hover,
|
|
727
|
+
.prev-page:hover {
|
|
679
728
|
background-color: rgba(0, 0, 0, .05);
|
|
680
|
-
text-decoration:none
|
|
729
|
+
text-decoration: none
|
|
681
730
|
}
|
|
682
731
|
|
|
683
|
-
[data-theme=dark] .next-page:hover,
|
|
684
|
-
|
|
732
|
+
[data-theme=dark] .next-page:hover,
|
|
733
|
+
[data-theme=dark] .prev-page:hover {
|
|
734
|
+
background-color: rgba(255, 255, 255, .05)
|
|
685
735
|
}
|
|
686
736
|
|
|
687
737
|
.prev-page {
|
|
688
|
-
justify-content:flex-start
|
|
738
|
+
justify-content: flex-start
|
|
689
739
|
}
|
|
690
740
|
|
|
691
741
|
.next-page {
|
|
692
742
|
justify-content: flex-end;
|
|
693
|
-
text-align:right
|
|
743
|
+
text-align: right
|
|
694
744
|
}
|
|
695
745
|
|
|
696
|
-
.next-page-placeholder,
|
|
697
|
-
|
|
746
|
+
.next-page-placeholder,
|
|
747
|
+
.prev-page-placeholder {
|
|
748
|
+
width: 48%
|
|
698
749
|
}
|
|
699
750
|
|
|
700
|
-
.next-page span,
|
|
751
|
+
.next-page span,
|
|
752
|
+
.prev-page span {
|
|
701
753
|
display: flex;
|
|
702
|
-
flex-direction:column
|
|
754
|
+
flex-direction: column
|
|
703
755
|
}
|
|
704
756
|
|
|
705
|
-
.next-page small,
|
|
757
|
+
.next-page small,
|
|
758
|
+
.prev-page small {
|
|
706
759
|
font-size: .8rem;
|
|
707
760
|
opacity: .8;
|
|
708
|
-
margin-bottom
|
|
761
|
+
margin-bottom: .25rem
|
|
709
762
|
}
|
|
710
763
|
|
|
711
|
-
.next-page strong,
|
|
712
|
-
|
|
764
|
+
.next-page strong,
|
|
765
|
+
.prev-page strong {
|
|
766
|
+
font-weight: 500
|
|
713
767
|
}
|
|
714
768
|
|
|
715
769
|
.page-nav-icon {
|
|
716
770
|
width: 1.2rem;
|
|
717
|
-
height:1.2rem
|
|
771
|
+
height: 1.2rem
|
|
718
772
|
}
|
|
719
773
|
|
|
720
774
|
.prev-page .page-nav-icon {
|
|
721
|
-
margin-right
|
|
775
|
+
margin-right: .75rem
|
|
722
776
|
}
|
|
723
777
|
|
|
724
778
|
.next-page .page-nav-icon {
|
|
725
|
-
margin-left
|
|
779
|
+
margin-left: .75rem
|
|
726
780
|
}
|
|
727
781
|
|
|
728
782
|
.page-footer {
|
|
@@ -731,7 +785,7 @@ details[open] > .collapsible-summary .collapsible-arrow svg {
|
|
|
731
785
|
margin-top: auto;
|
|
732
786
|
font-size: .9em;
|
|
733
787
|
color: var(--text-color);
|
|
734
|
-
background-color:var(--sidebar-bg)
|
|
788
|
+
background-color: var(--sidebar-bg)
|
|
735
789
|
}
|
|
736
790
|
|
|
737
791
|
.footer-content {
|
|
@@ -739,70 +793,72 @@ details[open] > .collapsible-summary .collapsible-arrow svg {
|
|
|
739
793
|
justify-content: space-between;
|
|
740
794
|
align-items: center;
|
|
741
795
|
margin: 0 auto;
|
|
742
|
-
width:100%
|
|
796
|
+
width: 100%
|
|
743
797
|
}
|
|
744
798
|
|
|
745
799
|
.user-footer {
|
|
746
|
-
text-align:left
|
|
800
|
+
text-align: left
|
|
747
801
|
}
|
|
748
802
|
|
|
749
803
|
.branding-footer {
|
|
750
804
|
text-align: right;
|
|
751
805
|
opacity: .9;
|
|
752
|
-
font-weight:500
|
|
806
|
+
font-weight: 500
|
|
753
807
|
}
|
|
754
808
|
|
|
755
809
|
.branding-footer svg {
|
|
756
|
-
color
|
|
810
|
+
color: #fb3a3a
|
|
757
811
|
}
|
|
758
812
|
|
|
759
813
|
.page-footer a {
|
|
760
814
|
color: var(--link-color);
|
|
761
|
-
text-decoration:none
|
|
815
|
+
text-decoration: none
|
|
762
816
|
}
|
|
763
817
|
|
|
764
|
-
.page-footer a:hover,
|
|
765
|
-
|
|
818
|
+
.page-footer a:hover,
|
|
819
|
+
.toc-link:hover {
|
|
820
|
+
text-decoration: underline
|
|
766
821
|
}
|
|
767
822
|
|
|
768
823
|
.content-layout {
|
|
769
824
|
display: flex;
|
|
770
825
|
gap: 2rem;
|
|
771
|
-
width:100%
|
|
826
|
+
width: 100%
|
|
772
827
|
}
|
|
773
828
|
|
|
774
829
|
.main-content {
|
|
775
830
|
flex: 1 1 0%;
|
|
776
|
-
min-inline-size:0px
|
|
831
|
+
min-inline-size: 0px
|
|
777
832
|
}
|
|
778
833
|
|
|
779
834
|
.toc-container {
|
|
780
835
|
margin: 0;
|
|
781
836
|
padding: 0;
|
|
782
837
|
border: none;
|
|
783
|
-
background-color:transparent
|
|
838
|
+
background-color: transparent
|
|
784
839
|
}
|
|
785
840
|
|
|
786
|
-
.docmd-container figure img,
|
|
787
|
-
|
|
841
|
+
.docmd-container figure img,
|
|
842
|
+
.toc-title {
|
|
843
|
+
margin-bottom: .5rem
|
|
788
844
|
}
|
|
789
845
|
|
|
790
846
|
.toc-title {
|
|
791
847
|
margin-top: 0;
|
|
792
848
|
font-size: 1rem;
|
|
793
849
|
font-weight: 700;
|
|
794
|
-
color:var(--text-muted)
|
|
850
|
+
color: var(--text-muted)
|
|
795
851
|
}
|
|
796
852
|
|
|
797
853
|
.toc-list {
|
|
798
854
|
list-style: none;
|
|
799
855
|
padding-left: 0;
|
|
800
|
-
margin:0
|
|
856
|
+
margin: 0
|
|
801
857
|
}
|
|
802
858
|
|
|
803
859
|
.toc-item {
|
|
804
860
|
margin-bottom: .25rem;
|
|
805
|
-
line-height:1.4
|
|
861
|
+
line-height: 1.4
|
|
806
862
|
}
|
|
807
863
|
|
|
808
864
|
.toc-link {
|
|
@@ -811,17 +867,17 @@ details[open] > .collapsible-summary .collapsible-arrow svg {
|
|
|
811
867
|
display: inline-block;
|
|
812
868
|
padding: .1rem 0;
|
|
813
869
|
font-size: .9rem;
|
|
814
|
-
font-weight:500
|
|
870
|
+
font-weight: 500
|
|
815
871
|
}
|
|
816
872
|
|
|
817
873
|
.toc-level-3 {
|
|
818
874
|
margin-left: .75rem;
|
|
819
|
-
font-size
|
|
875
|
+
font-size: .85rem
|
|
820
876
|
}
|
|
821
877
|
|
|
822
878
|
.toc-level-4 {
|
|
823
879
|
margin-left: 1.5rem;
|
|
824
|
-
font-size
|
|
880
|
+
font-size: .8rem
|
|
825
881
|
}
|
|
826
882
|
|
|
827
883
|
.toc-sidebar {
|
|
@@ -830,71 +886,59 @@ details[open] > .collapsible-summary .collapsible-arrow svg {
|
|
|
830
886
|
top: 2rem;
|
|
831
887
|
max-height: calc(-4rem + 100vh);
|
|
832
888
|
overflow-y: auto;
|
|
833
|
-
align-self:flex-start
|
|
889
|
+
align-self: flex-start
|
|
834
890
|
}
|
|
835
891
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
flex-direction:column-reverse
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
.toc-sidebar {
|
|
843
|
-
width: 100%;
|
|
844
|
-
position: static;
|
|
845
|
-
margin-bottom:1rem
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
.docmd-tabs, img {
|
|
850
|
-
margin:1.5rem 0
|
|
892
|
+
.docmd-tabs,
|
|
893
|
+
img {
|
|
894
|
+
margin: 1.5rem 0
|
|
851
895
|
}
|
|
852
896
|
|
|
853
897
|
img {
|
|
854
898
|
max-width: 100%;
|
|
855
|
-
height:auto
|
|
899
|
+
height: auto
|
|
856
900
|
}
|
|
857
901
|
|
|
858
902
|
img.align-left {
|
|
859
903
|
float: left;
|
|
860
904
|
margin-right: 1.5rem;
|
|
861
|
-
margin-bottom:1rem
|
|
905
|
+
margin-bottom: 1rem
|
|
862
906
|
}
|
|
863
907
|
|
|
864
908
|
img.align-center {
|
|
865
909
|
margin-left: auto;
|
|
866
|
-
margin-right:auto
|
|
910
|
+
margin-right: auto
|
|
867
911
|
}
|
|
868
912
|
|
|
869
913
|
img.align-right {
|
|
870
914
|
float: right;
|
|
871
915
|
margin-left: 1.5rem;
|
|
872
|
-
margin-bottom:1rem
|
|
916
|
+
margin-bottom: 1rem
|
|
873
917
|
}
|
|
874
918
|
|
|
875
919
|
img.size-small {
|
|
876
|
-
max-width:300px
|
|
920
|
+
max-width: 300px
|
|
877
921
|
}
|
|
878
922
|
|
|
879
923
|
img.size-medium {
|
|
880
|
-
max-width:500px
|
|
924
|
+
max-width: 500px
|
|
881
925
|
}
|
|
882
926
|
|
|
883
927
|
img.size-large {
|
|
884
|
-
max-width:800px
|
|
928
|
+
max-width: 800px
|
|
885
929
|
}
|
|
886
930
|
|
|
887
931
|
img.with-border {
|
|
888
932
|
border: 1px solid var(--image-border-color);
|
|
889
|
-
padding:4px
|
|
933
|
+
padding: 4px
|
|
890
934
|
}
|
|
891
935
|
|
|
892
936
|
img.with-shadow {
|
|
893
|
-
box-shadow:var(--image-shadow)
|
|
937
|
+
box-shadow: var(--image-shadow)
|
|
894
938
|
}
|
|
895
939
|
|
|
896
940
|
.docmd-container figure {
|
|
897
|
-
margin:2rem 0
|
|
941
|
+
margin: 2rem 0
|
|
898
942
|
}
|
|
899
943
|
|
|
900
944
|
.docmd-container figcaption {
|
|
@@ -903,38 +947,38 @@ img.with-shadow {
|
|
|
903
947
|
text-align: center;
|
|
904
948
|
padding: .5rem;
|
|
905
949
|
background-color: var(--image-caption-bg);
|
|
906
|
-
border-radius:0 0 4px 4px
|
|
950
|
+
border-radius: 0 0 4px 4px
|
|
907
951
|
}
|
|
908
952
|
|
|
909
953
|
.docmd-container .image-gallery {
|
|
910
954
|
display: grid;
|
|
911
955
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
912
956
|
gap: 1rem;
|
|
913
|
-
margin:2rem 0
|
|
957
|
+
margin: 2rem 0
|
|
914
958
|
}
|
|
915
959
|
|
|
916
960
|
.docmd-container .image-gallery figure {
|
|
917
|
-
margin:0
|
|
961
|
+
margin: 0
|
|
918
962
|
}
|
|
919
963
|
|
|
920
964
|
.docmd-container .clear-float::after {
|
|
921
965
|
content: "";
|
|
922
966
|
display: table;
|
|
923
|
-
clear:both
|
|
967
|
+
clear: both
|
|
924
968
|
}
|
|
925
969
|
|
|
926
970
|
.docmd-tabs {
|
|
927
971
|
border: 1px solid var(--border-color);
|
|
928
972
|
border-radius: 6px;
|
|
929
973
|
overflow: hidden;
|
|
930
|
-
box-shadow:rgba(0, 0, 0, .05) 0 1px 3px
|
|
974
|
+
box-shadow: rgba(0, 0, 0, .05) 0 1px 3px
|
|
931
975
|
}
|
|
932
976
|
|
|
933
977
|
.docmd-tabs-nav {
|
|
934
978
|
display: flex;
|
|
935
979
|
background-color: var(--sidebar-bg);
|
|
936
980
|
border-bottom: 1px solid var(--border-color);
|
|
937
|
-
overflow:auto hidden
|
|
981
|
+
overflow: auto hidden
|
|
938
982
|
}
|
|
939
983
|
|
|
940
984
|
.docmd-tabs-nav-item {
|
|
@@ -944,30 +988,30 @@ img.with-shadow {
|
|
|
944
988
|
margin-bottom: -1px;
|
|
945
989
|
font-weight: 500;
|
|
946
990
|
color: var(--sidebar-text);
|
|
947
|
-
white-space:nowrap
|
|
991
|
+
white-space: nowrap
|
|
948
992
|
}
|
|
949
993
|
|
|
950
994
|
.docmd-tabs-nav-item.active {
|
|
951
995
|
color: var(--link-color);
|
|
952
996
|
border-bottom-color: var(--link-color);
|
|
953
|
-
background-color:var(--bg-color)
|
|
997
|
+
background-color: var(--bg-color)
|
|
954
998
|
}
|
|
955
999
|
|
|
956
1000
|
.docmd-tabs-content {
|
|
957
|
-
padding:1.5rem
|
|
1001
|
+
padding: 1.5rem
|
|
958
1002
|
}
|
|
959
1003
|
|
|
960
1004
|
.tabs-container {
|
|
961
1005
|
margin: 1rem 0;
|
|
962
1006
|
border: 1px solid #e1e5e9;
|
|
963
|
-
border-radius
|
|
1007
|
+
border-radius: .375rem
|
|
964
1008
|
}
|
|
965
1009
|
|
|
966
1010
|
.tab-navigation {
|
|
967
1011
|
display: flex;
|
|
968
1012
|
background-color: #f8f9fa;
|
|
969
1013
|
border-bottom: 1px solid #e1e5e9;
|
|
970
|
-
border-radius
|
|
1014
|
+
border-radius: .375rem .375rem 0 0
|
|
971
1015
|
}
|
|
972
1016
|
|
|
973
1017
|
.tab-button {
|
|
@@ -978,20 +1022,20 @@ img.with-shadow {
|
|
|
978
1022
|
border-image: none;
|
|
979
1023
|
background: 0 0;
|
|
980
1024
|
cursor: pointer;
|
|
981
|
-
transition
|
|
1025
|
+
transition: .2s
|
|
982
1026
|
}
|
|
983
1027
|
|
|
984
1028
|
.tab-button:hover {
|
|
985
|
-
background-color
|
|
1029
|
+
background-color: #e9ecef
|
|
986
1030
|
}
|
|
987
1031
|
|
|
988
1032
|
.tab-button.active {
|
|
989
1033
|
border-bottom-color: #007bff;
|
|
990
|
-
background-color
|
|
1034
|
+
background-color: #fff
|
|
991
1035
|
}
|
|
992
1036
|
|
|
993
1037
|
.tab-content {
|
|
994
|
-
padding:1rem
|
|
1038
|
+
padding: 1rem
|
|
995
1039
|
}
|
|
996
1040
|
|
|
997
1041
|
.docmd-lightbox {
|
|
@@ -1005,19 +1049,20 @@ img.with-shadow {
|
|
|
1005
1049
|
z-index: 9999;
|
|
1006
1050
|
justify-content: center;
|
|
1007
1051
|
align-items: center;
|
|
1008
|
-
flex-direction:column
|
|
1052
|
+
flex-direction: column
|
|
1009
1053
|
}
|
|
1010
1054
|
|
|
1011
|
-
.copy-code-button svg,
|
|
1055
|
+
.copy-code-button svg,
|
|
1056
|
+
.sponsor-icon {
|
|
1012
1057
|
width: 1rem;
|
|
1013
|
-
height:1rem
|
|
1058
|
+
height: 1rem
|
|
1014
1059
|
}
|
|
1015
1060
|
|
|
1016
1061
|
.docmd-lightbox-content {
|
|
1017
1062
|
position: relative;
|
|
1018
1063
|
max-width: 90%;
|
|
1019
1064
|
max-height: 90%;
|
|
1020
|
-
text-align:center
|
|
1065
|
+
text-align: center
|
|
1021
1066
|
}
|
|
1022
1067
|
|
|
1023
1068
|
.docmd-lightbox-content img {
|
|
@@ -1025,14 +1070,14 @@ img.with-shadow {
|
|
|
1025
1070
|
max-height: 80vh;
|
|
1026
1071
|
object-fit: contain;
|
|
1027
1072
|
margin: 0 auto;
|
|
1028
|
-
box-shadow:rgba(0, 0, 0, .3) 0 0 20px
|
|
1073
|
+
box-shadow: rgba(0, 0, 0, .3) 0 0 20px
|
|
1029
1074
|
}
|
|
1030
1075
|
|
|
1031
1076
|
.docmd-lightbox-caption {
|
|
1032
1077
|
color: var(--lightbox-text);
|
|
1033
1078
|
padding: 1rem;
|
|
1034
1079
|
font-size: 1rem;
|
|
1035
|
-
max-width:100%
|
|
1080
|
+
max-width: 100%
|
|
1036
1081
|
}
|
|
1037
1082
|
|
|
1038
1083
|
.docmd-lightbox-close {
|
|
@@ -1042,20 +1087,23 @@ img.with-shadow {
|
|
|
1042
1087
|
color: var(--lightbox-text);
|
|
1043
1088
|
font-size: 2.5rem;
|
|
1044
1089
|
cursor: pointer;
|
|
1045
|
-
z-index:10000
|
|
1090
|
+
z-index: 10000
|
|
1046
1091
|
}
|
|
1047
1092
|
|
|
1048
1093
|
.docmd-lightbox-close:hover {
|
|
1049
|
-
color
|
|
1094
|
+
color: #ddd
|
|
1050
1095
|
}
|
|
1051
1096
|
|
|
1052
|
-
.docmd-button,
|
|
1097
|
+
.docmd-button,
|
|
1098
|
+
.sponsor-link,
|
|
1099
|
+
.sponsor-link:hover {
|
|
1053
1100
|
color: #fff;
|
|
1054
|
-
text-decoration:none
|
|
1101
|
+
text-decoration: none
|
|
1055
1102
|
}
|
|
1056
1103
|
|
|
1057
|
-
.docmd-container .image-gallery img,
|
|
1058
|
-
|
|
1104
|
+
.docmd-container .image-gallery img,
|
|
1105
|
+
img.lightbox {
|
|
1106
|
+
cursor: zoom-in
|
|
1059
1107
|
}
|
|
1060
1108
|
|
|
1061
1109
|
.docmd-button {
|
|
@@ -1067,13 +1115,13 @@ img.with-shadow {
|
|
|
1067
1115
|
font-weight: 500;
|
|
1068
1116
|
transition: background-color .2s, transform .2s;
|
|
1069
1117
|
border: none;
|
|
1070
|
-
cursor:pointer
|
|
1118
|
+
cursor: pointer
|
|
1071
1119
|
}
|
|
1072
1120
|
|
|
1073
1121
|
.docmd-button:hover {
|
|
1074
1122
|
text-decoration: none;
|
|
1075
1123
|
filter: brightness(90%);
|
|
1076
|
-
transform:translateY(-1px)
|
|
1124
|
+
transform: translateY(-1px)
|
|
1077
1125
|
}
|
|
1078
1126
|
|
|
1079
1127
|
.sponsor-ribbon {
|
|
@@ -1084,11 +1132,11 @@ img.with-shadow {
|
|
|
1084
1132
|
transform: rotate(0);
|
|
1085
1133
|
transform-origin: center center;
|
|
1086
1134
|
opacity: .75;
|
|
1087
|
-
transition
|
|
1135
|
+
transition: .5s
|
|
1088
1136
|
}
|
|
1089
1137
|
|
|
1090
1138
|
.sponsor-ribbon:hover {
|
|
1091
|
-
opacity:1
|
|
1139
|
+
opacity: 1
|
|
1092
1140
|
}
|
|
1093
1141
|
|
|
1094
1142
|
.sponsor-link {
|
|
@@ -1102,35 +1150,137 @@ img.with-shadow {
|
|
|
1102
1150
|
font-weight: 600;
|
|
1103
1151
|
font-size: .875rem;
|
|
1104
1152
|
transition: .3s;
|
|
1105
|
-
white-space:nowrap
|
|
1153
|
+
white-space: nowrap
|
|
1106
1154
|
}
|
|
1107
1155
|
|
|
1108
1156
|
.sponsor-link:hover {
|
|
1109
1157
|
transform: scale(1.02);
|
|
1110
|
-
box-shadow:rgba(255, 107, 107, .4) 0 6px 20px
|
|
1158
|
+
box-shadow: rgba(255, 107, 107, .4) 0 6px 20px
|
|
1111
1159
|
}
|
|
1112
1160
|
|
|
1113
1161
|
.sponsor-icon {
|
|
1114
|
-
animation:2s ease-in-out infinite heartbeat
|
|
1162
|
+
animation: 2s ease-in-out infinite heartbeat
|
|
1115
1163
|
}
|
|
1116
1164
|
|
|
1117
1165
|
.sponsor-text {
|
|
1118
|
-
font-family:inherit
|
|
1166
|
+
font-family: inherit
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
html[data-theme=dark] .sponsor-link {
|
|
1170
|
+
background: linear-gradient(135deg, #ff6b6b, #c44569);
|
|
1171
|
+
box-shadow: rgba(255, 107, 107, .2) 0 4px 12px
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
html[data-theme=dark] .sponsor-link:hover {
|
|
1175
|
+
box-shadow: rgba(255, 107, 107, .3) 0 6px 20px
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.copy-code-button {
|
|
1179
|
+
position: absolute;
|
|
1180
|
+
top: .75rem;
|
|
1181
|
+
right: .75rem;
|
|
1182
|
+
padding: .5rem;
|
|
1183
|
+
background-color: var(--code-bg);
|
|
1184
|
+
border: 1px solid var(--border-color);
|
|
1185
|
+
border-radius: 6px;
|
|
1186
|
+
cursor: pointer;
|
|
1187
|
+
opacity: 0;
|
|
1188
|
+
transition: opacity .2s ease-in-out, background-color .2s;
|
|
1189
|
+
color: var(--sidebar-text);
|
|
1190
|
+
display: flex;
|
|
1191
|
+
align-items: center;
|
|
1192
|
+
justify-content: center;
|
|
1193
|
+
z-index: 10;
|
|
1194
|
+
pointer-events: auto
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.copy-code-button.copied {
|
|
1198
|
+
color: #10b981;
|
|
1199
|
+
opacity: 1
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.sidebar nav li.collapsible>a {
|
|
1203
|
+
display: flex;
|
|
1204
|
+
justify-content: space-between;
|
|
1205
|
+
align-items: center
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.sidebar nav li.collapsible>a .nav-item-title {
|
|
1209
|
+
flex-grow: 1
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.sidebar nav .collapse-icon {
|
|
1213
|
+
transition: transform .2s ease-in-out;
|
|
1214
|
+
flex-shrink: 0;
|
|
1215
|
+
margin-left: .5em
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.sidebar nav li.collapsible[aria-expanded=true]>a>.collapse-icon {
|
|
1219
|
+
transform: rotate(90deg)
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
hr {
|
|
1223
|
+
color: rgba(245, 245, 245, .27);
|
|
1224
|
+
border-top-width: 1px
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
.page-footer-actions {
|
|
1228
|
+
margin-top: 3rem;
|
|
1229
|
+
padding-top: 1.5rem;
|
|
1230
|
+
border-top: 1px solid var(--border-color);
|
|
1231
|
+
display: flex;
|
|
1232
|
+
justify-content: flex-end;
|
|
1233
|
+
/* Align to right */
|
|
1234
|
+
gap: 1rem;
|
|
1235
|
+
font-size: 0.875rem;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.edit-link {
|
|
1239
|
+
display: inline-flex;
|
|
1240
|
+
align-items: center;
|
|
1241
|
+
gap: 0.5rem;
|
|
1242
|
+
color: var(--text-light);
|
|
1243
|
+
text-decoration: none;
|
|
1244
|
+
transition: color 0.2s;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.edit-link:hover {
|
|
1248
|
+
color: var(--link-color);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.edit-link svg {
|
|
1252
|
+
width: 1em;
|
|
1253
|
+
height: 1em;
|
|
1119
1254
|
}
|
|
1120
1255
|
|
|
1121
1256
|
@keyframes heartbeat {
|
|
1122
|
-
|
|
1123
|
-
|
|
1257
|
+
|
|
1258
|
+
0%,
|
|
1259
|
+
100% {
|
|
1260
|
+
transform: scale(1)
|
|
1124
1261
|
}
|
|
1125
1262
|
|
|
1126
1263
|
50% {
|
|
1127
|
-
transform:scale(1.1)
|
|
1264
|
+
transform: scale(1.1)
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
@media (max-width: 1024px) {
|
|
1269
|
+
.content-layout {
|
|
1270
|
+
display: flex;
|
|
1271
|
+
flex-direction: column-reverse
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.toc-sidebar {
|
|
1275
|
+
width: 100%;
|
|
1276
|
+
position: static;
|
|
1277
|
+
margin-bottom: 1rem
|
|
1128
1278
|
}
|
|
1129
1279
|
}
|
|
1130
1280
|
|
|
1131
1281
|
@media (max-width: 768px) {
|
|
1132
1282
|
body {
|
|
1133
|
-
flex-direction:column
|
|
1283
|
+
flex-direction: column
|
|
1134
1284
|
}
|
|
1135
1285
|
|
|
1136
1286
|
.sidebar {
|
|
@@ -1138,58 +1288,64 @@ img.with-shadow {
|
|
|
1138
1288
|
height: auto;
|
|
1139
1289
|
position: static;
|
|
1140
1290
|
border-right: currentcolor;
|
|
1141
|
-
border-bottom:1px solid var(--border-color)
|
|
1291
|
+
border-bottom: 1px solid var(--border-color)
|
|
1142
1292
|
}
|
|
1143
1293
|
|
|
1144
1294
|
.sidebar-toggle-button {
|
|
1145
|
-
display:block
|
|
1295
|
+
display: block
|
|
1146
1296
|
}
|
|
1147
1297
|
|
|
1148
1298
|
.main-content-wrapper {
|
|
1149
|
-
margin-left:0
|
|
1299
|
+
margin-left: 0
|
|
1150
1300
|
}
|
|
1151
1301
|
|
|
1152
1302
|
.content-area {
|
|
1153
|
-
padding:15px
|
|
1303
|
+
padding: 15px
|
|
1154
1304
|
}
|
|
1155
1305
|
|
|
1156
|
-
.footer-content,
|
|
1306
|
+
.footer-content,
|
|
1307
|
+
.page-navigation {
|
|
1157
1308
|
flex-direction: column;
|
|
1158
|
-
gap:1rem
|
|
1309
|
+
gap: 1rem
|
|
1159
1310
|
}
|
|
1160
1311
|
|
|
1161
|
-
.branding-footer,
|
|
1162
|
-
|
|
1312
|
+
.branding-footer,
|
|
1313
|
+
.user-footer {
|
|
1314
|
+
text-align: center
|
|
1163
1315
|
}
|
|
1164
1316
|
|
|
1165
|
-
.next-page,
|
|
1317
|
+
.next-page,
|
|
1318
|
+
.next-page-placeholder,
|
|
1319
|
+
.prev-page,
|
|
1320
|
+
.prev-page-placeholder {
|
|
1166
1321
|
width: 100%;
|
|
1167
|
-
max-width:100%
|
|
1322
|
+
max-width: 100%
|
|
1168
1323
|
}
|
|
1169
1324
|
|
|
1170
|
-
img.align-left,
|
|
1325
|
+
img.align-left,
|
|
1326
|
+
img.align-right {
|
|
1171
1327
|
float: none;
|
|
1172
1328
|
margin-left: auto;
|
|
1173
|
-
margin-right:auto
|
|
1329
|
+
margin-right: auto
|
|
1174
1330
|
}
|
|
1175
1331
|
|
|
1176
1332
|
.docmd-container .image-gallery {
|
|
1177
|
-
grid-template-columns:1fr
|
|
1333
|
+
grid-template-columns: 1fr
|
|
1178
1334
|
}
|
|
1179
1335
|
|
|
1180
1336
|
.sponsor-ribbon {
|
|
1181
1337
|
bottom: 10px;
|
|
1182
|
-
right:10px
|
|
1338
|
+
right: 10px
|
|
1183
1339
|
}
|
|
1184
1340
|
|
|
1185
1341
|
.sponsor-link {
|
|
1186
1342
|
padding: .5rem 1rem;
|
|
1187
|
-
font-size
|
|
1343
|
+
font-size: .75rem
|
|
1188
1344
|
}
|
|
1189
1345
|
|
|
1190
1346
|
.sponsor-icon {
|
|
1191
1347
|
width: .875rem;
|
|
1192
|
-
height
|
|
1348
|
+
height: .875rem
|
|
1193
1349
|
}
|
|
1194
1350
|
|
|
1195
1351
|
.changelog-entry {
|
|
@@ -1201,68 +1357,10 @@ img.with-shadow {
|
|
|
1201
1357
|
text-align: left;
|
|
1202
1358
|
padding-top: 0;
|
|
1203
1359
|
}
|
|
1204
|
-
|
|
1360
|
+
|
|
1205
1361
|
.changelog-body {
|
|
1206
1362
|
border-left: 2px solid var(--border-color);
|
|
1207
1363
|
padding-left: 1.5rem;
|
|
1208
1364
|
margin-left: 0.5rem;
|
|
1209
1365
|
}
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
html[data-theme=dark] .sponsor-link {
|
|
1213
|
-
background: linear-gradient(135deg, #ff6b6b, #c44569);
|
|
1214
|
-
box-shadow:rgba(255, 107, 107, .2) 0 4px 12px
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
html[data-theme=dark] .sponsor-link:hover {
|
|
1218
|
-
box-shadow:rgba(255, 107, 107, .3) 0 6px 20px
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
.copy-code-button {
|
|
1222
|
-
position: absolute;
|
|
1223
|
-
top: .75rem;
|
|
1224
|
-
right: .75rem;
|
|
1225
|
-
padding: .5rem;
|
|
1226
|
-
background-color: var(--code-bg);
|
|
1227
|
-
border: 1px solid var(--border-color);
|
|
1228
|
-
border-radius: 6px;
|
|
1229
|
-
cursor: pointer;
|
|
1230
|
-
opacity: 0;
|
|
1231
|
-
transition: opacity .2s ease-in-out, background-color .2s;
|
|
1232
|
-
color: var(--sidebar-text);
|
|
1233
|
-
display: flex;
|
|
1234
|
-
align-items: center;
|
|
1235
|
-
justify-content: center;
|
|
1236
|
-
z-index: 10;
|
|
1237
|
-
pointer-events:auto
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
.copy-code-button.copied {
|
|
1241
|
-
color: #10b981;
|
|
1242
|
-
opacity:1
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
.sidebar nav li.collapsible > a {
|
|
1246
|
-
display: flex;
|
|
1247
|
-
justify-content: space-between;
|
|
1248
|
-
align-items:center
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
.sidebar nav li.collapsible > a .nav-item-title {
|
|
1252
|
-
flex-grow:1
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
.sidebar nav .collapse-icon {
|
|
1256
|
-
transition: transform .2s ease-in-out;
|
|
1257
|
-
flex-shrink: 0;
|
|
1258
|
-
margin-left:.5em
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
.sidebar nav li.collapsible[aria-expanded=true] > a > .collapse-icon {
|
|
1262
|
-
transform:rotate(90deg)
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
hr {
|
|
1266
|
-
color: rgba(245, 245, 245, .27);
|
|
1267
|
-
border-top-width: 1px
|
|
1268
1366
|
}
|