@ckeditor/ckeditor5-theme-lark 43.2.0 → 43.3.0-alpha.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-editor.css +181 -186
- package/dist/index.css +188 -194
- package/dist/index.css.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/theme/ckeditor5-html-embed/htmlembed.css +4 -4
- package/theme/ckeditor5-ui/components/dialog/dialog.css +5 -0
- package/theme/ckeditor5-ui/components/dropdown/splitbutton.css +20 -20
- package/theme/ckeditor5-ui/components/toolbar/toolbar.css +1 -1
- package/theme/mixins/_rounded.css +1 -1
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.js"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;AACA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC","file":"index.js.map","sourcesContent":["\n//# sourceMappingURL=index.js.map\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "43.
|
3
|
+
"version": "43.3.0-alpha.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": "43.
|
12
|
+
"@ckeditor/ckeditor5-ui": "43.3.0-alpha.0"
|
13
13
|
},
|
14
14
|
"author": "CKSource (http://cksource.com/)",
|
15
15
|
"license": "GPL-2.0-or-later",
|
@@ -56,18 +56,18 @@
|
|
56
56
|
margin-left: 50px;
|
57
57
|
}
|
58
58
|
|
59
|
-
|
59
|
+
.ck.ck-editor__editable.ck-blurred &.ck-widget_selected::before {
|
60
60
|
top: 0px;
|
61
61
|
padding: var(--ck-spacing-tiny) var(--ck-spacing-small);
|
62
62
|
}
|
63
63
|
|
64
|
-
|
64
|
+
.ck.ck-editor__editable:not(.ck-blurred) &.ck-widget_selected::before {
|
65
65
|
top: 0;
|
66
66
|
padding: var(--ck-spacing-tiny) var(--ck-spacing-small);
|
67
67
|
background: var(--ck-color-focus-border);
|
68
68
|
}
|
69
69
|
|
70
|
-
|
70
|
+
.ck.ck-editor__editable &:not(.ck-widget_selected):hover::before {
|
71
71
|
top: 0px;
|
72
72
|
padding: var(--ck-spacing-tiny) var(--ck-spacing-small);
|
73
73
|
}
|
@@ -135,7 +135,7 @@
|
|
135
135
|
width: var(--ck-html-embed-content-width);
|
136
136
|
|
137
137
|
/* Disable all mouse interaction as long as the editor is not read–only. */
|
138
|
-
|
138
|
+
.ck-editor__editable:not(.ck-read-only) & {
|
139
139
|
pointer-events: none;
|
140
140
|
}
|
141
141
|
}
|
@@ -32,12 +32,17 @@
|
|
32
32
|
max-height: var(--ck-dialog-max-height);
|
33
33
|
max-width: var(--ck-dialog-max-width);
|
34
34
|
border: 1px solid var(--ck-color-base-border);
|
35
|
+
overscroll-behavior: contain;
|
35
36
|
|
36
37
|
& .ck.ck-form__header {
|
37
38
|
border-bottom: 1px solid var(--ck-color-dialog-form-header-border);
|
38
39
|
}
|
39
40
|
}
|
40
41
|
|
42
|
+
.ck-dialog-scroll-locked {
|
43
|
+
overflow: hidden;
|
44
|
+
}
|
45
|
+
|
41
46
|
@keyframes ck-dialog-fade-in {
|
42
47
|
0% {
|
43
48
|
background: hsla( 0, 0%, 0%, 0 );
|
@@ -16,13 +16,13 @@
|
|
16
16
|
*/
|
17
17
|
&:hover > .ck-splitbutton__action,
|
18
18
|
&.ck-splitbutton_open > .ck-splitbutton__action {
|
19
|
-
|
19
|
+
[dir="ltr"] & {
|
20
20
|
/* Don't round the action button on the right side */
|
21
21
|
border-top-right-radius: unset;
|
22
22
|
border-bottom-right-radius: unset;
|
23
23
|
}
|
24
24
|
|
25
|
-
|
25
|
+
[dir="rtl"] & {
|
26
26
|
/* Don't round the action button on the left side */
|
27
27
|
border-top-left-radius: unset;
|
28
28
|
border-bottom-left-radius: unset;
|
@@ -34,13 +34,13 @@
|
|
34
34
|
it must get some arbitrary min-width. */
|
35
35
|
min-width: unset;
|
36
36
|
|
37
|
-
|
37
|
+
[dir="ltr"] & {
|
38
38
|
/* Don't round the arrow button on the left side */
|
39
39
|
border-top-left-radius: unset;
|
40
40
|
border-bottom-left-radius: unset;
|
41
41
|
}
|
42
42
|
|
43
|
-
|
43
|
+
[dir="rtl"] & {
|
44
44
|
/* Don't round the arrow button on the right side */
|
45
45
|
border-top-right-radius: unset;
|
46
46
|
border-bottom-right-radius: unset;
|
@@ -58,6 +58,20 @@
|
|
58
58
|
border-bottom-width: 0px;
|
59
59
|
}
|
60
60
|
|
61
|
+
/* Don't round the bottom left and right corners of the buttons when "open"
|
62
|
+
https://github.com/ckeditor/ckeditor5/issues/816 */
|
63
|
+
&.ck-splitbutton_open {
|
64
|
+
@mixin ck-rounded-corners {
|
65
|
+
& > .ck-splitbutton__action {
|
66
|
+
border-bottom-left-radius: 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
& > .ck-splitbutton__arrow {
|
70
|
+
border-bottom-right-radius: 0;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
61
75
|
/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling
|
62
76
|
as a whole. The background of both buttons should stand out and there should be a visual
|
63
77
|
separation between both buttons. */
|
@@ -83,30 +97,16 @@
|
|
83
97
|
--ck-color-split-button-hover-border: var(--ck-color-focus-border);
|
84
98
|
}
|
85
99
|
|
86
|
-
|
100
|
+
[dir="ltr"] & {
|
87
101
|
& > .ck-splitbutton__arrow:not(.ck-disabled)::after {
|
88
102
|
left: -1px;
|
89
103
|
}
|
90
104
|
}
|
91
105
|
|
92
|
-
|
106
|
+
[dir="rtl"] & {
|
93
107
|
& > .ck-splitbutton__arrow:not(.ck-disabled)::after {
|
94
108
|
right: -1px;
|
95
109
|
}
|
96
110
|
}
|
97
111
|
}
|
98
|
-
|
99
|
-
/* Don't round the bottom left and right corners of the buttons when "open"
|
100
|
-
https://github.com/ckeditor/ckeditor5/issues/816 */
|
101
|
-
&.ck-splitbutton_open {
|
102
|
-
@mixin ck-rounded-corners {
|
103
|
-
& > .ck-splitbutton__action {
|
104
|
-
border-bottom-left-radius: 0;
|
105
|
-
}
|
106
|
-
|
107
|
-
& > .ck-splitbutton__arrow {
|
108
|
-
border-bottom-right-radius: 0;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
}
|
112
112
|
}
|