@ckeditor/ckeditor5-theme-lark 0.0.0-nightly-20240506.0 → 0.0.0-nightly-20240507.0
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.css +111 -0
- package/dist/index.css.map +1 -1
- package/package.json +2 -2
- package/theme/ckeditor5-image/imageuploadicon.css +11 -0
- package/theme/ckeditor5-image/imageuploadprogress.css +5 -0
- package/theme/ckeditor5-restricted-editing/restrictedediting.css +4 -0
- package/theme/ckeditor5-special-characters/charactergrid.css +4 -0
- package/theme/ckeditor5-table/inserttable.css +4 -0
- package/theme/ckeditor5-table/tableform.css +4 -0
- package/theme/ckeditor5-ui/components/button/button.css +4 -0
- package/theme/ckeditor5-ui/components/button/switchbutton.css +4 -0
- package/theme/ckeditor5-ui/components/colorgrid/colorgrid.css +4 -0
- package/theme/ckeditor5-ui/components/input/input.css +8 -0
- package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +4 -0
- package/theme/ckeditor5-ui/components/spinner/spinner.css +4 -1
- package/theme/ckeditor5-widget/widget.css +12 -0
- package/theme/ckeditor5-widget/widgettypearound.css +22 -0
package/dist/index.css
CHANGED
@@ -468,6 +468,12 @@ a.ck.ck-button {
|
|
468
468
|
a.ck.ck-button.ck-rounded-corners {
|
469
469
|
border-radius: var(--ck-border-radius);
|
470
470
|
}
|
471
|
+
@media (prefers-reduced-motion: reduce) {
|
472
|
+
.ck.ck-button,
|
473
|
+
a.ck.ck-button {
|
474
|
+
transition: none;
|
475
|
+
}
|
476
|
+
}
|
471
477
|
.ck.ck-button:active,
|
472
478
|
a.ck.ck-button:active,
|
473
479
|
.ck.ck-button:focus,
|
@@ -686,6 +692,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
686
692
|
/* Gently animate the inner part of the toggle switch */
|
687
693
|
transition: all 300ms ease;
|
688
694
|
}
|
695
|
+
@media (prefers-reduced-motion: reduce) {
|
696
|
+
.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner {
|
697
|
+
transition: none;
|
698
|
+
}
|
699
|
+
}
|
689
700
|
.ck.ck-button.ck-switchbutton .ck-button__toggle:hover {
|
690
701
|
background: var(--ck-color-switch-button-off-hover-background);
|
691
702
|
}
|
@@ -788,6 +799,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
788
799
|
transition: .2s ease box-shadow;
|
789
800
|
border: 0;
|
790
801
|
}
|
802
|
+
@media (prefers-reduced-motion: reduce) {
|
803
|
+
.ck.ck-color-grid__tile {
|
804
|
+
transition: none;
|
805
|
+
}
|
806
|
+
}
|
791
807
|
.ck.ck-color-grid__tile.ck-disabled {
|
792
808
|
cursor: unset;
|
793
809
|
transition: unset;
|
@@ -1534,6 +1550,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
1534
1550
|
/* Apply some smooth transition to the box-shadow and border. */
|
1535
1551
|
transition: box-shadow .1s ease-in-out, border .1s ease-in-out;
|
1536
1552
|
}
|
1553
|
+
@media (prefers-reduced-motion: reduce) {
|
1554
|
+
.ck.ck-input {
|
1555
|
+
transition: none;
|
1556
|
+
}
|
1557
|
+
}
|
1537
1558
|
.ck.ck-input:focus {
|
1538
1559
|
/* Disable native outline. */
|
1539
1560
|
outline: none;
|
@@ -1553,6 +1574,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
1553
1574
|
border-color: var(--ck-color-input-error-border);
|
1554
1575
|
animation: ck-input-shake .3s ease both;
|
1555
1576
|
}
|
1577
|
+
@media (prefers-reduced-motion: reduce) {
|
1578
|
+
.ck.ck-input.ck-error {
|
1579
|
+
animation: none;
|
1580
|
+
}
|
1581
|
+
}
|
1556
1582
|
.ck.ck-input.ck-error:focus {
|
1557
1583
|
box-shadow: var(--ck-focus-error-outer-shadow), 0 0;
|
1558
1584
|
}
|
@@ -1647,6 +1673,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
1647
1673
|
padding var(--ck-labeled-field-view-transition),
|
1648
1674
|
background var(--ck-labeled-field-view-transition);
|
1649
1675
|
}
|
1676
|
+
@media (prefers-reduced-motion: reduce) {
|
1677
|
+
.ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
|
1678
|
+
transition: none;
|
1679
|
+
}
|
1680
|
+
}
|
1650
1681
|
.ck.ck-labeled-field-view.ck-error > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
|
1651
1682
|
color: var(--ck-color-base-error);
|
1652
1683
|
}
|
@@ -2508,6 +2539,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
2508
2539
|
height: var(--ck-toolbar-spinner-size);
|
2509
2540
|
animation: 1.5s infinite rotate linear;
|
2510
2541
|
}
|
2542
|
+
@media (prefers-reduced-motion: reduce) {
|
2543
|
+
.ck.ck-spinner-container {
|
2544
|
+
animation-duration: 3s;
|
2545
|
+
}
|
2546
|
+
}
|
2511
2547
|
.ck.ck-spinner {
|
2512
2548
|
width: var(--ck-toolbar-spinner-size);
|
2513
2549
|
height: var(--ck-toolbar-spinner-size);
|
@@ -3368,6 +3404,18 @@ of the component, floating–point numbers have been used which, for the default
|
|
3368
3404
|
/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */
|
3369
3405
|
box-sizing: border-box;
|
3370
3406
|
}
|
3407
|
+
@media (prefers-reduced-motion: reduce) {
|
3408
|
+
.ck-image-upload-complete-icon {
|
3409
|
+
animation-duration: 0ms;
|
3410
|
+
}
|
3411
|
+
|
3412
|
+
.ck-image-upload-complete-icon::after {
|
3413
|
+
animation: none;
|
3414
|
+
opacity: 1;
|
3415
|
+
width: 0.3em;
|
3416
|
+
height: 0.45em;
|
3417
|
+
}
|
3418
|
+
}
|
3371
3419
|
@keyframes ck-upload-complete-icon-show {
|
3372
3420
|
from {
|
3373
3421
|
opacity: 0;
|
@@ -3453,6 +3501,12 @@ of the component, floating–point numbers have been used which, for the default
|
|
3453
3501
|
.ck.ck-editor__editable .image.ck-appear, .ck.ck-editor__editable .image-inline.ck-appear {
|
3454
3502
|
animation: fadeIn 700ms;
|
3455
3503
|
}
|
3504
|
+
@media (prefers-reduced-motion: reduce) {
|
3505
|
+
.ck.ck-editor__editable .image.ck-appear, .ck.ck-editor__editable .image-inline.ck-appear {
|
3506
|
+
opacity: 1;
|
3507
|
+
animation: none;
|
3508
|
+
}
|
3509
|
+
}
|
3456
3510
|
/* Upload progress bar. */
|
3457
3511
|
.ck.ck-editor__editable .image .ck-progress-bar,
|
3458
3512
|
.ck.ck-editor__editable .image-inline .ck-progress-bar {
|
@@ -3877,6 +3931,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
3877
3931
|
var(--ck-color-restricted-editing-exception-brackets) 100%
|
3878
3932
|
) 1;
|
3879
3933
|
}
|
3934
|
+
@media (prefers-reduced-motion: reduce) {
|
3935
|
+
.ck-editor__editable .restricted-editing-exception {
|
3936
|
+
transition: none;
|
3937
|
+
}
|
3938
|
+
}
|
3880
3939
|
.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected {
|
3881
3940
|
background-color: var(--ck-color-restricted-editing-selected-exception-background);
|
3882
3941
|
border-image: linear-gradient(
|
@@ -3960,6 +4019,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
3960
4019
|
transition: .2s ease box-shadow;
|
3961
4020
|
border: 0;
|
3962
4021
|
}
|
4022
|
+
@media (prefers-reduced-motion: reduce) {
|
4023
|
+
.ck.ck-character-grid .ck-character-grid__tile {
|
4024
|
+
transition: none;
|
4025
|
+
}
|
4026
|
+
}
|
3963
4027
|
.ck.ck-character-grid .ck-character-grid__tile:focus:not( .ck-disabled ),
|
3964
4028
|
.ck.ck-character-grid .ck-character-grid__tile:hover:not( .ck-disabled ) {
|
3965
4029
|
/* Disable the default .ck-button's border ring. */
|
@@ -4321,6 +4385,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4321
4385
|
outline: none;
|
4322
4386
|
transition: none;
|
4323
4387
|
}
|
4388
|
+
@media (prefers-reduced-motion: reduce) {
|
4389
|
+
.ck .ck-insert-table-dropdown-grid-box {
|
4390
|
+
transition: none;
|
4391
|
+
}
|
4392
|
+
}
|
4324
4393
|
.ck .ck-insert-table-dropdown-grid-box:focus {
|
4325
4394
|
box-shadow: none;
|
4326
4395
|
}
|
@@ -4434,6 +4503,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4434
4503
|
border-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);
|
4435
4504
|
border-style: solid;
|
4436
4505
|
}
|
4506
|
+
@media (prefers-reduced-motion: reduce) {
|
4507
|
+
.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
|
4508
|
+
animation: none;
|
4509
|
+
}
|
4510
|
+
}
|
4437
4511
|
/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */
|
4438
4512
|
.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {
|
4439
4513
|
display: none;
|
@@ -4547,6 +4621,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4547
4621
|
outline-color: transparent;
|
4548
4622
|
transition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
|
4549
4623
|
}
|
4624
|
+
@media (prefers-reduced-motion: reduce) {
|
4625
|
+
.ck .ck-widget {
|
4626
|
+
transition: none;
|
4627
|
+
}
|
4628
|
+
}
|
4550
4629
|
.ck .ck-widget.ck-widget_selected,
|
4551
4630
|
.ck .ck-widget.ck-widget_selected:hover {
|
4552
4631
|
outline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);
|
@@ -4594,6 +4673,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4594
4673
|
left: calc(0px - var(--ck-widget-outline-thickness));
|
4595
4674
|
top: 0;
|
4596
4675
|
}
|
4676
|
+
@media (prefers-reduced-motion: reduce) {
|
4677
|
+
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
|
4678
|
+
transition: none;
|
4679
|
+
}
|
4680
|
+
}
|
4597
4681
|
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon {
|
4598
4682
|
/* Make sure the dimensions of the icon are independent of the fon-size of the content. */
|
4599
4683
|
width: var(--ck-widget-handler-icon-size);
|
@@ -4608,6 +4692,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4608
4692
|
/* Note: The animation is longer on purpose. Simply feels better. */
|
4609
4693
|
transition: opacity 300ms var(--ck-widget-handler-animation-curve);
|
4610
4694
|
}
|
4695
|
+
@media (prefers-reduced-motion: reduce) {
|
4696
|
+
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator {
|
4697
|
+
transition: none;
|
4698
|
+
}
|
4699
|
+
}
|
4611
4700
|
/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */
|
4612
4701
|
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator {
|
4613
4702
|
opacity: 1;
|
@@ -4736,6 +4825,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4736
4825
|
|
4737
4826
|
pointer-events: none;
|
4738
4827
|
}
|
4828
|
+
@media (prefers-reduced-motion: reduce) {
|
4829
|
+
.ck .ck-widget .ck-widget__type-around__button {
|
4830
|
+
transition: none;
|
4831
|
+
}
|
4832
|
+
}
|
4739
4833
|
.ck .ck-widget .ck-widget__type-around__button svg {
|
4740
4834
|
width: 10px;
|
4741
4835
|
height: 8px;
|
@@ -4743,6 +4837,11 @@ of the component, floating–point numbers have been used which, for the default
|
|
4743
4837
|
transition: transform .5s ease;
|
4744
4838
|
margin-top: 1px;
|
4745
4839
|
}
|
4840
|
+
@media (prefers-reduced-motion: reduce) {
|
4841
|
+
.ck .ck-widget .ck-widget__type-around__button svg {
|
4842
|
+
transition: none;
|
4843
|
+
}
|
4844
|
+
}
|
4746
4845
|
.ck .ck-widget .ck-widget__type-around__button svg * {
|
4747
4846
|
stroke-dasharray: 10;
|
4748
4847
|
stroke-dashoffset: 0;
|
@@ -4772,6 +4871,18 @@ of the component, floating–point numbers have been used which, for the default
|
|
4772
4871
|
.ck .ck-widget .ck-widget__type-around__button:hover svg line {
|
4773
4872
|
animation: ck-widget-type-around-arrow-tip-dash 2s linear;
|
4774
4873
|
}
|
4874
|
+
@media (prefers-reduced-motion: reduce) {
|
4875
|
+
.ck .ck-widget .ck-widget__type-around__button:hover {
|
4876
|
+
animation: none;
|
4877
|
+
}
|
4878
|
+
.ck .ck-widget .ck-widget__type-around__button:hover svg polyline {
|
4879
|
+
animation: none;
|
4880
|
+
}
|
4881
|
+
|
4882
|
+
.ck .ck-widget .ck-widget__type-around__button:hover svg line {
|
4883
|
+
animation: none;
|
4884
|
+
}
|
4885
|
+
}
|
4775
4886
|
/*
|
4776
4887
|
* Show type around buttons when the widget gets selected or being hovered.
|
4777
4888
|
*/
|