@94ai/nf-theme-oem 3.2.4 → 3.2.16

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/lib/nf-table.scss CHANGED
@@ -5,6 +5,10 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
 
8
+ .nf-drawer {
9
+ width: 680px !important;
10
+ }
11
+
8
12
  >.nf-table-content {
9
13
  flex: 1;
10
14
  min-height: 0;
@@ -18,17 +22,37 @@
18
22
  >.nf-table-container {
19
23
  flex: 1;
20
24
  min-height: 0;
25
+ .operation-icon-column-check {
26
+ height: 32px;
27
+ font-size: 14px;
28
+ margin-left: 14px;
29
+ line-height: 32px;
30
+ font-weight: 600;
31
+ color: rgba(48, 49, 51, 0.85);
32
+ cursor: pointer;
33
+ transform: translateY(2px);
34
+ display: inline-block;
35
+ }
21
36
  &.nf-default-table-border {
22
37
  &.el-table--border {
23
38
  border: none;
24
39
  td {
25
40
  border: none;
41
+ border-bottom: 1px solid #EBEEF5;
42
+ padding: 12px 0;
43
+ line-height: 20px;
26
44
  }
27
45
  .el-table__header {
28
46
  background: #F5F7FA;
29
47
  th {
30
48
  background: #F5F7FA;
31
49
  border-right-color: transparent;
50
+ border: none;
51
+ .cell {
52
+ font-weight: 500;
53
+ color: rgba(0,0,0,0.85);
54
+ padding: 0 16px;
55
+ }
32
56
  &:last-child{
33
57
  .cell {
34
58
  &::after {
@@ -81,13 +105,34 @@
81
105
  }
82
106
  }
83
107
  >.nf-action-box {
84
- padding: 16px 0 0 16px;
108
+ padding: 16px 16px 0 16px;
85
109
  border-top: none;
86
110
  >.nf-pagination-box {
87
111
  text-align: center;
88
112
  }
89
113
  }
90
114
  }
115
+
116
+ .el-table {
117
+ color: rgba(0,0,0,0.85);
118
+ .cell {
119
+ padding: 0 16px;
120
+ }
121
+ }
122
+
123
+ .el-table__fixed-right-patch {
124
+ background-color: #F5F7FA;
125
+ }
126
+
127
+ .el-table--border {
128
+ th, td {
129
+ &:first-child {
130
+ .cell {
131
+ padding-left: 16px;
132
+ }
133
+ }
134
+ }
135
+ }
91
136
  }
92
137
 
93
138
 
@@ -138,6 +183,183 @@
138
183
 
139
184
  }
140
185
 
186
+ .nf-table-nf-column-check-drawer {
187
+ ul,p {
188
+ margin: 0;
189
+ padding: 0;
190
+ }
191
+ height: 100%;
192
+ display: flex;
193
+ .ghost {
194
+ opacity: 0;
195
+ background: #F5F7FA;
196
+ }
197
+ .nf-handle {
198
+ cursor: move;
199
+ display: inline-block;width: 200px;
200
+ }
201
+ .slide-fade-enter-active,
202
+ .slide-fade-leave-active {
203
+ transition: all .5s ease;
204
+ }
205
+ .slide-fade-enter,
206
+ .slide-fade-leave-to {
207
+ transform: translateX(20px);
208
+ opacity: 0;
209
+ }
210
+ .nf-not-chosen, .nf-already-chosen {
211
+ width: 340px;
212
+ height: 100%;
213
+ overflow-y: auto;
214
+ overflow-x: hidden;
215
+ box-sizing: border-box;
216
+ }
217
+ .nf-not-chosen {
218
+ border-right: 1px solid #EBEEF5;
219
+ height: 100%;
220
+ overflow: hidden;
221
+ .nf-select-column {
222
+ padding: 0 16px;
223
+ height: calc(100% - 124px);
224
+ width: 100%;
225
+ overflow: overlay;
226
+ }
227
+ }
228
+ .nf-check-title {
229
+ margin: 8px 0;
230
+ padding-left: 8px;
231
+ height: 20px;
232
+ line-height: 20px;
233
+ color: rgba(0,0,0,0.5);
234
+ font-size: 14px;
235
+ }
236
+ .nf-search-column {
237
+ padding: 16px 16px 8px;
238
+ }
239
+ .nf-already-chosen {
240
+ overflow: hidden;
241
+ .nf-selected-column {
242
+ height: 32px;
243
+ margin: 16px 16px 12px;
244
+ padding: 0 8px;
245
+ display: flex;
246
+ align-items: center;
247
+ justify-content: space-between;
248
+ font-size: 14px;
249
+ color: #7f7f7f;
250
+ border-bottom: 1px solid #F0F3F7;
251
+ box-sizing: border-box;
252
+ span {
253
+ color: #1177FF;
254
+ cursor: pointer;
255
+ &:active {
256
+ color: rgba(17, 119, 255, .8);
257
+ }
258
+ }
259
+ }
260
+ .nf-drag-container {
261
+ height: calc(100% - 80px);
262
+ overflow-x: hidden;
263
+ overflow-y: overlay;
264
+ }
265
+ .nf-drag-element {
266
+ height: 36px;
267
+ padding: 0 4px 0 28px;
268
+ position: relative;
269
+ display: flex;
270
+ align-items: center;
271
+ justify-content: space-between;
272
+ font-size: 14px;
273
+ color: #303133;
274
+ &:hover {
275
+ background-color: #F2F3F5;
276
+ border-radius: 4px;
277
+ }
278
+ & > span {
279
+ display: flex;
280
+ align-items: center;
281
+ }
282
+ .icon-ketuozhuai {
283
+ left: 8px;
284
+ position: absolute;
285
+ font-size: 18px;
286
+ color: rgba(0,0,0,0.45);
287
+ }
288
+ i:not(.icon-ketuozhuai) {
289
+ display: block;
290
+ width: 20px;
291
+ height: 20px;
292
+ text-align: center;
293
+ line-height: 20px;
294
+ font-size: 20px;
295
+ color: rgba(0,0,0,0.45);
296
+ cursor: pointer;
297
+ &.icon-guanbi1 {
298
+ font-size: 19px;
299
+ margin-left: 8px;
300
+ }
301
+ &:hover {
302
+ background-color: rgba(0,0,0,0.05);
303
+ border-radius: 10px;
304
+ }
305
+ }
306
+ }
307
+ }
308
+ .nf-fixed, .nf-not-fixed {
309
+ padding: 0 16px;
310
+ p {
311
+ margin-bottom: 8px;
312
+ padding: 0 8px;
313
+ line-height: 20px;
314
+ font-size: 14px;
315
+ color: #7f7f7f;
316
+ }
317
+ }
318
+ .nf-fixed {
319
+ margin-bottom: 8px;
320
+ }
321
+ .nf-search-column {
322
+ .el-input__prefix {
323
+ left: 12px;
324
+ }
325
+ .el-input__icon {
326
+ font-size: 14px;
327
+ color: rgba(0,0,0,0.5);
328
+ }
329
+ }
330
+ .el-input--small {
331
+ font-size: 14px;
332
+ }
333
+ .el-checkbox {
334
+ height: 36px;
335
+ padding-left: 8px;
336
+ margin-right: 0;
337
+ display: flex;
338
+ align-items: center;
339
+ color: #303133;
340
+ border-radius: 4px;
341
+ &:hover {
342
+ background-color: #F2F3F5;
343
+ }
344
+ .el-checkbox__label {
345
+ font-weight: 400;
346
+ padding-left: 16px;
347
+ }
348
+ &.is-checked .el-checkbox__input.is-checked + .el-checkbox__label {
349
+ color: #303133;
350
+ }
351
+ &.is-disabled {
352
+ cursor: not-allowed;
353
+ .el-checkbox__input.is-checked + .el-checkbox__label {
354
+ color: #bfbfbf;
355
+ }
356
+ }
357
+ }
358
+ el-checkbox-group {
359
+ display: flex;
360
+ flex-direction: column;
361
+ }
362
+ }
141
363
 
142
364
 
143
365
 
@@ -12,14 +12,13 @@
12
12
  .nf-text-overflow__action {
13
13
  color: rgba(0,0,0,0.45);
14
14
  line-height: 18px;
15
- padding: 3px 4px;
15
+ padding: 3px 0;
16
16
  display: inline-flex;
17
17
  align-items: center;
18
18
  cursor: pointer;
19
19
 
20
20
  &:hover {
21
21
  color: #1177FF;
22
- background-color: #EBEEF5;
23
22
  }
24
23
 
25
24
  .nf-text-overflow__icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "3.2.4",
3
+ "version": "3.2.16",
4
4
  "description": "oem主题包",
5
5
  "keywords": [
6
6
  "theme",
@@ -30,5 +30,5 @@
30
30
  "build": "gulp --require @esbuild-kit/cjs-loader"
31
31
  },
32
32
  "types": "lib/index.ts",
33
- "gitHead": "9518f3ee1354378e844b825d6d850d18ec14f71a"
33
+ "gitHead": "342bec39cedf10a93998884078929e94824e6e4f"
34
34
  }