@jx3box/jx3box-editor 3.2.13 → 3.2.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "3.2.13",
3
+ "version": "3.2.15",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,10 +26,23 @@
26
26
  tr:nth-child(2n + 1) {
27
27
  background-color: #fafbfc;
28
28
  }
29
- tr:first-child {
29
+ // 有独立表头时,不把 tbody 的首行当作表头。
30
+ > thead > tr,
31
+ > tr:first-child,
32
+ > tbody:first-child > tr:first-child {
30
33
  background-color: #fafbfc;
31
34
  font-weight: 600;
32
35
  }
36
+ // 独立表头之后,正文从白底开始交替。
37
+ > thead ~ tbody > tr {
38
+ &:nth-child(2n + 1) {
39
+ background-color: #fff;
40
+ }
41
+
42
+ &:nth-child(2n) {
43
+ background-color: #fafbfc;
44
+ }
45
+ }
33
46
  }
34
47
  }
35
48