n20-common-lib 3.0.68 → 3.0.69

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": "n20-common-lib",
3
- "version": "3.0.68",
3
+ "version": "3.0.69",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -195,7 +195,13 @@
195
195
  z-index: 9999 !important;
196
196
  }
197
197
 
198
- & .cell-default-set-- .vxe-table--body-wrapper .vxe-body--row .vxe-body--column .vxe-cell .vxe-cell--label:empty::before {
198
+ &
199
+ .cell-default-set--
200
+ .vxe-table--body-wrapper
201
+ .vxe-body--row
202
+ .vxe-body--column
203
+ .vxe-cell
204
+ .vxe-cell--label:empty::before {
199
205
  content: '--';
200
206
  }
201
207
 
@@ -459,3 +465,15 @@ th.vxe-header--column {
459
465
  text-overflow: ellipsis;
460
466
  white-space: nowrap;
461
467
  }
468
+
469
+ @import '../../components/TableSetSize/style.scss';
470
+
471
+ .el-table-set-size-item {
472
+ .icon-mini {
473
+ background-image: url('../../components/TableSetSize/small.png');
474
+ }
475
+
476
+ .icon-mini {
477
+ background-image: url('../../components/TableSetSize/mini.png');
478
+ }
479
+ }
@@ -0,0 +1,81 @@
1
+ @import '@/assets/css/element-variables.scss';
2
+ .el-table div.hidden-columns {
3
+ visibility: initial;
4
+ position: initial;
5
+ height: 0;
6
+ width: 0;
7
+
8
+ > * {
9
+ visibility: hidden;
10
+ }
11
+ > .el-table-set-size {
12
+ visibility: initial;
13
+ }
14
+ }
15
+ .el-table-set-size {
16
+ box-sizing: border-box;
17
+ width: 6px;
18
+ height: 40px;
19
+
20
+ border-radius: 4px 0 0 4px;
21
+
22
+ position: absolute;
23
+ top: 0;
24
+ right: 0;
25
+ z-index: 9;
26
+
27
+ overflow: hidden;
28
+
29
+ transition: all 0.3s;
30
+ &::before {
31
+ content: '';
32
+ position: absolute;
33
+ width: 100%;
34
+ height: 100%;
35
+ background: $--color-primary;
36
+ opacity: 0.7;
37
+ }
38
+
39
+ &:hover {
40
+ width: 88px;
41
+ }
42
+
43
+ &-item {
44
+ margin: 3px 6px;
45
+ width: 36px;
46
+ height: 34px;
47
+ border-radius: 4px;
48
+
49
+ color: $--color-white;
50
+ z-index: 1;
51
+ cursor: pointer;
52
+ &:hover {
53
+ background: $--color-primary;
54
+ }
55
+ &.active {
56
+ background: $--color-primary-hover;
57
+ }
58
+ .icon-small,
59
+ .icon-mini {
60
+ display: block;
61
+ width: 17px;
62
+ height: 14px;
63
+ margin: 4px auto 0;
64
+ }
65
+ .icon-small {
66
+ background-size: 100% 100%;
67
+ }
68
+ .icon-mini {
69
+ background-size: 100% 100%;
70
+ }
71
+ .text-small,
72
+ .text-mini {
73
+ margin-top: 3px;
74
+ line-height: 12px;
75
+ font-size: 12px;
76
+ text-align: center;
77
+ transform: scale(0.667);
78
+ transform-origin: 50% 0;
79
+ }
80
+ }
81
+ }