n20-common-lib 3.0.80 → 3.0.82
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 +1 -1
- package/src/assets/css/table.scss +234 -244
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
package/package.json
CHANGED
|
@@ -1,244 +1,234 @@
|
|
|
1
|
-
.el-table--small {
|
|
2
|
-
font-size: 14px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.el-table--mini {
|
|
6
|
-
font-size: 12px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.el-table th {
|
|
10
|
-
font-weight: $--font-weight-primary;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.el-table--small .el-table__cell {
|
|
14
|
-
padding: 8px 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.el-table .cell {
|
|
18
|
-
padding-left: 8px;
|
|
19
|
-
padding-right: 8px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.el-table--small,
|
|
23
|
-
.el-table--mini {
|
|
24
|
-
.el-table__cell {
|
|
25
|
-
.el-button--text {
|
|
26
|
-
padding-top: 2px;
|
|
27
|
-
padding-bottom: 2px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.el-link {
|
|
31
|
-
line-height: initial;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.el-table--mini {
|
|
37
|
-
.el-table__cell {
|
|
38
|
-
padding: 2px 0;
|
|
39
|
-
|
|
40
|
-
.cell {
|
|
41
|
-
padding-left: 4px;
|
|
42
|
-
padding-right: 4px;
|
|
43
|
-
// line-height: 18px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.el-button--mini,
|
|
47
|
-
.el-link {
|
|
48
|
-
font-size: 12px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.el-table {
|
|
54
|
-
/* 排序 */
|
|
55
|
-
.caret-wrapper {
|
|
56
|
-
display: inline-flex;
|
|
57
|
-
flex-direction: row-reverse;
|
|
58
|
-
align-items: center;
|
|
59
|
-
width: 16px;
|
|
60
|
-
height: 16px;
|
|
61
|
-
line-height: 16px;
|
|
62
|
-
vertical-align: middle;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.sort-caret.ascending,
|
|
66
|
-
.sort-caret.descending {
|
|
67
|
-
width: 8px;
|
|
68
|
-
height: 16px;
|
|
69
|
-
border: none;
|
|
70
|
-
font-style: normal;
|
|
71
|
-
position: static;
|
|
72
|
-
|
|
73
|
-
&:hover {
|
|
74
|
-
color: $--color-primary-light-6;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:before {
|
|
78
|
-
content: '\e61c';
|
|
79
|
-
font-family: 'core-lib-iconfont';
|
|
80
|
-
font-size: 12px;
|
|
81
|
-
line-height: 12px;
|
|
82
|
-
position: relative;
|
|
83
|
-
right: 3px;
|
|
84
|
-
bottom: 1px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.sort-caret.descending:before {
|
|
89
|
-
content: '\e61d';
|
|
90
|
-
position: relative;
|
|
91
|
-
right: 1px;
|
|
92
|
-
bottom: 1px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.ascending .sort-caret.ascending,
|
|
96
|
-
.descending .sort-caret.descending {
|
|
97
|
-
color: $--color-primary;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* 过滤 */
|
|
102
|
-
.el-table-filter__bottom {
|
|
103
|
-
text-align: center;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.el-table__column-filter-trigger {
|
|
107
|
-
height: 16px;
|
|
108
|
-
line-height: 16px;
|
|
109
|
-
vertical-align: middle;
|
|
110
|
-
position: relative;
|
|
111
|
-
bottom: 1px;
|
|
112
|
-
|
|
113
|
-
i {
|
|
114
|
-
font-size: 16px;
|
|
115
|
-
transform: scale(1);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.table-header-popover.el-popover {
|
|
120
|
-
padding: 16px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/* 附件上传hover颜色 */
|
|
124
|
-
.base-table_default {
|
|
125
|
-
.el-table__body .hover-active:hover > td {
|
|
126
|
-
background-color: #ff3c2f10 !important;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.vxe-table .vxe-cell--sort {
|
|
131
|
-
display: inline-flex !important;
|
|
132
|
-
flex-direction: row-reverse !important;
|
|
133
|
-
align-items: center !important;
|
|
134
|
-
width: 16px !important;
|
|
135
|
-
height: 16px !important;
|
|
136
|
-
line-height: 16px !important;
|
|
137
|
-
vertical-align: middle !important;
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
padding-right: 4px !important;
|
|
140
|
-
.vxe-sort--asc-btn,
|
|
141
|
-
.vxe-sort--desc-btn {
|
|
142
|
-
width: 6px;
|
|
143
|
-
height: 10px;
|
|
144
|
-
color: #333;
|
|
145
|
-
border: none;
|
|
146
|
-
font-style: normal;
|
|
147
|
-
position: static;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.vxe-header--row {
|
|
152
|
-
color: #333;
|
|
153
|
-
background-color: #f5f5f5;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.vxe-cell--filter .vxe-filter--btn {
|
|
157
|
-
color: #666;
|
|
158
|
-
font-weight: $--font-weight-primary;
|
|
159
|
-
cursor: pointer;
|
|
160
|
-
font-size: 16px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.is--filter-active .vxe-cell--filter .vxe-filter--btn {
|
|
164
|
-
color: $--color-primary;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.is--filter-active .vxe-cell--title {
|
|
168
|
-
color: $--color-primary;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.vxe-table--render-default.size--small {
|
|
172
|
-
font-size: 14px !important;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.vxe-table--render-default.size--mini {
|
|
176
|
-
font-size: 14px !important;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.vxe-header--row th,
|
|
180
|
-
th.vxe-header--column {
|
|
181
|
-
position: relative;
|
|
182
|
-
font-weight: $--font-weight-primary;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.vxe-table--tooltip-wrapper {
|
|
186
|
-
z-index: 9999 !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.cell-default-set-- .vxe-table--body-wrapper .vxe-body--row .vxe-body--column .vxe-cell .vxe-cell--label:empty::before {
|
|
190
|
-
content: '--';
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.n20-table-pro.vxe-table--render-default {
|
|
194
|
-
font-family: PingFang SC, Microsoft YaHei, Arial, sans-serif !important;
|
|
195
|
-
color: #333;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.vxe-table-custom-wrap.vxe-body--column.col--ellipsis:not(.col--actived) > .vxe-cell,
|
|
199
|
-
.vxe-table--render-default .vxe-table-custom-wrap.vxe-footer--column.col--ellipsis:not(.col--actived) > .vxe-cell,
|
|
200
|
-
.vxe-table--render-default .vxe-table-custom-wrap.vxe-header--column.col--ellipsis:not(.col--actived) > .vxe-cell {
|
|
201
|
-
overflow: hidden;
|
|
202
|
-
text-overflow: ellipsis;
|
|
203
|
-
white-space: wrap !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-body--column.col--ellipsis > .vxe-cell,
|
|
207
|
-
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-footer--column.col--ellipsis > .vxe-cell,
|
|
208
|
-
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-header--column.col--ellipsis > .vxe-cell {
|
|
209
|
-
max-height: 100%;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.vxe-header--column {
|
|
213
|
-
.vxe-cell {
|
|
214
|
-
justify-content: center !important;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.
|
|
219
|
-
|
|
220
|
-
.
|
|
221
|
-
.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
.el-table-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
.icon-mini {
|
|
236
|
-
background-image: url('../../components/TableSetSize/mini.png');
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.el-table th.el-table__cell > .cell {
|
|
241
|
-
overflow: hidden;
|
|
242
|
-
text-overflow: ellipsis;
|
|
243
|
-
white-space: nowrap;
|
|
244
|
-
}
|
|
1
|
+
.el-table--small {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.el-table--mini {
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.el-table th {
|
|
10
|
+
font-weight: $--font-weight-primary;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.el-table--small .el-table__cell {
|
|
14
|
+
padding: 8px 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.el-table .cell {
|
|
18
|
+
padding-left: 8px;
|
|
19
|
+
padding-right: 8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.el-table--small,
|
|
23
|
+
.el-table--mini {
|
|
24
|
+
.el-table__cell {
|
|
25
|
+
.el-button--text {
|
|
26
|
+
padding-top: 2px;
|
|
27
|
+
padding-bottom: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.el-link {
|
|
31
|
+
line-height: initial;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.el-table--mini {
|
|
37
|
+
.el-table__cell {
|
|
38
|
+
padding: 2px 0;
|
|
39
|
+
|
|
40
|
+
.cell {
|
|
41
|
+
padding-left: 4px;
|
|
42
|
+
padding-right: 4px;
|
|
43
|
+
// line-height: 18px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.el-button--mini,
|
|
47
|
+
.el-link {
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.el-table {
|
|
54
|
+
/* 排序 */
|
|
55
|
+
.caret-wrapper {
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
flex-direction: row-reverse;
|
|
58
|
+
align-items: center;
|
|
59
|
+
width: 16px;
|
|
60
|
+
height: 16px;
|
|
61
|
+
line-height: 16px;
|
|
62
|
+
vertical-align: middle;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.sort-caret.ascending,
|
|
66
|
+
.sort-caret.descending {
|
|
67
|
+
width: 8px;
|
|
68
|
+
height: 16px;
|
|
69
|
+
border: none;
|
|
70
|
+
font-style: normal;
|
|
71
|
+
position: static;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
color: $--color-primary-light-6;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:before {
|
|
78
|
+
content: '\e61c';
|
|
79
|
+
font-family: 'core-lib-iconfont';
|
|
80
|
+
font-size: 12px;
|
|
81
|
+
line-height: 12px;
|
|
82
|
+
position: relative;
|
|
83
|
+
right: 3px;
|
|
84
|
+
bottom: 1px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sort-caret.descending:before {
|
|
89
|
+
content: '\e61d';
|
|
90
|
+
position: relative;
|
|
91
|
+
right: 1px;
|
|
92
|
+
bottom: 1px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ascending .sort-caret.ascending,
|
|
96
|
+
.descending .sort-caret.descending {
|
|
97
|
+
color: $--color-primary;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* 过滤 */
|
|
102
|
+
.el-table-filter__bottom {
|
|
103
|
+
text-align: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.el-table__column-filter-trigger {
|
|
107
|
+
height: 16px;
|
|
108
|
+
line-height: 16px;
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
position: relative;
|
|
111
|
+
bottom: 1px;
|
|
112
|
+
|
|
113
|
+
i {
|
|
114
|
+
font-size: 16px;
|
|
115
|
+
transform: scale(1);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.table-header-popover.el-popover {
|
|
120
|
+
padding: 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* 附件上传hover颜色 */
|
|
124
|
+
.base-table_default {
|
|
125
|
+
.el-table__body .hover-active:hover > td {
|
|
126
|
+
background-color: #ff3c2f10 !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.vxe-table .vxe-cell--sort {
|
|
131
|
+
display: inline-flex !important;
|
|
132
|
+
flex-direction: row-reverse !important;
|
|
133
|
+
align-items: center !important;
|
|
134
|
+
width: 16px !important;
|
|
135
|
+
height: 16px !important;
|
|
136
|
+
line-height: 16px !important;
|
|
137
|
+
vertical-align: middle !important;
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
padding-right: 4px !important;
|
|
140
|
+
.vxe-sort--asc-btn,
|
|
141
|
+
.vxe-sort--desc-btn {
|
|
142
|
+
width: 6px;
|
|
143
|
+
height: 10px;
|
|
144
|
+
color: #333;
|
|
145
|
+
border: none;
|
|
146
|
+
font-style: normal;
|
|
147
|
+
position: static;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.vxe-header--row {
|
|
152
|
+
color: #333;
|
|
153
|
+
background-color: #f5f5f5;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.vxe-cell--filter .vxe-filter--btn {
|
|
157
|
+
color: #666;
|
|
158
|
+
font-weight: $--font-weight-primary;
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
font-size: 16px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.is--filter-active .vxe-cell--filter .vxe-filter--btn {
|
|
164
|
+
color: $--color-primary;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.is--filter-active .vxe-cell--title {
|
|
168
|
+
color: $--color-primary;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.vxe-table--render-default.size--small {
|
|
172
|
+
font-size: 14px !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.vxe-table--render-default.size--mini {
|
|
176
|
+
font-size: 14px !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.vxe-header--row th,
|
|
180
|
+
th.vxe-header--column {
|
|
181
|
+
position: relative;
|
|
182
|
+
font-weight: $--font-weight-primary;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.vxe-table--tooltip-wrapper {
|
|
186
|
+
z-index: 9999 !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.cell-default-set-- .vxe-table--body-wrapper .vxe-body--row .vxe-body--column .vxe-cell .vxe-cell--label:empty::before {
|
|
190
|
+
content: '--';
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.n20-table-pro.vxe-table--render-default {
|
|
194
|
+
font-family: PingFang SC, Microsoft YaHei, Arial, sans-serif !important;
|
|
195
|
+
color: #333;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.vxe-table-custom-wrap.vxe-body--column.col--ellipsis:not(.col--actived) > .vxe-cell,
|
|
199
|
+
.vxe-table--render-default .vxe-table-custom-wrap.vxe-footer--column.col--ellipsis:not(.col--actived) > .vxe-cell,
|
|
200
|
+
.vxe-table--render-default .vxe-table-custom-wrap.vxe-header--column.col--ellipsis:not(.col--actived) > .vxe-cell {
|
|
201
|
+
overflow: hidden;
|
|
202
|
+
text-overflow: ellipsis;
|
|
203
|
+
white-space: wrap !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-body--column.col--ellipsis > .vxe-cell,
|
|
207
|
+
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-footer--column.col--ellipsis > .vxe-cell,
|
|
208
|
+
.vxe-table--render-default.size--small .vxe-table-custom-wrap.vxe-header--column.col--ellipsis > .vxe-cell {
|
|
209
|
+
max-height: 100%;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.vxe-header--column {
|
|
213
|
+
.vxe-cell {
|
|
214
|
+
justify-content: center !important;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@import '../../components/TableSetSize/style.scss';
|
|
219
|
+
|
|
220
|
+
.el-table-set-size-item {
|
|
221
|
+
.icon-mini {
|
|
222
|
+
background-image: url('../../components/TableSetSize/small.png');
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.icon-mini {
|
|
226
|
+
background-image: url('../../components/TableSetSize/mini.png');
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.el-table th.el-table__cell > .cell {
|
|
231
|
+
overflow: hidden;
|
|
232
|
+
text-overflow: ellipsis;
|
|
233
|
+
white-space: nowrap;
|
|
234
|
+
}
|