@editorcn/editor 0.3.4 → 0.3.5
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/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +43 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -442,11 +442,53 @@ button.rte-control-button:active {
|
|
|
442
442
|
scrollbar-width: none;
|
|
443
443
|
-ms-overflow-style: none;
|
|
444
444
|
-webkit-overflow-scrolling: touch;
|
|
445
|
-
|
|
445
|
+
--rte-toolbar-fade-end: 1.5rem;
|
|
446
|
+
mask-image: linear-gradient(
|
|
447
|
+
to right,
|
|
448
|
+
transparent,
|
|
449
|
+
black var(--rte-toolbar-fade-start),
|
|
450
|
+
black calc(100% - var(--rte-toolbar-fade-end)),
|
|
451
|
+
transparent
|
|
452
|
+
);
|
|
446
453
|
}
|
|
447
454
|
.rte-toolbar::-webkit-scrollbar {
|
|
448
455
|
display: none;
|
|
449
456
|
}
|
|
457
|
+
@supports (animation-timeline: scroll()) {
|
|
458
|
+
.rte-toolbar {
|
|
459
|
+
--rte-toolbar-fade-end: 0px;
|
|
460
|
+
animation: rte-toolbar-fade linear both;
|
|
461
|
+
animation-timeline: scroll(self inline);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
@property --rte-toolbar-fade-start {
|
|
467
|
+
syntax: "<length>";
|
|
468
|
+
inherits: false;
|
|
469
|
+
initial-value: 0px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@property --rte-toolbar-fade-end {
|
|
473
|
+
syntax: "<length>";
|
|
474
|
+
inherits: false;
|
|
475
|
+
initial-value: 0px;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@keyframes rte-toolbar-fade {
|
|
479
|
+
from {
|
|
480
|
+
--rte-toolbar-fade-start: 0px;
|
|
481
|
+
--rte-toolbar-fade-end: 1.5rem;
|
|
482
|
+
}
|
|
483
|
+
10%,
|
|
484
|
+
90% {
|
|
485
|
+
--rte-toolbar-fade-start: 1.5rem;
|
|
486
|
+
--rte-toolbar-fade-end: 1.5rem;
|
|
487
|
+
}
|
|
488
|
+
to {
|
|
489
|
+
--rte-toolbar-fade-start: 1.5rem;
|
|
490
|
+
--rte-toolbar-fade-end: 0px;
|
|
491
|
+
}
|
|
450
492
|
}
|
|
451
493
|
|
|
452
494
|
/* ── Default variant: classic bordered toolbar ── */
|