@jx3box/jx3box-editor 2.2.24 → 2.2.27

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.
@@ -84,11 +84,10 @@
84
84
  margin-bottom: 5px;
85
85
  .c-article-directory-title-label {
86
86
  font-weight: 300;
87
- font-size: 20px;
88
- // cursor: pointer;
89
- // &:hover {
90
- // color: #f39;
91
- // }
87
+ font-size: 18px;
88
+ .u-icon{
89
+ font-size: 20px;
90
+ }
92
91
  }
93
92
  .c-article-directory-title-skip,.c-article-directory-title-folder{
94
93
  font-size: 14px;
@@ -22,29 +22,28 @@ function directory(from, to = '#directory') {
22
22
  // 存在目录
23
23
  if (directories.length > 1) {
24
24
  let __markTags = analystics(from);
25
-
25
+ // <span class="c-article-directory-title-skip" class="c-go-top">↑ 顶部</span>
26
26
  $box.html(
27
27
  `<div class="c-article-directory" id="c-article-directory">
28
28
  <div class="c-article-directory-title" id="c-article-directory-title">
29
- <span class="c-article-directory-title-label" class="c-go-top"><i class="el-icon-s-promotion"></i> 导读</span>
30
- <span class="c-article-directory-title-skip" class="c-go-top">↑ 顶部</span>
31
- <span class="c-article-directory-title-folder" class="c-go-top">↕ 折叠</span>
29
+ <span class="c-article-directory-title-label" class="c-go-top"><i class="u-icon el-icon-reading"></i> 导读</span>
30
+ <span class="c-article-directory-title-folder" class="c-go-top"><i class="el-icon-d-caret"></i> 折叠</span>
32
31
  </div>
33
32
  <div class="c-article-directory-content" id="c-article-directory-content"></div>
34
33
  </div>`
35
34
  );
36
35
 
37
36
  const $directory = $("#c-article-directory-content");
38
- const $skip = $(".c-article-directory-title-skip");
37
+ // const $skip = $(".c-article-directory-title-skip");
39
38
  const $folder = $(".c-article-directory-title-folder");
40
39
 
41
- // 顶部按钮
42
40
  $folder.on("click", function() {
43
41
  $("#c-article-directory-content").slideToggle();
44
42
  });
45
- $skip.on("click", function() {
46
- $(document).scrollTop(0);
47
- });
43
+ // 顶部按钮
44
+ // $skip.on("click", function() {
45
+ // $(document).scrollTop(0);
46
+ // });
48
47
 
49
48
  // 遍历捕获的目录项
50
49
  directories.each(function(i, item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "2.2.24",
3
+ "version": "2.2.27",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -133,6 +133,7 @@
133
133
  word-wrap: break-word;
134
134
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, "Microsoft YaHei", Trebuchet MS, Calibri, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Helvetica, sans-serif;
135
135
  text-rendering: optimizelegibility;
136
+ scroll-behavior: smooth;
136
137
  }
137
138
  .c-article-tinymce * {
138
139
  max-width: 100%;
@@ -1270,6 +1271,18 @@
1270
1271
  padding: 0;
1271
1272
  margin: 0;
1272
1273
  }
1274
+ .c-article-tinymce:not(.c-article-editor) .w-skill-combo-item .u-skill-icon {
1275
+ width: 48px;
1276
+ height: 48px;
1277
+ text-align: center;
1278
+ display: flex;
1279
+ align-items: center;
1280
+ justify-content: center;
1281
+ }
1282
+ .c-article-tinymce:not(.c-article-editor) .w-skill-combo-item .u-skill-icon_small {
1283
+ width: 42px;
1284
+ height: 42px;
1285
+ }
1273
1286
  .c-article-tinymce:not(.c-article-editor) .w-skill-combo-item .u-gcd-icon {
1274
1287
  position: absolute;
1275
1288
  left: -4px;
@@ -1298,6 +1311,19 @@
1298
1311
  white-space: pre-wrap;
1299
1312
  text-align: center;
1300
1313
  }
1314
+ .c-article-tinymce:not(.c-article-editor) .w-skill-combo-item .u-skill-name_underline {
1315
+ text-decoration: underline;
1316
+ text-underline-offset: 3px;
1317
+ }
1318
+ .c-article-tinymce:not(.c-article-editor) .w-skill-combo-item .u-skill-note {
1319
+ font-size: 12px;
1320
+ line-height: 1;
1321
+ width: 56px;
1322
+ text-overflow: clip;
1323
+ white-space: pre-wrap;
1324
+ text-align: center;
1325
+ margin-bottom: 5px;
1326
+ }
1301
1327
  .c-article-editor .e-skill-combo {
1302
1328
  font-size: 14px;
1303
1329
  width: 100%;
@@ -1387,6 +1413,9 @@
1387
1413
  }
1388
1414
  .c-article-directory-title .c-article-directory-title-label {
1389
1415
  font-weight: 300;
1416
+ font-size: 18px;
1417
+ }
1418
+ .c-article-directory-title .c-article-directory-title-label .u-icon {
1390
1419
  font-size: 20px;
1391
1420
  }
1392
1421
  .c-article-directory-title .c-article-directory-title-skip,
@@ -1601,6 +1630,15 @@
1601
1630
  text-shadow: 1px 1px 1px #0f2222;
1602
1631
  line-height: 20px;
1603
1632
  }
1633
+ .w-skill .w-skill-switch-parse {
1634
+ padding: 5px;
1635
+ float: right;
1636
+ color: #5df9eb;
1637
+ transition: all 0.15s ease;
1638
+ }
1639
+ .w-skill .w-skill-switch-parse:hover {
1640
+ color: #ff0;
1641
+ }
1604
1642
  .w-skill .w-skill-name {
1605
1643
  color: #ff0;
1606
1644
  display: block;
@@ -1612,6 +1650,15 @@
1612
1650
  margin-bottom: 10px;
1613
1651
  font-size: 12px;
1614
1652
  line-height: 20px;
1653
+ white-space: pre-wrap;
1654
+ }
1655
+ .w-skill .w-skill-talent {
1656
+ color: #04cfb4;
1657
+ letter-spacing: 0.5px;
1658
+ margin-bottom: 10px;
1659
+ font-size: 12px;
1660
+ line-height: 20px;
1661
+ white-space: pre-wrap;
1615
1662
  }
1616
1663
  .w-skill .w-skill-meta {
1617
1664
  display: block;
@@ -1724,6 +1771,11 @@
1724
1771
  .c-item .c-item-wrapper .u-title {
1725
1772
  font-weight: normal;
1726
1773
  }
1774
+ .c-item .c-item-wrapper .u-label-icon {
1775
+ transform: scale(1.1);
1776
+ width: 14px;
1777
+ vertical-align: text-bottom;
1778
+ }
1727
1779
  .c-item .c-item-wrapper .u-desc {
1728
1780
  padding-right: 0px;
1729
1781
  }
@@ -1731,6 +1783,11 @@
1731
1783
  .c-item .c-item-wrapper .u-desc {
1732
1784
  margin: 0;
1733
1785
  }
1786
+ .c-item .c-item-wrapper .u-spec-attribute.u-value::before {
1787
+ content: "·";
1788
+ font-weight: bold;
1789
+ color: #ffa500;
1790
+ }
1734
1791
  .c-item .c-item-wrapper .u-orange {
1735
1792
  color: #ffa500;
1736
1793
  }