@richhtmleditor/themes 1.2.0 → 1.2.2
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/package.json +1 -1
- package/src/richhtmleditor.css +100 -0
package/package.json
CHANGED
package/src/richhtmleditor.css
CHANGED
|
@@ -3399,6 +3399,17 @@ del.de-track-delete,
|
|
|
3399
3399
|
overflow-y: auto;
|
|
3400
3400
|
flex: 1;
|
|
3401
3401
|
min-height: 0;
|
|
3402
|
+
scrollbar-width: thin;
|
|
3403
|
+
scrollbar-color: color-mix(in srgb, var(--de-text-muted, #6b7280) 25%, transparent) transparent;
|
|
3404
|
+
}
|
|
3405
|
+
.de-shortcut-help__body::-webkit-scrollbar { width: 4px; }
|
|
3406
|
+
.de-shortcut-help__body::-webkit-scrollbar-track { background: transparent; }
|
|
3407
|
+
.de-shortcut-help__body::-webkit-scrollbar-thumb {
|
|
3408
|
+
background: color-mix(in srgb, var(--de-text-muted, #6b7280) 25%, transparent);
|
|
3409
|
+
border-radius: 4px;
|
|
3410
|
+
}
|
|
3411
|
+
.de-shortcut-help__body::-webkit-scrollbar-thumb:hover {
|
|
3412
|
+
background: color-mix(in srgb, var(--de-text-muted, #6b7280) 45%, transparent);
|
|
3402
3413
|
}
|
|
3403
3414
|
|
|
3404
3415
|
.de-shortcut-help__body[hidden] {
|
|
@@ -3470,6 +3481,41 @@ del.de-track-delete,
|
|
|
3470
3481
|
line-height: 1.45;
|
|
3471
3482
|
}
|
|
3472
3483
|
|
|
3484
|
+
/* Typography tab */
|
|
3485
|
+
.de-shortcut-help__typo-intro {
|
|
3486
|
+
margin: 0 0 14px;
|
|
3487
|
+
font-size: 0.85rem;
|
|
3488
|
+
color: var(--de-text-muted, #6b7280);
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
.de-shortcut-help__typo-list dt {
|
|
3492
|
+
min-width: 110px;
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3495
|
+
.de-shortcut-help__typo-input {
|
|
3496
|
+
font-family: ui-monospace, monospace;
|
|
3497
|
+
font-size: 0.82rem;
|
|
3498
|
+
background: var(--de-bg-kbd, #f3f4f6);
|
|
3499
|
+
border: 1px solid var(--de-border, #d1d5db);
|
|
3500
|
+
border-radius: 4px;
|
|
3501
|
+
padding: 1px 6px;
|
|
3502
|
+
color: var(--de-text-primary, #111);
|
|
3503
|
+
white-space: pre;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
.de-shortcut-help__typo-output {
|
|
3507
|
+
display: inline-block;
|
|
3508
|
+
min-width: 24px;
|
|
3509
|
+
font-size: 1rem;
|
|
3510
|
+
font-weight: 600;
|
|
3511
|
+
color: var(--de-primary, #2563eb);
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
.de-shortcut-help__typo-desc {
|
|
3515
|
+
font-size: 0.83rem;
|
|
3516
|
+
color: var(--de-text-muted, #6b7280);
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3473
3519
|
/* Footer */
|
|
3474
3520
|
.de-shortcut-help__footer {
|
|
3475
3521
|
display: flex;
|
|
@@ -5284,6 +5330,60 @@ del.de-track-delete,
|
|
|
5284
5330
|
color: var(--de-text-primary, #e2e8f0);
|
|
5285
5331
|
border-color: var(--de-border, #334155);
|
|
5286
5332
|
}
|
|
5333
|
+
/* Tab icon/label (label hidden on desktop, shown on mobile) */
|
|
5334
|
+
.de-shape-picker__tab {
|
|
5335
|
+
display: flex;
|
|
5336
|
+
flex-direction: column;
|
|
5337
|
+
align-items: center;
|
|
5338
|
+
gap: 2px;
|
|
5339
|
+
}
|
|
5340
|
+
.de-shape-picker__tab-icon {
|
|
5341
|
+
font-size: 15px;
|
|
5342
|
+
line-height: 1;
|
|
5343
|
+
}
|
|
5344
|
+
.de-shape-picker__tab-label {
|
|
5345
|
+
display: none;
|
|
5346
|
+
font-size: 10px;
|
|
5347
|
+
font-weight: 500;
|
|
5348
|
+
line-height: 1;
|
|
5349
|
+
white-space: nowrap;
|
|
5350
|
+
}
|
|
5351
|
+
/* Mobile: bottom-sheet */
|
|
5352
|
+
@media (max-width: 600px) {
|
|
5353
|
+
.de-shape-picker--mobile {
|
|
5354
|
+
width: 100% !important;
|
|
5355
|
+
max-width: 100% !important;
|
|
5356
|
+
border-radius: 16px 16px 0 0 !important;
|
|
5357
|
+
max-height: 80vh;
|
|
5358
|
+
overflow-y: auto;
|
|
5359
|
+
}
|
|
5360
|
+
.de-shape-picker__tab-label {
|
|
5361
|
+
display: block;
|
|
5362
|
+
}
|
|
5363
|
+
.de-shape-picker__tab {
|
|
5364
|
+
flex: 1;
|
|
5365
|
+
padding: 10px 6px;
|
|
5366
|
+
}
|
|
5367
|
+
.de-shape-picker__grid {
|
|
5368
|
+
grid-template-columns: repeat(5, 1fr);
|
|
5369
|
+
}
|
|
5370
|
+
.de-shape-picker__btn {
|
|
5371
|
+
width: 100%;
|
|
5372
|
+
height: 56px;
|
|
5373
|
+
}
|
|
5374
|
+
.de-shape-picker__body {
|
|
5375
|
+
max-height: 50vh;
|
|
5376
|
+
}
|
|
5377
|
+
.de-shape-picker__footer {
|
|
5378
|
+
flex-direction: column;
|
|
5379
|
+
padding: 12px;
|
|
5380
|
+
}
|
|
5381
|
+
.de-shape-picker__insert-btn {
|
|
5382
|
+
width: 100%;
|
|
5383
|
+
padding: 12px;
|
|
5384
|
+
font-size: 15px;
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5287
5387
|
|
|
5288
5388
|
/* ── Print: repeat table headers on each page ── */
|
|
5289
5389
|
@media print {
|