@docmd/ui 0.4.0 → 0.4.3
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/assets/css/docmd-main.css +35 -30
- package/package.json +32 -1
- package/templates/layout.ejs +1 -1
|
@@ -289,6 +289,7 @@ body.sidebar-collapsed .main-content-wrapper {
|
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.header-left,
|
|
292
|
+
.header-right,
|
|
292
293
|
.page-header {
|
|
293
294
|
align-items: center;
|
|
294
295
|
display: flex
|
|
@@ -307,8 +308,7 @@ body.sidebar-collapsed .main-content-wrapper {
|
|
|
307
308
|
}
|
|
308
309
|
|
|
309
310
|
.header-right {
|
|
310
|
-
|
|
311
|
-
align-items: center
|
|
311
|
+
gap: 5px
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
.page-header h1 {
|
|
@@ -329,9 +329,8 @@ body.sidebar-collapsed .main-content-wrapper {
|
|
|
329
329
|
display: flex;
|
|
330
330
|
align-items: center;
|
|
331
331
|
justify-content: center;
|
|
332
|
-
height:
|
|
333
|
-
width:
|
|
334
|
-
margin: 0 .25em
|
|
332
|
+
height: 3em;
|
|
333
|
+
width: 3em;
|
|
335
334
|
}
|
|
336
335
|
|
|
337
336
|
.docmd-search-trigger:hover,
|
|
@@ -361,7 +360,32 @@ body.sidebar-collapsed .main-content-wrapper {
|
|
|
361
360
|
fill: var(--white);
|
|
362
361
|
}
|
|
363
362
|
|
|
364
|
-
.
|
|
363
|
+
.docmd-search-trigger {
|
|
364
|
+
gap: .5rem;
|
|
365
|
+
color: var(--image-caption-text);
|
|
366
|
+
width: 15em;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
html[data-theme=dark] .theme-toggle-button .icon-moon {
|
|
370
|
+
color: var(--text-color)
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.docmd-search-trigger .icon-search {
|
|
374
|
+
width: 1.25em;
|
|
375
|
+
height: 1.25em
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.docmd-search-trigger .search-label {
|
|
379
|
+
margin-right: 1rem;
|
|
380
|
+
font-size: 1.25em
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.docmd-search-trigger .search-keys {
|
|
384
|
+
display: flex;
|
|
385
|
+
gap: 2px
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.card .card-title {
|
|
365
389
|
border-bottom: 1px solid var(--border-color)
|
|
366
390
|
}
|
|
367
391
|
|
|
@@ -443,7 +467,6 @@ tr:last-child td {
|
|
|
443
467
|
padding-bottom: 10px;
|
|
444
468
|
text-align: center;
|
|
445
469
|
height: 2.5em;
|
|
446
|
-
box-shadow: 0 20px 15px -18px var(--border-color)
|
|
447
470
|
}
|
|
448
471
|
|
|
449
472
|
.sidebar-header h1 {
|
|
@@ -1181,7 +1204,7 @@ img.with-shadow {
|
|
|
1181
1204
|
flex-direction: column
|
|
1182
1205
|
}
|
|
1183
1206
|
|
|
1184
|
-
.copy-code-button svg{
|
|
1207
|
+
.copy-code-button svg {
|
|
1185
1208
|
width: 1rem;
|
|
1186
1209
|
height: 1rem
|
|
1187
1210
|
}
|
|
@@ -1222,7 +1245,7 @@ img.with-shadow {
|
|
|
1222
1245
|
color: #ddd
|
|
1223
1246
|
}
|
|
1224
1247
|
|
|
1225
|
-
a.docmd-button{
|
|
1248
|
+
a.docmd-button {
|
|
1226
1249
|
color: #fff;
|
|
1227
1250
|
text-decoration: none
|
|
1228
1251
|
}
|
|
@@ -1307,26 +1330,6 @@ hr {
|
|
|
1307
1330
|
height: 1em
|
|
1308
1331
|
}
|
|
1309
1332
|
|
|
1310
|
-
.docmd-search-trigger {
|
|
1311
|
-
gap: .5rem;
|
|
1312
|
-
padding: .4rem .6rem;
|
|
1313
|
-
font-size: .85rem;
|
|
1314
|
-
color: var(--image-caption-text);
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
html[data-theme=dark] .theme-toggle-button .icon-moon {
|
|
1318
|
-
color: var(--text-color)
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
.search-label {
|
|
1322
|
-
margin-right: 1rem
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
.search-keys {
|
|
1326
|
-
display: flex;
|
|
1327
|
-
gap: 2px
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
1333
|
.docmd-kbd {
|
|
1331
1334
|
background-color: var(--bg-color);
|
|
1332
1335
|
border: 1px solid var(--border-color);
|
|
@@ -1513,7 +1516,9 @@ html[data-theme=dark] .theme-toggle-button .icon-moon {
|
|
|
1513
1516
|
}
|
|
1514
1517
|
|
|
1515
1518
|
@keyframes heartbeat {
|
|
1516
|
-
|
|
1519
|
+
|
|
1520
|
+
0%,
|
|
1521
|
+
100% {
|
|
1517
1522
|
transform: scale(1);
|
|
1518
1523
|
}
|
|
1519
1524
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docmd/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Base UI templates and assets for docmd",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -8,5 +8,36 @@
|
|
|
8
8
|
"assets",
|
|
9
9
|
"index.js"
|
|
10
10
|
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"docmd",
|
|
13
|
+
"ui",
|
|
14
|
+
"templates",
|
|
15
|
+
"assets",
|
|
16
|
+
"layout",
|
|
17
|
+
"html",
|
|
18
|
+
"css",
|
|
19
|
+
"scss",
|
|
20
|
+
"kit",
|
|
21
|
+
"base",
|
|
22
|
+
"markdown",
|
|
23
|
+
"minimalist",
|
|
24
|
+
"zero-config",
|
|
25
|
+
"site-generator",
|
|
26
|
+
"static-site-generator",
|
|
27
|
+
"docs"
|
|
28
|
+
],
|
|
29
|
+
"author": {
|
|
30
|
+
"name": "Ghazi",
|
|
31
|
+
"url": "https://mgks.dev"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/docmd-io/docmd.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/docmd-io/docmd/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://docmd.io",
|
|
41
|
+
"funding": "https://github.com/sponsors/mgks",
|
|
11
42
|
"license": "MIT"
|
|
12
43
|
}
|
package/templates/layout.ejs
CHANGED
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<div class="footer-content">
|
|
158
158
|
<div class="user-footer"><%- footerHtml || '' %></div>
|
|
159
159
|
<div class="branding-footer">
|
|
160
|
-
Build with <a href="https://docmd.io" target="_blank" rel="noopener">docmd.</a>
|
|
160
|
+
Build with <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path><path d="M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66"></path><path d="m18 15-2-2"></path><path d="m15 18-2-2"></path></svg> <a href="https://docmd.io" target="_blank" rel="noopener">docmd.</a>
|
|
161
161
|
</div>
|
|
162
162
|
</div>
|
|
163
163
|
</footer>
|