@ckeditor/ckeditor5-footnotes 48.3.1 → 48.4.0-alpha.1

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.
Files changed (154) hide show
  1. package/dist/footnotesproperties/footnotespropertiesui.d.ts +0 -1
  2. package/dist/footnotesui.d.ts +0 -1
  3. package/dist/index-content.css +51 -50
  4. package/dist/index-editor.css +49 -52
  5. package/dist/index.css +76 -72
  6. package/dist/index.d.ts +2 -0
  7. package/dist/index.js +1 -1
  8. package/dist/translations/af.js +1 -1
  9. package/dist/translations/af.umd.js +1 -1
  10. package/dist/translations/ar.js +1 -1
  11. package/dist/translations/ar.umd.js +1 -1
  12. package/dist/translations/ast.js +1 -1
  13. package/dist/translations/ast.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/be.js +1 -1
  17. package/dist/translations/be.umd.js +1 -1
  18. package/dist/translations/bg.js +1 -1
  19. package/dist/translations/bg.umd.js +1 -1
  20. package/dist/translations/bn.js +1 -1
  21. package/dist/translations/bn.umd.js +1 -1
  22. package/dist/translations/bs.js +1 -1
  23. package/dist/translations/bs.umd.js +1 -1
  24. package/dist/translations/ca.js +1 -1
  25. package/dist/translations/ca.umd.js +1 -1
  26. package/dist/translations/cs.js +1 -1
  27. package/dist/translations/cs.umd.js +1 -1
  28. package/dist/translations/da.js +1 -1
  29. package/dist/translations/da.umd.js +1 -1
  30. package/dist/translations/de-ch.js +1 -1
  31. package/dist/translations/de-ch.umd.js +1 -1
  32. package/dist/translations/de.js +1 -1
  33. package/dist/translations/de.umd.js +1 -1
  34. package/dist/translations/el.js +1 -1
  35. package/dist/translations/el.umd.js +1 -1
  36. package/dist/translations/en-au.js +1 -1
  37. package/dist/translations/en-au.umd.js +1 -1
  38. package/dist/translations/en-gb.js +1 -1
  39. package/dist/translations/en-gb.umd.js +1 -1
  40. package/dist/translations/en.js +1 -1
  41. package/dist/translations/en.umd.js +1 -1
  42. package/dist/translations/eo.js +1 -1
  43. package/dist/translations/eo.umd.js +1 -1
  44. package/dist/translations/es-co.js +1 -1
  45. package/dist/translations/es-co.umd.js +1 -1
  46. package/dist/translations/es.js +1 -1
  47. package/dist/translations/es.umd.js +1 -1
  48. package/dist/translations/et.js +1 -1
  49. package/dist/translations/et.umd.js +1 -1
  50. package/dist/translations/eu.js +1 -1
  51. package/dist/translations/eu.umd.js +1 -1
  52. package/dist/translations/fa.js +1 -1
  53. package/dist/translations/fa.umd.js +1 -1
  54. package/dist/translations/fi.js +1 -1
  55. package/dist/translations/fi.umd.js +1 -1
  56. package/dist/translations/fr.js +1 -1
  57. package/dist/translations/fr.umd.js +1 -1
  58. package/dist/translations/gl.js +1 -1
  59. package/dist/translations/gl.umd.js +1 -1
  60. package/dist/translations/gu.js +1 -1
  61. package/dist/translations/gu.umd.js +1 -1
  62. package/dist/translations/he.js +1 -1
  63. package/dist/translations/he.umd.js +1 -1
  64. package/dist/translations/hi.js +1 -1
  65. package/dist/translations/hi.umd.js +1 -1
  66. package/dist/translations/hr.js +1 -1
  67. package/dist/translations/hr.umd.js +1 -1
  68. package/dist/translations/hu.js +1 -1
  69. package/dist/translations/hu.umd.js +1 -1
  70. package/dist/translations/hy.js +1 -1
  71. package/dist/translations/hy.umd.js +1 -1
  72. package/dist/translations/id.js +1 -1
  73. package/dist/translations/id.umd.js +1 -1
  74. package/dist/translations/it.js +1 -1
  75. package/dist/translations/it.umd.js +1 -1
  76. package/dist/translations/ja.js +1 -1
  77. package/dist/translations/ja.umd.js +1 -1
  78. package/dist/translations/jv.js +1 -1
  79. package/dist/translations/jv.umd.js +1 -1
  80. package/dist/translations/kk.js +1 -1
  81. package/dist/translations/kk.umd.js +1 -1
  82. package/dist/translations/km.js +1 -1
  83. package/dist/translations/km.umd.js +1 -1
  84. package/dist/translations/kn.js +1 -1
  85. package/dist/translations/kn.umd.js +1 -1
  86. package/dist/translations/ko.js +1 -1
  87. package/dist/translations/ko.umd.js +1 -1
  88. package/dist/translations/ku.js +1 -1
  89. package/dist/translations/ku.umd.js +1 -1
  90. package/dist/translations/lt.js +1 -1
  91. package/dist/translations/lt.umd.js +1 -1
  92. package/dist/translations/lv.js +1 -1
  93. package/dist/translations/lv.umd.js +1 -1
  94. package/dist/translations/ms.js +1 -1
  95. package/dist/translations/ms.umd.js +1 -1
  96. package/dist/translations/nb.js +1 -1
  97. package/dist/translations/nb.umd.js +1 -1
  98. package/dist/translations/ne.js +1 -1
  99. package/dist/translations/ne.umd.js +1 -1
  100. package/dist/translations/nl.js +1 -1
  101. package/dist/translations/nl.umd.js +1 -1
  102. package/dist/translations/no.js +1 -1
  103. package/dist/translations/no.umd.js +1 -1
  104. package/dist/translations/oc.js +1 -1
  105. package/dist/translations/oc.umd.js +1 -1
  106. package/dist/translations/pl.js +1 -1
  107. package/dist/translations/pl.umd.js +1 -1
  108. package/dist/translations/pt-br.js +1 -1
  109. package/dist/translations/pt-br.umd.js +1 -1
  110. package/dist/translations/pt.js +1 -1
  111. package/dist/translations/pt.umd.js +1 -1
  112. package/dist/translations/ro.js +1 -1
  113. package/dist/translations/ro.umd.js +1 -1
  114. package/dist/translations/ru.js +1 -1
  115. package/dist/translations/ru.umd.js +1 -1
  116. package/dist/translations/si.js +1 -1
  117. package/dist/translations/si.umd.js +1 -1
  118. package/dist/translations/sk.js +1 -1
  119. package/dist/translations/sk.umd.js +1 -1
  120. package/dist/translations/sl.js +1 -1
  121. package/dist/translations/sl.umd.js +1 -1
  122. package/dist/translations/sq.js +1 -1
  123. package/dist/translations/sq.umd.js +1 -1
  124. package/dist/translations/sr-latn.js +1 -1
  125. package/dist/translations/sr-latn.umd.js +1 -1
  126. package/dist/translations/sr.js +1 -1
  127. package/dist/translations/sr.umd.js +1 -1
  128. package/dist/translations/sv.js +1 -1
  129. package/dist/translations/sv.umd.js +1 -1
  130. package/dist/translations/th.js +1 -1
  131. package/dist/translations/th.umd.js +1 -1
  132. package/dist/translations/ti.js +1 -1
  133. package/dist/translations/ti.umd.js +1 -1
  134. package/dist/translations/tk.js +1 -1
  135. package/dist/translations/tk.umd.js +1 -1
  136. package/dist/translations/tr.js +1 -1
  137. package/dist/translations/tr.umd.js +1 -1
  138. package/dist/translations/tt.js +1 -1
  139. package/dist/translations/tt.umd.js +1 -1
  140. package/dist/translations/ug.js +1 -1
  141. package/dist/translations/ug.umd.js +1 -1
  142. package/dist/translations/uk.js +1 -1
  143. package/dist/translations/uk.umd.js +1 -1
  144. package/dist/translations/ur.js +1 -1
  145. package/dist/translations/ur.umd.js +1 -1
  146. package/dist/translations/uz.js +1 -1
  147. package/dist/translations/uz.umd.js +1 -1
  148. package/dist/translations/vi.js +1 -1
  149. package/dist/translations/vi.umd.js +1 -1
  150. package/dist/translations/zh-cn.js +1 -1
  151. package/dist/translations/zh-cn.umd.js +1 -1
  152. package/dist/translations/zh.js +1 -1
  153. package/dist/translations/zh.umd.js +1 -1
  154. package/package.json +9 -9
@@ -9,7 +9,6 @@
9
9
  import { ContextualBalloon } from "@ckeditor/ckeditor5-ui";
10
10
  import { WidgetToolbarRepository } from "@ckeditor/ckeditor5-widget";
11
11
  import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
12
- import "../../theme/footnotesproperties.css";
13
12
  /**
14
13
  * A plugin that provides footnotes properties UI.
15
14
  */
@@ -3,7 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Plugin } from "@ckeditor/ckeditor5-core";
6
- import "../theme/footnotes.css";
7
6
  /**
8
7
  * The footnotes UI plugin.
9
8
  */
@@ -2,82 +2,83 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root{
6
- --ck-content-footnotes-list-background-color:none;
7
- --ck-content-footnotes-list-separator-color:#000;
8
- --ck-content-footnote-font-size:var(--ck-content-font-size-small);
5
+ :root {
6
+ --ck-content-footnotes-list-background-color: none;
7
+ --ck-content-footnotes-list-separator-color: #000;
8
+ --ck-content-footnote-font-size: var(--ck-content-font-size-small);
9
9
  }
10
10
 
11
- .ck-content .footnote{
12
- margin-inline-end:.2em;
11
+ .ck-content .footnote {
12
+ margin-inline-end: .2em;
13
13
  }
14
14
 
15
- .ck-content .footnotes{
16
- font-size:var(--ck-content-footnote-font-size);
17
- background-color:var(--ck-content-footnotes-list-background-color);
18
- margin:.9em 0 1.5em;
19
- position:relative;
15
+ .ck-content .footnotes {
16
+ font-size: var(--ck-content-footnote-font-size);
17
+ background-color: var(--ck-content-footnotes-list-background-color);
18
+ margin: .9em 0 1.5em;
19
+ position: relative;
20
20
  }
21
21
 
22
- .ck-content .footnotes-divider{
23
- border:none;
24
- border-top:1px solid var(--ck-content-footnotes-list-separator-color);
25
- background:none;
26
- width:min(30%, 350px);
27
- height:1px;
28
- margin:0 0 1em;
29
- display:block;
22
+ .ck-content .footnotes-divider {
23
+ border: none;
24
+ border-top: 1px solid var(--ck-content-footnotes-list-separator-color);
25
+ background: none;
26
+ width: min(30%, 350px);
27
+ height: 1px;
28
+ margin: 0 0 1em;
29
+ display: block;
30
30
  }
31
31
 
32
- [dir="rtl"] :is(.ck-content .footnotes-divider){
33
- margin-left:auto;
34
- margin-right:0;
32
+ [dir="rtl"] :is(.ck-content .footnotes-divider) {
33
+ margin-left: auto;
34
+ margin-right: 0;
35
35
  }
36
36
 
37
- .ck-content .footnotes-list{
38
- margin:0;
39
- padding-inline-start:3em;
37
+ .ck-content .footnotes-list {
38
+ margin: 0;
39
+ padding-inline-start: 3em;
40
40
  }
41
41
 
42
- .ck-content .footnote-backlink{
43
- user-select:none;
44
- vertical-align:top;
45
- width:auto;
46
- margin-inline-end:1ch;
47
- display:inline-block;
42
+ .ck-content .footnote-backlink {
43
+ -webkit-user-select: none;
44
+ user-select: none;
45
+ vertical-align: top;
46
+ width: auto;
47
+ margin-inline-end: 1ch;
48
+ display: inline-block;
48
49
  }
49
50
 
50
- .ck-content .footnote-content{
51
- vertical-align:top;
52
- width:calc(100% - 2em);
53
- padding:0 4px;
54
- display:inline-block;
51
+ .ck-content .footnote-content {
52
+ vertical-align: top;
53
+ width: calc(100% - 2em);
54
+ padding: 0 4px;
55
+ display: inline-block;
55
56
  }
56
57
 
57
- .ck-content .footnote-content > p:first-of-type{
58
- margin-top:0;
58
+ .ck-content .footnote-content > p:first-of-type {
59
+ margin-top: 0;
59
60
  }
60
61
 
61
- .ck-content .footnote-content > p:last-of-type{
62
- margin-bottom:0;
62
+ .ck-content .footnote-content > p:last-of-type {
63
+ margin-bottom: 0;
63
64
  }
64
65
 
65
- .ck-content .footnote-content ol{
66
- list-style-type:decimal;
66
+ .ck-content .footnote-content ol {
67
+ list-style-type: decimal;
67
68
  }
68
69
 
69
- .ck-content .footnote-content ol ol{
70
- list-style-type:lower-latin;
70
+ .ck-content .footnote-content ol ol {
71
+ list-style-type: lower-latin;
71
72
  }
72
73
 
73
- .ck-content .footnote-content ol ol ol{
74
- list-style-type:lower-roman;
74
+ .ck-content .footnote-content ol ol ol {
75
+ list-style-type: lower-roman;
75
76
  }
76
77
 
77
- .ck-content .footnote-content ol ol ol ol{
78
- list-style-type:upper-latin;
78
+ .ck-content .footnote-content ol ol ol ol {
79
+ list-style-type: upper-latin;
79
80
  }
80
81
 
81
- .ck-content .footnote-content ol ol ol ol ol{
82
- list-style-type:upper-roman;
82
+ .ck-content .footnote-content ol ol ol ol ol {
83
+ list-style-type: upper-roman;
83
84
  }
@@ -2,80 +2,77 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root{
6
- --ck-content-footnotes-list-background-color:none;
7
- --ck-content-footnotes-list-separator-color:#000;
8
- --ck-content-footnote-font-size:var(--ck-content-font-size-small);
9
- --ck-footnotes-widget-label-background-color:#757575;
5
+ :root {
6
+ --ck-footnotes-widget-label-background-color: #757575;
10
7
  }
11
8
 
12
- .ck.ck-editor__editable .footnotes.ck-widget{
13
- margin:.9em 0 .85em;
14
- display:flow-root;
15
- position:relative;
9
+ .ck.ck-editor__editable .footnotes.ck-widget {
10
+ margin: .9em 0 .85em;
11
+ display: flow-root;
12
+ position: relative;
16
13
  }
17
14
 
18
- .ck.ck-editor__editable .footnotes.ck-widget:not(:hover):not(.ck-widget_selected){
19
- outline:1px solid var(--ck-color-base-border);
15
+ .ck.ck-editor__editable .footnotes.ck-widget:not(:hover):not(.ck-widget_selected) {
16
+ outline: 1px solid var(--ck-color-base-border);
20
17
  }
21
18
 
22
- .ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after{
23
- content:attr(data-footnotes-list-label);
24
- padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);
25
- background-color:var(--ck-footnotes-widget-label-background-color);
26
- font-size:10px;
27
- font-family:var(--ck-font-face);
28
- color:#fff;
29
- white-space:nowrap;
30
- line-height:16px;
31
- position:absolute;
32
- top:-1px;
33
- right:10px;
19
+ .ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after {
20
+ content: attr(data-footnotes-list-label);
21
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
22
+ background-color: var(--ck-footnotes-widget-label-background-color);
23
+ font-size: 10px;
24
+ font-family: var(--ck-font-face);
25
+ color: #fff;
26
+ white-space: nowrap;
27
+ line-height: 16px;
28
+ position: absolute;
29
+ top: -1px;
30
+ right: 10px;
34
31
  }
35
32
 
36
- [dir="rtl"] :is(.ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after){
37
- left:10px;
38
- right:auto;
33
+ [dir="rtl"] :is(.ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after) {
34
+ left: 10px;
35
+ right: auto;
39
36
  }
40
37
 
41
- .ck.ck-editor__editable .footnotes-divider{
42
- margin-top:0;
38
+ .ck.ck-editor__editable .footnotes-divider {
39
+ margin-top: 0;
43
40
  }
44
41
 
45
- .ck.ck-editor__editable .footnotes-list{
46
- margin-top:0;
47
- margin-bottom:.65em;
42
+ .ck.ck-editor__editable .footnotes-list {
43
+ margin-top: 0;
44
+ margin-bottom: .65em;
48
45
  }
49
46
 
50
- :root{
51
- --ck-footnotes-styles-list-style-button-size:44px;
47
+ :root {
48
+ --ck-footnotes-styles-list-style-button-size: 44px;
52
49
  }
53
50
 
54
- .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list{
55
- row-gap:var(--ck-spacing-medium);
56
- column-gap:var(--ck-spacing-medium);
57
- padding:var(--ck-spacing-large);
58
- grid-template-columns:repeat(4, auto);
59
- display:grid;
51
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list {
52
+ row-gap: var(--ck-spacing-medium);
53
+ column-gap: var(--ck-spacing-medium);
54
+ padding: var(--ck-spacing-large);
55
+ grid-template-columns: repeat(4, auto);
56
+ display: grid;
60
57
  }
61
58
 
62
- .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button{
63
- width:var(--ck-footnotes-styles-list-style-button-size);
64
- height:var(--ck-footnotes-styles-list-style-button-size);
65
- box-sizing:content-box;
66
- margin:0;
67
- padding:0;
59
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button {
60
+ width: var(--ck-footnotes-styles-list-style-button-size);
61
+ height: var(--ck-footnotes-styles-list-style-button-size);
62
+ box-sizing: content-box;
63
+ margin: 0;
64
+ padding: 0;
68
65
  }
69
66
 
70
- .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button .ck-icon{
71
- width:var(--ck-footnotes-styles-list-style-button-size);
72
- height:var(--ck-footnotes-styles-list-style-button-size);
67
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button .ck-icon {
68
+ width: var(--ck-footnotes-styles-list-style-button-size);
69
+ height: var(--ck-footnotes-styles-list-style-button-size);
73
70
  }
74
71
 
75
- .ck.ck-footnotes-definitions-properties > .ck-collapsible{
76
- border-top:1px solid var(--ck-color-base-border);
72
+ .ck.ck-footnotes-definitions-properties > .ck-collapsible {
73
+ border-top: 1px solid var(--ck-color-base-border);
77
74
  }
78
75
 
79
- .ck.ck-footnotes-definitions-properties > .ck-collapsible .ck-footnotes-definitions-properties__start-index .ck-input{
80
- min-width:100%;
76
+ .ck.ck-footnotes-definitions-properties > .ck-collapsible .ck-footnotes-definitions-properties__start-index .ck-input {
77
+ min-width: 100%;
81
78
  }
package/dist/index.css CHANGED
@@ -2,11 +2,85 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+ :root {
6
+ --ck-footnotes-widget-label-background-color: #757575;
7
+ }
8
+
9
+ .ck.ck-editor__editable .footnotes.ck-widget {
10
+ margin: .9em 0 .85em;
11
+ display: flow-root;
12
+ position: relative;
13
+ }
14
+
15
+ .ck.ck-editor__editable .footnotes.ck-widget:not(:hover):not(.ck-widget_selected) {
16
+ outline: 1px solid var(--ck-color-base-border);
17
+ }
18
+
19
+ .ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after {
20
+ content: attr(data-footnotes-list-label);
21
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
22
+ background-color: var(--ck-footnotes-widget-label-background-color);
23
+ font-size: 10px;
24
+ font-family: var(--ck-font-face);
25
+ color: #fff;
26
+ white-space: nowrap;
27
+ line-height: 16px;
28
+ position: absolute;
29
+ top: -1px;
30
+ right: 10px;
31
+ }
32
+
33
+ [dir="rtl"] :is(.ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after) {
34
+ left: 10px;
35
+ right: auto;
36
+ }
37
+
38
+ .ck.ck-editor__editable .footnotes-divider {
39
+ margin-top: 0;
40
+ }
41
+
42
+ .ck.ck-editor__editable .footnotes-list {
43
+ margin-top: 0;
44
+ margin-bottom: .65em;
45
+ }
46
+
47
+ :root {
48
+ --ck-footnotes-styles-list-style-button-size: 44px;
49
+ }
50
+
51
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list {
52
+ row-gap: var(--ck-spacing-medium);
53
+ column-gap: var(--ck-spacing-medium);
54
+ padding: var(--ck-spacing-large);
55
+ grid-template-columns: repeat(4, auto);
56
+ display: grid;
57
+ }
58
+
59
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button {
60
+ width: var(--ck-footnotes-styles-list-style-button-size);
61
+ height: var(--ck-footnotes-styles-list-style-button-size);
62
+ box-sizing: content-box;
63
+ margin: 0;
64
+ padding: 0;
65
+ }
66
+
67
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button .ck-icon {
68
+ width: var(--ck-footnotes-styles-list-style-button-size);
69
+ height: var(--ck-footnotes-styles-list-style-button-size);
70
+ }
71
+
72
+ .ck.ck-footnotes-definitions-properties > .ck-collapsible {
73
+ border-top: 1px solid var(--ck-color-base-border);
74
+ }
75
+
76
+ .ck.ck-footnotes-definitions-properties > .ck-collapsible .ck-footnotes-definitions-properties__start-index .ck-input {
77
+ min-width: 100%;
78
+ }
79
+
5
80
  :root {
6
81
  --ck-content-footnotes-list-background-color: none;
7
82
  --ck-content-footnotes-list-separator-color: #000;
8
83
  --ck-content-footnote-font-size: var(--ck-content-font-size-small);
9
- --ck-footnotes-widget-label-background-color: #757575;
10
84
  }
11
85
 
12
86
  .ck-content .footnote {
@@ -41,6 +115,7 @@
41
115
  }
42
116
 
43
117
  .ck-content .footnote-backlink {
118
+ -webkit-user-select: none;
44
119
  user-select: none;
45
120
  vertical-align: top;
46
121
  width: auto;
@@ -82,74 +157,3 @@
82
157
  .ck-content .footnote-content ol ol ol ol ol {
83
158
  list-style-type: upper-roman;
84
159
  }
85
-
86
- .ck.ck-editor__editable .footnotes.ck-widget {
87
- margin: .9em 0 .85em;
88
- display: flow-root;
89
- position: relative;
90
- }
91
-
92
- .ck.ck-editor__editable .footnotes.ck-widget:not(:hover):not(.ck-widget_selected) {
93
- outline: 1px solid var(--ck-color-base-border);
94
- }
95
-
96
- .ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after {
97
- content: attr(data-footnotes-list-label);
98
- padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
99
- background-color: var(--ck-footnotes-widget-label-background-color);
100
- font-size: 10px;
101
- font-family: var(--ck-font-face);
102
- color: #fff;
103
- white-space: nowrap;
104
- line-height: 16px;
105
- position: absolute;
106
- top: -1px;
107
- right: 10px;
108
- }
109
-
110
- [dir="rtl"] :is(.ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]:after) {
111
- left: 10px;
112
- right: auto;
113
- }
114
-
115
- .ck.ck-editor__editable .footnotes-divider {
116
- margin-top: 0;
117
- }
118
-
119
- .ck.ck-editor__editable .footnotes-list {
120
- margin-top: 0;
121
- margin-bottom: .65em;
122
- }
123
-
124
- :root {
125
- --ck-footnotes-styles-list-style-button-size: 44px;
126
- }
127
-
128
- .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list {
129
- row-gap: var(--ck-spacing-medium);
130
- column-gap: var(--ck-spacing-medium);
131
- padding: var(--ck-spacing-large);
132
- grid-template-columns: repeat(4, auto);
133
- display: grid;
134
- }
135
-
136
- .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button {
137
- width: var(--ck-footnotes-styles-list-style-button-size);
138
- height: var(--ck-footnotes-styles-list-style-button-size);
139
- box-sizing: content-box;
140
- margin: 0;
141
- padding: 0;
142
- }
143
-
144
- .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button .ck-icon {
145
- width: var(--ck-footnotes-styles-list-style-button-size);
146
- height: var(--ck-footnotes-styles-list-style-button-size);
147
- }
148
-
149
- .ck.ck-footnotes-definitions-properties > .ck-collapsible {
150
- border-top: 1px solid var(--ck-color-base-border);
151
- }
152
-
153
- .ck.ck-footnotes-definitions-properties > .ck-collapsible .ck-footnotes-definitions-properties__start-index .ck-input {
154
- min-width: 100%;
155
- }
package/dist/index.d.ts CHANGED
@@ -5,6 +5,8 @@
5
5
  /**
6
6
  * @module footnotes
7
7
  */
8
+ import "../theme/index-editor.css";
9
+ import "../theme/index-content.css";
8
10
  import "./augmentation.js";
9
11
  export { Footnotes } from "./footnotes.js";
10
12
  export { FootnotesEditing } from "./footnotesediting.js";