@94ai/nf-theme-oem 3.1.28 → 3.1.31

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.
Files changed (40) hide show
  1. package/lib/base.scss +8 -0
  2. package/lib/css/base.css +1 -1
  3. package/lib/css/index.css +1 -1
  4. package/lib/css/nf-action.css +1 -1
  5. package/lib/css/nf-confirm.css +1 -0
  6. package/lib/css/nf-date-picker.css +1 -1
  7. package/lib/css/nf-double-half-year.css +1 -1
  8. package/lib/css/nf-double-quarter.css +1 -1
  9. package/lib/css/nf-double-week.css +1 -1
  10. package/lib/css/nf-drawer.css +1 -1
  11. package/lib/css/nf-empty.css +1 -1
  12. package/lib/css/nf-form-item.css +1 -1
  13. package/lib/css/nf-half-year-picker.css +1 -1
  14. package/lib/css/nf-import-template.css +1 -1
  15. package/lib/css/nf-indicator-plane.css +1 -1
  16. package/lib/css/nf-message.css +1 -0
  17. package/lib/css/nf-notification.css +1 -0
  18. package/lib/css/nf-quarter-picker.css +1 -1
  19. package/lib/css/nf-radio-group.css +1 -1
  20. package/lib/css/nf-search-form.css +1 -1
  21. package/lib/css/nf-table.css +1 -1
  22. package/lib/css/nf-text-overflow.css +1 -0
  23. package/lib/css/nf-year-picker.css +0 -1
  24. package/lib/index.scss +7 -1
  25. package/lib/nf-confirm.scss +64 -0
  26. package/lib/nf-date-picker.scss +30 -32
  27. package/lib/nf-double-half-year.scss +1 -1
  28. package/lib/nf-double-quarter.scss +12 -11
  29. package/lib/nf-double-week.scss +7 -1
  30. package/lib/nf-drawer.scss +54 -4
  31. package/lib/nf-half-year-picker.scss +6 -0
  32. package/lib/nf-indicator-plane.scss +26 -27
  33. package/lib/nf-message.scss +73 -0
  34. package/lib/nf-notification.scss +85 -0
  35. package/lib/nf-quarter-picker.scss +6 -0
  36. package/lib/nf-search-form.scss +266 -2
  37. package/lib/nf-table.scss +141 -2
  38. package/lib/nf-text-overflow.scss +29 -0
  39. package/lib/nf-year-picker.scss +0 -82
  40. package/package.json +2 -2
@@ -37,13 +37,13 @@
37
37
  padding: 9px 3px;
38
38
  border-bottom: 0;
39
39
  > div {
40
- height: 28px;
40
+ height: 24px;
41
41
  padding: 0;
42
42
  border-radius: 0px;
43
43
  }
44
44
  .cell {
45
- height: 28px;
46
- line-height: 28px;
45
+ height: 24px;
46
+ line-height: 24px;
47
47
  border-radius: 4px;
48
48
  width: fit-content;
49
49
  padding: 0px 9px;
@@ -52,7 +52,7 @@
52
52
 
53
53
  &:hover {
54
54
  border: 1px solid #1177FF;
55
- line-height: 26px;
55
+ line-height: 22px;
56
56
  color: #1177FF;
57
57
  box-sizing: border-box;
58
58
  }
@@ -64,7 +64,7 @@
64
64
  padding: 9px 0px;
65
65
  cursor: pointer;
66
66
  & div {
67
- height: 28px;
67
+ height: 24px;
68
68
  box-sizing: border-box;
69
69
  }
70
70
  &.today {
@@ -83,7 +83,7 @@
83
83
  border: none;
84
84
  background-color: #F5F7FA;
85
85
  cursor: not-allowed;
86
- line-height: 28px;
86
+ line-height: 24px;
87
87
  color: #C0C4CC;
88
88
 
89
89
  &:hover {
@@ -103,7 +103,7 @@
103
103
  &.end-date .cell {
104
104
  color: #FFFFFF;
105
105
  border: none;
106
- line-height: 26px;
106
+ line-height: 22px;
107
107
  background-color: #1177FF;
108
108
  }
109
109
  }
@@ -114,9 +114,9 @@
114
114
  }
115
115
  // 单月
116
116
  &.nf-month-picker {
117
- width: 168px;
117
+ width: 178px;
118
118
  &.has-sidebar {
119
- width: 278px;
119
+ width: 288px;
120
120
  }
121
121
  .el-picker-panel__body {
122
122
  min-width: fit-content;
@@ -147,13 +147,13 @@
147
147
  padding: 9px 3px;
148
148
  border-bottom: 0;
149
149
  > div {
150
- height: 28px;
150
+ height: 24px;
151
151
  padding: 0;
152
152
  border-radius: 0;
153
153
  }
154
154
  .cell {
155
- height: 28px;
156
- line-height: 28px;
155
+ height: 24px;
156
+ line-height: 24px;
157
157
  border-radius: 4px;
158
158
  width: fit-content;
159
159
  padding: 0px 9px;
@@ -162,7 +162,7 @@
162
162
 
163
163
  &:hover {
164
164
  border: 1px solid #1177FF;
165
- line-height: 26px;
165
+ line-height: 22px;
166
166
  color: #1177FF;
167
167
  box-sizing: border-box;
168
168
  }
@@ -178,12 +178,12 @@
178
178
  color: white;
179
179
  background-color: #1177FF;
180
180
  border: none;
181
- line-height: 26px;
181
+ line-height: 22px;
182
182
  }
183
183
  }
184
184
  &.disabled {
185
185
  .cell {
186
- line-height: 28px;
186
+ line-height: 24px;
187
187
  background-color: #F5F7FA;
188
188
  cursor: not-allowed;
189
189
  color: #C0C4CC;
@@ -252,7 +252,7 @@
252
252
  cursor: not-allowed;
253
253
  color: #C0C4CC;
254
254
  border: none;
255
- line-height: 28px;
255
+ line-height: 24px;
256
256
 
257
257
  &:hover {
258
258
  color: #C0C4CC;
@@ -299,20 +299,20 @@
299
299
  padding: 9px 3px;
300
300
  border-bottom: 0;
301
301
  > div {
302
- height: 28px;
302
+ height: 24px;
303
303
  padding: 0;
304
304
  border-radius: 0;
305
305
  }
306
306
  .cell {
307
- height: 28px;
308
- line-height: 28px;
307
+ height: 24px;
308
+ line-height: 24px;
309
309
  border-radius: 4px;
310
310
  width: fit-content;
311
311
  padding: 0px 9px;
312
312
 
313
313
  &:hover {
314
314
  border: 1px solid #1177FF;
315
- line-height: 26px;
315
+ line-height: 22px;
316
316
  color: #1177FF;
317
317
  box-sizing: border-box;
318
318
  }
@@ -328,7 +328,7 @@
328
328
  color: white;
329
329
  background-color: #1177FF;
330
330
  border: none;
331
- line-height: 26px;
331
+ line-height: 22px;
332
332
  }
333
333
  }
334
334
  &.disabled {
@@ -337,7 +337,7 @@
337
337
  cursor: not-allowed;
338
338
  color: #C0C4CC;
339
339
  border: none;
340
- line-height: 28px;
340
+ line-height: 24px;
341
341
 
342
342
  &:hover {
343
343
  color: #C0C4CC;
@@ -369,24 +369,22 @@
369
369
  padding: 9px 3px;
370
370
  border-bottom: 0;
371
371
  > div {
372
- height: 28px;
372
+ height: 24px;
373
373
  padding: 0;
374
374
  border-radius: 0;
375
375
  }
376
376
  span {
377
- height: 28px;
378
- line-height: 28px;
377
+ height: 24px;
378
+ line-height: 24px;
379
379
  border-radius: 4px;
380
- width: fit-content;
381
- padding: 0px 9px;
380
+ width: 24px;
382
381
  color: #606266;
383
382
  margin: 0 auto;
384
- min-width: 32px;
385
383
  box-sizing: border-box;
386
384
 
387
385
  &:hover {
388
386
  border: 1px solid #1177FF;
389
- line-height: 26px;
387
+ line-height: 22px;
390
388
  color: #1177FF;
391
389
  box-sizing: border-box;
392
390
  }
@@ -398,7 +396,7 @@
398
396
  padding: 9px 0px;
399
397
  cursor: pointer;
400
398
  > div {
401
- height: 28px;
399
+ height: 24px;
402
400
  box-sizing: border-box;
403
401
  border-radius: 0;
404
402
  }
@@ -416,7 +414,7 @@
416
414
  &.disabled {
417
415
  span {
418
416
  border: none;
419
- line-height: 28px;
417
+ line-height: 24px;
420
418
  background-color: #F5F7FA;
421
419
  cursor: not-allowed;
422
420
  color: #C0C4CC;
@@ -439,7 +437,7 @@
439
437
  &.end-date span {
440
438
  color: #FFFFFF;
441
439
  border: none;
442
- line-height: 26px;
440
+ line-height: 22px;
443
441
  background-color: #1177FF;
444
442
  }
445
443
  }
@@ -67,7 +67,7 @@
67
67
  color: #000;
68
68
  background-color: #fff;
69
69
  height: 24px;
70
- font-size: 14px;
70
+ font-size: 12px;
71
71
  line-height: 24px;
72
72
  text-align: center;
73
73
  width: 50px;
@@ -46,7 +46,7 @@
46
46
  }
47
47
  .nf-quarter-picker__options {
48
48
  display: grid;
49
- grid-template-columns: repeat(2, 1fr);
49
+ grid-template-columns: repeat(4, 1fr);
50
50
  padding: 10px 12px;
51
51
  .nf-quarter-picker__item {
52
52
  padding: 4px;
@@ -57,34 +57,35 @@
57
57
  .nf-quarter-picker__item__label {
58
58
  color: #1177FF;
59
59
  border: 1px solid #1177FF;
60
- box-sizing: border-box;
61
- line-height: 22px;
60
+ height: 24px;
62
61
  }
63
62
  }
64
63
 
65
64
  .nf-quarter-picker__item__label {
65
+ border: 1px solid transparent;
66
66
  border-radius: 4px;
67
67
  color: #000;
68
68
  background-color: #fff;
69
69
  height: 24px;
70
- font-size: 14px;
70
+ font-size: 12px;
71
71
  line-height: 24px;
72
72
  text-align: center;
73
- width: 50px;
73
+ padding: 0 9px;
74
74
  }
75
- &.nf-quarter-picker__item--active {
75
+ &.nf-quarter-picker__item__today {
76
76
  .nf-quarter-picker__item__label {
77
- background-color: #1177FF;
78
- color: white;
77
+ color: #1177FF;
78
+ font-weight: 700;
79
79
  }
80
80
  }
81
81
 
82
- &.nf-quarter-picker__item__today {
82
+ &.nf-quarter-picker__item--active {
83
83
  .nf-quarter-picker__item__label {
84
- color: #1177FF;
85
- font-weight: 700;
84
+ background-color: #1177FF;
85
+ color: white;
86
86
  }
87
87
  }
88
+
88
89
  }
89
90
 
90
91
  }
@@ -2,7 +2,7 @@
2
2
  &.nf-double-week-week-range {
3
3
  .el-date-range-picker__header {
4
4
  > div {
5
- font-size: 14px;
5
+ font-size: 16px;
6
6
  color: rgba(0,0,0,0.85);
7
7
  }
8
8
  }
@@ -21,6 +21,9 @@
21
21
  span {
22
22
  color: #1177FF;
23
23
  font-weight: bold;
24
+ &:hover {
25
+ line-height: 24px;
26
+ }
24
27
  }
25
28
  }
26
29
  td.end-date, td.start-date {
@@ -28,6 +31,9 @@
28
31
  color: white;
29
32
  background-color: #1177FF ;
30
33
  border: none;
34
+ &:hover {
35
+ line-height: 24px;
36
+ }
31
37
  }
32
38
  }
33
39
  }
@@ -1,5 +1,17 @@
1
1
  .nf-drawer {
2
2
 
3
+ &.has-tabs {
4
+ .el-drawer {
5
+ padding-left: 40px;
6
+ background-color: inherit;
7
+ box-shadow: none;
8
+ }
9
+
10
+ .el-drawer__header, .el-drawer__body {
11
+ background-color: #fff;
12
+ }
13
+ }
14
+
3
15
  .el-drawer__header {
4
16
  height: 56px;
5
17
  box-shadow: inset 0px -1px 0px 0px #ebeef5;
@@ -13,21 +25,21 @@
13
25
  .el-drawer__body {
14
26
  height: calc(100% - 56px);
15
27
  }
16
-
28
+
17
29
  .nf-drawer__main {
18
30
  height: 100%;
19
31
  display: flex;
20
32
  flex-direction: column;
21
33
 
22
- .main-body {
34
+ .nf-drawer__body {
23
35
  flex: 1;
24
36
  overflow-y: scroll;
25
37
  }
26
38
 
27
- .main-footer {
39
+ .nf-drawer__footer {
28
40
  border-top: 1px solid #ebeef5;
29
41
 
30
- .main-footer__btns {
42
+ .nf-drawer__btns {
31
43
  height: 55px;
32
44
  padding: 0 16px;
33
45
  display: flex;
@@ -36,4 +48,42 @@
36
48
  }
37
49
  }
38
50
  }
51
+
52
+ .nf-drawer__tabs-head {
53
+ position: absolute;
54
+ left: 0;
55
+ top: 56px;
56
+ text-align: center;
57
+
58
+ .el-radio-group {
59
+ display: flex;
60
+ flex-direction: column;
61
+
62
+ label {
63
+ margin-bottom: 1px;
64
+ user-select: none;
65
+
66
+ .el-radio-button__orig-radio:checked + .el-radio-button__inner {
67
+ font-size: 16px;
68
+ font-weight: 500;
69
+ color: #0D7FFF;
70
+ background-color: #fff;
71
+ }
72
+ }
73
+ }
74
+
75
+ .el-radio-button__inner {
76
+ width: 40px;
77
+ line-height: 40px;
78
+ padding: 12px 0;
79
+ writing-mode: vertical-lr;
80
+ font-weight: 400;
81
+ font-size: 14px;
82
+ color: #303133;
83
+ letter-spacing: 4px;
84
+ border: none;
85
+ border-radius: 8px 0 0 8px;
86
+ background-color: rgba(255, 255, 255, 0.78);
87
+ }
88
+ }
39
89
  }
@@ -34,6 +34,12 @@
34
34
  color: #1177FF;
35
35
  }
36
36
  }
37
+ &.today {
38
+ .cell {
39
+ color: #1177FF;
40
+ font-weight: bold;
41
+ }
42
+ }
37
43
  &.current {
38
44
  .cell {
39
45
  color: white;
@@ -12,14 +12,14 @@
12
12
  justify-content: space-between;
13
13
  align-items: center;
14
14
 
15
- .footer-desc {
15
+ .nf-indicator-plane__desc {
16
16
  font-size: 12px;
17
17
  font-weight: 400;
18
18
  color: rgba(0,0,0,0.65);
19
19
  line-height: 22px;
20
20
  }
21
21
 
22
- .footer-rate {
22
+ .nf-indicator-plane__rate {
23
23
  font-size: 16px;
24
24
  font-weight: bold;
25
25
  color: #1177FF;
@@ -36,22 +36,22 @@
36
36
  border-radius: 4px;
37
37
  border: 1px solid #E4EEFF;
38
38
 
39
- .body-middle {
39
+ .nf-indicator-plane__body-middle {
40
40
  margin: 0 16px;
41
41
 
42
- .body-middle__count {
42
+ .nf-indicator-plane__count {
43
43
  margin-bottom: 4px;
44
44
  font-size: 26px;
45
45
  font-weight: bold;
46
46
  color: rgba(0,0,0,0.85);
47
47
  line-height: 32px;
48
48
 
49
- .unit {
49
+ .nf-indicator-plane__unit {
50
50
  font-size: 18px;
51
51
  }
52
52
  }
53
53
 
54
- .body-middle__name {
54
+ .nf-indicator-plane__name {
55
55
  font-size: 12px;
56
56
  font-weight: 400;
57
57
  color: rgba(0,0,0,0.65);
@@ -68,23 +68,23 @@
68
68
  .nf-indicator-plane__body {
69
69
  padding: 14px 0 6px;
70
70
 
71
- .body-middle {
71
+ .nf-indicator-plane__body-middle {
72
72
  margin: 0 24px;
73
73
 
74
- .body-middle__name {
74
+ .nf-indicator-plane__name {
75
75
  font-size: 14px;
76
76
  font-weight: 400;
77
77
  color: rgba(0,0,0,0.5);
78
78
  line-height: 22px;
79
79
  }
80
80
 
81
- .body-middle__count {
81
+ .nf-indicator-plane__count {
82
82
  font-size: 32px;
83
83
  font-weight: 500;
84
84
  color: #303133;
85
85
  line-height: 44px;
86
86
 
87
- .unit {
87
+ .nf-indicator-plane__unit {
88
88
  font-size: 18px;
89
89
  }
90
90
  }
@@ -96,13 +96,13 @@
96
96
  height: 36px;
97
97
  background: rgba(255,255,255,0.7);
98
98
 
99
- .footer-desc {
99
+ .nf-indicator-plane__desc {
100
100
  font-size: 14px;
101
101
  font-weight: 400;
102
102
  color: rgba(0,0,0,0.5);
103
103
  line-height: 22px;
104
104
 
105
- .dot {
105
+ .nf-indicator-plane__dot {
106
106
  display: inline-block;
107
107
  width: 6px;
108
108
  height: 6px;
@@ -112,7 +112,7 @@
112
112
  }
113
113
  }
114
114
 
115
- .footer-rate {
115
+ .nf-indicator-plane__rate {
116
116
  font-size: 16px;
117
117
  font-weight: 600;
118
118
  color: rgba(0,0,0,0.65);
@@ -128,20 +128,20 @@
128
128
  border-radius: 4px;
129
129
  border: 1px solid #E4EEFF;
130
130
 
131
- .body-left {
131
+ .nf-indicator-plane__body-left {
132
132
  padding: 16px;
133
133
  border-right: 1px solid #E4EEFF;
134
134
  min-width: 116px;
135
135
  box-sizing: border-box;
136
136
 
137
- .body-left__name {
137
+ .nf-indicator-plane__name {
138
138
  font-size: 12px;
139
139
  font-weight: 400;
140
140
  color: rgba(0,0,0,0.65);
141
141
  line-height: 20px;
142
142
  }
143
143
 
144
- .body-left__count {
144
+ .nf-indicator-plane__count {
145
145
  margin-bottom: 6px;
146
146
  font-size: 26px;
147
147
  font-weight: bold;
@@ -150,18 +150,18 @@
150
150
  }
151
151
  }
152
152
 
153
- .body-middle {
153
+ .nf-indicator-plane__body-middle {
154
154
  margin-left: 16px;
155
155
  flex: 1;
156
156
 
157
- .body-middle__name {
157
+ .nf-indicator-plane__name {
158
158
  font-size: 12px;
159
159
  font-weight: 400;
160
160
  color: rgba(0,0,0,0.65);
161
161
  line-height: 20px;
162
162
  }
163
163
 
164
- .body-middle__count {
164
+ .nf-indicator-plane__count {
165
165
  margin-bottom: 6px;
166
166
  font-size: 16px;
167
167
  font-weight: bold;
@@ -179,23 +179,23 @@
179
179
  border-radius: 4px;
180
180
  border: 1px solid #DCDFE6;
181
181
 
182
- .body-middle {
182
+ .nf-indicator-plane__body-middle {
183
183
  padding: 12px;
184
184
 
185
- .body-middle__name {
185
+ .nf-indicator-plane__name {
186
186
  font-size: 12px;
187
187
  font-weight: 400;
188
188
  color: rgba(0,0,0,0.65);
189
189
  line-height: 22px;
190
190
  }
191
191
 
192
- .body-middle__count {
192
+ .nf-indicator-plane__count {
193
193
  font-size: 14px;
194
194
  font-weight: bold;
195
195
  color: rgba(0,0,0,0.85);
196
196
  line-height: 22px;
197
197
 
198
- .unit {
198
+ .nf-indicator-plane__unit {
199
199
  font-size: 12px;
200
200
  font-weight: normal;
201
201
  }
@@ -210,18 +210,18 @@
210
210
  background: #F0F2F5;
211
211
  border-radius: 4px;
212
212
 
213
- .body-middle {
213
+ .nf-indicator-plane__body-middle {
214
214
  padding: 14px 0;
215
215
  margin: 0 24px;
216
216
 
217
- .body-middle__name {
217
+ .nf-indicator-plane__name {
218
218
  font-size: 14px;
219
219
  font-weight: 400;
220
220
  color: rgba(0,0,0,0.5);
221
221
  line-height: 22px;
222
222
  }
223
223
 
224
- .body-middle__count {
224
+ .nf-indicator-plane__count {
225
225
  font-size: 32px;
226
226
  font-weight: 500;
227
227
  color: #303133;
@@ -231,4 +231,3 @@
231
231
  }
232
232
  }
233
233
  }
234
-
@@ -0,0 +1,73 @@
1
+ .nf-message {
2
+ min-width: 380px;
3
+ position: fixed;
4
+ left: 50%;
5
+ top: 20px;
6
+ transform: translateX(-50%);
7
+ background-color: #FFFFFF;
8
+ box-shadow: 0px 2px 30px 0px rgba(0,0,0,0.1);
9
+ border-radius: 4px;
10
+ transition: opacity .3s,transform .4s,top .4s;
11
+ padding: 9px 16px;
12
+ color: rgba(0,0,0,0.65);
13
+ display: flex;
14
+ align-items: center;
15
+
16
+ &.is-center {
17
+ justify-content: center
18
+ }
19
+
20
+ &.is-closable .nf-message__content {
21
+ padding-right: 16px
22
+ }
23
+
24
+ p {
25
+ margin: 0
26
+ }
27
+
28
+ .nf-message__icon {
29
+ margin-right: 8px
30
+ }
31
+
32
+ .nf-message__content {
33
+ padding: 0;
34
+ font-size: 14px;
35
+ line-height: 22px;
36
+ }
37
+
38
+ .nf-message__closeBtn {
39
+ position: absolute;
40
+ top: 50%;
41
+ right: 15px;
42
+ -webkit-transform: translateY(-50%);
43
+ transform: translateY(-50%);
44
+ cursor: pointer;
45
+ color: #C0C4CC;
46
+ font-size: 16px;
47
+
48
+ &:hover {
49
+ color: #909399;
50
+ }
51
+ }
52
+
53
+ .el-icon-success {
54
+ color: #67C23A;
55
+ }
56
+
57
+ .el-icon-error {
58
+ color: #FF882E;
59
+ }
60
+
61
+ .el-icon-info {
62
+ color: #909399;
63
+ }
64
+
65
+ .el-icon-warning {
66
+ color: #F45959;
67
+ }
68
+ }
69
+
70
+ .nf-message-fade-enter, .nf-message-fade-leave-active {
71
+ opacity: 0;
72
+ transform: translate(-50%,-100%)
73
+ }