@94ai/nf-theme-oem 3.1.27 → 3.1.30

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.
@@ -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
  }
@@ -0,0 +1,39 @@
1
+ .nf-drawer {
2
+
3
+ .el-drawer__header {
4
+ height: 56px;
5
+ box-shadow: inset 0px -1px 0px 0px #ebeef5;
6
+ padding: 0 16px;
7
+ margin-bottom: 0;
8
+ font-size: 16px;
9
+ font-weight: 600;
10
+ color: #303133;
11
+ }
12
+
13
+ .el-drawer__body {
14
+ height: calc(100% - 56px);
15
+ }
16
+
17
+ .nf-drawer__main {
18
+ height: 100%;
19
+ display: flex;
20
+ flex-direction: column;
21
+
22
+ .main-body {
23
+ flex: 1;
24
+ overflow-y: scroll;
25
+ }
26
+
27
+ .main-footer {
28
+ border-top: 1px solid #ebeef5;
29
+
30
+ .main-footer__btns {
31
+ height: 55px;
32
+ padding: 0 16px;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: right;
36
+ }
37
+ }
38
+ }
39
+ }
@@ -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;
@@ -38,6 +38,12 @@
38
38
  color: #1177FF;
39
39
  }
40
40
  }
41
+ &.today {
42
+ .cell {
43
+ color: #1177FF;
44
+ font-weight: bold;
45
+ }
46
+ }
41
47
  &.current {
42
48
  .cell {
43
49
  color: white;
@@ -1,4 +1,253 @@
1
+ @use './nf-font.scss';
2
+ @use "./base.scss";
1
3
  .nf-search-form {
2
- background-color: red;
3
- height: 300px;
4
+
5
+ .nf-form-item {
6
+ .el-form-item__label {
7
+ padding: 0;
8
+ }
9
+ &.nf-search-form-nf-form-item-btn-box-label {
10
+ .el-form-item__content {
11
+ height: 40px;
12
+ > div {
13
+ height: 40px;
14
+ }
15
+ }
16
+ .el-form-item__label {
17
+ opacity: 0;
18
+ }
19
+ }
20
+ }
21
+ .nf-search-form-nf-form-item {
22
+ position: relative;
23
+
24
+ .nf-search-form-nf-form-item-close-icon{
25
+ position: absolute;
26
+ top: -8px;
27
+ right: -8px;
28
+ line-height: 1;
29
+ font-size: 16px;
30
+ cursor: pointer;
31
+ display: none;
32
+ }
33
+ &:hover{
34
+ .nf-search-form-nf-form-item-close-icon{
35
+ display: block;
36
+ }
37
+ }
38
+ }
39
+ .nf-search-form-item {
40
+
41
+ .nf-time-range {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ .nf-time-range-el-time-select {
46
+ width: calc(50% - 7px);
47
+ .el-input__inner{
48
+ padding-right: 5px;
49
+ }
50
+ }
51
+ .symbol{
52
+ width: 15px;
53
+ text-align: center;
54
+ }
55
+ }
56
+ .nf-number-range {
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+
61
+ &.is-error {
62
+ .nf-number-range-el-input-number {
63
+ input {
64
+ border-color: #f56c6c;
65
+ }
66
+ }
67
+ }
68
+
69
+ .nf-number-range-el-input-number {
70
+ width: 80px;
71
+ }
72
+
73
+ .symbol {
74
+ width: 30px;
75
+ text-align: center;
76
+ }
77
+ }
78
+ .form-item{
79
+ display: flex;
80
+ align-items: center;
81
+ .el-input-number.is-controls-right {
82
+ .el-input-number__decrease {
83
+ display: none;
84
+ }
85
+
86
+ .el-input-number__increase {
87
+ display: none;
88
+ top: 2px;
89
+ }
90
+
91
+ &:hover {
92
+ .el-input-number__decrease {
93
+ display: inline-block;
94
+ }
95
+
96
+ .el-input-number__increase {
97
+ display: inline-block;
98
+ }
99
+ }
100
+
101
+ .el-input__inner {
102
+ text-align: left;
103
+ padding-left: 5px;
104
+ padding-right: 40px;
105
+ }
106
+ }
107
+
108
+ // el-date-picker datetimerange
109
+ .el-date-editor.el-date-editor--datetimerange {
110
+ .el-range-separator {
111
+ width: 24px;
112
+ color: #999;
113
+ padding: 0;
114
+ }
115
+
116
+ .el-range__icon {
117
+ margin-left: 0;
118
+ }
119
+
120
+ &.el-input__inner {
121
+ vertical-align: middle;
122
+ padding: 3px 5px;
123
+ width: 100%;
124
+ }
125
+
126
+ &.el-range-editor--medium {
127
+ width: 380px;
128
+
129
+ .el-range-separator {
130
+ line-height: 30px;
131
+ }
132
+ }
133
+ }
134
+
135
+ // el-date-picker not datetimerange
136
+ .el-date-editor {
137
+ .el-input__prefix {
138
+ left: 0;
139
+ top: 1px;
140
+ }
141
+
142
+ .el-input__suffix {
143
+ right: 0;
144
+ top: 1px;
145
+ }
146
+
147
+ .el-input__inner {
148
+ padding: 0 25px;
149
+ }
150
+
151
+ &.el-input--medium {
152
+ width: 195px;
153
+ }
154
+ }
155
+
156
+ // input padding
157
+ .el-input__inner {
158
+ padding: 0 5px;
159
+ }
160
+
161
+ .form-item-select {
162
+ .el-select__tags>span {
163
+ display: flex;
164
+
165
+ .el-tag--light {
166
+ .el-select__tags-text {
167
+ display: inline-block;
168
+ max-width: 125px;
169
+ text-overflow: ellipsis;
170
+ white-space: nowrap;
171
+ overflow: hidden;
172
+ }
173
+
174
+ .el-tag__close.el-icon-close {
175
+ top: -6px;
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ .el-form {
183
+ .el-form-item__label {
184
+ padding-right: 0;
185
+ }
186
+ .el-form-item {
187
+ &.is-error {
188
+ margin-bottom: 22px;
189
+ }
190
+ &.vertical-bottom{
191
+ vertical-align: bottom;
192
+ }
193
+ }
194
+
195
+ .form-item {
196
+ >.el-input:not(.el-date-editor) {
197
+ }
198
+ }
199
+ .el-select {
200
+ width: 100%;
201
+ }
202
+ .el-cascader {
203
+ width: 100%;
204
+ }
205
+ }
4
206
  }
207
+
208
+ .nf-search-form-check-dialog {
209
+ .el-dialog__body {
210
+ padding: 16px;
211
+ }
212
+ .el-dialog__footer {
213
+ padding: 0 0 0 0;
214
+ .nf-search-form-check-dialog-button-confirm {
215
+ margin-right: 16px;
216
+ }
217
+ .nf-search-form-check-dialog-button-cancel {
218
+
219
+ }
220
+ }
221
+ .el-dialog__header {
222
+ border-bottom: 1px solid #EBEEF5;
223
+ }
224
+ .nf-search-form-check-dialog-button-container {
225
+ border-top: 1px solid #EBEEF5;
226
+ height: 64px;
227
+ line-height: 64px;
228
+ }
229
+ .nf-search-form-check-content {
230
+ padding: 0 12px;
231
+ .nf-search-form-check-item{
232
+ margin-bottom: 12px;
233
+ }
234
+ .nf-search-form-check-title {
235
+ font-size: 16px;
236
+ font-weight: bold;
237
+ padding: 10px 0;
238
+ }
239
+ .nf-search-form-el-check-box {
240
+ padding: 5px;
241
+ width: 33.3%;
242
+ margin-right: 0;
243
+ box-sizing: border-box;
244
+ .el-checkbox__label {
245
+ overflow: hidden;
246
+ text-overflow: ellipsis;
247
+ width: calc(100% - 22px);
248
+ vertical-align: middle;
249
+ }
250
+ }
251
+ }
252
+ }
253
+
@@ -1,82 +0,0 @@
1
- .nf-year-date-range-picker {
2
- .nf-year-table {
3
- font-size: 12px;
4
- margin: -1px;
5
- border-collapse: collapse;
6
-
7
- td.in-range {
8
- text-align: center;
9
- padding: 8px 0px;
10
- cursor: pointer;
11
- & div {
12
- height: 48px;
13
- padding: 6px 0;
14
- box-sizing: border-box;
15
- }
16
- &.today {
17
- .cell {
18
- color: #409EFF;
19
- font-weight: bold;
20
- }
21
- &.start-date .cell,
22
- &.end-date .cell {
23
- color: #FFFFFF;
24
- }
25
- }
26
-
27
- &.disabled .cell {
28
- background-color: #F5F7FA;
29
- cursor: not-allowed;
30
- color: #C0C4CC;
31
-
32
- &:hover {
33
- color: #C0C4CC;
34
- }
35
- }
36
-
37
- .cell {
38
- width: 60px;
39
- height: 36px;
40
- display: block;
41
- line-height: 36px;
42
- color: #606266;
43
- margin: 0 auto;
44
- border-radius: 18px;
45
- &:hover {
46
- color: #409EFF;
47
- }
48
- }
49
-
50
- &.in-range div {
51
- background-color: #F2F6FC;
52
- &:hover {
53
- background-color: #F2F6FC;
54
- }
55
- }
56
- &.start-date div,
57
- &.end-date div {
58
- color: #FFFFFF;
59
- }
60
-
61
- &.start-date .cell,
62
- &.end-date .cell {
63
- color: #FFFFFF;
64
- background-color: #409EFF;
65
- }
66
-
67
- &.start-date div {
68
- border-top-left-radius: 24px;
69
- border-bottom-left-radius: 24px;
70
- }
71
-
72
- &.end-date div {
73
- border-top-right-radius: 24px;
74
- border-bottom-right-radius: 24px;
75
- }
76
-
77
- &.current:not(.disabled) .cell {
78
- color: #409EFF;
79
- }
80
- }
81
- }
82
- }