@94ai/nf-theme-oem 3.2.47 → 3.2.49

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.
@@ -0,0 +1,471 @@
1
+ .nf-date-picker {
2
+ .el-picker-panel__footer{
3
+ .el-picker-panel__link-btn {
4
+ &.nf-picker-panel__footer-confirm-button {
5
+ vertical-align: middle;
6
+ margin-right: 12px;
7
+ font-size: 12px;
8
+
9
+ &:hover {
10
+ color: #0067ef;
11
+ }
12
+ }
13
+ &.nf-picker-panel__footer-cancel-button {
14
+ vertical-align: middle;
15
+ color: #303133;
16
+ font-size: 12px;
17
+ &:hover {
18
+ color: #1177ff;
19
+ }
20
+ }
21
+ }
22
+ }
23
+ // 月份范围
24
+ &.nf-month-range-picker {
25
+ &.el-date-range-picker {
26
+ width: 384px;
27
+ &.has-sidebar {
28
+ width: 494px;
29
+ }
30
+ .el-picker-panel__body {
31
+ min-width: fit-content;
32
+ .el-date-range-picker__content {
33
+ padding: 0;
34
+ &.is-left {
35
+ border: none;
36
+ }
37
+
38
+ .el-date-range-picker__header {
39
+ border-bottom: 1px solid #e4e4e4;
40
+ padding: 6px 12px;
41
+ div {
42
+ font-size: 14px;
43
+ color: rgba(0,0,0,0.85);
44
+ }
45
+ }
46
+ .el-month-table {
47
+ padding: 0 14px;
48
+ font-size: 12px;
49
+ margin: -1px 0 -1px 10px;
50
+ border-collapse: collapse;
51
+ width: calc(100% - 20px);
52
+
53
+ th {
54
+ border-bottom: 0;
55
+ }
56
+
57
+ td {
58
+ padding: 9px 3px;
59
+ border-bottom: 0;
60
+ > div {
61
+ height: 24px;
62
+ padding: 0;
63
+ border-radius: 0px;
64
+ }
65
+ .cell {
66
+ height: 24px;
67
+ line-height: 24px;
68
+ border-radius: 4px;
69
+ width: fit-content;
70
+ padding: 0px 9px;
71
+ color: #606266;
72
+ margin: 0 auto;
73
+
74
+ &:hover {
75
+ border: 1px solid #1177FF;
76
+ line-height: 22px;
77
+ color: #1177FF;
78
+ box-sizing: border-box;
79
+ }
80
+ }
81
+ }
82
+
83
+ td {
84
+ text-align: center;
85
+ padding: 9px 0px;
86
+ cursor: pointer;
87
+ & div {
88
+ height: 24px;
89
+ box-sizing: border-box;
90
+ }
91
+ &.today {
92
+ .cell {
93
+ color: #1177FF;
94
+ font-weight: bold;
95
+ }
96
+ &.start-date .cell,
97
+ &.end-date .cell {
98
+ color: #FFFFFF;
99
+ }
100
+ }
101
+
102
+ &.disabled {
103
+ .cell {
104
+ border: none;
105
+ background-color: #F5F7FA;
106
+ cursor: not-allowed;
107
+ line-height: 24px;
108
+ color: #C0C4CC;
109
+
110
+ &:hover {
111
+ color: #C0C4CC;
112
+ }
113
+ }
114
+ }
115
+
116
+ &.in-range div {
117
+ background-color: #F2F6FC;
118
+ &:hover {
119
+ background-color: #F2F6FC;
120
+ }
121
+ }
122
+
123
+ &.start-date .cell,
124
+ &.end-date .cell {
125
+ color: #FFFFFF;
126
+ border: none;
127
+ line-height: 22px;
128
+ background-color: #1177FF;
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ // 单月
137
+ &.nf-month-picker {
138
+ width: 178px;
139
+ &.has-sidebar {
140
+ width: 288px;
141
+ }
142
+ .el-picker-panel__body {
143
+ min-width: fit-content;
144
+ .el-date-picker__header {
145
+ border-bottom: 1px solid #e4e4e4;
146
+ padding: 6px 12px;
147
+ margin: 0;
148
+ > .el-date-picker__header-label {
149
+ font-size: 14px;
150
+ color: rgba(0,0,0,0.85);
151
+ }
152
+ }
153
+ .el-picker-panel__content {
154
+ width: fit-content;
155
+ margin: 0;
156
+ .el-month-table {
157
+ padding: 0 14px;
158
+ font-size: 12px;
159
+ margin: -1px 0 -1px 10px;
160
+ border-collapse: collapse;
161
+ width: calc(100% - 20px);
162
+
163
+ th {
164
+ border-bottom: 0;
165
+ }
166
+
167
+ td {
168
+ padding: 9px 3px;
169
+ border-bottom: 0;
170
+ > div {
171
+ height: 24px;
172
+ padding: 0;
173
+ border-radius: 0;
174
+ }
175
+ .cell {
176
+ height: 24px;
177
+ line-height: 24px;
178
+ border-radius: 4px;
179
+ width: fit-content;
180
+ padding: 0px 9px;
181
+ color: #606266;
182
+ margin: 0 auto;
183
+
184
+ &:hover {
185
+ border: 1px solid #1177FF;
186
+ line-height: 22px;
187
+ color: #1177FF;
188
+ box-sizing: border-box;
189
+ }
190
+ }
191
+ &.today {
192
+ .cell {
193
+ color: #1177FF;
194
+ font-weight: bold;
195
+ }
196
+ }
197
+ &.current {
198
+ .cell {
199
+ color: white;
200
+ background-color: #1177FF;
201
+ border: none;
202
+ line-height: 22px;
203
+ }
204
+ }
205
+ &.disabled {
206
+ .cell {
207
+ line-height: 24px;
208
+ background-color: #F5F7FA;
209
+ cursor: not-allowed;
210
+ color: #C0C4CC;
211
+ border: none;
212
+
213
+ &:hover {
214
+ color: #C0C4CC;
215
+ }
216
+ }
217
+ }
218
+
219
+ }
220
+
221
+ }
222
+ }
223
+ }
224
+ }
225
+ // 单周/单日/多个独立日
226
+ &.nf-day-picker {
227
+ .el-picker-panel__body {
228
+ .el-date-picker__header {
229
+ //> .el-date-picker__header-label {
230
+ // font-size: 14px;
231
+ // color: rgba(0,0,0,0.85);
232
+ //}
233
+ }
234
+ .el-picker-panel__content {
235
+ .el-date-table {
236
+ td {
237
+ > div {
238
+ border-radius: 0px;
239
+ }
240
+ span {
241
+ border-radius: 4px;
242
+ &:hover {
243
+ color: #1177FF;
244
+ border: 1px solid #1177FF;
245
+ box-sizing: border-box;
246
+ line-height: 22px;
247
+ }
248
+ }
249
+ }
250
+ td.today {
251
+ span {
252
+ color: #1177FF;
253
+ font-weight: bold;
254
+ }
255
+ }
256
+ td.current, td.selected {
257
+ span {
258
+ color: white;
259
+ background-color: #1177FF;
260
+ border: none;
261
+ }
262
+ }
263
+ td.end-date, td.start-date {
264
+ span {
265
+ color: white;
266
+ background-color: #1177FF ;
267
+ border: none;
268
+ }
269
+ }
270
+ td.disabled {
271
+ span {
272
+ background-color: #F5F7FA;
273
+ cursor: not-allowed;
274
+ color: #C0C4CC;
275
+ border: none;
276
+ line-height: 24px;
277
+
278
+ &:hover {
279
+ color: #C0C4CC;
280
+ }
281
+ }
282
+ }
283
+
284
+ }
285
+ }
286
+ }
287
+ }
288
+ // 单年
289
+ &.nf-year-picker {
290
+ width: 192px;
291
+ &.has-sidebar {
292
+ width: 302px;
293
+ }
294
+ .el-picker-panel__body {
295
+ min-width: fit-content;
296
+ .el-date-picker__header {
297
+ border-bottom: 1px solid #e4e4e4;
298
+ padding: 6px 12px;
299
+ margin: 0;
300
+ > .el-date-picker__header-label {
301
+ font-size: 14px;
302
+ color: rgba(0,0,0,0.85);
303
+ }
304
+ }
305
+ .el-picker-panel__content {
306
+ width: fit-content;
307
+ margin: 0;
308
+ .el-year-table {
309
+ padding: 0 14px;
310
+ font-size: 12px;
311
+ margin: -1px 0 -1px 10px;
312
+ border-collapse: collapse;
313
+ width: calc(100% - 20px);
314
+
315
+ th {
316
+ border-bottom: 0;
317
+ }
318
+
319
+ td {
320
+ padding: 9px 3px;
321
+ border-bottom: 0;
322
+ > div {
323
+ height: 24px;
324
+ padding: 0;
325
+ border-radius: 0;
326
+ }
327
+ .cell {
328
+ height: 24px;
329
+ line-height: 24px;
330
+ border-radius: 4px;
331
+ width: fit-content;
332
+ padding: 0px 9px;
333
+
334
+ &:hover {
335
+ border: 1px solid #1177FF;
336
+ line-height: 22px;
337
+ color: #1177FF;
338
+ box-sizing: border-box;
339
+ }
340
+ }
341
+ &.today {
342
+ .cell {
343
+ color: #1177FF;
344
+ font-weight: bold;
345
+ }
346
+ }
347
+ &.current {
348
+ .cell {
349
+ color: white;
350
+ background-color: #1177FF;
351
+ border: none;
352
+ line-height: 22px;
353
+ }
354
+ }
355
+ &.disabled {
356
+ .cell {
357
+ background-color: #F5F7FA;
358
+ cursor: not-allowed;
359
+ color: #C0C4CC;
360
+ border: none;
361
+ line-height: 24px;
362
+
363
+ &:hover {
364
+ color: #C0C4CC;
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ }
371
+ }
372
+ }
373
+ // 日范围
374
+ &.nf-date-range-picker {
375
+ &.el-date-range-picker {
376
+ .el-picker-panel__body {
377
+ .el-date-range-picker__content {
378
+ .el-date-table {
379
+ padding: 0 14px;
380
+ font-size: 12px;
381
+ margin: -1px 0 -1px 10px;
382
+ border-collapse: collapse;
383
+ width: calc(100% - 20px);
384
+
385
+ th {
386
+ border-bottom: 0;
387
+ }
388
+
389
+ td {
390
+ padding: 9px 3px;
391
+ border-bottom: 0;
392
+ > div {
393
+ height: 24px;
394
+ padding: 0;
395
+ border-radius: 0;
396
+ }
397
+ span {
398
+ height: 24px;
399
+ line-height: 24px;
400
+ border-radius: 4px;
401
+ width: 24px;
402
+ color: #606266;
403
+ margin: 0 auto;
404
+ box-sizing: border-box;
405
+
406
+ &:hover {
407
+ border: 1px solid #1177FF;
408
+ line-height: 22px;
409
+ color: #1177FF;
410
+ box-sizing: border-box;
411
+ }
412
+ }
413
+ }
414
+
415
+ td {
416
+ text-align: center;
417
+ padding: 9px 0px;
418
+ cursor: pointer;
419
+ > div {
420
+ height: 24px;
421
+ box-sizing: border-box;
422
+ border-radius: 0;
423
+ }
424
+ &.today {
425
+ span{
426
+ color: #1177FF;
427
+ font-weight: bold;
428
+ }
429
+ &.start-date span,
430
+ &.end-date span {
431
+ color: #FFFFFF;
432
+ }
433
+ }
434
+
435
+ &.disabled {
436
+ span {
437
+ border: none;
438
+ line-height: 24px;
439
+ background-color: #F5F7FA;
440
+ cursor: not-allowed;
441
+ color: #C0C4CC;
442
+
443
+
444
+ &:hover {
445
+ color: #C0C4CC;
446
+ }
447
+ }
448
+ }
449
+
450
+ &.in-range div {
451
+ background-color: #F2F6FC;
452
+ &:hover {
453
+ background-color: #F2F6FC;
454
+ }
455
+ }
456
+
457
+ &.start-date span,
458
+ &.end-date span {
459
+ color: #FFFFFF;
460
+ border: none;
461
+ line-height: 22px;
462
+ background-color: #1177FF;
463
+ }
464
+ }
465
+ }
466
+ }
467
+ }
468
+ }
469
+ }
470
+ }
471
+
@@ -0,0 +1 @@
1
+ //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "3.2.47",
3
+ "version": "3.2.49",
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": "91145bb7df8dad2c0cb3eefb101c6158ec854269"
33
+ "gitHead": "8cbd9254da4ec43f46b29198c0839bf2ba19132d"
34
34
  }