@ckeditor/ckeditor5-theme-lark 0.0.0-nightly-20260129.0 → 0.0.0-nightly-next-20260129.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 +80 -216
- package/dist/index.css +80 -252
- package/dist/index.css.map +1 -1
- package/package.json +18 -16
- package/theme/ckeditor5-bookmark/bookmark.css +0 -68
- package/theme/ckeditor5-bookmark/bookmarkform.css +0 -20
- package/theme/ckeditor5-bookmark/bookmarktoolbar.css +0 -27
- package/theme/ckeditor5-clipboard/clipboard.css +0 -89
- package/theme/ckeditor5-code-block/codeblock.css +0 -28
- package/theme/ckeditor5-editor-classic/classiceditor.css +0 -48
- package/theme/ckeditor5-engine/placeholder.css +0 -39
- package/theme/ckeditor5-find-and-replace/findandreplaceform.css +0 -194
- package/theme/ckeditor5-heading/heading.css +0 -15
- package/theme/ckeditor5-horizontal-line/horizontalline.css +0 -10
- package/theme/ckeditor5-html-embed/htmlembed.css +0 -156
- package/theme/ckeditor5-image/imagecustomresizeform.css +0 -22
- package/theme/ckeditor5-image/imageinsert.css +0 -66
- package/theme/ckeditor5-image/imageupload.css +0 -4
- package/theme/ckeditor5-image/imageuploadicon.css +0 -108
- package/theme/ckeditor5-image/imageuploadloader.css +0 -50
- package/theme/ckeditor5-image/imageuploadprogress.css +0 -33
- package/theme/ckeditor5-image/textalternativeform.css +0 -22
- package/theme/ckeditor5-link/link.css +0 -30
- package/theme/ckeditor5-link/linkform.css +0 -58
- package/theme/ckeditor5-link/linkimage.css +0 -43
- package/theme/ckeditor5-link/linkproperties.css +0 -20
- package/theme/ckeditor5-link/linkprovideritems.css +0 -50
- package/theme/ckeditor5-link/linktoolbar.css +0 -66
- package/theme/ckeditor5-list/listproperties.css +0 -62
- package/theme/ckeditor5-list/liststyles.css +0 -40
- package/theme/ckeditor5-media-embed/mediaembedediting.css +0 -109
- package/theme/ckeditor5-mention/mention.css +0 -14
- package/theme/ckeditor5-restricted-editing/restrictedediting.css +0 -69
- package/theme/ckeditor5-special-characters/charactergrid.css +0 -51
- package/theme/ckeditor5-special-characters/characterinfo.css +0 -26
- package/theme/ckeditor5-special-characters/specialcharacters.css +0 -32
- package/theme/ckeditor5-style/style.css +0 -8
- package/theme/ckeditor5-style/stylegrid.css +0 -98
- package/theme/ckeditor5-style/stylegroup.css +0 -16
- package/theme/ckeditor5-style/stylepanel.css +0 -14
- package/theme/ckeditor5-table/colorinput.css +0 -103
- package/theme/ckeditor5-table/formrow-experimental.css +0 -24
- package/theme/ckeditor5-table/formrow.css +0 -28
- package/theme/ckeditor5-table/inserttable.css +0 -46
- package/theme/ckeditor5-table/tablecellproperties-experimental.css +0 -131
- package/theme/ckeditor5-table/tablecellproperties.css +0 -25
- package/theme/ckeditor5-table/tableediting.css +0 -73
- package/theme/ckeditor5-table/tableform-experimental.css +0 -104
- package/theme/ckeditor5-table/tableform.css +0 -90
- package/theme/ckeditor5-table/tablelayout.css +0 -157
- package/theme/ckeditor5-table/tableproperties-experimental.css +0 -45
- package/theme/ckeditor5-table/tableproperties.css +0 -26
- package/theme/ckeditor5-table/tableselection.css +0 -46
- package/theme/ckeditor5-ui/components/autocomplete/autocomplete.css +0 -36
- package/theme/ckeditor5-ui/components/button/button.css +0 -167
- package/theme/ckeditor5-ui/components/button/listitembutton.css +0 -42
- package/theme/ckeditor5-ui/components/button/switchbutton.css +0 -134
- package/theme/ckeditor5-ui/components/collapsible/collapsible.css +0 -42
- package/theme/ckeditor5-ui/components/colorgrid/colorgrid.css +0 -94
- package/theme/ckeditor5-ui/components/colorselector/colorselector.css +0 -70
- package/theme/ckeditor5-ui/components/dialog/dialog.css +0 -54
- package/theme/ckeditor5-ui/components/dialog/dialogactions.css +0 -14
- package/theme/ckeditor5-ui/components/dropdown/dropdown.css +0 -126
- package/theme/ckeditor5-ui/components/dropdown/listdropdown.css +0 -33
- package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenubutton.css +0 -89
- package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenulistitem.css +0 -12
- package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenulistitembutton.css +0 -36
- package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenupanel.css +0 -52
- package/theme/ckeditor5-ui/components/dropdown/splitbutton.css +0 -112
- package/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css +0 -8
- package/theme/ckeditor5-ui/components/editorui/accessibilityhelp.css +0 -103
- package/theme/ckeditor5-ui/components/editorui/editorui.css +0 -69
- package/theme/ckeditor5-ui/components/form/form.css +0 -4
- package/theme/ckeditor5-ui/components/formheader/formheader.css +0 -47
- package/theme/ckeditor5-ui/components/icon/icon.css +0 -39
- package/theme/ckeditor5-ui/components/input/input.css +0 -81
- package/theme/ckeditor5-ui/components/label/label.css +0 -8
- package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +0 -131
- package/theme/ckeditor5-ui/components/labeledinput/labeledinput.css +0 -17
- package/theme/ckeditor5-ui/components/list/list.css +0 -114
- package/theme/ckeditor5-ui/components/menubar/menubar.css +0 -15
- package/theme/ckeditor5-ui/components/menubar/menubarmenu.css +0 -13
- package/theme/ckeditor5-ui/components/menubar/menubarmenubutton.css +0 -104
- package/theme/ckeditor5-ui/components/menubar/menubarmenulistitem.css +0 -12
- package/theme/ckeditor5-ui/components/menubar/menubarmenulistitembutton.css +0 -36
- package/theme/ckeditor5-ui/components/menubar/menubarmenupanel.css +0 -70
- package/theme/ckeditor5-ui/components/panel/balloonpanel.css +0 -207
- package/theme/ckeditor5-ui/components/panel/balloonrotator.css +0 -33
- package/theme/ckeditor5-ui/components/panel/fakepanel.css +0 -46
- package/theme/ckeditor5-ui/components/panel/stickypanel.css +0 -16
- package/theme/ckeditor5-ui/components/responsive-form/responsiveform.css +0 -82
- package/theme/ckeditor5-ui/components/search/search.css +0 -106
- package/theme/ckeditor5-ui/components/spinner/spinner.css +0 -32
- package/theme/ckeditor5-ui/components/textarea/textarea.css +0 -12
- package/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css +0 -14
- package/theme/ckeditor5-ui/components/toolbar/toolbar.css +0 -203
- package/theme/ckeditor5-ui/components/tooltip/tooltip.css +0 -38
- package/theme/ckeditor5-ui/globals/_colors.css +0 -123
- package/theme/ckeditor5-ui/globals/_disabled.css +0 -11
- package/theme/ckeditor5-ui/globals/_focus.css +0 -31
- package/theme/ckeditor5-ui/globals/_fonts.css +0 -16
- package/theme/ckeditor5-ui/globals/_reset.css +0 -97
- package/theme/ckeditor5-ui/globals/_rounded.css +0 -11
- package/theme/ckeditor5-ui/globals/_shadow.css +0 -21
- package/theme/ckeditor5-ui/globals/_spacing.css +0 -16
- package/theme/ckeditor5-ui/globals/globals.css +0 -13
- package/theme/ckeditor5-ui/mixins/_button.css +0 -29
- package/theme/ckeditor5-widget/widget.css +0 -208
- package/theme/ckeditor5-widget/widgetresize.css +0 -44
- package/theme/ckeditor5-widget/widgettypearound.css +0 -318
- package/theme/index.css +0 -109
- package/theme/mixins/_disabled.css +0 -11
- package/theme/mixins/_focus.css +0 -13
- package/theme/mixins/_rounded.css +0 -19
- package/theme/mixins/_shadow.css +0 -18
- package/theme/theme.css +0 -4
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--ck-table-layout-widget-type-around-button-size: 16px;
|
|
8
|
-
--ck-table-layout-widget-type-around-icon-width: 10px;
|
|
9
|
-
--ck-table-layout-widget-type-around-icon-height: 8px;
|
|
10
|
-
--ck-table-layout-widget-handler-icon-size: 10px;
|
|
11
|
-
--ck-table-layout-default-border-color: hsl(0, 0%, 83%);
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ck-editor__editable {
|
|
16
|
-
& .table.layout-table {
|
|
17
|
-
& > table {
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
|
|
21
|
-
/* Resetting `border-collapse` property to the user agent styles. */
|
|
22
|
-
border-collapse: revert;
|
|
23
|
-
|
|
24
|
-
/* The default table layout style in the editing view when the border is unset. */
|
|
25
|
-
&:not(
|
|
26
|
-
[style*="border:"],
|
|
27
|
-
[style*="border-top"],
|
|
28
|
-
[style*="border-bottom"],
|
|
29
|
-
[style*="border-left"],
|
|
30
|
-
[style*="border-right"],
|
|
31
|
-
[style*="border-width"],
|
|
32
|
-
[style*="border-style"],
|
|
33
|
-
[style*="border-color"]) {
|
|
34
|
-
border-color: transparent;
|
|
35
|
-
border-width: 0;
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
& > table > tbody > tr > td {
|
|
41
|
-
box-shadow: revert;
|
|
42
|
-
padding: revert;
|
|
43
|
-
min-width: 2em;
|
|
44
|
-
/* To make the caret visible. */
|
|
45
|
-
text-indent: 1px;
|
|
46
|
-
|
|
47
|
-
/* Resets the `min-width` style attribute that was added by the content table style. */
|
|
48
|
-
&[style^="width:"],
|
|
49
|
-
&[style*=" width:"],
|
|
50
|
-
&[style*=";width:"],
|
|
51
|
-
&[style*="'width:"] {
|
|
52
|
-
min-width: auto;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* Remove the default background color from the focused table cell. */
|
|
56
|
-
&:focus {
|
|
57
|
-
background-color: transparent;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* The default table layout cell style in the editing view when the border is unset.
|
|
61
|
-
But it need to be more strict cause of style attributes like `border-collapse`, `border-spacing`, etc. */
|
|
62
|
-
&:not(
|
|
63
|
-
[style*="border:"],
|
|
64
|
-
[style*="border-top"],
|
|
65
|
-
[style*="border-bottom"],
|
|
66
|
-
[style*="border-left"],
|
|
67
|
-
[style*="border-right"],
|
|
68
|
-
[style*="border-width"],
|
|
69
|
-
[style*="border-style"],
|
|
70
|
-
[style*="border-color"]) {
|
|
71
|
-
border-color: transparent;
|
|
72
|
-
/* Resetting `border-width` property to the user agent styles. */
|
|
73
|
-
border-width: 0;
|
|
74
|
-
outline: var(--ck-table-layout-default-border-color) 1px dashed;
|
|
75
|
-
outline-offset: -1px;
|
|
76
|
-
|
|
77
|
-
&:focus {
|
|
78
|
-
outline: var(--ck-color-focus-border) 1px solid;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Reset the `width` and `text-indent` of the bogus paragraph because <td> has 1px text indent. */
|
|
83
|
-
& > .ck-table-bogus-paragraph {
|
|
84
|
-
width: calc(100% - 1px);
|
|
85
|
-
text-indent: 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Widget type around overrides. */
|
|
90
|
-
&.ck-widget {
|
|
91
|
-
& > .ck-widget__type-around {
|
|
92
|
-
--ck-widget-type-around-button-size: var(--ck-table-layout-widget-type-around-button-size);
|
|
93
|
-
|
|
94
|
-
& > .ck-widget__type-around__button {
|
|
95
|
-
&.ck-widget__type-around__button_before,
|
|
96
|
-
&.ck-widget__type-around__button_after {
|
|
97
|
-
transform: translateY(0);
|
|
98
|
-
/* Same value as inline-image widget because it is after the inline-image in HTML structure */
|
|
99
|
-
z-index: 2;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.ck-widget__type-around__button_before {
|
|
103
|
-
margin-left: var(--ck-table-layout-widget-type-around-button-size);
|
|
104
|
-
left: min(10%, 30px);
|
|
105
|
-
border-radius: 0 0 100px 100px;
|
|
106
|
-
|
|
107
|
-
&::after {
|
|
108
|
-
border-radius: 0 0 100px 100px;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&.ck-widget__type-around__button_after {
|
|
113
|
-
border-radius: 100px 100px 0 0;
|
|
114
|
-
|
|
115
|
-
&::after {
|
|
116
|
-
border-radius: 100px 100px 0 0;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
& svg {
|
|
121
|
-
width: var(--ck-table-layout-widget-type-around-icon-width);
|
|
122
|
-
height: var(--ck-table-layout-widget-type-around-icon-height);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.ck-widget_with-selection-handle {
|
|
128
|
-
& > .ck-widget__selection-handle {
|
|
129
|
-
--ck-widget-handler-icon-size: var(--ck-table-layout-widget-handler-icon-size);
|
|
130
|
-
|
|
131
|
-
transform: translateY(calc(0px - var(--ck-widget-outline-thickness)));
|
|
132
|
-
/* Value increased by 1 as in selected inline-image widget
|
|
133
|
-
because it is before the inline-image in HTML structure. */
|
|
134
|
-
z-index: 3;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* Show fake caret on border not above. */
|
|
139
|
-
&.ck-widget_type-around_show-fake-caret_before {
|
|
140
|
-
& > .ck-widget__type-around {
|
|
141
|
-
& > .ck-widget__type-around__fake-caret {
|
|
142
|
-
top: 0;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/* Show fake caret on border not below. */
|
|
148
|
-
&.ck-widget_type-around_show-fake-caret_after {
|
|
149
|
-
& > .ck-widget__type-around {
|
|
150
|
-
& > .ck-widget__type-around__fake-caret {
|
|
151
|
-
bottom: 0;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck.ck-table-properties-form {
|
|
7
|
-
width: 320px;
|
|
8
|
-
|
|
9
|
-
& .ck-form__row {
|
|
10
|
-
&.ck-table-properties-form__alignment-row {
|
|
11
|
-
align-self: flex-end;
|
|
12
|
-
|
|
13
|
-
& .ck.ck-toolbar {
|
|
14
|
-
background: none;
|
|
15
|
-
|
|
16
|
-
/* Compensate for missing input label that would push the margin (toolbar has no inputs). */
|
|
17
|
-
margin-top: var(--ck-spacing-standard);
|
|
18
|
-
|
|
19
|
-
& .ck-toolbar__items > * {
|
|
20
|
-
flex: 1;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.ck-table-properties-form_experimental {
|
|
27
|
-
& .ck-form__row {
|
|
28
|
-
&.ck-table-properties-form__alignment-row {
|
|
29
|
-
padding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.ck-table-form__action-row {
|
|
33
|
-
justify-content: flex-end;
|
|
34
|
-
|
|
35
|
-
& > .ck.ck-button {
|
|
36
|
-
flex-grow: initial;
|
|
37
|
-
|
|
38
|
-
& .ck-button__label {
|
|
39
|
-
color: currentColor;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck.ck-table-properties-form {
|
|
7
|
-
width: 320px;
|
|
8
|
-
|
|
9
|
-
& .ck-form__row {
|
|
10
|
-
&.ck-table-properties-form__alignment-row {
|
|
11
|
-
align-self: flex-end;
|
|
12
|
-
padding: 0;
|
|
13
|
-
|
|
14
|
-
& .ck.ck-toolbar {
|
|
15
|
-
background: none;
|
|
16
|
-
|
|
17
|
-
/* Compensate for missing input label that would push the margin (toolbar has no inputs). */
|
|
18
|
-
margin-top: var(--ck-spacing-standard);
|
|
19
|
-
|
|
20
|
-
& .ck-toolbar__items > * {
|
|
21
|
-
width: 40px;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ck.ck-editor__editable .table table {
|
|
11
|
-
& td.ck-editor__editable_selected,
|
|
12
|
-
& th.ck-editor__editable_selected {
|
|
13
|
-
position: relative;
|
|
14
|
-
caret-color: transparent;
|
|
15
|
-
box-shadow: unset;
|
|
16
|
-
|
|
17
|
-
/* https://github.com/ckeditor/ckeditor5/issues/6446 */
|
|
18
|
-
&:after {
|
|
19
|
-
content: '';
|
|
20
|
-
pointer-events: none;
|
|
21
|
-
background-color: var(--ck-table-selected-cell-background);
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 0;
|
|
24
|
-
left: 0;
|
|
25
|
-
right: 0;
|
|
26
|
-
bottom: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
& ::selection,
|
|
30
|
-
&:focus {
|
|
31
|
-
background-color: transparent;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/*
|
|
35
|
-
* To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.
|
|
36
|
-
* See https://github.com/ckeditor/ckeditor5/issues/9491.
|
|
37
|
-
*/
|
|
38
|
-
& .ck-widget {
|
|
39
|
-
outline: unset;
|
|
40
|
-
|
|
41
|
-
& > .ck-widget__selection-handle {
|
|
42
|
-
display: none;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
|
|
7
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
|
|
8
|
-
|
|
9
|
-
.ck.ck-autocomplete {
|
|
10
|
-
& > .ck-search__results {
|
|
11
|
-
@mixin ck-rounded-corners;
|
|
12
|
-
@mixin ck-drop-shadow;
|
|
13
|
-
|
|
14
|
-
max-height: 200px;
|
|
15
|
-
overflow-y: auto;
|
|
16
|
-
background: var(--ck-color-base-background);
|
|
17
|
-
border: 1px solid var(--ck-color-dropdown-panel-border);
|
|
18
|
-
min-width: auto;
|
|
19
|
-
|
|
20
|
-
&.ck-search__results_n {
|
|
21
|
-
border-bottom-left-radius: 0;
|
|
22
|
-
border-bottom-right-radius: 0;
|
|
23
|
-
|
|
24
|
-
/* Prevent duplicated borders between the input and the results pane. */
|
|
25
|
-
margin-bottom: -1px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.ck-search__results_s {
|
|
29
|
-
border-top-left-radius: 0;
|
|
30
|
-
border-top-right-radius: 0;
|
|
31
|
-
|
|
32
|
-
/* Prevent duplicated borders between the input and the results pane. */
|
|
33
|
-
margin-top: -1px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "../../../mixins/_focus.css";
|
|
7
|
-
@import "../../../mixins/_shadow.css";
|
|
8
|
-
@import "../../../mixins/_disabled.css";
|
|
9
|
-
@import "../../../mixins/_rounded.css";
|
|
10
|
-
@import "../../mixins/_button.css";
|
|
11
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|
12
|
-
|
|
13
|
-
.ck.ck-button,
|
|
14
|
-
a.ck.ck-button {
|
|
15
|
-
@mixin ck-button-colors --ck-color-button-default;
|
|
16
|
-
@mixin ck-rounded-corners;
|
|
17
|
-
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
cursor: default;
|
|
20
|
-
vertical-align: middle;
|
|
21
|
-
padding: var(--ck-spacing-tiny);
|
|
22
|
-
text-align: center;
|
|
23
|
-
|
|
24
|
-
/* A very important piece of styling. Go to variable declaration to learn more. */
|
|
25
|
-
min-width: var(--ck-ui-component-min-height);
|
|
26
|
-
min-height: var(--ck-ui-component-min-height);
|
|
27
|
-
|
|
28
|
-
/* Normalize the height of the line. Removing this will break consistent height
|
|
29
|
-
among text and text-less buttons (with icons). */
|
|
30
|
-
line-height: 1;
|
|
31
|
-
|
|
32
|
-
/* Enable font size inheritance, which allows fluid UI scaling. */
|
|
33
|
-
font-size: inherit;
|
|
34
|
-
|
|
35
|
-
/* Avoid flickering when the foucs border shows up. */
|
|
36
|
-
border: 1px solid transparent;
|
|
37
|
-
|
|
38
|
-
/* Apply some smooth transition to the box-shadow and border. */
|
|
39
|
-
transition: box-shadow .2s ease-in-out, border .2s ease-in-out;
|
|
40
|
-
|
|
41
|
-
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */
|
|
42
|
-
-webkit-appearance: none;
|
|
43
|
-
|
|
44
|
-
@media (prefers-reduced-motion: reduce) {
|
|
45
|
-
transition: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:active,
|
|
49
|
-
&:focus {
|
|
50
|
-
@mixin ck-focus-ring;
|
|
51
|
-
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Allow icon coloring using the text "color" property. */
|
|
55
|
-
& .ck-button__icon {
|
|
56
|
-
& use,
|
|
57
|
-
& use * {
|
|
58
|
-
color: inherit;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
& .ck-button__label {
|
|
63
|
-
/* Enable font size inheritance, which allows fluid UI scaling. */
|
|
64
|
-
font-size: inherit;
|
|
65
|
-
font-weight: inherit;
|
|
66
|
-
color: inherit;
|
|
67
|
-
cursor: inherit;
|
|
68
|
-
|
|
69
|
-
/* Must be consistent with .ck-icon's vertical align. Otherwise, buttons with and
|
|
70
|
-
without labels (but with icons) have different sizes in Chrome */
|
|
71
|
-
vertical-align: middle;
|
|
72
|
-
|
|
73
|
-
@mixin ck-dir ltr {
|
|
74
|
-
text-align: left;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@mixin ck-dir rtl {
|
|
78
|
-
text-align: right;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
& .ck-button__keystroke {
|
|
83
|
-
color: inherit;
|
|
84
|
-
|
|
85
|
-
@mixin ck-dir ltr {
|
|
86
|
-
margin-left: var(--ck-spacing-large);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@mixin ck-dir rtl {
|
|
90
|
-
margin-right: var(--ck-spacing-large);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
opacity: .5;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
|
|
97
|
-
&.ck-disabled {
|
|
98
|
-
&:active,
|
|
99
|
-
&:focus {
|
|
100
|
-
/* The disabled button should have a slightly less visible shadow when focused. */
|
|
101
|
-
@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
& .ck-button__icon {
|
|
105
|
-
@mixin ck-disabled;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
|
|
109
|
-
& .ck-button__label {
|
|
110
|
-
@mixin ck-disabled;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
& .ck-button__keystroke {
|
|
114
|
-
opacity: .3;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&.ck-button_with-text {
|
|
119
|
-
padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
|
|
120
|
-
|
|
121
|
-
/* stylelint-disable-next-line no-descending-specificity */
|
|
122
|
-
& .ck-button__icon {
|
|
123
|
-
@mixin ck-dir ltr {
|
|
124
|
-
margin-right: var(--ck-spacing-medium);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@mixin ck-dir rtl {
|
|
128
|
-
margin-left: var(--ck-spacing-medium);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&.ck-button_with-keystroke {
|
|
134
|
-
/* stylelint-disable-next-line no-descending-specificity */
|
|
135
|
-
& .ck-button__label {
|
|
136
|
-
flex-grow: 1;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* A style of the button which is currently on, e.g. its feature is active. */
|
|
141
|
-
&.ck-on {
|
|
142
|
-
@mixin ck-button-colors --ck-color-button-on;
|
|
143
|
-
|
|
144
|
-
color: var(--ck-color-button-on-color);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.ck-button-save {
|
|
148
|
-
color: var(--ck-color-button-save);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&.ck-button-cancel {
|
|
152
|
-
color: var(--ck-color-button-cancel);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/* A style of the button which handles the primary action. */
|
|
157
|
-
.ck.ck-button-action,
|
|
158
|
-
a.ck.ck-button-action {
|
|
159
|
-
@mixin ck-button-colors --ck-color-button-action;
|
|
160
|
-
|
|
161
|
-
color: var(--ck-color-button-action-text);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.ck.ck-button-bold,
|
|
165
|
-
a.ck.ck-button-bold {
|
|
166
|
-
font-weight: bold;
|
|
167
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|
7
|
-
|
|
8
|
-
.ck.ck-button.ck-list-item-button {
|
|
9
|
-
padding: var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
|
|
10
|
-
|
|
11
|
-
&,
|
|
12
|
-
&.ck-on {
|
|
13
|
-
background: var(--ck-color-list-background);
|
|
14
|
-
color: var(--ck-color-text);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:has(.ck-list-item-button__check-holder) {
|
|
18
|
-
@mixin ck-dir ltr {
|
|
19
|
-
padding-left: var(--ck-spacing-small);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin ck-dir rtl {
|
|
23
|
-
padding-right: var(--ck-spacing-small);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/*
|
|
28
|
-
* `.ck-on` class and background styling is overridden for `ck-button` in many places.
|
|
29
|
-
* This is a workaround to make sure that the background is not overridden and uses similar
|
|
30
|
-
* selector specificity as the other overrides.
|
|
31
|
-
*/
|
|
32
|
-
&:hover:not(.ck-disabled),
|
|
33
|
-
&.ck-button.ck-on:hover,
|
|
34
|
-
&.ck-on:not(.ck-list-item-button_toggleable),
|
|
35
|
-
&.ck-on:hover {
|
|
36
|
-
background: var(--ck-color-list-button-hover-background);
|
|
37
|
-
|
|
38
|
-
&:not(.ck-disabled) {
|
|
39
|
-
color: var(--ck-color-text);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "../../../mixins/_rounded.css";
|
|
7
|
-
@import "../../../mixins/_disabled.css";
|
|
8
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|
9
|
-
|
|
10
|
-
/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature
|
|
11
|
-
of the component, floating–point numbers have been used which, for the default font size
|
|
12
|
-
(see: --ck-font-size-base), will generate simple integers. */
|
|
13
|
-
:root {
|
|
14
|
-
/* 34px at 13px font-size */
|
|
15
|
-
--ck-switch-button-toggle-width: 2.6153846154em;
|
|
16
|
-
/* 14px at 13px font-size */
|
|
17
|
-
--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);
|
|
18
|
-
--ck-switch-button-translation: calc(
|
|
19
|
-
var(--ck-switch-button-toggle-width) -
|
|
20
|
-
var(--ck-switch-button-toggle-inner-size) -
|
|
21
|
-
2px /* Border */
|
|
22
|
-
);
|
|
23
|
-
--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ck.ck-button.ck-switchbutton {
|
|
27
|
-
/* Unlike a regular button, the switch button text color and background should never change.
|
|
28
|
-
* Changing toggle switch (background, outline) is enough to carry the information about the
|
|
29
|
-
* state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)
|
|
30
|
-
*/
|
|
31
|
-
&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {
|
|
32
|
-
color: inherit;
|
|
33
|
-
background: transparent;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
& .ck-button__label {
|
|
37
|
-
@mixin ck-dir ltr {
|
|
38
|
-
/* Separate the label from the switch */
|
|
39
|
-
margin-right: calc(2 * var(--ck-spacing-large));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@mixin ck-dir rtl {
|
|
43
|
-
/* Separate the label from the switch */
|
|
44
|
-
margin-left: calc(2 * var(--ck-spacing-large));
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
& .ck-button__toggle {
|
|
49
|
-
@mixin ck-rounded-corners;
|
|
50
|
-
|
|
51
|
-
@mixin ck-dir ltr {
|
|
52
|
-
/* Make sure the toggle is always to the right as far as possible. */
|
|
53
|
-
margin-left: auto;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@mixin ck-dir rtl {
|
|
57
|
-
/* Make sure the toggle is always to the left as far as possible. */
|
|
58
|
-
margin-right: auto;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* Apply some smooth transition to the box-shadow and border. */
|
|
62
|
-
/* Gently animate the background color of the toggle switch */
|
|
63
|
-
transition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;
|
|
64
|
-
border: 1px solid transparent;
|
|
65
|
-
width: var(--ck-switch-button-toggle-width);
|
|
66
|
-
background: var(--ck-color-switch-button-off-background);
|
|
67
|
-
|
|
68
|
-
& .ck-button__toggle__inner {
|
|
69
|
-
@mixin ck-rounded-corners {
|
|
70
|
-
border-radius: calc(.5 * var(--ck-border-radius));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
width: var(--ck-switch-button-toggle-inner-size);
|
|
74
|
-
height: var(--ck-switch-button-toggle-inner-size);
|
|
75
|
-
background: var(--ck-color-switch-button-inner-background);
|
|
76
|
-
|
|
77
|
-
/* Gently animate the inner part of the toggle switch */
|
|
78
|
-
transition: all 300ms ease;
|
|
79
|
-
|
|
80
|
-
@media (prefers-reduced-motion: reduce) {
|
|
81
|
-
transition: none;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:hover {
|
|
86
|
-
background: var(--ck-color-switch-button-off-hover-background);
|
|
87
|
-
|
|
88
|
-
& .ck-button__toggle__inner {
|
|
89
|
-
box-shadow: var(--ck-switch-button-inner-hover-shadow);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.ck-disabled .ck-button__toggle {
|
|
95
|
-
@mixin ck-disabled;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Overriding default .ck-button:focus styles + an outline around the toogle */
|
|
99
|
-
&:focus {
|
|
100
|
-
border-color: transparent;
|
|
101
|
-
outline: none;
|
|
102
|
-
box-shadow: none;
|
|
103
|
-
|
|
104
|
-
& .ck-button__toggle {
|
|
105
|
-
box-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);
|
|
106
|
-
outline-offset: 1px;
|
|
107
|
-
outline: var(--ck-focus-ring);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* stylelint-disable-next-line no-descending-specificity */
|
|
112
|
-
&.ck-on {
|
|
113
|
-
& .ck-button__toggle {
|
|
114
|
-
background: var(--ck-color-switch-button-on-background);
|
|
115
|
-
|
|
116
|
-
&:hover {
|
|
117
|
-
background: var(--ck-color-switch-button-on-hover-background);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
& .ck-button__toggle__inner {
|
|
121
|
-
/*
|
|
122
|
-
* Move the toggle switch to the right. It will be animated.
|
|
123
|
-
*/
|
|
124
|
-
@mixin ck-dir ltr {
|
|
125
|
-
transform: translateX( var( --ck-switch-button-translation ) );
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@mixin ck-dir rtl {
|
|
129
|
-
transform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ck.ck-collapsible {
|
|
11
|
-
& > .ck.ck-button {
|
|
12
|
-
width: 100%;
|
|
13
|
-
font-weight: bold;
|
|
14
|
-
border-radius: 0;
|
|
15
|
-
color: inherit;
|
|
16
|
-
|
|
17
|
-
&:focus {
|
|
18
|
-
background: transparent;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:active, &:not(:focus), &:hover:not(:focus) {
|
|
22
|
-
background: transparent;
|
|
23
|
-
border-color: transparent;
|
|
24
|
-
box-shadow: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& > .ck-icon {
|
|
28
|
-
margin-right: var(--ck-spacing-medium);
|
|
29
|
-
width: var(--ck-collapsible-arrow-size);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
& > .ck-collapsible__children {
|
|
34
|
-
padding: var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.ck-collapsible_collapsed {
|
|
38
|
-
& > .ck.ck-button .ck-icon {
|
|
39
|
-
transform: rotate(-90deg);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|