@ckeditor/ckeditor5-table 47.0.0-alpha.1 → 47.0.0-alpha.3
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/build/table.js +1 -1
- package/dist/index-content.css +34 -0
- package/dist/index.css +29 -25
- package/dist/index.css.map +1 -1
- package/package.json +9 -9
- package/theme/table.css +21 -20
package/theme/table.css
CHANGED
|
@@ -14,8 +14,24 @@
|
|
|
14
14
|
text-align: left;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
&
|
|
18
|
-
|
|
17
|
+
& figure.table:not(.layout-table) {
|
|
18
|
+
display: table;
|
|
19
|
+
|
|
20
|
+
& > table {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& .table:not(.layout-table) {
|
|
27
|
+
/* Give the table widget some air and center it horizontally */
|
|
28
|
+
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
|
|
29
|
+
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
|
|
30
|
+
margin: 0.9em auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& table.table:not(.layout-table),
|
|
34
|
+
& figure.table:not(.layout-table) > table {
|
|
19
35
|
/* The table cells should have slight borders */
|
|
20
36
|
border-collapse: collapse;
|
|
21
37
|
border-spacing: 0;
|
|
@@ -24,12 +40,13 @@
|
|
|
24
40
|
Also see https://github.com/ckeditor/ckeditor5-table/issues/50. */
|
|
25
41
|
border: 1px double hsl(0, 0%, 70%);
|
|
26
42
|
|
|
27
|
-
& >
|
|
43
|
+
& > thead,
|
|
44
|
+
& > tbody {
|
|
28
45
|
/* The linter is disabled here because linter is confused when resolving the `table.table:not(.layout-table)`
|
|
29
46
|
and `figure.table:not(.layout-table) > table` selectors combined with below selectors.
|
|
30
47
|
There is no need to split it into two large structures with same code just to make linter happy. */
|
|
31
48
|
/* stylelint-disable no-descending-specificity */
|
|
32
|
-
& >
|
|
49
|
+
& > tr {
|
|
33
50
|
& > th {
|
|
34
51
|
font-weight: bold;
|
|
35
52
|
background: hsla(0, 0%, 0%, 5%);
|
|
@@ -69,22 +86,6 @@
|
|
|
69
86
|
}
|
|
70
87
|
}
|
|
71
88
|
}
|
|
72
|
-
|
|
73
|
-
& figure.table:not(.layout-table) {
|
|
74
|
-
display: table;
|
|
75
|
-
|
|
76
|
-
& > table {
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: 100%;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
& .table:not(.layout-table) {
|
|
83
|
-
/* Give the table widget some air and center it horizontally */
|
|
84
|
-
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
|
|
85
|
-
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
|
|
86
|
-
margin: 0.9em auto;
|
|
87
|
-
}
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
@media print {
|