bhd-components 0.8.0 → 0.9.0

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,851 @@
1
+ @import "../theme/variable.less";
2
+ // 包裹组件样式
3
+ .bhdDatePicker {
4
+ width: 100%;
5
+
6
+ .pickerLabel {
7
+ display: flex;
8
+ gap: 5px;
9
+ }
10
+ :global {
11
+ .bhd-picker {
12
+ &.hide {
13
+ position: absolute;
14
+ top: 0;
15
+ left: 0;
16
+ // z-index: -1;
17
+ opacity: 0;
18
+ // width: 0;
19
+ // padding: 0;
20
+ // height: 0;
21
+ // border: none;
22
+ // & * {
23
+ // display: none !important;
24
+ // }
25
+ // .bhd-picker-range-separator {
26
+ // display: none !important;
27
+ // }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ // 额外的弹出日历样式
33
+ .bhdDatePickerPopup {
34
+ // 单选、范围、带额外文字
35
+ &.singlePicker,
36
+ &.rangePicker,
37
+ &.extraPicker {
38
+ :global {
39
+ // 时间
40
+ .bhd-picker-time-panel {
41
+ .bhd-picker-time-panel-column {
42
+ margin: 0;
43
+
44
+ & > li.bhd-picker-time-panel-cell {
45
+ margin: 0;
46
+ .bhd-picker-time-panel-cell-inner {
47
+ width: 56px;
48
+ height: 32px;
49
+ line-height: 32px;
50
+ padding: 0;
51
+ text-align: center;
52
+ border-radius: 0;
53
+ }
54
+ }
55
+ &:hover {
56
+ &::-webkit-scrollbar {
57
+ width: 0;
58
+ }
59
+ }
60
+ &:not(:first-child) {
61
+ border: none;
62
+ }
63
+ }
64
+ }
65
+
66
+ // 时间与天相邻
67
+ .bhd-picker-date-panel + .bhd-picker-time-panel {
68
+ padding: 0;
69
+ gap: 0;
70
+ .bhd-picker-header {
71
+ height: 48px;
72
+ .bhd-picker-header-view {
73
+ line-height: 48px !important;
74
+ }
75
+ }
76
+ }
77
+
78
+ // 天、周
79
+ .bhd-picker-date-panel,
80
+ .bhd-picker-week-panel {
81
+ width: 272px;
82
+ & .bhd-picker-content {
83
+ width: 224px;
84
+ margin: 0 auto;
85
+ & th {
86
+ width: 32px;
87
+ height: 32px;
88
+ }
89
+ }
90
+
91
+ & .bhd-picker-cell {
92
+ padding: 0;
93
+ padding-top: 8px;
94
+
95
+ &::before {
96
+ top: calc(50% + 4px);
97
+ height: 32px;
98
+ }
99
+
100
+ & .bhd-picker-cell-inner {
101
+ width: 32px;
102
+ height: 32px;
103
+ line-height: 32px;
104
+ }
105
+ }
106
+ }
107
+
108
+ //周
109
+ .bhd-picker-week-panel {
110
+ .bhd-picker-week-panel-row:hover {
111
+ color: @color-background-primary-base !important;
112
+ & td {
113
+ &:before {
114
+ background-color: @color-background-primary-weak !important;
115
+ }
116
+
117
+ .bhd-picker-cell-inner {
118
+ color: @color-background-primary-base !important;
119
+ }
120
+ }
121
+ }
122
+ }
123
+
124
+ // 月
125
+ .bhd-picker-month-panel {
126
+ width: 272px;
127
+ & .bhd-picker-body {
128
+ width: 240px;
129
+ }
130
+ & .bhd-picker-content {
131
+ height: 200px;
132
+ width: 240px;
133
+
134
+ & tbody {
135
+ display: flex;
136
+ flex-wrap: wrap;
137
+ gap: 24px;
138
+
139
+ & tr {
140
+ display: flex;
141
+ gap: 24px;
142
+ }
143
+ }
144
+ }
145
+
146
+ & .bhd-picker-cell {
147
+ padding: 0;
148
+ &::before {
149
+ height: 32px;
150
+ width: 64px;
151
+ }
152
+
153
+ & .bhd-picker-cell-inner {
154
+ width: 64px;
155
+ height: 32px;
156
+ line-height: 32px;
157
+ padding: 0;
158
+ }
159
+ }
160
+ }
161
+
162
+ //季度
163
+ .bhd-picker-quarter-panel {
164
+ & .bhd-picker-content {
165
+ height: 32px;
166
+ }
167
+ & .bhd-picker-cell {
168
+ padding: 0;
169
+ &::before {
170
+ height: 32px;
171
+ }
172
+
173
+ & .bhd-picker-cell-inner {
174
+ height: 32px;
175
+ line-height: 32px;
176
+ padding: 0;
177
+ }
178
+ }
179
+ }
180
+
181
+ // 年
182
+ .bhd-picker-year-panel {
183
+ width: 272px;
184
+ & .bhd-picker-body {
185
+ width: 240px;
186
+ }
187
+ & .bhd-picker-content {
188
+ height: 200px;
189
+ width: 240px;
190
+
191
+ & tbody {
192
+ display: flex;
193
+ flex-wrap: wrap;
194
+ gap: 24px;
195
+
196
+ & tr {
197
+ display: flex;
198
+ gap: 24px;
199
+ }
200
+ }
201
+ }
202
+
203
+ & .bhd-picker-cell {
204
+ padding: 0;
205
+ &::before {
206
+ height: 32px;
207
+ width: 64px;
208
+ }
209
+
210
+ & .bhd-picker-cell-inner {
211
+ width: 64px;
212
+ height: 32px;
213
+ line-height: 32px;
214
+ padding: 0;
215
+ }
216
+ }
217
+ }
218
+
219
+ // 设置底部区域
220
+ .bhd-picker-footer {
221
+ padding: 12px 16px;
222
+ align-items: flex-start;
223
+ display: flex;
224
+ flex-direction: row;
225
+ justify-content: flex-end;
226
+ gap: 10px;
227
+ align-self: stretch;
228
+ border-top: 1px solid @color-background-fillsecondary-Tr !important;
229
+ line-height: 30px !important;
230
+ align-items: center;
231
+ flex-direction: row-reverse;
232
+ justify-content: flex-start;
233
+
234
+ & .bhd-picker-footer-extra {
235
+ padding: 0;
236
+ line-height: 30px;
237
+
238
+ &:not(:last-child) {
239
+ border-bottom: none;
240
+ }
241
+ }
242
+
243
+ & .bhd-picker-ranges {
244
+ padding: 0;
245
+ line-height: 30px;
246
+ height: 30px;
247
+ gap: 10px;
248
+
249
+ & .bhd-picker-now {
250
+ color: @color-background-primary-base;
251
+ .bhd-picker-now-btn {
252
+ color: @color-background-primary-base;
253
+ }
254
+ }
255
+ }
256
+
257
+ // 今天按钮
258
+ .bhd-picker-today-btn {
259
+ font-size: 14px;
260
+ font-style: normal;
261
+ font-weight: 400;
262
+ line-height: 14px;
263
+ color: @color-background-primary-base !important;
264
+ }
265
+
266
+ .bhd-picker-now-btn {
267
+ color: @color-background-primary-base;
268
+ }
269
+
270
+ .bhd-picker-presets {
271
+ min-width: unset;
272
+ font-size: 14px;
273
+ font-style: normal;
274
+ font-weight: 400;
275
+ line-height: 14px;
276
+ color: @color-background-primary-base;
277
+ display: flex;
278
+ gap: 10px;
279
+ flex-direction: row-reverse;
280
+ justify-content: flex-start;
281
+ align-items: center;
282
+
283
+ .bhd-picker-preset-btn {
284
+ color: @color-background-primary-base;
285
+ height: 16px;
286
+ line-height: 16px;
287
+ }
288
+ }
289
+
290
+ .bhd-picker-ok {
291
+ & .bhd-btn-primary {
292
+ height: 30px;
293
+ padding: 0 16px;
294
+ // line-height: 30px;
295
+
296
+ &:disabled,
297
+ &.disabled {
298
+ background: @color-background-fillsecondary-Tr;
299
+ color: @color-text-tertiary-Tr;
300
+ cursor: no-drop;
301
+ border: none;
302
+ box-shadow: none;
303
+ }
304
+ }
305
+ }
306
+
307
+ // 隐藏默认的当前
308
+ & > a {
309
+ display: none;
310
+ }
311
+ // & > .bhd-picker-ranges {
312
+ // display: none;
313
+ // }
314
+ }
315
+
316
+ .bhd-picker-cell-disabled.bhd-picker-cell-today
317
+ .bhd-picker-cell-inner::before {
318
+ border-color: @color-background-primary-base !important;
319
+ }
320
+ }
321
+ }
322
+
323
+ // 单选
324
+ &.singlePicker {
325
+ :global {
326
+ .bhd-picker-date-panel,
327
+ .bhd-picker-week-panel {
328
+ width: 272px;
329
+ & .bhd-picker-content {
330
+ width: 224px;
331
+ margin: 0 auto;
332
+ & th {
333
+ width: 32px;
334
+ height: 32px;
335
+ }
336
+ }
337
+
338
+ & .bhd-picker-cell {
339
+ padding: 0;
340
+ padding-top: 8px;
341
+
342
+ &::before {
343
+ top: calc(50% + 4px);
344
+ height: 32px;
345
+ }
346
+
347
+ & .bhd-picker-cell-inner {
348
+ width: 32px;
349
+ height: 32px;
350
+ line-height: 32px;
351
+ }
352
+ }
353
+
354
+ .bhd-picker-header-super-prev-btn,
355
+ .bhd-picker-header-super-next-btn {
356
+ display: none !important;
357
+ }
358
+ }
359
+
360
+ .bhd-picker-week-panel {
361
+ width: 304px;
362
+ }
363
+
364
+ .bhd-picker-month-panel {
365
+ width: 272px;
366
+ & .bhd-picker-body {
367
+ width: 240px;
368
+ }
369
+ & .bhd-picker-content {
370
+ height: 200px;
371
+ width: 240px;
372
+ }
373
+
374
+ & .bhd-picker-cell {
375
+ padding: 0;
376
+ &::before {
377
+ height: 32px;
378
+ width: 64px;
379
+ }
380
+
381
+ & .bhd-picker-cell-inner {
382
+ width: 64px;
383
+ height: 32px;
384
+ line-height: 32px;
385
+ padding: 0;
386
+ }
387
+ }
388
+ }
389
+
390
+ .bhd-picker-year-panel {
391
+ width: 272px;
392
+ & .bhd-picker-body {
393
+ width: 240px;
394
+ }
395
+ & .bhd-picker-content {
396
+ height: 200px;
397
+ width: 240px;
398
+ }
399
+
400
+ & .bhd-picker-cell {
401
+ padding: 0;
402
+ &::before {
403
+ height: 32px;
404
+ width: 64px;
405
+ }
406
+
407
+ & .bhd-picker-cell-inner {
408
+ width: 64px;
409
+ height: 32px;
410
+ line-height: 32px;
411
+ padding: 0;
412
+ }
413
+ }
414
+ }
415
+
416
+ // // 设置 当天的位置
417
+ // .bhd-picker-date-panel + .bhd-picker-footer {
418
+ // justify-content: center !important;
419
+ // }
420
+ }
421
+ }
422
+
423
+ //范围选择
424
+ &.rangePicker {
425
+ :global {
426
+ .bhd-picker-date-panel {
427
+ .bhd-picker-header-super-prev-btn,
428
+ .bhd-picker-header-super-next-btn {
429
+ display: none !important;
430
+ }
431
+ .bhd-picker-header-prev-btn,
432
+ .bhd-picker-header-next-btn {
433
+ visibility: visible !important;
434
+ }
435
+ }
436
+ //范围选择公共
437
+ .bhd-picker-cell-in-view.bhd-picker-cell-in-range.bhd-picker-cell-range-hover-end
438
+ .bhd-picker-cell-inner::after {
439
+ left: 0;
440
+ }
441
+ .bhd-picker-cell-in-view.bhd-picker-cell-in-range.bhd-picker-cell-range-hover-start
442
+ .bhd-picker-cell-inner::after {
443
+ right: 0;
444
+ }
445
+ .bhd-picker-cell.bhd-picker-cell-in-view.bhd-picker-cell-in-range {
446
+ .bhd-picker-cell-inner::after {
447
+ right: 0 !important;
448
+ }
449
+ }
450
+
451
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-start::before {
452
+ left: 0;
453
+ }
454
+
455
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:not(
456
+ .bhd-picker-cell-in-range
457
+ ):not(.bhd-picker-cell-range-start):not(
458
+ .bhd-picker-cell-range-end
459
+ )::after,
460
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end:not(
461
+ .bhd-picker-cell-in-range
462
+ ):not(.bhd-picker-cell-range-start):not(
463
+ .bhd-picker-cell-range-end
464
+ )::after,
465
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start-single::after,
466
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-end-near-hover::after,
467
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-start-near-hover::after,
468
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-end-single::after,
469
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:not(
470
+ .bhd-picker-cell-in-range
471
+ )::after {
472
+ height: 32px;
473
+ border: none;
474
+ background: @color-background-primary-weak;
475
+ }
476
+ .bhd-picker-year-panel .bhd-picker-cell::before,
477
+ .bhd-picker-year-panel .bhd-picker-cell::before {
478
+ left: 8px;
479
+ border-radius: 4px;
480
+ }
481
+
482
+ // 日期
483
+ .bhd-picker-date-panel {
484
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:not(
485
+ .bhd-picker-cell-in-range
486
+ ):not(.bhd-picker-cell-range-start):not(
487
+ .bhd-picker-cell-range-end
488
+ )::after,
489
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end:not(
490
+ .bhd-picker-cell-in-range
491
+ ):not(.bhd-picker-cell-range-start):not(
492
+ .bhd-picker-cell-range-end
493
+ )::after,
494
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start-single::after,
495
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-end-near-hover::after,
496
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-start-near-hover::after,
497
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-end-single::after,
498
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:not(
499
+ .bhd-picker-cell-in-range
500
+ )::after {
501
+ top: calc(50% + 4px);
502
+ width: 32px;
503
+ }
504
+ }
505
+
506
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:last-child::after,
507
+ tr
508
+ > .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:last-child::after,
509
+ .bhd-picker-cell-in-view.bhd-picker-cell-end.bhd-picker-cell-range-hover-edge-end.bhd-picker-cell-range-hover-edge-end-near-range::after,
510
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-edge-end:not(
511
+ .bhd-picker-cell-range-hover-edge-end-near-range
512
+ )::after,
513
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end::after {
514
+ right: 0;
515
+ border: none;
516
+ }
517
+
518
+ .bhd-picker-cell-range-hover-start::after,
519
+ .bhd-picker-cell-range-hover-end::after,
520
+ .bhd-picker-cell-range-hover::after {
521
+ left: 0;
522
+ }
523
+
524
+ .bhd-picker-cell:hover:not(.bhd-picker-cell-in-view)
525
+ .bhd-picker-cell-inner,
526
+ .bhd-picker-cell:hover:not(.bhd-picker-cell-selected):not(
527
+ .bhd-picker-cell-range-start
528
+ ):not(.bhd-picker-cell-range-end):not(
529
+ .bhd-picker-cell-range-hover-start
530
+ ):not(.bhd-picker-cell-range-hover-end)
531
+ .bhd-picker-cell-inner {
532
+ background: @color-background-primary-weak !important;
533
+ color: @color-background-primary-base;
534
+ }
535
+ }
536
+ }
537
+
538
+ // 带有额外文字场景
539
+ &.extraPicker {
540
+ :global {
541
+ .extraText {
542
+ color: @color-background-elevated;
543
+ font-size: 12px;
544
+ font-style: normal;
545
+ font-weight: 400;
546
+ line-height: 12px;
547
+
548
+ &.selectable {
549
+ color: #5991ef;
550
+ }
551
+ &.noselectable {
552
+ color: @color-text-error;
553
+ }
554
+ &.selected {
555
+ color: #23d9c3;
556
+ }
557
+ }
558
+ .bhd-picker-date-panel {
559
+ width: 416px;
560
+ padding: 24px 24px 16px 24px;
561
+ & .bhd-picker-content {
562
+ width: 336px;
563
+ margin: 0 auto;
564
+ & th {
565
+ width: 48px;
566
+ height: 48px;
567
+ }
568
+ }
569
+
570
+ & .bhd-picker-cell {
571
+ padding: 0;
572
+ padding-top: 8px;
573
+
574
+ &::before {
575
+ top: calc(50% + 4px);
576
+ height: 48px;
577
+ }
578
+
579
+ & .bhd-picker-cell-inner {
580
+ width: 48px;
581
+ height: 48px;
582
+ line-height: 24px;
583
+ display: flex;
584
+ flex-direction: column;
585
+ justify-content: center;
586
+ align-items: center;
587
+ }
588
+ }
589
+
590
+ .bhd-picker-header-super-prev-btn,
591
+ .bhd-picker-header-super-next-btn {
592
+ display: none !important;
593
+ }
594
+ }
595
+
596
+ .bhd-picker-cell-selected {
597
+ color: @color-background-elevated !important;
598
+ .extraText {
599
+ &.selectable {
600
+ color: @color-background-elevated !important;
601
+ }
602
+ &.noselectable {
603
+ color: @color-background-elevated !important;
604
+ }
605
+ &.selected {
606
+ color: @color-background-elevated !important;
607
+ }
608
+ }
609
+
610
+ & .bhd-picker-cell-inner {
611
+ background-color: @color-background-primary-base;
612
+ }
613
+ }
614
+ .bhd-picker-cell-today {
615
+ color: @color-background-primary-base !important;
616
+ .extraText {
617
+ &.selectable {
618
+ color: @color-background-primary-base;
619
+ }
620
+ &.noselectable {
621
+ color: @color-background-primary-base;
622
+ }
623
+ &.selected {
624
+ color: @color-background-primary-base;
625
+ }
626
+ }
627
+ }
628
+ .bhd-picker-cell-disabled::before {
629
+ background: transparent;
630
+ color: @color-text-quaternary-Tr;
631
+ }
632
+ .bhd-picker-date-panel {
633
+ // 设置标题背景色高度
634
+ .bhd-picker-body {
635
+ &::before {
636
+ height: 48px !important;
637
+ }
638
+ }
639
+ }
640
+ }
641
+
642
+ // 查看
643
+ &.readonly {
644
+ :global {
645
+ // 隐藏头部点击按钮
646
+ .bhd-picker-header-view > button {
647
+ pointer-events: none;
648
+ }
649
+ // 隐藏底部
650
+ .bhd-picker-footer {
651
+ display: none !important;
652
+ }
653
+
654
+ // 头部位置变更
655
+ .bhd-picker-header {
656
+ position: relative;
657
+ .bhd-picker-header-prev-btn {
658
+ position: absolute;
659
+ right: 40px;
660
+ border: none !important;
661
+ }
662
+ .bhd-picker-header-view {
663
+ position: absolute;
664
+ left: 0;
665
+ }
666
+ .bhd-picker-header-next-btn {
667
+ position: absolute;
668
+ right: 0;
669
+ border: none !important;
670
+ }
671
+ }
672
+ }
673
+ }
674
+ }
675
+
676
+ // 公共的
677
+ :global {
678
+ // 重置样式
679
+ * {
680
+ padding: 0;
681
+ margin: 0;
682
+ box-sizing: border-box;
683
+ }
684
+
685
+ // 重置table样式
686
+ table {
687
+ display: table !important;
688
+ width: 100%;
689
+ table-layout: fixed;
690
+ margin-bottom: 0 !important;
691
+ border-collapse: separate;
692
+ thead {
693
+ background-color: transparent !important;
694
+ tr {
695
+ background-color: transparent !important;
696
+ border: none !important;
697
+
698
+ th {
699
+ border: none !important;
700
+ }
701
+ }
702
+ }
703
+
704
+ th {
705
+ background-color: transparent !important;
706
+ }
707
+ tbody {
708
+ tr {
709
+ background-color: @color-background-elevated;
710
+ border: none !important;
711
+ td {
712
+ border: none !important;
713
+ }
714
+ }
715
+ }
716
+ }
717
+
718
+ // 面板样式
719
+ .bhd-picker-panel-container {
720
+ box-shadow: none !important;
721
+ border: 1px solid @color-border-Tr;
722
+ }
723
+
724
+ // 年的面板:禁止点击十年的按钮
725
+ .bhd-picker-year-panel {
726
+ & .bhd-picker-decade-btn {
727
+ cursor: not-allowed !important;
728
+ pointer-events: none;
729
+ }
730
+ }
731
+
732
+ // 内容面板
733
+ .bhd-picker-decade-panel,
734
+ .bhd-picker-year-panel,
735
+ .bhd-picker-quarter-panel,
736
+ .bhd-picker-month-panel,
737
+ .bhd-picker-week-panel,
738
+ .bhd-picker-date-panel,
739
+ .bhd-picker-time-panel {
740
+ padding: 16px;
741
+ gap: 24px;
742
+ & .bhd-picker-body {
743
+ padding: 0 !important;
744
+ position: relative;
745
+
746
+ // 设置标题背景色
747
+ &::before {
748
+ content: "";
749
+ width: 100%;
750
+ height: 32px;
751
+ border-radius: 4px;
752
+ position: absolute;
753
+ top: 0;
754
+ left: 0;
755
+ background-color: @color-background-filltertiary-Tr;
756
+ }
757
+ }
758
+
759
+ // 设置头部圆角
760
+ & .bhd-picker-content th {
761
+ &:first-child {
762
+ border-top-left-radius: 4px;
763
+ border-bottom-left-radius: 4px;
764
+ }
765
+
766
+ &:last-child {
767
+ border-top-right-radius: 4px;
768
+ border-bottom-right-radius: 4px;
769
+ }
770
+ }
771
+ }
772
+ // 头部
773
+ .bhd-picker-header {
774
+ padding: 0 !important;
775
+ border-bottom: none !important;
776
+ height: 32px;
777
+ line-height: 32px;
778
+
779
+ & button {
780
+ line-height: 32px !important;
781
+ color: @color-text-Secondary-Tr !important;
782
+ }
783
+ }
784
+ // 头部文字
785
+ .bhd-picker-header-view {
786
+ text-align: center;
787
+ color: @color-text-Tr;
788
+ font-size: 16px;
789
+ font-weight: 500 !important;
790
+ line-height: 32px !important;
791
+ & button {
792
+ line-height: 32px !important;
793
+ color: @color-text-Tr !important;
794
+ &:hover {
795
+ color: @color-background-primary-base !important;
796
+ }
797
+ }
798
+ }
799
+
800
+ // >>按钮图标
801
+ .bhd-picker-header-super-prev-btn,
802
+ .bhd-picker-header-super-next-btn,
803
+ .bhd-picker-header-prev-btn,
804
+ .bhd-picker-header-next-btn {
805
+ border: 1px solid @color-border-Tr !important;
806
+ color: @color-text-Secondary-Tr !important;
807
+ border-radius: 4px;
808
+ padding: 7px !important;
809
+ height: 32px;
810
+ width: 32px;
811
+ display: flex;
812
+ align-items: center;
813
+ justify-content: center;
814
+ }
815
+
816
+ // 默认
817
+ .bhd-picker-cell-in-view {
818
+ color: @color-text-Secondary-Tr !important;
819
+ }
820
+
821
+ //当天
822
+ .bhd-picker-cell-today {
823
+ color: @color-background-primary-base !important;
824
+ &:hover {
825
+ .bhd-picker-cell-inner {
826
+ background-color: @color-background-primary-weak !important;
827
+ }
828
+ }
829
+ }
830
+ //悬浮
831
+ .bhd-picker-cell-inner {
832
+ &:hover {
833
+ background-color: @color-background-primary-weak !important;
834
+ color: @color-background-primary-base !important;
835
+ }
836
+ }
837
+ //选中
838
+ .bhd-picker-cell-selected {
839
+ &:hover {
840
+ .bhd-picker-cell-inner {
841
+ background-color: @color-background-primary-hover !important;
842
+ color: @color-background-elevated !important;
843
+ }
844
+ }
845
+ }
846
+ // 禁用
847
+ .bhd-picker-cell-disabled {
848
+ color: rgba(0, 0, 0, 0.25) !important;
849
+ }
850
+ }
851
+ }