@94ai/nf-theme-oem 0.0.1

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