@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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20240507.0",
|
4
4
|
"description": "A bright theme for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"ckeditor5-theme"
|
10
10
|
],
|
11
11
|
"dependencies": {
|
12
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
12
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240507.0"
|
13
13
|
},
|
14
14
|
"author": "CKSource (http://cksource.com/)",
|
15
15
|
"license": "GPL-2.0-or-later",
|
@@ -57,6 +57,17 @@
|
|
57
57
|
/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */
|
58
58
|
box-sizing: border-box;
|
59
59
|
}
|
60
|
+
|
61
|
+
@media (prefers-reduced-motion: reduce) {
|
62
|
+
animation-duration: 0ms;
|
63
|
+
|
64
|
+
&::after {
|
65
|
+
animation: none;
|
66
|
+
opacity: 1;
|
67
|
+
width: 0.3em;
|
68
|
+
height: 0.45em;
|
69
|
+
}
|
70
|
+
}
|
60
71
|
}
|
61
72
|
|
62
73
|
@keyframes ck-upload-complete-icon-show {
|
@@ -25,6 +25,10 @@
|
|
25
25
|
var(--ck-color-restricted-editing-exception-brackets) 100%
|
26
26
|
) 1;
|
27
27
|
|
28
|
+
@media (prefers-reduced-motion: reduce) {
|
29
|
+
transition: none;
|
30
|
+
}
|
31
|
+
|
28
32
|
&.restricted-editing-exception_selected {
|
29
33
|
background-color: var(--ck-color-restricted-editing-selected-exception-background);
|
30
34
|
border-image: linear-gradient(
|
@@ -66,6 +66,10 @@
|
|
66
66
|
}
|
67
67
|
|
68
68
|
animation: ck-table-form-labeled-view-status-appear .15s ease both;
|
69
|
+
|
70
|
+
@media (prefers-reduced-motion: reduce) {
|
71
|
+
animation: none;
|
72
|
+
}
|
69
73
|
}
|
70
74
|
|
71
75
|
/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */
|
@@ -76,6 +76,10 @@ of the component, floating–point numbers have been used which, for the default
|
|
76
76
|
|
77
77
|
/* Gently animate the inner part of the toggle switch */
|
78
78
|
transition: all 300ms ease;
|
79
|
+
|
80
|
+
@media (prefers-reduced-motion: reduce) {
|
81
|
+
transition: none;
|
82
|
+
}
|
79
83
|
}
|
80
84
|
|
81
85
|
&:hover {
|
@@ -28,6 +28,10 @@
|
|
28
28
|
/* Apply some smooth transition to the box-shadow and border. */
|
29
29
|
transition: box-shadow .1s ease-in-out, border .1s ease-in-out;
|
30
30
|
|
31
|
+
@media (prefers-reduced-motion: reduce) {
|
32
|
+
transition: none;
|
33
|
+
}
|
34
|
+
|
31
35
|
&:focus {
|
32
36
|
@mixin ck-focus-ring;
|
33
37
|
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
@@ -48,6 +52,10 @@
|
|
48
52
|
border-color: var(--ck-color-input-error-border);
|
49
53
|
animation: ck-input-shake .3s ease both;
|
50
54
|
|
55
|
+
@media (prefers-reduced-motion: reduce) {
|
56
|
+
animation: none;
|
57
|
+
}
|
58
|
+
|
51
59
|
&:focus {
|
52
60
|
@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);
|
53
61
|
}
|
@@ -11,6 +11,10 @@
|
|
11
11
|
width: var(--ck-toolbar-spinner-size);
|
12
12
|
height: var(--ck-toolbar-spinner-size);
|
13
13
|
animation: 1.5s infinite rotate linear;
|
14
|
+
|
15
|
+
@media (prefers-reduced-motion: reduce) {
|
16
|
+
animation-duration: 3s;
|
17
|
+
}
|
14
18
|
}
|
15
19
|
|
16
20
|
.ck.ck-spinner {
|
@@ -26,4 +30,3 @@
|
|
26
30
|
transform: rotate(360deg)
|
27
31
|
}
|
28
32
|
}
|
29
|
-
|
@@ -24,6 +24,10 @@
|
|
24
24
|
outline-color: transparent;
|
25
25
|
transition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
|
26
26
|
|
27
|
+
@media (prefers-reduced-motion: reduce) {
|
28
|
+
transition: none;
|
29
|
+
}
|
30
|
+
|
27
31
|
&.ck-widget_selected,
|
28
32
|
&.ck-widget_selected:hover {
|
29
33
|
outline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);
|
@@ -74,6 +78,10 @@
|
|
74
78
|
left: calc(0px - var(--ck-widget-outline-thickness));
|
75
79
|
top: 0;
|
76
80
|
|
81
|
+
@media (prefers-reduced-motion: reduce) {
|
82
|
+
transition: none;
|
83
|
+
}
|
84
|
+
|
77
85
|
& .ck-icon {
|
78
86
|
/* Make sure the dimensions of the icon are independent of the fon-size of the content. */
|
79
87
|
width: var(--ck-widget-handler-icon-size);
|
@@ -86,6 +94,10 @@
|
|
86
94
|
|
87
95
|
/* Note: The animation is longer on purpose. Simply feels better. */
|
88
96
|
transition: opacity 300ms var(--ck-widget-handler-animation-curve);
|
97
|
+
|
98
|
+
@media (prefers-reduced-motion: reduce) {
|
99
|
+
transition: none;
|
100
|
+
}
|
89
101
|
}
|
90
102
|
}
|
91
103
|
|
@@ -36,6 +36,10 @@
|
|
36
36
|
|
37
37
|
@mixin ck-widget-type-around-button-hidden;
|
38
38
|
|
39
|
+
@media (prefers-reduced-motion: reduce) {
|
40
|
+
transition: none;
|
41
|
+
}
|
42
|
+
|
39
43
|
& svg {
|
40
44
|
width: 10px;
|
41
45
|
height: 8px;
|
@@ -43,6 +47,10 @@
|
|
43
47
|
transition: transform .5s ease;
|
44
48
|
margin-top: 1px;
|
45
49
|
|
50
|
+
@media (prefers-reduced-motion: reduce) {
|
51
|
+
transition: none;
|
52
|
+
}
|
53
|
+
|
46
54
|
& * {
|
47
55
|
stroke-dasharray: 10;
|
48
56
|
stroke-dashoffset: 0;
|
@@ -77,6 +85,20 @@
|
|
77
85
|
animation: ck-widget-type-around-arrow-tip-dash 2s linear;
|
78
86
|
}
|
79
87
|
}
|
88
|
+
|
89
|
+
@media (prefers-reduced-motion: reduce) {
|
90
|
+
animation: none;
|
91
|
+
|
92
|
+
& svg {
|
93
|
+
& polyline {
|
94
|
+
animation: none;
|
95
|
+
}
|
96
|
+
|
97
|
+
& line {
|
98
|
+
animation: none;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
80
102
|
}
|
81
103
|
}
|
82
104
|
|