acud 0.0.63 → 0.0.64

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 (37) hide show
  1. package/dist/acud.css +51 -13
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +26 -9
  4. package/dist/acud.js.map +1 -1
  5. package/dist/acud.min.css +1 -1
  6. package/dist/acud.min.css.map +1 -1
  7. package/dist/acud.min.js +2 -2
  8. package/dist/acud.min.js.map +1 -1
  9. package/es/alert/style/index.css +1 -1
  10. package/es/alert/style/index.less +150 -147
  11. package/es/alert/style/rtl.less +27 -27
  12. package/es/date-picker/src/Picker.js +1 -1
  13. package/es/date-picker/src/RangePicker.js +1 -1
  14. package/es/date-picker/style/index.css +43 -11
  15. package/es/date-picker/style/index.less +13 -2
  16. package/es/date-picker/style/panel.less +32 -10
  17. package/es/dropdown/dropdown-button.js +8 -3
  18. package/es/dropdown/style/index.css +4 -0
  19. package/es/dropdown/style/index.less +4 -0
  20. package/es/style/themes/default/components/datePicker.less +1 -1
  21. package/es/transfer/style/index.css +2 -0
  22. package/es/transfer/style/index.less +2 -0
  23. package/lib/alert/style/index.css +1 -1
  24. package/lib/alert/style/index.less +150 -147
  25. package/lib/alert/style/rtl.less +27 -27
  26. package/lib/date-picker/src/Picker.js +1 -1
  27. package/lib/date-picker/src/RangePicker.js +1 -1
  28. package/lib/date-picker/style/index.css +43 -11
  29. package/lib/date-picker/style/index.less +13 -2
  30. package/lib/date-picker/style/panel.less +32 -10
  31. package/lib/dropdown/dropdown-button.js +8 -3
  32. package/lib/dropdown/style/index.css +4 -0
  33. package/lib/dropdown/style/index.less +4 -0
  34. package/lib/style/themes/default/components/datePicker.less +1 -1
  35. package/lib/transfer/style/index.css +2 -0
  36. package/lib/transfer/style/index.less +2 -0
  37. package/package.json +1 -1
@@ -105,6 +105,10 @@
105
105
  cursor: not-allowed;
106
106
  .basic-disabled-config(@dropdown-menu-tp, @dropdown-menu-p);
107
107
  }
108
+
109
+ &-active:hover {
110
+ background-color: @B1;
111
+ }
108
112
  }
109
113
 
110
114
  &-submenu-title,
@@ -27,7 +27,7 @@
27
27
  @primary-color: @B2;
28
28
  @picker-basic-cell-active-with-range-color: @B1;
29
29
  @picker-date-hover-range-border-color: @B4;
30
- @picker-date-hover-range-color: @B3;
30
+ @picker-date-hover-range-color: @B2;
31
31
  @disabled-color: @G6;
32
32
  @picker-basic-cell-disabled-bg: transparent;
33
33
 
@@ -32,6 +32,7 @@
32
32
  border: 1px solid #E8E9EB;
33
33
  border-radius: 4px;
34
34
  background-color: #F7F7F9;
35
+ overflow: hidden;
35
36
  }
36
37
  .acud-transfer-datasource-header {
37
38
  display: flex;
@@ -173,6 +174,7 @@
173
174
  border-radius: 4px;
174
175
  background-color: #F7F7F9;
175
176
  margin-left: 16px;
177
+ overflow: hidden;
176
178
  }
177
179
  .acud-transfer-target-header {
178
180
  display: flex;
@@ -26,6 +26,7 @@
26
26
  border: 1px solid @G8;
27
27
  border-radius: @R3;
28
28
  background-color: @G10;
29
+ overflow: hidden;
29
30
  &-header {
30
31
  display: flex;
31
32
  flex: none;
@@ -113,6 +114,7 @@
113
114
  border-radius: @R3;
114
115
  background-color: @G10;
115
116
  margin-left: @P * 4;
117
+ overflow: hidden;
116
118
  &-header {
117
119
  display: flex;
118
120
  flex: none;
@@ -24,7 +24,7 @@
24
24
  min-width: 0;
25
25
  }
26
26
  .acud-alert-icon {
27
- margin: 3px 8px 0 0;
27
+ margin: 4px 8px 0 0;
28
28
  font-size: 18px;
29
29
  height: 18px;
30
30
  line-height: 18px;
@@ -4,154 +4,157 @@
4
4
  @alert-prefix-cls: ~'@{acud-prefix}-alert';
5
5
 
6
6
  .@{alert-prefix-cls} {
7
- .reset-component();
8
-
9
- position: relative;
10
- display: flex;
11
- align-items: flex-start;
12
- padding: @P 4 * @P;
13
- word-wrap: break-word;
14
- border-radius: @alert-border-radius;
15
-
16
- &-content {
17
- flex: 1;
18
- min-width: 0;
19
- }
20
-
21
- &-icon {
22
- margin: 3px @alert-margin 0 0;
23
- font-size: @alert-icon-size;
24
- height: @alert-icon-size;
25
- line-height: @alert-icon-size;
26
- }
27
-
28
- &-description {
29
- display: none;
30
- font-size: @T2;
31
- line-height: @T2 + 8px;
32
- color: @alert-message-color;
33
- }
34
-
35
- &-success {
36
- background-color: @alert-success-bg-color;
37
- border: none;
38
- .@{alert-prefix-cls}-icon {
39
- color: @alert-success-icon-color;
40
- }
41
- }
42
-
43
- &-info {
44
- background-color: @alert-info-bg-color;
45
- border: none;
46
- .@{alert-prefix-cls}-icon {
47
- color: @alert-info-icon-color;
48
- }
49
- }
50
-
51
- &-warning {
52
- background-color: @alert-warning-bg-color;
53
- border: none;
54
- .@{alert-prefix-cls}-icon {
55
- color: @alert-warning-icon-color;
56
- }
57
- }
58
-
59
- &-error {
60
- background-color: @alert-error-bg-color;
61
- border: none;
62
-
63
- .@{alert-prefix-cls}-icon {
64
- color: @alert-error-icon-color;
65
- }
66
-
67
- .@{alert-prefix-cls}-description > pre {
68
- margin: 0;
69
- padding: 0;
70
- background: transparent;
71
- overflow: scroll;
72
- }
73
- }
74
-
75
- &-action {
76
- margin-left: @alert-margin;
77
- }
78
-
79
- &-close-icon {
80
- margin-left: @alert-margin;
81
- margin-top: @P;
82
- padding: 0;
83
- overflow: hidden;
84
- font-size: @T4;
85
- line-height: @T2;
86
- background-color: transparent;
87
- border: none;
88
- outline: none;
89
- cursor: pointer;
90
-
91
- > .@{iconfont-css-prefix} {
92
- color: @alert-close-color;
93
- transition: color 0.3s;
94
- &:hover {
95
- color: @alert-close-hover-color;
96
- }
97
- &:active {
98
- color: @alert-close-click-color;
99
- }
100
- }
101
- }
102
-
103
- &-close-text {
104
- font-size: @T2;
105
- color: @alert-close-text-color;
106
- transition: color 0.3s;
107
- &:hover {
108
- color: @alert-close-text-hover-color;
109
- }
110
- }
111
-
112
- &-with-description {
7
+ .reset-component();
8
+
9
+ position: relative;
10
+ display: flex;
113
11
  align-items: flex-start;
114
- padding: @alert-padding;
115
- }
116
-
117
- &-with-description &-message {
118
- display: block;
119
- margin-bottom: 4px;
120
- color: @alert-message-color;
121
- font-size: @T3;
122
- font-weight: @alert-title-font-weight;
123
- }
124
-
125
- &-message {
126
- color: @alert-message-color;
127
- font-size: @T2;
128
- line-height: 6 * @P;
129
- }
130
-
131
- &-with-description &-description {
132
- display: block;
133
- }
134
-
135
- &&-motion-leave {
136
- overflow: hidden;
137
- opacity: 1;
138
- transition: max-height 0.3s @ease-in-out-circ, opacity 0.3s @ease-in-out-circ,
139
- padding-top 0.3s @ease-in-out-circ, padding-bottom 0.3s @ease-in-out-circ,
140
- margin-bottom 0.3s @ease-in-out-circ;
141
- }
142
-
143
- &&-motion-leave-active {
144
- max-height: 0;
145
- margin-bottom: 0 !important;
146
- padding-top: 0;
147
- padding-bottom: 0;
148
- opacity: 0;
149
- }
150
-
151
- &-banner {
152
- margin-bottom: 0;
153
- border: 0;
154
- }
12
+ padding: @P 4 * @P;
13
+ word-wrap: break-word;
14
+ border-radius: @alert-border-radius;
15
+
16
+ &-content {
17
+ flex: 1;
18
+ min-width: 0;
19
+ }
20
+
21
+ &-icon {
22
+ margin: 4px @alert-margin 0 0;
23
+ font-size: @alert-icon-size;
24
+ height: @alert-icon-size;
25
+ line-height: @alert-icon-size;
26
+ }
27
+
28
+ &-description {
29
+ display: none;
30
+ font-size: @T2;
31
+ line-height: @T2 + 8px;
32
+ color: @alert-message-color;
33
+ }
34
+
35
+ &-success {
36
+ background-color: @alert-success-bg-color;
37
+ border: none;
38
+ .@{alert-prefix-cls}-icon {
39
+ color: @alert-success-icon-color;
40
+ }
41
+ }
42
+
43
+ &-info {
44
+ background-color: @alert-info-bg-color;
45
+ border: none;
46
+ .@{alert-prefix-cls}-icon {
47
+ color: @alert-info-icon-color;
48
+ }
49
+ }
50
+
51
+ &-warning {
52
+ background-color: @alert-warning-bg-color;
53
+ border: none;
54
+ .@{alert-prefix-cls}-icon {
55
+ color: @alert-warning-icon-color;
56
+ }
57
+ }
58
+
59
+ &-error {
60
+ background-color: @alert-error-bg-color;
61
+ border: none;
62
+
63
+ .@{alert-prefix-cls}-icon {
64
+ color: @alert-error-icon-color;
65
+ }
66
+
67
+ .@{alert-prefix-cls}-description > pre {
68
+ margin: 0;
69
+ padding: 0;
70
+ background: transparent;
71
+ overflow: scroll;
72
+ }
73
+ }
74
+
75
+ &-action {
76
+ margin-left: @alert-margin;
77
+ }
78
+
79
+ &-close-icon {
80
+ margin-left: @alert-margin;
81
+ margin-top: @P;
82
+ padding: 0;
83
+ overflow: hidden;
84
+ font-size: @T4;
85
+ line-height: @T2;
86
+ background-color: transparent;
87
+ border: none;
88
+ outline: none;
89
+ cursor: pointer;
90
+
91
+ > .@{iconfont-css-prefix} {
92
+ color: @alert-close-color;
93
+ transition: color .3s;
94
+
95
+ &:hover {
96
+ color: @alert-close-hover-color;
97
+ }
98
+
99
+ &:active {
100
+ color: @alert-close-click-color;
101
+ }
102
+ }
103
+ }
104
+
105
+ &-close-text {
106
+ font-size: @T2;
107
+ color: @alert-close-text-color;
108
+ transition: color .3s;
109
+
110
+ &:hover {
111
+ color: @alert-close-text-hover-color;
112
+ }
113
+ }
114
+
115
+ &-with-description {
116
+ align-items: flex-start;
117
+ padding: @alert-padding;
118
+ }
119
+
120
+ &-with-description &-message {
121
+ display: block;
122
+ margin-bottom: 4px;
123
+ color: @alert-message-color;
124
+ font-size: @T3;
125
+ font-weight: @alert-title-font-weight;
126
+ }
127
+
128
+ &-message {
129
+ color: @alert-message-color;
130
+ font-size: @T2;
131
+ line-height: 6 * @P;
132
+ }
133
+
134
+ &-with-description &-description {
135
+ display: block;
136
+ }
137
+
138
+ &&-motion-leave {
139
+ overflow: hidden;
140
+ opacity: 1;
141
+ transition: max-height .3s @ease-in-out-circ, opacity .3s @ease-in-out-circ,
142
+ padding-top .3s @ease-in-out-circ, padding-bottom .3s @ease-in-out-circ,
143
+ margin-bottom .3s @ease-in-out-circ;
144
+ }
145
+
146
+ &&-motion-leave-active {
147
+ max-height: 0;
148
+ margin-bottom: 0 !important;
149
+ padding-top: 0;
150
+ padding-bottom: 0;
151
+ opacity: 0;
152
+ }
153
+
154
+ &-banner {
155
+ margin-bottom: 0;
156
+ border: 0;
157
+ }
155
158
  }
156
159
 
157
160
  @import './rtl';
@@ -1,39 +1,39 @@
1
1
  .@{alert-prefix-cls} {
2
- &&-rtl {
3
- direction: rtl;
4
- }
2
+ &&-rtl {
3
+ direction: rtl;
4
+ }
5
5
 
6
- &&-no-icon {
7
- .@{alert-prefix-cls}-rtl& {
8
- padding: @alert-no-icon-padding-vertical 4 * @P;
6
+ &&-no-icon {
7
+ .@{alert-prefix-cls}-rtl& {
8
+ padding: @alert-no-icon-padding-vertical 4 * @P;
9
+ }
9
10
  }
10
- }
11
11
 
12
- &-icon {
13
- .@{alert-prefix-cls}-rtl & {
14
- margin-right: auto;
15
- margin-left: @alert-margin;
12
+ &-icon {
13
+ .@{alert-prefix-cls}-rtl & {
14
+ margin-right: auto;
15
+ margin-left: @alert-margin;
16
+ }
16
17
  }
17
- }
18
18
 
19
- &-action {
20
- .@{alert-prefix-cls}-rtl & {
21
- margin-right: @alert-margin;
22
- margin-left: auto;
19
+ &-action {
20
+ .@{alert-prefix-cls}-rtl & {
21
+ margin-right: @alert-margin;
22
+ margin-left: auto;
23
+ }
23
24
  }
24
- }
25
25
 
26
- &-close-icon {
27
- .@{alert-prefix-cls}-rtl & {
28
- margin-right: @alert-margin;
29
- margin-left: auto;
26
+ &-close-icon {
27
+ .@{alert-prefix-cls}-rtl & {
28
+ margin-right: @alert-margin;
29
+ margin-left: auto;
30
+ }
30
31
  }
31
- }
32
32
 
33
- &-with-description &-icon {
34
- .@{alert-prefix-cls}-rtl& {
35
- margin-right: auto;
36
- margin-left: @alert-padding;
33
+ &-with-description &-icon {
34
+ .@{alert-prefix-cls}-rtl& {
35
+ margin-right: auto;
36
+ margin-left: @alert-padding;
37
+ }
37
38
  }
38
- }
39
39
  }
@@ -456,7 +456,7 @@ function InnerPicker(props) {
456
456
  size: (0, _uiUtil.getInputSize)(picker, formatList[0], generateConfig)
457
457
  }, (0, _miscUtil["default"])(props), {
458
458
  autoComplete: autoComplete
459
- })), suffixNode, clearNode))));
459
+ })), clearNode, suffixNode))));
460
460
  } // Wrap with class component to enable pass generic with instance method
461
461
 
462
462
 
@@ -1021,7 +1021,7 @@ function InnerRangePicker(props) {
1021
1021
  width: activeBarWidth,
1022
1022
  position: 'absolute'
1023
1023
  })
1024
- }), suffixNode, clearNode)));
1024
+ }), clearNode, suffixNode)));
1025
1025
  } // Wrap with class component to enable pass generic with instance method
1026
1026
 
1027
1027
 
@@ -366,7 +366,7 @@
366
366
  .acud-picker-input:hover .acud-picker-clear {
367
367
  opacity: 1;
368
368
  }
369
- .acud-picker-input-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-suffix {
369
+ .acud-picker-input-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-clear + .acud-picker-suffix {
370
370
  opacity: 0;
371
371
  }
372
372
  .acud-picker-suffix {
@@ -455,7 +455,7 @@
455
455
  padding: 0 12px;
456
456
  line-height: 1;
457
457
  }
458
- .acud-picker-range-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-suffix {
458
+ .acud-picker-range-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-clear + .acud-picker-suffix {
459
459
  opacity: 0;
460
460
  }
461
461
  .acud-picker-dropdown {
@@ -523,6 +523,28 @@
523
523
  .acud-picker-ranges .acud-picker-preset > .acud-tag-blue {
524
524
  cursor: pointer;
525
525
  }
526
+ .acud-picker-ranges .acud-picker-now {
527
+ font-size: 12px;
528
+ float: left;
529
+ cursor: pointer;
530
+ margin-top: 10px;
531
+ }
532
+ .acud-picker-ranges .acud-picker-now a {
533
+ color: #2468F2;
534
+ }
535
+ .acud-picker-ranges .acud-picker-now a:hover {
536
+ color: #528EFF;
537
+ }
538
+ .acud-picker-ranges .acud-picker-now a:focus,
539
+ .acud-picker-ranges .acud-picker-now a:active {
540
+ color: #144BCC;
541
+ }
542
+ .acud-picker-ranges .acud-picker-now a[disabled],
543
+ .acud-picker-ranges .acud-picker-now a[disabled]:hover,
544
+ .acud-picker-ranges .acud-picker-now a[disabled]:focus,
545
+ .acud-picker-ranges .acud-picker-now a[disabled]:active {
546
+ color: #B8BABF;
547
+ }
526
548
  .acud-picker-ranges .acud-picker-ok {
527
549
  float: right;
528
550
  margin-left: 12px;
@@ -606,12 +628,16 @@
606
628
  left: -12px;
607
629
  background: #E6F0FF;
608
630
  }
609
- .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover {
610
- background-color: #E6F0FF;
631
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-in-range.acud-picker-cell-range-hover-end:hover,
632
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-in-range.acud-picker-cell-range-hover-start:hover {
633
+ background-color: #D4E5FF;
611
634
  }
612
- .acud-picker-month-panel .acud-picker-cell-range-hover-start:hover {
613
- background-color: #A7C2F9;
614
- border-radius: 2px;
635
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover,
636
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:hover {
637
+ background: #E6F0FF;
638
+ }
639
+ .acud-picker-month-panel .acud-picker-cell-disabled:not(:first-child)::before {
640
+ left: -12px;
615
641
  }
616
642
  .acud-picker-header {
617
643
  display: flex;
@@ -859,7 +885,7 @@
859
885
  }
860
886
  .acud-picker-cell:hover:not(.acud-picker-cell-in-view) .acud-picker-cell-inner,
861
887
  .acud-picker-cell:hover:not(.acud-picker-cell-selected):not(.acud-picker-cell-range-start):not(.acud-picker-cell-range-end):not(.acud-picker-cell-range-hover-start):not(.acud-picker-cell-range-hover-end) .acud-picker-cell-inner {
862
- background: #E6F0FF;
888
+ background: #F7F7F9;
863
889
  border-radius: 2px;
864
890
  }
865
891
  .acud-picker-cell-in-view.acud-picker-cell-today .acud-picker-cell-inner::before {
@@ -949,7 +975,7 @@
949
975
  top: 0;
950
976
  bottom: 0;
951
977
  z-index: -1;
952
- background: #A7C2F9;
978
+ background: #D4E5FF;
953
979
  content: '';
954
980
  border-radius: 2px;
955
981
  }
@@ -996,7 +1022,7 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
996
1022
  }
997
1023
  .acud-picker-cell-disabled:not(:first-child)::before {
998
1024
  width: 12px;
999
- left: -12px;
1025
+ left: -10px;
1000
1026
  background: #F7F7F9;
1001
1027
  }
1002
1028
  .acud-picker-cell-disabled.acud-picker-cell-today .acud-picker-cell-inner::before {
@@ -1012,7 +1038,6 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
1012
1038
  height: 56px;
1013
1039
  }
1014
1040
  .acud-picker-date-panel .acud-picker-content td:hover {
1015
- background-color: #E6F0FF;
1016
1041
  border-radius: 2px;
1017
1042
  }
1018
1043
  .acud-picker-date-panel tr .acud-picker-cell:first-child::before {
@@ -1033,6 +1058,10 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
1033
1058
  justify-content: space-between;
1034
1059
  width: 216px;
1035
1060
  }
1061
+ .acud-picker-date-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover,
1062
+ .acud-picker-date-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:hover {
1063
+ background-color: #E6F0FF;
1064
+ }
1036
1065
  .acud-picker-footer {
1037
1066
  width: -webkit-min-content;
1038
1067
  width: -moz-min-content;
@@ -1108,6 +1137,9 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
1108
1137
  .acud-picker-panels .acud-picker-month-panel {
1109
1138
  width: 186px;
1110
1139
  }
1140
+ .acud-picker-panels .acud-picker-date-panel {
1141
+ width: 234px;
1142
+ }
1111
1143
  .acud-picker-week-panel .acud-picker-body {
1112
1144
  padding: 12px 8px;
1113
1145
  }
@@ -99,7 +99,7 @@
99
99
 
100
100
  &-has-value:not(.@{picker-prefix-cls}-clear-disabled) {
101
101
  &:hover {
102
- .@{picker-prefix-cls}-suffix {
102
+ .@{picker-prefix-cls}-clear + .@{picker-prefix-cls}-suffix {
103
103
  opacity: 0;
104
104
  }
105
105
  }
@@ -230,7 +230,7 @@
230
230
 
231
231
  &-range-has-value:not(&-clear-disabled) {
232
232
  &:hover {
233
- .@{picker-prefix-cls}-suffix {
233
+ .@{picker-prefix-cls}-clear + .@{picker-prefix-cls}-suffix {
234
234
  opacity: 0;
235
235
  }
236
236
  }
@@ -320,6 +320,17 @@
320
320
  cursor: pointer;
321
321
  }
322
322
 
323
+ .@{picker-prefix-cls}-now {
324
+ font-size: 12px;
325
+ float: left;
326
+ cursor: pointer;
327
+ margin-top: 10px;
328
+
329
+ a {
330
+ .basic-tp-config(tp2);
331
+ }
332
+ }
333
+
323
334
  .@{picker-prefix-cls}-ok {
324
335
  float: right;
325
336
  margin-left: @padding-xs;
@@ -61,16 +61,27 @@
61
61
  background: @picker-basic-cell-active-with-range-color;
62
62
  }
63
63
  }
64
- .@{picker-prefix-cls}-cell-in-view.@{picker-prefix-cls}-cell-range-hover-end {
65
- &:hover {
66
- background-color: @picker-basic-cell-active-with-range-color;
64
+ .@{picker-prefix-cls}-cell-in-view {
65
+ &.@{picker-prefix-cls}-cell-in-range {
66
+ &.@{picker-prefix-cls}-cell-range-hover-end, &.@{picker-prefix-cls}-cell-range-hover-start {
67
+ &:hover {
68
+ background-color: @B2;
69
+ }
70
+ }
71
+ }
72
+
73
+ &.@{picker-prefix-cls}-cell-range-hover-end, &.@{picker-prefix-cls}-cell-range-hover-start {
74
+ &:hover {
75
+ background: @picker-basic-cell-active-with-range-color;
76
+ }
67
77
  }
68
78
  }
69
79
 
70
- .@{picker-prefix-cls}-cell-range-hover-start {
71
- &:hover {
72
- background-color: @picker-date-hover-range-color;
73
- border-radius: @R2;
80
+ .@{picker-prefix-cls}-cell-disabled {
81
+ &:not(:first-child) {
82
+ &::before {
83
+ left: -3*@P;
84
+ }
74
85
  }
75
86
  }
76
87
  }
@@ -248,7 +259,7 @@
248
259
  &:hover:not(&-in-view),
249
260
  &:hover:not(&-selected):not(&-range-start):not(&-range-end):not(&-range-hover-start):not(&-range-hover-end) {
250
261
  .@{cellClassName} {
251
- background: @B1;
262
+ background: @G10;
252
263
  border-radius: @R2;
253
264
  }
254
265
  }
@@ -459,7 +470,7 @@
459
470
  &:not(:first-child) {
460
471
  &::before {
461
472
  width: 3*@P;
462
- left: -3*@P;
473
+ left: -3*@P + 2;
463
474
  background: @G10;
464
475
  }
465
476
  }
@@ -518,7 +529,6 @@
518
529
 
519
530
  &-date-panel {
520
531
  .@{picker-prefix-cls}-content td:hover {
521
- background-color: @B1;
522
532
  border-radius: @R2;
523
533
 
524
534
  // &:not(.@{picker-prefix-cls}-cell-in-range) {
@@ -557,6 +567,14 @@
557
567
  width: 60*@P - 2*3*@P;
558
568
  }
559
569
  }
570
+
571
+ .@{picker-prefix-cls}-cell-in-view {
572
+ &.@{picker-prefix-cls}-cell-range-hover-end, &.@{picker-prefix-cls}-cell-range-hover-start {
573
+ &:hover {
574
+ background-color: @picker-basic-cell-active-with-range-color;
575
+ }
576
+ }
577
+ }
560
578
  }
561
579
 
562
580
  // ======================== Footer ========================
@@ -673,6 +691,10 @@
673
691
  .@{picker-prefix-cls}-month-panel {
674
692
  width: 186px;
675
693
  }
694
+
695
+ .@{picker-prefix-cls}-date-panel {
696
+ width: 234px;
697
+ }
676
698
  }
677
699
 
678
700
  // ====================== Week Panel ======================