@kdcloudjs/kdesign 1.1.3 → 1.2.2

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 (132) hide show
  1. package/CHANGELOG.md +79 -3
  2. package/dist/kdesign-complete.less +1006 -783
  3. package/dist/kdesign.css +358 -268
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +529 -262
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +4 -4
  8. package/dist/kdesign.min.js +8 -8
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/_utils/usePopper.js +33 -12
  11. package/es/anchor/anchor.js +0 -6
  12. package/es/anchor/style/index.css +5 -2
  13. package/es/anchor/style/index.less +6 -2
  14. package/es/anchor/style/token.less +2 -1
  15. package/es/button/button.d.ts +1 -1
  16. package/es/button/button.js +2 -2
  17. package/es/button/group.d.ts +21 -0
  18. package/es/button/group.js +130 -0
  19. package/es/button/index.d.ts +5 -1
  20. package/es/button/index.js +4 -1
  21. package/es/button/style/index.css +117 -21
  22. package/es/button/style/index.less +332 -192
  23. package/es/button/style/token.less +41 -25
  24. package/es/carousel/carousel.js +4 -0
  25. package/es/carousel/displayList.js +8 -4
  26. package/es/carousel/fadeList.js +9 -5
  27. package/es/carousel/slideList.js +6 -3
  28. package/es/carousel/style/index.css +65 -0
  29. package/es/carousel/style/index.less +66 -1
  30. package/es/collapse/panel.d.ts +1 -0
  31. package/es/collapse/panel.js +17 -5
  32. package/es/collapse/style/index.css +32 -6
  33. package/es/collapse/style/index.less +24 -1
  34. package/es/collapse/style/token.less +12 -10
  35. package/es/config-provider/compDefaultProps.d.ts +4 -0
  36. package/es/config-provider/compDefaultProps.js +4 -0
  37. package/es/drawer/drawer.d.ts +1 -0
  38. package/es/drawer/drawer.js +56 -21
  39. package/es/empty/defaultEmptyImg.js +5 -3
  40. package/es/empty/illustrationEmptyImg.js +6 -4
  41. package/es/icon/interface.js +1 -1
  42. package/es/image/preview.js +1 -1
  43. package/es/image/style/index.css +8 -8
  44. package/es/image/style/index.less +5 -5
  45. package/es/image/style/token.less +12 -25
  46. package/es/radio/radio.js +3 -1
  47. package/es/radio/style/index.css +51 -24
  48. package/es/radio/style/index.less +28 -2
  49. package/es/radio/style/token.less +4 -4
  50. package/es/rate/style/index.css +9 -9
  51. package/es/rate/style/token.less +6 -6
  52. package/es/select/option.js +1 -1
  53. package/es/select/style/index.css +14 -5
  54. package/es/select/style/index.less +374 -368
  55. package/es/select/style/token.less +2 -2
  56. package/es/stepper/style/index.css +1 -1
  57. package/es/stepper/style/token.less +1 -1
  58. package/es/steps/style/index.css +40 -32
  59. package/es/steps/style/index.less +23 -33
  60. package/es/steps/style/token.less +6 -9
  61. package/es/style/icon/kdicon.css +2 -1
  62. package/es/style/icon/kdicon.woff +0 -0
  63. package/es/switch/style/index.css +11 -11
  64. package/es/switch/style/index.less +2 -2
  65. package/es/switch/style/token.less +7 -10
  66. package/es/tabs/tabs.js +5 -1
  67. package/es/tag/style/index.css +2 -147
  68. package/es/tag/style/index.less +4 -24
  69. package/es/tag/style/mixin.less +0 -13
  70. package/es/tag/style/token.less +1 -1
  71. package/lib/_utils/usePopper.js +34 -12
  72. package/lib/anchor/anchor.js +0 -6
  73. package/lib/anchor/style/index.css +5 -2
  74. package/lib/anchor/style/index.less +6 -2
  75. package/lib/anchor/style/token.less +2 -1
  76. package/lib/button/button.d.ts +1 -1
  77. package/lib/button/button.js +2 -2
  78. package/lib/button/group.d.ts +21 -0
  79. package/lib/button/group.js +166 -0
  80. package/lib/button/index.d.ts +5 -1
  81. package/lib/button/index.js +5 -1
  82. package/lib/button/style/index.css +117 -21
  83. package/lib/button/style/index.less +332 -192
  84. package/lib/button/style/token.less +41 -25
  85. package/lib/carousel/carousel.js +4 -0
  86. package/lib/carousel/displayList.js +9 -4
  87. package/lib/carousel/fadeList.js +10 -5
  88. package/lib/carousel/slideList.js +6 -3
  89. package/lib/carousel/style/index.css +65 -0
  90. package/lib/carousel/style/index.less +66 -1
  91. package/lib/collapse/panel.d.ts +1 -0
  92. package/lib/collapse/panel.js +17 -5
  93. package/lib/collapse/style/index.css +32 -6
  94. package/lib/collapse/style/index.less +24 -1
  95. package/lib/collapse/style/token.less +12 -10
  96. package/lib/config-provider/compDefaultProps.d.ts +4 -0
  97. package/lib/config-provider/compDefaultProps.js +4 -0
  98. package/lib/drawer/drawer.d.ts +1 -0
  99. package/lib/drawer/drawer.js +61 -27
  100. package/lib/empty/defaultEmptyImg.js +6 -3
  101. package/lib/empty/illustrationEmptyImg.js +7 -4
  102. package/lib/icon/interface.js +1 -1
  103. package/lib/image/preview.js +1 -1
  104. package/lib/image/style/index.css +8 -8
  105. package/lib/image/style/index.less +5 -5
  106. package/lib/image/style/token.less +12 -25
  107. package/lib/radio/radio.js +3 -1
  108. package/lib/radio/style/index.css +51 -24
  109. package/lib/radio/style/index.less +28 -2
  110. package/lib/radio/style/token.less +4 -4
  111. package/lib/rate/style/index.css +9 -9
  112. package/lib/rate/style/token.less +6 -6
  113. package/lib/select/option.js +1 -1
  114. package/lib/select/style/index.css +14 -5
  115. package/lib/select/style/index.less +374 -368
  116. package/lib/select/style/token.less +2 -2
  117. package/lib/stepper/style/index.css +1 -1
  118. package/lib/stepper/style/token.less +1 -1
  119. package/lib/steps/style/index.css +40 -32
  120. package/lib/steps/style/index.less +23 -33
  121. package/lib/steps/style/token.less +6 -9
  122. package/lib/style/icon/kdicon.css +2 -1
  123. package/lib/style/icon/kdicon.woff +0 -0
  124. package/lib/switch/style/index.css +11 -11
  125. package/lib/switch/style/index.less +2 -2
  126. package/lib/switch/style/token.less +7 -10
  127. package/lib/tabs/tabs.js +6 -1
  128. package/lib/tag/style/index.css +2 -147
  129. package/lib/tag/style/index.less +4 -24
  130. package/lib/tag/style/mixin.less +0 -13
  131. package/lib/tag/style/token.less +1 -1
  132. package/package.json +1 -1
@@ -235,7 +235,7 @@
235
235
  overflow: hidden;
236
236
  white-space: nowrap;
237
237
  text-overflow: ellipsis;
238
- padding: 0 6px;
238
+ padding: 0 4px;
239
239
  line-height: 1.5;
240
240
  vertical-align: middle;
241
241
  }
@@ -253,7 +253,7 @@
253
253
 
254
254
  &-advanced-arrows {
255
255
  color: @anchor-advanced-arrows-color;
256
- font-size: @anchor-icon-font-size;
256
+ font-size: @anchor-advanced-arrows-font-size;
257
257
  cursor: pointer;
258
258
  &:hover {
259
259
  color: @anchor-color-theme;
@@ -317,6 +317,10 @@
317
317
  &-link {
318
318
  padding: @anchor-link-padding;
319
319
 
320
+ &>.@{anchor-prefix-cls}-link {
321
+ padding: @anchor-link-secondary-padding;
322
+ }
323
+
320
324
  &-title {
321
325
  text-decoration: none;
322
326
  color: @anchor-primary-text-color;
@@ -385,6 +389,7 @@
385
389
  @anchor-link-top: var(~'@{anchor-prefix}-spacing-vertical', 7px);
386
390
  @anchor-link-left: var(~'@{anchor-prefix}-spacing-horizontal', 7px);
387
391
  @anchor-link-padding: var(~'@{anchor-prefix}-spacing-padding', 7px 8px);
392
+ @anchor-link-secondary-padding: var(~'@{anchor-prefix}-secondary-spacing-padding', 12px 8px);
388
393
  @anchor-advanced-padding-top: var(~'@{anchor-prefix}-advanced-spacing-padding-top', 8px);
389
394
  @anchor-advanced-padding-bottom: var(~'@{anchor-prefix}-advanced-spacing-padding-bottom', 7px);
390
395
  @anchor-ink-line-width: var(~'@{anchor-prefix}-ink-line-spacing-width', 1px);
@@ -394,7 +399,7 @@
394
399
  @anchor-advanced-lock-size: var(~'@{anchor-prefix}-advanced-lock-font-size', 16px);
395
400
  @anchor-font-size: var(~'@{anchor-prefix}-font-size', @font-size-small);
396
401
  @anchor-icon-font-size: var(~'@{anchor-prefix}-icon-font-size', 16px);
397
-
402
+ @anchor-advanced-arrows-font-size: var(~'@{anchor-prefix}-advanced-arrows-font-size', 24px);
398
403
  // motion
399
404
  @anchor-transition-duration: var(~'@{anchor-prefix}-duration-duration', @duration-promptly);
400
405
 
@@ -882,199 +887,339 @@
882
887
 
883
888
 
884
889
  @btn-prefix-cls: ~'@{kd-prefix}-btn';
890
+
885
891
  .@{btn-prefix-cls} {
886
- .btn;
887
-
888
- // 按钮wave动效
889
- transition: color @transition-duration, background-color @transition-duration, border-color @transition-duration;
890
- &:not(&-text)::after{
891
- position: absolute;
892
- top: 0;
893
- right: 0;
894
- bottom: 0;
895
- left: 0;
896
- border-radius: inherit;
897
- box-shadow: 0 0 0 0 @color-theme;
898
- opacity: 0.2;
899
- content: '';
900
- pointer-events: none;
901
- clear: both;
902
- }
903
- &:not(&-text)[click-animating-wave='true']::after {
904
- animation: fadeEffect @btn-duration-fade @ease-out forwards,
905
- waveEffect @btn-duration-wave @ease-out forwards;
906
- }
892
+ .btn;
907
893
 
908
- // 次要按钮
909
- &-second {
910
- .btn-type(@btn-second-border-color, @btn-second-background-color, @btn-second-font-color);
911
- &:hover {
912
- &:not(.@{btn-prefix-cls}-loading) {
913
- background-color: @btn-second-background-color-hover;
914
- border-color: @btn-second-border-color-hover;
915
- color: @btn-second-font-color-hover;
916
- }
917
- }
918
- &:active {
919
- &:not(.@{btn-prefix-cls}-loading) {
920
- background-color: @btn-second-background-color-active;
921
- border-color: @btn-second-border-color-active;
922
- color: @btn-second-font-color-active;
923
- }
924
- }
925
- &:disabled {
926
- border-color: @btn-second-border-color-disabled !important;
927
- background-color: @btn-second-background-color-disabled !important;
928
- color: @btn-second-font-color-disabled !important;
929
- }
930
- }
931
- // 主要按钮
932
- &-primary {
933
- .btn-type(@btn-primary-border-color, @btn-primary-background-color, @btn-primary-font-color);
934
- &:hover:not(.@{btn-prefix-cls}-loading) {
935
- background-color: @btn-primary-background-color-hover;
936
- border-color: @btn-primary-border-color-hover;
937
- }
938
- &:active:not(.@{btn-prefix-cls}-loading) {
939
- border-color: @btn-primary-border-color-active;
940
- background-color: @btn-primary-background-color-active;
941
- }
942
- &:disabled {
943
- background-color: @btn-primary-background-color-disabled !important;
944
- border-color: @btn-primary-border-color-disabled !important;
945
- }
946
- }
947
- // 幽灵按钮
948
- &-ghost {
949
- .btn-type(@btn-ghost-border-color, @btn-ghost-background-color, @btn-ghost-font-color);
950
- &:hover:not(.@{btn-prefix-cls}-loading) {
951
- border-color: @btn-ghost-border-color-hover;
952
- color: @btn-ghost-font-color-hover;
953
- }
954
- &:active:not(.@{btn-prefix-cls}-loading) {
955
- border-color: @btn-ghost-border-color-hover;
956
- color: @btn-ghost-font-color-active;
957
- }
958
- &:disabled {
959
- background-color: @btn-ghost-background-color-disabled !important;
960
- border-color: @btn-ghost-border-color-disabled !important;
961
- color: @btn-ghost-border-color-disabled !important;
962
- }
963
- }
964
- &-iconWrapper-left {
965
- display: flex;
966
- align-items: center;
967
- justify-content: center;
968
- float: left;
969
- }
970
- &-iconWrapper-right {
971
- display: flex;
972
- align-items: center;
973
- justify-content: center;
974
- float: right;
975
- }
976
- &-loadingIcon {
977
- color: @btn-g-text-color-loading;
978
- }
979
- &-primary-loadingIcon {
980
- color: @btn-primary-g-text-color-loading;
981
- }
982
- // 小号尺寸按钮
983
- &-size-small {
984
- .btn-size(@btn-small-height, @btn-small-font-size, @btn-small-padding-vertical, @btn-small-padding-horizontal, @btn-small-min-width);
985
- }
986
- // 中号尺寸按钮
987
- &-size-middle {
988
- .btn-size(@btn-middle-height, @btn-middle-font-size, @btn-middle-padding-vertical, @btn-middle-padding-horizontal, @btn-middle-min-width);
989
- }
990
- // 大号尺寸按钮
991
- &-size-large {
992
- .btn-size(@btn-large-height, @btn-large-font-size, @btn-large-padding-vertical, @btn-large-padding-horizontal, @btn-large-min-width);
993
- }
894
+ // 按钮wave动效
895
+ transition: color @transition-duration, background-color @transition-duration, border-color @transition-duration;
896
+ &:not(&-text)::after {
897
+ position: absolute;
898
+ top: 0;
899
+ right: 0;
900
+ bottom: 0;
901
+ left: 0;
902
+ border-radius: inherit;
903
+ box-shadow: 0 0 0 0 @color-theme;
904
+ opacity: 0.2;
905
+ content: '';
906
+ pointer-events: none;
907
+ clear: both;
908
+ }
909
+ &:not(&-text)[click-animating-wave='true']::after {
910
+ animation: fadeEffect @btn-duration-fade @ease-out forwards, waveEffect @btn-duration-wave @ease-out forwards;
911
+ }
994
912
 
995
- // 圆形按钮
996
- &-shape-circle {
997
- border-radius: 50%;
998
- min-width: auto;
999
- }
913
+ // 次要按钮
914
+ &-second {
915
+ .btn-type(@btn-second-border-color, @btn-second-background-color, @btn-second-font-color);
916
+ &:hover {
917
+ &:not(.@{btn-prefix-cls}-loading) {
918
+ background-color: @btn-second-background-color-hover;
919
+ border-color: @btn-second-border-color-hover;
920
+ color: @btn-second-font-color-hover;
921
+ }
922
+ }
923
+ &:active {
924
+ &:not(.@{btn-prefix-cls}-loading) {
925
+ background-color: @btn-second-background-color-active;
926
+ border-color: @btn-second-border-color-active;
927
+ color: @btn-second-font-color-active;
928
+ }
929
+ }
930
+ &:disabled {
931
+ border-color: @btn-second-border-color-disabled !important;
932
+ background-color: @btn-second-background-color-disabled !important;
933
+ color: @btn-second-font-color-disabled !important;
934
+ }
935
+ }
936
+ // 主要按钮
937
+ &-primary {
938
+ .btn-type(@btn-primary-border-color, @btn-primary-background-color, @btn-primary-font-color);
939
+ &:hover:not(.@{btn-prefix-cls}-loading) {
940
+ background-color: @btn-primary-background-color-hover;
941
+ border-color: @btn-primary-border-color-hover;
942
+ }
943
+ &:active:not(.@{btn-prefix-cls}-loading) {
944
+ border-color: @btn-primary-border-color-active;
945
+ background-color: @btn-primary-background-color-active;
946
+ }
947
+ &:disabled {
948
+ background-color: @btn-primary-background-color-disabled !important;
949
+ border-color: @btn-primary-border-color-disabled !important;
950
+ }
951
+ }
1000
952
 
1001
- // 圆形小号尺寸按钮宽度等同其高度
1002
- &-shape-circle&-size-small {
1003
- .btn-shape-circle-width(@btn-small-height);
1004
- }
1005
- // 圆形中号尺寸按钮宽度等同其高度
1006
- &-shape-circle&-size-middle {
1007
- .btn-shape-circle-width(@btn-middle-height);
1008
- }
1009
- // 圆形大号尺寸按钮宽度等同其高度
1010
- &-shape-circle&-size-large {
1011
- .btn-shape-circle-width(@btn-large-height);
1012
- }
953
+ // 幽灵按钮
954
+ &-ghost {
955
+ .btn-type(@btn-ghost-border-color, @btn-ghost-background-color, @btn-ghost-font-color);
1013
956
 
1014
- // 椭圆形小号尺寸按钮border-radius等同其高度
1015
- &-shape-round&-size-small {
1016
- border-radius: @btn-small-height;
1017
- }
1018
- // 椭圆形中号尺寸按钮border-radius等同其高度
1019
- &-shape-round&-size-middle {
1020
- border-radius: @btn-middle-height;
1021
- }
1022
- // 椭圆形大号尺寸按钮border-radius等同其高度
1023
- &-shape-round&-size-large {
1024
- border-radius: @btn-large-height;
1025
- }
957
+ &:hover:not(.@{btn-prefix-cls}-loading) {
958
+ background-color: @btn-ghost-background-color-hover;
959
+ border-color: @btn-ghost-border-color-hover;
960
+ color: @btn-ghost-font-color-hover;
961
+ }
1026
962
 
1027
- // 文本类型按钮
1028
- &-text {
1029
- height: auto;
1030
- width: auto;
1031
- color: @btn-text-g-text-color;
1032
- padding: 0;
1033
- min-width: auto;
1034
- &:hover {
1035
- color: @btn-text-g-text-color-hover;
1036
- }
1037
- &:active {
1038
- color: @btn-text-g-text-color-active;
1039
- }
1040
- &[disabled] {
1041
- color: @btn-text-g-text-color-disabled !important;
1042
- }
1043
- }
963
+ &:active:not(.@{btn-prefix-cls}-loading) {
964
+ background-color: @btn-ghost-background-color-active;
965
+ border-color: @btn-ghost-border-color-hover;
966
+ color: @btn-ghost-font-color-active;
967
+ }
1044
968
 
1045
- // 按钮不带边框
1046
- &-no-border {
1047
- border: none;
1048
- }
969
+ &:disabled {
970
+ background-color: @btn-ghost-background-color-disabled !important;
971
+ border-color: @btn-ghost-border-color-disabled !important;
972
+ color: @btn-ghost-font-color-disabled !important;
973
+ }
974
+ }
1049
975
 
1050
- // 不可用按钮部分样式
1051
- &:disabled, &[disabled] {
1052
- cursor: not-allowed;
1053
- }
1054
- // 按钮开启幽灵化
1055
- &-background-ghost {
1056
- &, &:hover, &:active {
1057
- background-color: transparent;
1058
- }
1059
- &.@{btn-prefix-cls}-primary {
1060
- color: @btn-background-ghost-g-text-color;
1061
- &:hover {
1062
- color: @btn-background-ghost-g-text-color-hover;
1063
- }
1064
- }
1065
- }
1066
- // 加载中按钮
1067
- &-loading {
1068
- cursor: default;
1069
- }
1070
- // 按钮开启块化撑满父元素
1071
- &-block {
1072
- width: 100%;
1073
- }
1074
- // 图标与文本之间的间隔
1075
- .btn-space {
1076
- margin-left: 5px;
1077
- }
976
+ &-iconWrapper-left {
977
+ display: flex;
978
+ align-items: center;
979
+ justify-content: center;
980
+ float: left;
981
+ }
982
+ &-iconWrapper-right {
983
+ display: flex;
984
+ align-items: center;
985
+ justify-content: center;
986
+ float: right;
987
+ }
988
+
989
+ &-loadingIcon {
990
+ color: @btn-g-text-color-loading;
991
+ }
992
+
993
+ &-primary-loadingIcon {
994
+ color: @btn-primary-g-text-color-loading;
995
+ }
996
+
997
+ // 小号尺寸按钮
998
+ &-size-small {
999
+ .btn-size(@btn-small-height, @btn-small-font-size, @btn-small-padding-vertical, @btn-small-padding-horizontal, @btn-small-min-width);
1000
+ &.@{btn-prefix-cls}-icon-only {
1001
+ font-size: @btn-icon-small-font-size;
1002
+ padding: 0 @btn-icon-padding-horizontal;
1003
+ }
1004
+
1005
+ .@{btn-prefix-cls}-group-basic-icon {
1006
+ font-size: @btn-icon-small-font-size;
1007
+ }
1008
+ }
1009
+
1010
+ // 中号尺寸按钮
1011
+ &-size-middle {
1012
+ .btn-size(@btn-middle-height, @btn-middle-font-size, @btn-middle-padding-vertical, @btn-middle-padding-horizontal, @btn-middle-min-width);
1013
+ &.@{btn-prefix-cls}-icon-only {
1014
+ font-size: @btn-icon-middle-font-size;
1015
+ padding: 0 @btn-icon-padding-horizontal;
1016
+ }
1017
+
1018
+ .@{btn-prefix-cls}-group-basic-icon {
1019
+ font-size: @btn-icon-middle-font-size;
1020
+ }
1021
+ }
1022
+
1023
+ // 大号尺寸按钮
1024
+ &-size-large {
1025
+ .btn-size(@btn-large-height, @btn-large-font-size, @btn-large-padding-vertical, @btn-large-padding-horizontal, @btn-large-min-width);
1026
+ &.@{btn-prefix-cls}-icon-only {
1027
+ font-size: @btn-icon-large-font-size;
1028
+ padding: 0 @btn-icon-padding-horizontal;
1029
+ }
1030
+
1031
+ .@{btn-prefix-cls}-group-basic-icon {
1032
+ font-size: @btn-icon-large-font-size;
1033
+ }
1034
+ }
1035
+
1036
+ // 圆形按钮
1037
+ &-shape-circle {
1038
+ border-radius: 50%;
1039
+ min-width: auto;
1040
+ }
1041
+
1042
+ // 圆形小号尺寸按钮宽度等同其高度
1043
+ &-shape-circle&-size-small {
1044
+ .btn-shape-circle-width(@btn-small-height);
1045
+ }
1046
+ // 圆形中号尺寸按钮宽度等同其高度
1047
+ &-shape-circle&-size-middle {
1048
+ .btn-shape-circle-width(@btn-middle-height);
1049
+ }
1050
+ // 圆形大号尺寸按钮宽度等同其高度
1051
+ &-shape-circle&-size-large {
1052
+ .btn-shape-circle-width(@btn-large-height);
1053
+ }
1054
+
1055
+ // 椭圆形小号尺寸按钮border-radius等同其高度
1056
+ &-shape-round&-size-small {
1057
+ border-radius: @btn-small-height;
1058
+ }
1059
+ // 椭圆形中号尺寸按钮border-radius等同其高度
1060
+ &-shape-round&-size-middle {
1061
+ border-radius: @btn-middle-height;
1062
+ }
1063
+ // 椭圆形大号尺寸按钮border-radius等同其高度
1064
+ &-shape-round&-size-large {
1065
+ border-radius: @btn-large-height;
1066
+ }
1067
+
1068
+ // 直角按钮
1069
+ &-shape-none {
1070
+ border-radius: 0;
1071
+ }
1072
+
1073
+ // 文本类型按钮
1074
+ &-text {
1075
+ height: auto;
1076
+ width: auto;
1077
+ color: @btn-text-g-text-color;
1078
+ padding: 0;
1079
+ min-width: auto;
1080
+
1081
+ &:hover {
1082
+ color: @btn-text-g-text-color-hover;
1083
+ }
1084
+
1085
+ &:active {
1086
+ color: @btn-text-g-text-color-active;
1087
+ }
1088
+
1089
+ &[disabled] {
1090
+ color: @btn-text-g-text-color-disabled !important;
1091
+ }
1092
+ }
1093
+
1094
+ // 按钮不带边框
1095
+ &-no-border {
1096
+ border: none;
1097
+ }
1098
+
1099
+ // 不可用按钮部分样式
1100
+ &:disabled,
1101
+ &[disabled] {
1102
+ cursor: not-allowed;
1103
+ }
1104
+ // 按钮开启幽灵化
1105
+ &-background-ghost {
1106
+ &,
1107
+ &:hover,
1108
+ &:active {
1109
+ background-color: transparent;
1110
+ }
1111
+
1112
+ &.@{btn-prefix-cls}-primary {
1113
+ color: @btn-background-ghost-g-text-color;
1114
+
1115
+ &:hover {
1116
+ color: @btn-background-ghost-g-text-color-hover;
1117
+ }
1118
+ }
1119
+ }
1120
+ // 加载中按钮
1121
+ &-loading {
1122
+ cursor: default;
1123
+ }
1124
+ // 按钮开启块化撑满父元素
1125
+ &-block {
1126
+ width: 100%;
1127
+ }
1128
+ // 图标与文本之间的间隔
1129
+ .btn-space {
1130
+ margin-left: 4px;
1131
+ }
1132
+ }
1133
+
1134
+ .@{btn-prefix-cls}-group {
1135
+ display: inline-block;
1136
+
1137
+ &-basic {
1138
+ .@{btn-prefix-cls} {
1139
+ padding-top: 0;
1140
+ padding-bottom: 0;
1141
+ }
1142
+
1143
+ &-icon {
1144
+ margin-left: 4px;
1145
+ }
1146
+ }
1147
+
1148
+ &-trigger {
1149
+ .@{btn-prefix-cls}-primary {
1150
+ background: @btn-group-trigger-color-background;
1151
+ &:hover {
1152
+ background: @btn-group-trigger-color-background-hover;
1153
+ border-color: @btn-group-trigger-color-background-hover;
1154
+ }
1155
+
1156
+ &:active {
1157
+ background: @btn-group-trigger-color-background-active;
1158
+ }
1159
+
1160
+ &:disabled {
1161
+ background: @btn-group-trigger-color-background-disabled !important;
1162
+ }
1163
+ }
1164
+
1165
+ .@{btn-prefix-cls} {
1166
+ margin-left: -1px;
1167
+ }
1168
+ }
1169
+
1170
+ .@{btn-prefix-cls} {
1171
+ &-size-small,
1172
+ &-size-middle,
1173
+ &-size-large {
1174
+ min-width: unset;
1175
+ }
1176
+
1177
+ &:first-child {
1178
+ border-top-right-radius: 0;
1179
+ border-bottom-right-radius: 0;
1180
+ }
1181
+
1182
+ &:last-child {
1183
+ border-top-left-radius: 0;
1184
+ border-bottom-left-radius: 0;
1185
+ }
1186
+ }
1187
+
1188
+ .@{kd-prefix}-dropdown {
1189
+ &-menu {
1190
+ padding: 0;
1191
+ }
1192
+ }
1193
+
1194
+ &-dropdown {
1195
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
1196
+ background: @btn-group-dropdown-color-background;
1197
+ color: #333333;
1198
+ min-width: @btn-group-dropdown-min-width;
1199
+
1200
+ &-item {
1201
+ height: @btn-group-dropdown-item-height;
1202
+ line-height: @btn-group-dropdown-item-height;
1203
+ cursor: pointer;
1204
+ padding: 0 @btn-group-dropdown-item-horizontal;
1205
+ &:hover {
1206
+ background: @btn-group-dropdown-item-color-background-hover;
1207
+ }
1208
+
1209
+ &:not(:last-child) {
1210
+ border-bottom: 1px solid @btn-group-dropdown-item-border-color;
1211
+ }
1212
+ }
1213
+ }
1214
+
1215
+ &.topLeft.hidden,
1216
+ &.bottomLeft.hidden,
1217
+ &.topRight.hidden,
1218
+ &.bottomRight.hidden {
1219
+ opacity: 0;
1220
+ visibility: hidden;
1221
+ transition: all calc(@transition-duration - 0.1s) @ease;
1222
+ }
1078
1223
  }
1079
1224
 
1080
1225
 
@@ -1135,33 +1280,36 @@
1135
1280
  @btn-primary-border-color-disabled: var(~'@{button-custom-prefix}-primary-color-border-disabled', @color-theme-disabled); // 基础disabled边框颜色
1136
1281
 
1137
1282
  @btn-ghost-background-color: var(~'@{button-custom-prefix}-ghost-color-background', transparent); // 幽灵背景颜色
1138
- @btn-ghost-border-color: var(~'@{button-custom-prefix}-ghost-color-border', @color-border-strong); //幽灵边框颜色
1139
- @btn-ghost-font-color: var(~'@{button-custom-prefix}-ghost-color-text', @color-text-secondary); // 幽灵按钮文字颜色
1140
- @btn-ghost-border-color-hover: var(~'@{button-custom-prefix}-ghost-color-border-hover', @color-theme); //幽灵hover边框颜色
1141
- @btn-ghost-font-color-hover: var(~'@{button-custom-prefix}-ghost-color-text-hover', @color-theme); // 幽灵hover按钮文字颜色
1142
- @btn-ghost-border-color-active: var(~'@{button-custom-prefix}-ghost-color-border-active', @color-theme-click); //幽灵active边框颜色
1283
+ @btn-ghost-border-color: var(~'@{button-custom-prefix}-ghost-color-border', @color-theme-6); //幽灵边框颜色
1284
+ @btn-ghost-font-color: var(~'@{button-custom-prefix}-ghost-color-text', #5582F3); // 幽灵按钮文字颜色
1285
+ @btn-ghost-background-color-hover: var(~'@{button-custom-prefix}-ghost-color-background-hover', @color-theme-5); //幽灵hover背景颜色
1286
+ @btn-ghost-border-color-hover: var(~'@{button-custom-prefix}-ghost-color-border-hover', transparent); //幽灵hover边框颜色
1287
+ @btn-ghost-font-color-hover: var(~'@{button-custom-prefix}-ghost-color-text-hover',#ffffff); // 幽灵hover按钮文字颜色
1288
+ @btn-ghost-font-color-active: var(~'@{button-custom-prefix}-ghost-color-text-active', #ffffff); // 幽灵active按钮文字颜色
1289
+ @btn-ghost-background-color-active: var(~'@{button-custom-prefix}-ghost-color-background-active', @color-theme-7); //幽灵active背景颜色
1290
+ @btn-ghost-border-color-active: var(~'@{button-custom-prefix}-ghost-color-border-active', transparent); //幽灵active边框颜色
1291
+
1143
1292
  @btn-ghost-background-color-disabled: var(~'@{button-custom-prefix}-ghost-color-background-disabled', @color-background-contain-disabled); // 幽灵disabled背景颜色
1144
- @btn-ghost-font-color-active: var(~'@{button-custom-prefix}-ghost-color-text-active', @color-theme-click); // 幽灵active按钮文字颜色
1145
- @btn-ghost-border-color-disabled: var(~'@{button-custom-prefix}-ghost-color-border-disabled', @color-disabled); //幽灵disabled边框颜色
1146
- @btn-ghost-font-color-disabled: var(~'@{button-custom-prefix}-ghost-color-text-disabled', @color-disabled); // 幽灵disabled按钮文字颜色
1293
+ @btn-ghost-border-color-disabled: var(~'@{button-custom-prefix}-ghost-color-border-disabled', #D9D9D9); //幽灵disabled边框颜色
1294
+ @btn-ghost-font-color-disabled: var(~'@{button-custom-prefix}-ghost-color-text-disabled', #B2B2B2); // 幽灵disabled按钮文字颜色
1147
1295
 
1148
- @btn-second-background-color: var(~'@{button-custom-prefix}-second-color-background', @color-background-3); // 次要背景颜色
1149
- @btn-second-border-color: var(~'@{button-custom-prefix}-second-color-border', @color-border-strong-3); // 次要边框颜色
1150
- @btn-second-font-color: var(~'@{button-custom-prefix}-second-color-text', @color-text-secondary-3); // 次要文字颜色
1296
+ @btn-second-background-color: var(~'@{button-custom-prefix}-second-color-background', transparent); // 次要背景颜色
1297
+ @btn-second-border-color: var(~'@{button-custom-prefix}-second-color-border', #D9D9D9); // 次要边框颜色
1298
+ @btn-second-font-color: var(~'@{button-custom-prefix}-second-color-text', #212121); // 次要文字颜色
1151
1299
  @btn-second-background-color-hover: var(~'@{button-custom-prefix}-second-color-background-hover', @color-white); // 次要hover背景颜色
1152
- @btn-second-border-color-hover: var(~'@{button-custom-prefix}-second-color-border-hover', @color-border-strong); // 次要hover边框颜色
1153
- @btn-second-font-color-hover: var(~'@{button-custom-prefix}-second-color-text-hover', @color-text-secondary); // 次要hover文字颜色
1300
+ @btn-second-border-color-hover: var(~'@{button-custom-prefix}-second-color-border-hover', @color-theme); // 次要hover边框颜色
1301
+ @btn-second-font-color-hover: var(~'@{button-custom-prefix}-second-color-text-hover', @color-theme); // 次要hover文字颜色
1154
1302
  @btn-second-background-color-active: var(~'@{button-custom-prefix}-second-color-background-active', @color-white); // 次要active背景颜色
1155
- @btn-second-border-color-active: var(~'@{button-custom-prefix}-second-color-border-active', @color-border-strong); // 次要active边框颜色
1156
- @btn-second-font-color-active: var(~'@{button-custom-prefix}-second-color-text-active', @color-text-secondary); // 次要active文字颜色
1157
- @btn-second-background-color-disabled: var(~'@{button-custom-prefix}-second-color-background-disabled', @color-background-3); // 次要disabled背景颜色
1158
- @btn-second-border-color-disabled: var(~'@{button-custom-prefix}-second-color-border-disabled', @color-text-secondary-3); // 次要disabled边框颜色
1159
- @btn-second-font-color-disabled: var(~'@{button-custom-prefix}-second-color-text-disabled', @color-text-secondary-3); // 次要disabled文字颜色
1303
+ @btn-second-border-color-active: var(~'@{button-custom-prefix}-second-color-border-active', @color-theme-click); // 次要active边框颜色
1304
+ @btn-second-font-color-active: var(~'@{button-custom-prefix}-second-color-text-active', @color-theme-click); // 次要active文字颜色
1305
+ @btn-second-background-color-disabled: var(~'@{button-custom-prefix}-second-color-background-disabled', @color-background-contain-disabled); // 次要disabled背景颜色
1306
+ @btn-second-border-color-disabled: var(~'@{button-custom-prefix}-second-color-border-disabled', #D9D9D9); // 次要disabled边框颜色
1307
+ @btn-second-font-color-disabled: var(~'@{button-custom-prefix}-second-color-text-disabled', #B2B2B2); // 次要disabled文字颜色
1160
1308
 
1161
- @btn-text-g-text-color: var(~'@{button-custom-prefix}-text-color-text', @color-theme);
1162
- @btn-text-g-text-color-hover: var(~'@{button-custom-prefix}-text-color-text-hover', @color-theme-hover);
1163
- @btn-text-g-text-color-active: var(~'@{button-custom-prefix}-text-color-text-active', @color-theme-click);
1164
- @btn-text-g-text-color-disabled: var(~'@{button-custom-prefix}-text-color-text-disabled', @color-disabled);
1309
+ @btn-text-g-text-color: var(~'@{button-custom-prefix}-text-color-text', @color-theme-6);
1310
+ @btn-text-g-text-color-hover: var(~'@{button-custom-prefix}-text-color-text-hover', @color-theme-5);
1311
+ @btn-text-g-text-color-active: var(~'@{button-custom-prefix}-text-color-text-active', @color-theme-7);
1312
+ @btn-text-g-text-color-disabled: var(~'@{button-custom-prefix}-text-color-text-disabled', @color-theme-4);
1165
1313
 
1166
1314
  @btn-disabled-background-color: var(~'@{button-custom-prefix}-color-background-disabled', @color-background-contain-disabled); // 禁用状态 背景颜色
1167
1315
  @btn-disabled-border-color: var(~'@{button-custom-prefix}-color-border-disabled', @color-border-strong); // 禁用状态 边框颜色
@@ -1176,6 +1324,13 @@
1176
1324
 
1177
1325
  @btn-background-ghost-g-text-color: var(~'@{button-custom-prefix}-background-ghost-color-text', @color-theme);
1178
1326
  @btn-background-ghost-g-text-color-hover: var(~'@{button-custom-prefix}-background-ghost-color-text-hover', @color-white);
1327
+ @btn-group-dropdown-item-border-color: var(~'@{button-custom-prefix}-group-dropdown-item-border-color', #E5E5E5); // 集合按钮 下拉边框颜色
1328
+ @btn-group-dropdown-item-color-background-hover: var(~'@{button-custom-prefix}-group-dropdown-item-color-background-hover', #F5F5F5); // 集合按钮 下拉hover背景颜色
1329
+ @btn-group-dropdown-color-background: var(~'@{button-custom-prefix}-group-dropdown-color-background', #fff); // 集合按钮 下拉菜单背景颜色
1330
+ @btn-group-trigger-color-background: var(~'@{button-custom-prefix}-group-trigger-color-background', #4367c1);
1331
+ @btn-group-trigger-color-background-hover: var(~'@{button-custom-prefix}-group-trigger-color-background-hover', #4c74da);
1332
+ @btn-group-trigger-color-background-active: var(~'@{button-custom-prefix}-group-trigger-color-background-active', #3B5AA9);
1333
+ @btn-group-trigger-color-background-disabled: var(~'@{button-custom-prefix}-group-trigger-color-background-disabled', #95a4c8);
1179
1334
 
1180
1335
  // font
1181
1336
  @btn-g-font-weight: var(~'@{button-custom-prefix}-font-weight', @font-weight-light);
@@ -1183,13 +1338,15 @@
1183
1338
  @btn-middle-font-size: var(~'@{button-custom-prefix}-font-size-middle', @font-size-small); // 中号 文字大小
1184
1339
  @btn-large-font-size: var(~'@{button-custom-prefix}-font-size-large', @font-size-large); // 大号 文字大小
1185
1340
 
1341
+ @btn-icon-small-font-size: var(~'@{button-custom-prefix}-icon-font-size-small', 14px); // 小号 图标大小
1342
+ @btn-icon-middle-font-size: var(~'@{button-custom-prefix}-icon-font-size-middle', 16px); // 中号 图标大小
1343
+ @btn-icon-large-font-size: var(~'@{button-custom-prefix}-icon-font-size-large', 18px); // 大号 图标大小
1344
+
1186
1345
  // motion
1187
1346
  @btn-transition-fn: var(~'@{button-custom-prefix}-motion-timing-function', cubic-bezier(0.075, 0.82, 0.165, 1));
1188
1347
  @btn-duration-fade: var(~'@{button-custom-prefix}-motion-duration-fade', @duration-slowly);
1189
1348
  @btn-duration-wave: var(~'@{button-custom-prefix}-motion-duration-wave', @duration-quickly);
1190
1349
 
1191
-
1192
-
1193
1350
  // radius
1194
1351
  @btn-g-radius-border: var(~'@{button-custom-prefix}-radius-border', @radius-border); //圆角
1195
1352
 
@@ -1201,6 +1358,8 @@
1201
1358
  @btn-middle-min-width: var(~'@{button-custom-prefix}-sizing-min-width-middle', 60px); // 中号 最小宽度
1202
1359
  @btn-large-height: var(~'@{button-custom-prefix}-sizing-height-large', 32px); // 大号 高度
1203
1360
  @btn-large-min-width: var(~'@{button-custom-prefix}-sizing-min-width-large', 80px); // 大号 最小宽度
1361
+ @btn-group-dropdown-item-height: var(~'@{button-custom-prefix}--group-dropdown-item-height', 30px);
1362
+ @btn-group-dropdown-min-width: var(~'@{button-custom-prefix}-group-dropdown-min-width', 80px);
1204
1363
 
1205
1364
  // spacing
1206
1365
  @btn-small-padding-vertical: var(~'@{button-custom-prefix}-spacing-padding-vertical-small', 3px); // 小号 内间距 纵向
@@ -1209,6 +1368,9 @@
1209
1368
  @btn-middle-padding-horizontal: var(~'@{button-custom-prefix}-spacing-padding-horizontal-middle', 8px); // 中号 内间距 纵向 宽度配置
1210
1369
  @btn-large-padding-vertical: var(~'@{button-custom-prefix}-spacing-padding-vertical-large', 6px); // 大号 内间距 纵向
1211
1370
  @btn-large-padding-horizontal: var(~'@{button-custom-prefix}-spacing-padding-horizontal-large', 8px); // 大号 内间距 横向
1371
+ @btn-group-dropdown-item-horizontal: var(~'@{button-custom-prefix}-group-dropdown-item-horizonta', 12px);
1372
+ @btn-icon-padding-horizontal: var(~'@{button-custom-prefix}-icon-spacing-padding-horizontal', 4px);
1373
+
1212
1374
 
1213
1375
 
1214
1376
 
@@ -1427,6 +1589,71 @@
1427
1589
  }
1428
1590
  }
1429
1591
  }
1592
+
1593
+ &-list {
1594
+ list-style: none;
1595
+ display: flex;
1596
+ flex-direction: row;
1597
+ flex: 1;
1598
+ position: relative;
1599
+
1600
+ &-item {
1601
+ position: relative;
1602
+ flex-shrink: 0;
1603
+ height: 100%;
1604
+ width: 100%;
1605
+ }
1606
+
1607
+ &-slide {
1608
+ .@{carousel-prefix-cls}-list-item {
1609
+ opacity: 1;
1610
+ border-radius: @carousel-boder-radius;
1611
+ &-animation {
1612
+ transition: opacity 0.3s ease;
1613
+ }
1614
+ &-none-animation {
1615
+ transition: none;
1616
+ }
1617
+ &-not-hidden {
1618
+ opacity: 1;
1619
+ }
1620
+ &-hidden {
1621
+ opacity: 0;
1622
+ }
1623
+ }
1624
+ }
1625
+
1626
+ &-fade {
1627
+ .@{carousel-prefix-cls}-list-item {
1628
+ opacity: 1;
1629
+ &-animation {
1630
+ transition: opacity 0.3s ease;
1631
+ }
1632
+ &-none-animation {
1633
+ transition: none;
1634
+ }
1635
+ &-not-hidden {
1636
+ opacity: 1;
1637
+ }
1638
+ &-hidden {
1639
+ opacity: 0;
1640
+ }
1641
+ }
1642
+ }
1643
+
1644
+ &-display {
1645
+ .@{carousel-prefix-cls}-list-item {
1646
+ display: block;
1647
+ &-not-hidden {
1648
+ display: block;
1649
+ }
1650
+ &-hidden {
1651
+ display: none;
1652
+ }
1653
+ }
1654
+ }
1655
+ }
1656
+
1430
1657
  &-slidebar {
1431
1658
  position: absolute;
1432
1659
  &-left {
@@ -1445,7 +1672,7 @@
1445
1672
  .horizontal;
1446
1673
  top: @carousel-dots-margin-top;
1447
1674
  }
1448
-
1675
+
1449
1676
  &-dot > button {
1450
1677
  display: block;
1451
1678
  border-radius: @carousel-dots-boder-radius;
@@ -2374,11 +2601,23 @@
2374
2601
  &-left {
2375
2602
  display: inline-flex;
2376
2603
  align-items: center;
2377
- flex-grow: 1;
2604
+ line-height: 1.5;
2605
+ }
2606
+ &-middle {
2607
+ display: inline-flex;
2608
+ align-items: center;
2609
+ flex: 1;
2610
+ margin-left: 22px;
2611
+ color: @collapse-header-font-color-secondary;
2612
+ white-space: nowrap;
2613
+ overflow: hidden;
2614
+ text-overflow: ellipsis;
2378
2615
  }
2379
2616
  &-right {
2617
+ margin-left: 40px;
2380
2618
  display: inline-flex;
2381
2619
  align-items: center;
2620
+ white-space: nowrap;
2382
2621
  }
2383
2622
  &-extra,
2384
2623
  &-header {
@@ -2387,10 +2626,21 @@
2387
2626
  color: @collapse-header-font-color;
2388
2627
  font-size: @collapse-header-font-size;
2389
2628
  }
2629
+
2630
+ &-header {
2631
+ display: inline-block;
2632
+ white-space: nowrap;
2633
+ overflow: hidden;
2634
+ text-overflow: ellipsis;
2635
+ &:hover {
2636
+ color: @collapse-header-color-text-hover;
2637
+ }
2638
+ }
2390
2639
  &-icon {
2391
2640
  align-items: center;
2392
2641
  display: inline-flex;
2393
2642
  margin-right: @collapse-icon-margin-right;
2643
+ font-size: @collapse-icon-font-size;
2394
2644
  }
2395
2645
  &-icon:hover,
2396
2646
  &-left:hover {
@@ -2438,29 +2688,31 @@
2438
2688
 
2439
2689
  @collapse-prefix: '--@{kd-prefix}-c-collapse';
2440
2690
 
2441
- // sizing
2442
- @collapse-border-width: var(~'@{collapse-prefix}-border-width', 1px);
2443
- @collapse-icon-margin-right: var(~'@{collapse-prefix}-spacing-margin-right', 6px);
2444
- @collapse-header-padding: var(~'@{collapse-prefix}-header-spacing-padding', 12px);
2445
- @collapse-content-bordered-padding: var(~'@{collapse-prefix}-content-bordered-spacing-padding', 12px);
2446
- @collapse-content-padding: var(~'@{collapse-prefix}-content-spacing-padding', 0 16px);
2447
-
2448
2691
  // color
2449
2692
  @collapse-border-color: var(~'@{collapse-prefix}-color-border-strong-2', @color-border-strong-2);
2450
2693
  @collapse-header-font-color: var(~'@{collapse-prefix}-header-color-text-primary', @color-text-primary);
2694
+ @collapse-header-font-color-secondary: var(~'@{collapse-prefix}-header-color-text-secondary', @color-text-secondary);
2451
2695
  @collapse-content-font-color: var(~'@{collapse-prefix}-content-color-text-primary', @color-text-primary);
2452
2696
  @collapse-disabled-color: var(~'@{collapse-prefix}-color-disabled', raba(178, 178, 178, 1));
2453
2697
  @collapse-header-color-background: var(~'@{collapse-prefix}-header-color-background', rgba(0, 0, 0, 0));
2454
2698
  @collapse-content-color-background: var(~'@{collapse-prefix}-content-color-background', rgba(0, 0, 0, 0));
2455
-
2699
+ @collapse-header-color-text-hover: var(~'@{collapse-prefix}-header-color-text-hover', #666666);
2456
2700
 
2457
2701
  // font
2458
- @collapse-header-font-size: var(~'@{collapse-prefix}-header-font-size', @font-size-middle);
2702
+ @collapse-header-font-size: var(~'@{collapse-prefix}-header-font-size', 16px);
2459
2703
  @collapse-content-font-size: var(~'@{collapse-prefix}-content-font-size', @font-size-middle);
2704
+ @collapse-icon-font-size: var(~'@{collapse-prefix}-icon-font-size', 16px);
2460
2705
 
2461
2706
  // motion
2462
2707
  @collapse-transition-duration: var(~'@{collapse-prefix}-motion-duration', @duration-promptly);
2463
2708
 
2709
+ // sizing
2710
+ @collapse-border-width: var(~'@{collapse-prefix}-border-width', 1px);
2711
+ @collapse-icon-margin-right: var(~'@{collapse-prefix}-spacing-margin-right', 6px);
2712
+ @collapse-header-padding: var(~'@{collapse-prefix}-header-spacing-padding', 8px 50px 8px 28px);
2713
+ @collapse-content-bordered-padding: var(~'@{collapse-prefix}-content-bordered-spacing-padding', 12px);
2714
+ @collapse-content-padding: var(~'@{collapse-prefix}-content-spacing-padding', 0 50px);
2715
+
2464
2716
 
2465
2717
 
2466
2718
 
@@ -4225,7 +4477,7 @@
4225
4477
  text-align: center;
4226
4478
  opacity: 0;
4227
4479
  transform: translateY(100%);
4228
- transition: all @image-action-transition ease-out;
4480
+ transition: all 0.2s ease-out;
4229
4481
  background-color: @image-action-background-color;
4230
4482
 
4231
4483
  >* {
@@ -4242,7 +4494,7 @@
4242
4494
  }
4243
4495
 
4244
4496
  .@{image-preview-prefix-cls} {
4245
- z-index: @image-z-index-masker;
4497
+ z-index: 3000;
4246
4498
  position: fixed;
4247
4499
  top: 0;
4248
4500
  right: 0;
@@ -4251,14 +4503,14 @@
4251
4503
  opacity: 0;
4252
4504
  transform: scale(0.15);
4253
4505
  visibility: hidden;
4254
- transition: all calc(@image-transition-duration - 0.1s) @image-motion-ease-in;
4506
+ transition: all 0.2s cubic-bezier(0.4,0,1,0.6);
4255
4507
  -webkit-overflow-scrolling: touch;
4256
4508
 
4257
4509
  &.show {
4258
4510
  opacity: 1;
4259
4511
  transform: scale(1);
4260
4512
  visibility: visible;
4261
- transition: all calc(@image-transition-duration - 0.1s) @image-motion-ease-out;
4513
+ transition: all 0.2s cubic-bezier(0,.4,.4,1);
4262
4514
  }
4263
4515
 
4264
4516
  &-mask {
@@ -4288,7 +4540,7 @@
4288
4540
 
4289
4541
  &:hover,
4290
4542
  &:active {
4291
- color: @theme-color;
4543
+ color: #5582f3;
4292
4544
  }
4293
4545
  }
4294
4546
 
@@ -4410,34 +4662,21 @@
4410
4662
 
4411
4663
  @image-prefix: '--@{kd-prefix}-c-image';
4412
4664
 
4413
- @image-transition-duration: var(~'@{image-prefix}-transition-duration',@transition-duration);
4414
- @image-motion-ease-out: var(~'@{image-prefix}-motion-ease-out',@motion-ease-out);
4415
- @image-motion-ease-in: var(~'@{image-prefix}-motion-ease-out',@motion-ease-in);
4416
- @image-z-index-masker: var(~'@{image-prefix}-z-index-masker',@z-index-masker);
4417
- @image-border-radius: var(~'@{image-prefix}-radius-border',@radius-border);
4418
- @image-action-transition: var(~'@{image-prefix}-action-transition',@duration-quickly);
4419
-
4420
-
4421
-
4422
-
4423
4665
  // color
4424
- @image-icon-color: var(~'@{image-prefix}-icon-color',@color-white);//图片预览 图标颜色
4425
- @image-close-color-background: var(~'@{image-prefix}-close-color-background',#666666);//删除图标 背景色
4426
- @image-action-background-color: var(~'@{image-prefix}-action-color-background',rgba(0, 0, 0, 0.5));
4427
-
4428
-
4666
+ @image-icon-color: var(~'@{image-prefix}-icon-color', @color-white); //图片预览 图标颜色
4667
+ @image-close-color-background: var(~'@{image-prefix}-close-color-background', #666666); //删除图标 背景色
4668
+ @image-action-background-color: var(~'@{image-prefix}-action-color-background', rgba(0, 0, 0, 0.5));
4429
4669
  // font
4430
- @image-icon-font-size: var(~'@{image-prefix}-icon-font-size',27px);//图片预览 图标大小
4431
- @image-preview-close-font-size: var(~'@{image-prefix}-preview-font-size',28px);
4432
- @image-font-size-x-large: var(~'@{image-prefix}-font-size-x-large',@font-size-x-large);
4433
-
4670
+ @image-icon-font-size: var(~'@{image-prefix}-icon-font-size', 26px); //图片预览 图标大小
4671
+ @image-preview-close-font-size: var(~'@{image-prefix}-preview-font-size', 28px);
4672
+ @image-font-size-x-large: var(~'@{image-prefix}-font-size-x-large', @font-size-x-large);
4673
+ // radius
4674
+ @image-border-radius: var(~'@{image-prefix}-radius-border', @radius-border);
4434
4675
  // sizing
4435
- @image-action-width: var(~'@{image-prefix}-action-sizing-width',100%);
4436
- @image-preview-close-width: var(~'@{image-prefix}-preview-sizing-width',18px);
4437
- @image-preview-close-height: var(~'@{image-prefix}-preview-sizing-height',18px);
4438
- @image-action-height: var(~'@{image-prefix}-action-sizing-height',28px);
4439
-
4440
-
4676
+ @image-action-width: var(~'@{image-prefix}-action-sizing-width', 100%);
4677
+ @image-preview-close-width: var(~'@{image-prefix}-preview-sizing-width', 18px);
4678
+ @image-preview-close-height: var(~'@{image-prefix}-preview-sizing-height', 18px);
4679
+ @image-action-height: var(~'@{image-prefix}-action-sizing-height', 28px);
4441
4680
 
4442
4681
 
4443
4682
 
@@ -7360,11 +7599,12 @@ textarea {
7360
7599
 
7361
7600
 
7362
7601
 
7602
+
7363
7603
  @radio-prefix-cls: ~'@{kd-prefix}-radio';
7364
7604
  @radio-square-prefix-cls: ~'@{radio-prefix-cls}-square';
7365
7605
  @radio-button-prefix-cls: ~'@{radio-prefix-cls}-button';
7366
7606
  @radio-group-prefix-cls: ~'@{radio-prefix-cls}-group';
7367
- @radio-focus-shadow: 0 0 0 3px rgba(@radio-color-theme, 10%);
7607
+ @radio-focus-shadow: 0 0 0 3px rgba(85, 130, 243, 10%);
7368
7608
 
7369
7609
  // 默认类型(单选项)
7370
7610
  .@{radio-prefix-cls} {
@@ -7376,6 +7616,7 @@ textarea {
7376
7616
  padding-left: @radio-circle-size;
7377
7617
  margin-right: @radio-margin-right;
7378
7618
  white-space: nowrap;
7619
+ text-overflow: ellipsis;
7379
7620
  cursor: pointer;
7380
7621
  vertical-align: middle;
7381
7622
  color: @radio-font-color;
@@ -7424,7 +7665,7 @@ textarea {
7424
7665
  // 悬停状态
7425
7666
  &:hover {
7426
7667
 
7427
- // color: @radio-color-theme;
7668
+ color: @radio-color-theme;
7428
7669
  &::before {
7429
7670
  border-color: @radio-color-theme;
7430
7671
  }
@@ -7473,6 +7714,14 @@ textarea {
7473
7714
  background-color: @radio-color-disabled;
7474
7715
  animation: none;
7475
7716
  }
7717
+
7718
+ &.@{radio-prefix-cls}-checked {
7719
+ color: @radio-font-color;
7720
+ }
7721
+ }
7722
+
7723
+ &-text {
7724
+ line-height: 1.5;
7476
7725
  }
7477
7726
  }
7478
7727
 
@@ -7480,6 +7729,8 @@ textarea {
7480
7729
  .@{radio-square-prefix-cls} {
7481
7730
  .reset-component();
7482
7731
 
7732
+ .ellipsis();
7733
+
7483
7734
  // 默认状态
7484
7735
  position: relative;
7485
7736
  display: inline-block;
@@ -7571,6 +7822,14 @@ textarea {
7571
7822
  background-color: @radio-color-disabled;
7572
7823
  animation: none;
7573
7824
  }
7825
+
7826
+ &.@{radio-square-prefix-cls}-checked {
7827
+ color: @radio-font-color;
7828
+ }
7829
+ }
7830
+
7831
+ &-text {
7832
+ line-height: 1.5;
7574
7833
  }
7575
7834
  }
7576
7835
 
@@ -7684,6 +7943,12 @@ textarea {
7684
7943
  // background-color: @radio-color-background-disabled;
7685
7944
  cursor: not-allowed;
7686
7945
  }
7946
+
7947
+ &-text {
7948
+ .ellipsis();
7949
+ display: block;
7950
+ line-height: 1.5;
7951
+ }
7687
7952
  }
7688
7953
 
7689
7954
 
@@ -7708,14 +7973,14 @@ textarea {
7708
7973
  @radio-border-width: var(~'@{radio-prefix}-radius-border-width',1px);
7709
7974
 
7710
7975
  // sizing
7711
- @radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',13px);//单选图标大小
7976
+ @radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',14px);//单选图标大小
7712
7977
  @radio-square-height: var(~'@{radio-prefix}-square-sizing-height',32px);//单选框 高度
7713
7978
 
7714
7979
  // spacing
7715
7980
  @radio-margin-right: var(~'@{radio-prefix}-spacing-margin-right',8px);
7716
- @radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',0px); //内间距 纵向
7717
- @radio-square-padding-horizontal: var(~'@{radio-prefix}-square-spacing-padding-horizontal',20px);//内间距 横向 /单选框 宽度
7718
- @radio-padding-left: var(~'@{radio-prefix}-spacing-padding-left',6px);//图标与文字间距
7981
+ @radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',6px); //内间距 纵向
7982
+ @radio-square-padding-horizontal: var(~'@{radio-prefix}-square-spacing-padding-horizontal',12px);//内间距 横向 /单选框 宽度
7983
+ @radio-padding-left: var(~'@{radio-prefix}-spacing-padding-left',4px);//图标与文字间距
7719
7984
 
7720
7985
 
7721
7986
 
@@ -7804,19 +8069,19 @@ textarea {
7804
8069
  @rate-prefix: '--@{kd-prefix}-c-rate';
7805
8070
 
7806
8071
  // color
7807
- @rate-selected-color: var(~'@{rate-prefix}-color-text-selected', #fdc200);
7808
- @rate-not-selected-color: var(~'@{rate-prefix}-color-text-not-selected', #d9d9d9);
8072
+ @rate-selected-color: var(~'@{rate-prefix}-color-text-selected', #FEC104);
8073
+ @rate-not-selected-color: var(~'@{rate-prefix}-color-text-not-selected', #E5E5E5);
7809
8074
 
7810
8075
  // font
7811
- @rate-small-font-size: var(~'@{rate-prefix}-font-size-small', @font-size-small);
7812
- @rate-middle-font-size: var(~'@{rate-prefix}-font-size-middle', @font-size-middle);
7813
- @rate-large-font-size: var(~'@{rate-prefix}-font-size-large', @font-size-large);
8076
+ @rate-small-font-size: var(~'@{rate-prefix}-font-size-small', 12px);
8077
+ @rate-middle-font-size: var(~'@{rate-prefix}-font-size-middle', 16px);
8078
+ @rate-large-font-size: var(~'@{rate-prefix}-font-size-large', 20px);
7814
8079
 
7815
8080
  // motion
7816
8081
  @rate-transition-duration: var(~'@{rate-prefix}-motion-duration', @duration-promptly);
7817
8082
 
7818
8083
  // spacing
7819
- @rate-icon-margin: var(~'@{rate-prefix}-spacing-margin-right', 10px);
8084
+ @rate-icon-margin: var(~'@{rate-prefix}-spacing-margin-right', 8px);
7820
8085
 
7821
8086
 
7822
8087
 
@@ -8362,440 +8627,446 @@ textarea {
8362
8627
  50% {
8363
8628
  transform: scale(1.5, 1.5);
8364
8629
  }
8365
-
8366
- 100% {
8367
- transform: scale(1, 1);
8630
+
8631
+ 100% {
8632
+ transform: scale(1, 1);
8633
+ }
8634
+ }
8635
+
8636
+
8637
+
8638
+ @search-prefix: '--@{kd-prefix}-c-search';
8639
+
8640
+ // sizing
8641
+ @search-icon-font-size: var(~'@{search-prefix}-icon-font-size', 16px);
8642
+ @search-small-width: var(~'@{search-prefix}-sizing-width-small', 200px);
8643
+ @search-middle-width: var(~'@{search-prefix}-sizing-width-middle', 260px);
8644
+ @search-large-width: var(~'@{search-prefix}-sizing-width-large', 320px);
8645
+ @quick-search-default-width: var(~'@{search-prefix}-sizing-width-default', 200px);
8646
+ @quick-search-default-height: var(~'@{search-prefix}-sizing-height-default', 24px);
8647
+ @quick-search-max-width: var(~'@{search-prefix}-sizing-width-max', 400px);
8648
+ @search-panel-width: var(~'@{search-prefix}-panel-sizing-width', 800px);
8649
+ @search-panel-height: var(~'@{search-prefix}-panel-sizing-height', 60px);
8650
+ @quick-search-dropdown-option-height: var(~'@{search-prefix}-dropdown-option-sizing-height', 32px);
8651
+ @search-sizing-border-width: var(~'@{search-prefix}-sizing-border-width', 1px);
8652
+
8653
+ // color
8654
+ @search-icon-color: var(~'@{search-prefix}-icon-color', #B2B2B2);
8655
+ @search-color-theme: var(~'@{search-prefix}-color-theme', @color-theme);
8656
+ @search-hover-color: var(~'@{search-prefix}-color-hover', #5582F3);
8657
+ @quick-search-input-color: var(~'@{search-prefix}-input-color-text', @color-disabled);
8658
+ @quick-search-border-bottom-color: var(~'@{search-prefix}-color-border', @color-border-strong-2);
8659
+ @quick-search-dropdown-desc-color: var(~'@{search-prefix}-dropdown-desc-color-text', #999999);
8660
+ @quick-search-npl-border-color: var(~'@{search-prefix}-npl-color-border', #D8D8D8);
8661
+ @quick-search-selection-placeholder-color: var(~'@{search-prefix}-selection-placeholder-color-text', #B2B2B2);
8662
+ @search-panel-hover-color: var(~'@{search-prefix}-panel-color-hover', #597cfc);
8663
+ @search-panel-border-color: var(~'@{search-prefix}-panel-color-border', #E6E8ED);
8664
+ @search-end-color: var(~'@{search-prefix}-color-end', @color-end);
8665
+ @search-color-text-primary: var(~'@{search-prefix}-color-text-primary', @color-text-primary);
8666
+ @search-color-text-secondary: var(~'@{search-prefix}-color-text-secondary', @color-text-secondary);
8667
+ @search-color-text-third: var(~'@{search-prefix}-color-text-third', @color-text-third);
8668
+ @search-dot-color-first: var(~'@{search-prefix}-dot-color-first', @color-logo-1);
8669
+ @search-dot-color-second: var(~'@{search-prefix}-dot-color-second', @color-logo-2);
8670
+ @search-dot-color-third: var(~'@{search-prefix}-dot-color-third', @color-logo-3);
8671
+ @search-dot-color-fourth: var(~'@{search-prefix}-dot-color-fourth', @color-logo-4);
8672
+ @search-placeholder-color-text: var(~'@{search-prefix}-placeholder-color-text', #B2B2B2);
8673
+ @quick-search-selected-tags-del-hover-bg: var(~'@{search-prefix}-selected-tags-del-color-background-hover', #999999);
8674
+ @quick-search-dropdown-selected-bg: var(~'@{search-prefix}-dropdown-tags-color-background-selected', #F2F6FF);
8675
+ @quick-search-dropdown-hover-bg: var(~'@{search-prefix}-dropdown-color-background-hover', @color-hover);
8676
+ @search-panel-hover-bg: var(~'@{search-prefix}-panel-color-background-hover', #eef3fe);
8677
+ @search-color-background: var(~'@{search-prefix}-color-background', @color-background);
8678
+ @search-disabled-contain-bg: var(~'@{search-prefix}-color-background-contain-disabled', @color-background-contain-disabled);
8679
+
8680
+ // font
8681
+ @quick-search-dropdown-font-size: var(~'@{search-prefix}-dropdown-font-size', 12px);
8682
+ @search-middle-font-size: var(~'@{search-prefix}-font-size-middle', @font-size-middle);
8683
+ @search-small-font-size: var(~'@{search-prefix}-font-size-small', @font-size-small);
8684
+ @search-placeholder-font-size: var(~'@{search-prefix}-placeholder-font-size', 12px);
8685
+ @search-dropdown-desc-font-size: var(~'@{search-prefix}-dropdown-desc-font-size', 12px);
8686
+ @search-input-font-size: var(~'@{search-prefix}-input-font-size', 12px);
8687
+
8688
+ // spacing
8689
+ @quick-search-dropdown-option-padding-horizontal: var(~'@{search-prefix}-dropdown-option-spacing-padding-horizontal', 12px);
8690
+
8691
+ // motion
8692
+ @search-transition-duration: var(~'@{search-prefix}-motion-duration', @duration-promptly);
8693
+
8694
+ // radius
8695
+ @search-radius-size: var(~'@{search-prefix}-radius-border', @radius-border);
8696
+
8697
+
8698
+
8699
+
8700
+ @select-prefix-cls: ~'@{kd-prefix}-select';
8701
+
8702
+ .@{select-prefix-cls} {
8703
+ position: relative;
8704
+ display: inline-block;
8705
+ box-sizing: border-box;
8706
+ background-color: transparent;
8707
+ cursor: pointer;
8708
+ margin: 0 8px 2px 0;
8709
+ vertical-align: middle;
8710
+
8711
+ &-selector:hover {
8712
+ .@{select-prefix-cls}-icon-active {
8713
+ color: #3761ca;
8714
+ }
8715
+ }
8716
+ &-visible {
8717
+ .@{select-prefix-cls}-icon-active {
8718
+ color: #3761ca;
8719
+ }
8720
+ }
8721
+
8722
+ &-icon {
8723
+ &-arrow {
8724
+ display: inline-flex;
8725
+ align-items: center;
8726
+ vertical-align: middle;
8727
+ &-up {
8728
+ transform: rotate(180deg);
8729
+ transition: transform calc(@transition-duration - 0.1s) @ease;
8730
+ }
8731
+
8732
+ &-down {
8733
+ transform: rotate(0deg);
8734
+ transition: transform calc(@transition-duration - 0.1s) @ease;
8735
+ }
8736
+
8737
+ &-focus {
8738
+ color: #3761ca;
8739
+ }
8740
+ }
8741
+
8742
+ &-clear {
8743
+ opacity: 0;
8744
+ transition: opacity 0.15s ease;
8745
+ &:hover {
8746
+ color: @select-g-color-border-hover;
8747
+ }
8748
+ }
8749
+ }
8750
+
8751
+ &-selection-search {
8752
+ position: absolute;
8753
+ top: 0;
8754
+ bottom: 0;
8755
+ left: 11px;
8756
+ &-input {
8757
+ opacity: 0;
8758
+ margin: 0;
8759
+ padding: 0;
8760
+ background: 0 0;
8761
+ border: none;
8762
+ outline: none;
8763
+ appearance: none;
8764
+ &:hover {
8765
+ cursor: pointer;
8766
+ }
8767
+ }
8768
+ }
8769
+
8770
+ &-focused {
8771
+ .focusColor();
8772
+ // border-bottom: 1px solid #5582F3 ;
8773
+ }
8774
+ &-placeholder {
8775
+ color: @select-placeholder-color;
8776
+ overflow: hidden;
8777
+ white-space: nowrap;
8778
+ text-overflow: ellipsis;
8779
+ }
8780
+
8781
+ &-borderless {
8782
+ border: none;
8783
+ }
8784
+
8785
+ &-underline {
8786
+ border-bottom: 1px solid @select-g-color-border;
8787
+ &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8788
+ border-bottom: 1px solid @select-g-color-border-hover;
8789
+ }
8790
+ }
8791
+
8792
+ &-bordered {
8793
+ border: 1px solid @select-border-g-color-border;
8794
+ padding-left: 8px !important;
8795
+ border-radius: 2px;
8796
+ &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8797
+ border: 1px solid @select-g-color-border-hover;
8798
+ }
8799
+
8800
+ .@{select-prefix-cls}-suffix {
8801
+ right: 10px;
8802
+ }
8803
+ }
8804
+
8805
+ &-wrapper {
8806
+ transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
8807
+ padding: 1px 28px 1px 0;
8808
+ max-width: 100%;
8809
+ color: #212121;
8810
+ display: flex;
8811
+ flex-wrap: wrap;
8812
+ align-items: center;
8813
+ cursor: pointer;
8814
+ box-sizing: border-box;
8815
+ overflow-y: auto;
8816
+ overflow-x: hidden;
8817
+ }
8818
+
8819
+ &-dropdown {
8820
+ display: block;
8821
+ left: 0;
8822
+ z-index: @select-z-index;
8823
+ box-sizing: border-box;
8824
+ padding: 4px 0; // update
8825
+ margin: 0;
8826
+ overflow: auto;
8827
+ font-size: @select-list-font-size; // update
8828
+ font-variant: initial;
8829
+ background-color: @select-dropdown-bg;
8830
+ border-radius: @select-g-radius-border;
8831
+ outline: none;
8832
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
8833
+
8834
+ &-scroll {
8835
+ overflow-y: auto;
8836
+ }
8837
+
8838
+ &-empty {
8839
+ padding: 5px 12px;
8840
+ }
8841
+
8842
+ // 搜索框
8843
+ &-search {
8844
+ padding: 5px 6px;
8845
+ &-hidden {
8846
+ display: none;
8847
+ }
8848
+ }
8849
+ }
8850
+
8851
+ // 下拉列表选项
8852
+ &-item {
8853
+ .item();
8854
+ cursor: pointer;
8855
+ transition: background 0.3s ease;
8856
+
8857
+ &-option {
8858
+ display: flex;
8859
+ min-width: 75px;
8860
+
8861
+ &-content {
8862
+ display: flex;
8863
+ align-items: center;
8864
+ flex: auto;
8865
+ .over();
8866
+ }
8867
+
8868
+ &:hover:not(&-selected):not(&-disabled) {
8869
+ background-color: @select-item-active-bg;
8870
+ }
8871
+
8872
+ &-active:not(&-disabled) {
8873
+ background-color: @select-item-active-bg;
8874
+ }
8875
+
8876
+ &-selected:not(&-disabled) {
8877
+ color: @select-item-selected-color;
8878
+ // font-weight: @select-item-selected-font-weight;
8879
+ background-color: @select-item-selected-bg;
8880
+ }
8881
+
8882
+ &-disabled {
8883
+ color: @select-g-item-text-color-disabled;
8884
+ cursor: not-allowed;
8885
+ background-color: @select-disabled-option-bg;
8886
+ }
8887
+ }
8888
+ }
8889
+
8890
+ // 选择器框大小
8891
+ &-size-small {
8892
+ .select-input-size(@select-small-height, @select-small-height, @select-small-line-height, @select-small-font-size);
8893
+ }
8894
+
8895
+ &-size-middle {
8896
+ .select-input-size(@select-middle-height, @select-middle-height, @select-middle-line-height, @select-middle-font-size);
8897
+ }
8898
+
8899
+ &-size-large {
8900
+ .select-input-size(@select-large-height, @select-large-height, @select-large-line-height, @select-large-font-size);
8901
+ }
8902
+
8903
+ &-suffix {
8904
+ right: 0;
8905
+ position: absolute;
8906
+ display: flex;
8907
+ flex: 0;
8908
+ flex-wrap: wrap;
8909
+ align-items: center;
8910
+ justify-content: center;
8911
+ margin-left: 8px;
8912
+ }
8913
+ &-single {
8914
+ &-focused {
8915
+ .focusColor();
8916
+ }
8917
+ &-disabled {
8918
+ background-color: @disabled-contain-bg;
8919
+ color: @disabled-color;
8920
+ &:hover {
8921
+ cursor: not-allowed;
8922
+ }
8923
+ }
8924
+ &:hover .@{select-prefix-cls}-icon-clear {
8925
+ opacity: 1;
8926
+ }
8927
+ &-text {
8928
+ color: #666;
8929
+ .over();
8930
+ }
8931
+ &-disabled-text {
8932
+ color: @disabled-color;
8933
+ }
8368
8934
  }
8369
- }
8370
8935
 
8936
+ .@{select-prefix-cls}-selection-item {
8937
+ // position: relative;
8938
+ display: inline-flex;
8939
+ box-sizing: border-box;
8940
+ align-items: center;
8941
+ vertical-align: middle;
8942
+ max-width: 100%;
8943
+ height: 20px;
8944
+ line-height: 20px;
8945
+ margin: 2px 8px 2px 0;
8946
+ // margin: 2px 4px 2px 0;
8947
+ // margin-right: 4px;
8948
+ // padding-left: 8px;
8949
+ // background: #fafafa;
8950
+ // border: 1px solid #d9d9d9;
8951
+ // border-radius: 2px;
8952
+ cursor: default;
8953
+ user-select: none;
8954
+ &-small {
8955
+ height: 18px;
8956
+ line-height: 18px;
8957
+ font-size: 12px;
8958
+ }
8371
8959
 
8960
+ &-middle {
8961
+ font-size: 12px;
8962
+ height: 18px;
8963
+ line-height: 18px;
8964
+ }
8372
8965
 
8373
- @search-prefix: '--@{kd-prefix}-c-search';
8966
+ &-large {
8967
+ font-size: 14px;
8968
+ line-height: 22px;
8969
+ height: 22px;
8970
+ }
8374
8971
 
8375
- // sizing
8376
- @search-icon-font-size: var(~'@{search-prefix}-icon-font-size', 16px);
8377
- @search-small-width: var(~'@{search-prefix}-sizing-width-small', 200px);
8378
- @search-middle-width: var(~'@{search-prefix}-sizing-width-middle', 260px);
8379
- @search-large-width: var(~'@{search-prefix}-sizing-width-large', 320px);
8380
- @quick-search-default-width: var(~'@{search-prefix}-sizing-width-default', 200px);
8381
- @quick-search-default-height: var(~'@{search-prefix}-sizing-height-default', 24px);
8382
- @quick-search-max-width: var(~'@{search-prefix}-sizing-width-max', 400px);
8383
- @search-panel-width: var(~'@{search-prefix}-panel-sizing-width', 800px);
8384
- @search-panel-height: var(~'@{search-prefix}-panel-sizing-height', 60px);
8385
- @quick-search-dropdown-option-height: var(~'@{search-prefix}-dropdown-option-sizing-height', 32px);
8386
- @search-sizing-border-width: var(~'@{search-prefix}-sizing-border-width', 1px);
8972
+ &-content {
8973
+ display: inline-flex;
8974
+ align-items: center;
8975
+ vertical-align: middle;
8976
+ padding: 0 7px;
8977
+ overflow: hidden;
8978
+ white-space: nowrap;
8979
+ text-overflow: ellipsis;
8980
+ border: 1px solid #ccc;
8981
+ color: #212121;
8982
+ }
8983
+ // &-remove {
8984
+ // text-align: center;
8985
+ // text-transform: none;
8986
+ // display: inline-flex;
8987
+ // color: rgba(0, 0, 0, 0.45);
8988
+ // line-height: inherit;
8989
+ // cursor: pointer;
8990
+ // &:hover {
8991
+ // color: #212121;
8992
+ // }
8993
+ // }
8994
+ &-span {
8995
+ position: relative;
8996
+ margin-left: 0.5px;
8997
+ box-sizing: border-box;
8998
+ }
8999
+ &-input {
9000
+ // opacity: 0;
9001
+ cursor: text;
9002
+ margin: 0;
9003
+ padding: 0;
9004
+ background: 0 0;
9005
+ border: none;
9006
+ outline: none;
9007
+ appearance: none;
9008
+ width: 100%;
9009
+ min-width: 20px;
9010
+ }
9011
+ }
8387
9012
 
8388
- // color
8389
- @search-icon-color: var(~'@{search-prefix}-icon-color', #B2B2B2);
8390
- @search-color-theme: var(~'@{search-prefix}-color-theme', @color-theme);
8391
- @search-hover-color: var(~'@{search-prefix}-color-hover', #5582F3);
8392
- @quick-search-input-color: var(~'@{search-prefix}-input-color-text', @color-disabled);
8393
- @quick-search-border-bottom-color: var(~'@{search-prefix}-color-border', @color-border-strong-2);
8394
- @quick-search-dropdown-desc-color: var(~'@{search-prefix}-dropdown-desc-color-text', #999999);
8395
- @quick-search-npl-border-color: var(~'@{search-prefix}-npl-color-border', #D8D8D8);
8396
- @quick-search-selection-placeholder-color: var(~'@{search-prefix}-selection-placeholder-color-text', #B2B2B2);
8397
- @search-panel-hover-color: var(~'@{search-prefix}-panel-color-hover', #597cfc);
8398
- @search-panel-border-color: var(~'@{search-prefix}-panel-color-border', #E6E8ED);
8399
- @search-end-color: var(~'@{search-prefix}-color-end', @color-end);
8400
- @search-color-text-primary: var(~'@{search-prefix}-color-text-primary', @color-text-primary);
8401
- @search-color-text-secondary: var(~'@{search-prefix}-color-text-secondary', @color-text-secondary);
8402
- @search-color-text-third: var(~'@{search-prefix}-color-text-third', @color-text-third);
8403
- @search-dot-color-first: var(~'@{search-prefix}-dot-color-first', @color-logo-1);
8404
- @search-dot-color-second: var(~'@{search-prefix}-dot-color-second', @color-logo-2);
8405
- @search-dot-color-third: var(~'@{search-prefix}-dot-color-third', @color-logo-3);
8406
- @search-dot-color-fourth: var(~'@{search-prefix}-dot-color-fourth', @color-logo-4);
8407
- @search-placeholder-color-text: var(~'@{search-prefix}-placeholder-color-text', #B2B2B2);
8408
- @quick-search-selected-tags-del-hover-bg: var(~'@{search-prefix}-selected-tags-del-color-background-hover', #999999);
8409
- @quick-search-dropdown-selected-bg: var(~'@{search-prefix}-dropdown-tags-color-background-selected', #F2F6FF);
8410
- @quick-search-dropdown-hover-bg: var(~'@{search-prefix}-dropdown-color-background-hover', @color-hover);
8411
- @search-panel-hover-bg: var(~'@{search-prefix}-panel-color-background-hover', #eef3fe);
8412
- @search-color-background: var(~'@{search-prefix}-color-background', @color-background);
8413
- @search-disabled-contain-bg: var(~'@{search-prefix}-color-background-contain-disabled', @color-background-contain-disabled);
9013
+ // 多选
9014
+ &-multiple {
9015
+ &-disabled {
9016
+ cursor: not-allowed;
9017
+ background-color: @disabled-contain-bg;
9018
+ color: @disabled-color;
9019
+ }
9020
+ &:hover .@{select-prefix-cls}-icon-clear {
9021
+ opacity: 1;
9022
+ }
9023
+ &-selector {
9024
+ position: relative;
9025
+ cursor: text;
9026
+ padding-right: 24px;
9027
+ display: flex;
9028
+ flex-wrap: wrap;
9029
+ align-items: center;
9030
+ }
9031
+ .@{select-prefix-cls}-wrapper {
9032
+ &:hover:not(.@{select-prefix-cls}-multiple-disabled) {
9033
+ border-bottom: 1px solid @select-g-color-border-hover;
9034
+ }
9035
+ }
8414
9036
 
8415
- // font
8416
- @quick-search-dropdown-font-size: var(~'@{search-prefix}-dropdown-font-size', 12px);
8417
- @search-middle-font-size: var(~'@{search-prefix}-font-size-middle', @font-size-middle);
8418
- @search-small-font-size: var(~'@{search-prefix}-font-size-small', @font-size-small);
8419
- @search-placeholder-font-size: var(~'@{search-prefix}-placeholder-font-size', 12px);
8420
- @search-dropdown-desc-font-size: var(~'@{search-prefix}-dropdown-desc-font-size', 12px);
8421
- @search-input-font-size: var(~'@{search-prefix}-input-font-size', 12px);
9037
+ &-footer {
9038
+ color: @select-font-color;
9039
+ display: inline-flex;
9040
+ align-items: center;
9041
+ width: 100%;
9042
+ padding: 0 12px;
9043
+ height: 32px;
9044
+ line-height: 32px;
9045
+ border-top: 1px solid #d9d9d9;
9046
+ box-sizing: border-box;
8422
9047
 
8423
- // spacing
8424
- @quick-search-dropdown-option-padding-horizontal: var(~'@{search-prefix}-dropdown-option-spacing-padding-horizontal', 12px);
9048
+ &-hadSelected {
9049
+ color: #999999;
9050
+ padding-left: 12px;
9051
+ > span {
9052
+ color: @select-footer-g-text-color-selected;
9053
+ padding: 0 2px;
9054
+ }
9055
+ }
9056
+ }
9057
+ }
9058
+
9059
+ &.topLeft.hidden,
9060
+ &.bottomLeft.hidden,
9061
+ &.topRight.hidden,
9062
+ &.bottomRight.hidden {
9063
+ opacity: 0;
9064
+ visibility: hidden;
9065
+ transition: all calc(@transition-duration - 0.1s) @ease;
9066
+ }
9067
+ }
8425
9068
 
8426
- // motion
8427
- @search-transition-duration: var(~'@{search-prefix}-motion-duration', @duration-promptly);
8428
9069
 
8429
- // radius
8430
- @search-radius-size: var(~'@{search-prefix}-radius-border', @radius-border);
8431
-
8432
-
8433
-
8434
-
8435
- @select-prefix-cls: ~'@{kd-prefix}-select';
8436
-
8437
- .@{select-prefix-cls} {
8438
- position: relative;
8439
- display: inline-block;
8440
- box-sizing: border-box;
8441
- background-color: transparent;
8442
- cursor: pointer;
8443
- margin: 0 8px 2px 0;
8444
- vertical-align: middle;
8445
-
8446
- &-selector:hover {
8447
- .@{select-prefix-cls}-icon-active {
8448
- color: #3761ca;
8449
- }
8450
- }
8451
- &-visible {
8452
- .@{select-prefix-cls}-icon-active {
8453
- color: #3761ca;
8454
- }
8455
- }
8456
-
8457
- &-icon {
8458
- &-arrow {
8459
- display: inline-flex;
8460
- align-items: center;
8461
- vertical-align: middle;
8462
- &-up {
8463
- transform: rotate(180deg);
8464
- transition: transform calc(@transition-duration - 0.1s) @ease;
8465
- }
8466
-
8467
- &-down {
8468
- transform: rotate(0deg);
8469
- transition: transform calc(@transition-duration - 0.1s) @ease;
8470
- }
8471
-
8472
- &-focus {
8473
- color: #3761ca;
8474
- }
8475
- }
8476
-
8477
- &-clear {
8478
- opacity: 0;
8479
- transition: opacity 0.15s ease;
8480
- &:hover {
8481
- color: @select-g-color-border-hover;
8482
- }
8483
- }
8484
- }
8485
-
8486
- &-selection-search {
8487
- position: absolute;
8488
- top: 0;
8489
- bottom: 0;
8490
- left: 11px;
8491
- &-input {
8492
- opacity: 0;
8493
- margin: 0;
8494
- padding: 0;
8495
- background: 0 0;
8496
- border: none;
8497
- outline: none;
8498
- appearance: none;
8499
- &:hover {
8500
- cursor: pointer;
8501
- }
8502
- }
8503
- }
8504
-
8505
- &-focused {
8506
- .focusColor();
8507
- // border-bottom: 1px solid #5582F3 ;
8508
- }
8509
- &-placeholder {
8510
- color: @select-placeholder-color;
8511
- overflow: hidden;
8512
- white-space: nowrap;
8513
- text-overflow: ellipsis;
8514
- }
8515
-
8516
- &-borderless {
8517
- border: none;
8518
- }
8519
-
8520
- &-underline {
8521
- border-bottom: 1px solid @select-g-color-border;
8522
- &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8523
- border-bottom: 1px solid @select-g-color-border-hover;
8524
- }
8525
- }
8526
-
8527
- &-bordered {
8528
- border: 1px solid @select-border-g-color-border;
8529
- padding-left: 8px !important;
8530
- border-radius: 2px;
8531
- &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8532
- border: 1px solid @select-g-color-border-hover;
8533
- }
8534
- }
8535
-
8536
- &-wrapper {
8537
- transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
8538
- padding: 1px 28px 1px 0;
8539
- max-width: 100%;
8540
- color: #212121;
8541
- display: flex;
8542
- flex-wrap: wrap;
8543
- align-items: center;
8544
- cursor: pointer;
8545
- box-sizing: border-box;
8546
- overflow-y: auto;
8547
- overflow-x: hidden;
8548
- }
8549
-
8550
- &-dropdown {
8551
- display: block;
8552
- left: 0;
8553
- z-index: @select-z-index;
8554
- box-sizing: border-box;
8555
- padding: 4px 0; // update
8556
- margin: 0;
8557
- overflow: auto;
8558
- font-size: @select-list-font-size; // update
8559
- font-variant: initial;
8560
- background-color: @select-dropdown-bg;
8561
- border-radius: @select-g-radius-border;
8562
- outline: none;
8563
- box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
8564
-
8565
- &-scroll {
8566
- overflow-y: auto;
8567
- }
8568
-
8569
- &-empty {
8570
- padding: 5px 12px;
8571
- }
8572
-
8573
- // 搜索框
8574
- &-search {
8575
- padding: 5px 6px;
8576
- &-hidden {
8577
- display: none;
8578
- }
8579
- }
8580
- }
8581
-
8582
- // 下拉列表选项
8583
- &-item {
8584
- .item();
8585
- cursor: pointer;
8586
- transition: background 0.3s ease;
8587
-
8588
- &-option {
8589
- display: flex;
8590
- min-width: 75px;
8591
-
8592
- &-content {
8593
- flex: auto;
8594
- .over();
8595
- }
8596
-
8597
- &:hover:not(&-selected):not(&-disabled) {
8598
- background-color: @select-item-active-bg;
8599
- }
8600
-
8601
- &-active:not(&-disabled) {
8602
- background-color: @select-item-active-bg;
8603
- }
8604
-
8605
- &-selected:not(&-disabled) {
8606
- color: @select-item-selected-color;
8607
- // font-weight: @select-item-selected-font-weight;
8608
- background-color: @select-item-selected-bg;
8609
- }
8610
-
8611
- &-disabled {
8612
- color: @select-g-item-text-color-disabled;
8613
- cursor: not-allowed;
8614
- background-color: @select-disabled-option-bg;
8615
- }
8616
- }
8617
- }
8618
-
8619
- // 选择器框大小
8620
- &-size-small {
8621
- .select-input-size(@select-small-height, @select-small-height, @select-small-line-height, @select-small-font-size);
8622
- }
8623
-
8624
- &-size-middle {
8625
- .select-input-size(@select-middle-height, @select-middle-height, @select-middle-line-height, @select-middle-font-size);
8626
- }
8627
-
8628
- &-size-large {
8629
- .select-input-size(@select-large-height, @select-large-height, @select-large-line-height, @select-large-font-size);
8630
- }
8631
-
8632
- &-suffix {
8633
- right: 10px;
8634
- position: absolute;
8635
- display: flex;
8636
- flex: 0;
8637
- flex-wrap: wrap;
8638
- align-items: center;
8639
- justify-content: center;
8640
- margin-left: 4px;
8641
- }
8642
- &-single {
8643
- &-focused {
8644
- .focusColor();
8645
- }
8646
- &-disabled {
8647
- background-color: @disabled-contain-bg;
8648
- color: @disabled-color;
8649
- &:hover {
8650
- cursor: not-allowed;
8651
- }
8652
- }
8653
- &:hover .@{select-prefix-cls}-icon-clear {
8654
- opacity: 1;
8655
- }
8656
- &-text {
8657
- color: #666;
8658
- .over();
8659
- }
8660
- &-disabled-text {
8661
- color: @disabled-color;
8662
- }
8663
- }
8664
-
8665
- .@{select-prefix-cls}-selection-item {
8666
- // position: relative;
8667
- display: inline-flex;
8668
- box-sizing: border-box;
8669
- align-items: center;
8670
- vertical-align: middle;
8671
- max-width: 100%;
8672
- height: 20px;
8673
- line-height: 20px;
8674
- margin: 2px 8px 2px 0;
8675
- // margin: 2px 4px 2px 0;
8676
- // margin-right: 4px;
8677
- // padding-left: 8px;
8678
- // background: #fafafa;
8679
- // border: 1px solid #d9d9d9;
8680
- // border-radius: 2px;
8681
- cursor: default;
8682
- user-select: none;
8683
- &-small {
8684
- height: 18px;
8685
- line-height: 18px;
8686
- font-size: 12px;
8687
- }
8688
-
8689
- &-middle {
8690
- font-size: 12px;
8691
- height: 18px;
8692
- line-height: 18px;
8693
- }
8694
-
8695
- &-large {
8696
- font-size: 14px;
8697
- line-height: 22px;
8698
- height: 22px;
8699
- }
8700
-
8701
- &-content {
8702
- display: inline-flex;
8703
- align-items: center;
8704
- vertical-align: middle;
8705
- padding: 0 7px;
8706
- overflow: hidden;
8707
- white-space: nowrap;
8708
- text-overflow: ellipsis;
8709
- border: 1px solid #ccc;
8710
- color: #212121;
8711
- }
8712
- // &-remove {
8713
- // text-align: center;
8714
- // text-transform: none;
8715
- // display: inline-flex;
8716
- // color: rgba(0, 0, 0, 0.45);
8717
- // line-height: inherit;
8718
- // cursor: pointer;
8719
- // &:hover {
8720
- // color: #212121;
8721
- // }
8722
- // }
8723
- &-span {
8724
- position: relative;
8725
- margin-left: 0.5px;
8726
- box-sizing: border-box;
8727
- }
8728
- &-input {
8729
- // opacity: 0;
8730
- cursor: text;
8731
- margin: 0;
8732
- padding: 0;
8733
- background: 0 0;
8734
- border: none;
8735
- outline: none;
8736
- appearance: none;
8737
- width: 100%;
8738
- min-width: 20px;
8739
- }
8740
- }
8741
-
8742
- // 多选
8743
- &-multiple {
8744
- &-disabled {
8745
- cursor: not-allowed;
8746
- background-color: @disabled-contain-bg;
8747
- color: @disabled-color;
8748
- }
8749
- &:hover .@{select-prefix-cls}-icon-clear {
8750
- opacity: 1;
8751
- }
8752
- &-selector {
8753
- position: relative;
8754
- cursor: text;
8755
- padding-right: 24px;
8756
- display: flex;
8757
- flex-wrap: wrap;
8758
- align-items: center;
8759
- }
8760
- .@{select-prefix-cls}-wrapper {
8761
- &:hover:not(.@{select-prefix-cls}-multiple-disabled) {
8762
- border-bottom: 1px solid @select-g-color-border-hover;
8763
- }
8764
- }
8765
-
8766
- &-footer {
8767
- color: @select-font-color;
8768
- display: inline-flex;
8769
- align-items: center;
8770
- width: 100%;
8771
- padding: 0 12px;
8772
- height: 32px;
8773
- line-height: 32px;
8774
- border-top: 1px solid #d9d9d9;
8775
- box-sizing: border-box;
8776
-
8777
- &-hadSelected {
8778
- color: #999999;
8779
- padding-left: 12px;
8780
- > span {
8781
- color: @select-footer-g-text-color-selected;
8782
- padding: 0 2px;
8783
- }
8784
- }
8785
- }
8786
- }
8787
-
8788
- &.topLeft.hidden,
8789
- &.bottomLeft.hidden,
8790
- &.topRight.hidden,
8791
- &.bottomRight.hidden {
8792
- opacity: 0;
8793
- visibility: hidden;
8794
- transition: all calc(@transition-duration - 0.1s) @ease;
8795
- }
8796
- }
8797
-
8798
-
8799
9070
 
8800
9071
 
8801
9072
 
@@ -8887,7 +9158,7 @@ textarea {
8887
9158
  // color
8888
9159
  @select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
8889
9160
  @select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', @color-background-contain-disabled);
8890
- @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', @color-hover);
9161
+ @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
8891
9162
  @select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
8892
9163
  @select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
8893
9164
  @select-g-color-border-foucs: var(~'@{select-custom-prefix}-color-border-foucs', @color-theme);
@@ -8896,7 +9167,7 @@ textarea {
8896
9167
  @select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', @color-text-third);
8897
9168
  @select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-theme);
8898
9169
  @select-font-color: var(~'@{select-custom-prefix}-footer-color-text', @color-text-primary);
8899
- @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', @color-text-link);
9170
+ @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
8900
9171
  @select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
8901
9172
 
8902
9173
  // font
@@ -9721,7 +9992,7 @@ textarea {
9721
9992
  @stepper-icon-color: var(~'@{stepper-prefix}-icon-color', @color-text-secondary);
9722
9993
  @stepper-icon-color-hover: var(~'@{stepper-prefix}-icon-color-hover', @color-theme);
9723
9994
  @stepper-color-border-strong: var(~'@{stepper-prefix}-color-border-strong', @color-border-strong);
9724
- @stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', #f6f7f9);
9995
+ @stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', transparent);
9725
9996
 
9726
9997
  // font
9727
9998
  @stepper-input-font-size: var(~'@{stepper-prefix}-input-font-size', 12px);
@@ -9743,16 +10014,19 @@ textarea {
9743
10014
 
9744
10015
 
9745
10016
 
9746
-
9747
10017
  @steps-prefix-cls: ~'@{kd-prefix}-steps';
9748
10018
 
9749
10019
  .@{steps-prefix-cls} {
9750
10020
  display: flex;
9751
10021
  justify-content: space-between;
9752
- align-items: baseline;
9753
10022
 
9754
- &-iconSize {
9755
- // font-size: @steps-font-size;
10023
+ .@{steps-prefix-cls}-icon {
10024
+ border: 2px solid;
10025
+ padding-top: 1px;
10026
+ }
10027
+
10028
+ .@{kd-prefix}icon-exclamatory {
10029
+ font-size: 30px;
9756
10030
  }
9757
10031
 
9758
10032
  &-item {
@@ -9773,25 +10047,21 @@ textarea {
9773
10047
  }
9774
10048
 
9775
10049
  &-clickable&-wait {
9776
-
9777
10050
  .@{steps-prefix-cls}-icon,
9778
10051
  .@{steps-prefix-cls}-item-title {
9779
10052
  transition: all @steps-duration-promptly;
9780
10053
  }
9781
10054
 
9782
-
9783
10055
  &:hover {
9784
10056
  .@{steps-prefix-cls}-icon {
9785
- // background-color: @steps-color-background-wait-icon-hover;
9786
-
9787
10057
  background-color: @steps-color-white;
9788
- color: @steps-color-completed;
9789
- border: 2px solid @steps-color-completed;
10058
+ color: @steps-color-hover;
10059
+ border-color: @steps-color-hover;
9790
10060
  }
9791
10061
 
9792
10062
  .@{steps-prefix-cls}-item-title,
9793
10063
  .@{steps-prefix-cls}-item-description {
9794
- color: @steps-color-completed;
10064
+ color: @steps-color-hover;
9795
10065
  }
9796
10066
  }
9797
10067
  }
@@ -9824,11 +10094,12 @@ textarea {
9824
10094
  content: '';
9825
10095
  width: 100%;
9826
10096
  height: @steps-line-sizing-height;
9827
- background-color: @steps-color-wait;
10097
+ border-bottom: 1px dashed @steps-color-wait;
10098
+ border-left: 1px dashed @steps-color-wait;
9828
10099
  position: absolute;
9829
10100
  left: 50%;
9830
10101
  top: calc(50% - @steps-line-sizing-height / 2);
9831
- transition: width @steps-duration-promptly @steps-transition-fn, background-color @steps-duration-promptly @steps-transition-fn
10102
+ transition: width @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96)
9832
10103
  }
9833
10104
 
9834
10105
  &:last-child {
@@ -9845,7 +10116,6 @@ textarea {
9845
10116
  justify-content: center;
9846
10117
  align-items: center;
9847
10118
 
9848
- // background-color:@steps-color-white;
9849
10119
  .@{steps-prefix-cls}-icon {
9850
10120
  width: @steps-icon-sizing-width;
9851
10121
  height: @steps-icon-sizing-width;
@@ -9856,7 +10126,7 @@ textarea {
9856
10126
  color: @steps-color-wait;
9857
10127
  font-size: calc(@steps-icon-sizing-width - 13px);
9858
10128
  border-radius: 50%;
9859
- border: 2px solid @steps-color-wait;
10129
+ border-color: @steps-color-wait;
9860
10130
  box-sizing: border-box;
9861
10131
  }
9862
10132
  }
@@ -9877,7 +10147,6 @@ textarea {
9877
10147
  }
9878
10148
 
9879
10149
  .@{steps-prefix-cls}-item-description {
9880
-
9881
10150
  line-height: 20px;
9882
10151
  font-size: @steps-font-size;
9883
10152
  color: @steps-color-wait;
@@ -9886,19 +10155,21 @@ textarea {
9886
10155
  word-break: break-word;
9887
10156
  display: -webkit-box;
9888
10157
  -webkit-box-orient: vertical;
9889
-
9890
10158
  width: @steps-vertical-description-sizing-width;
9891
-
9892
10159
  }
9893
10160
  }
9894
10161
 
9895
10162
  &-process {
10163
+ color: @steps-color-hover;
10164
+
9896
10165
  .@{steps-prefix-cls}-icon {
9897
- background-color: @steps-color-background-process-icon;
10166
+ background-color: @steps-color-white;
10167
+ color: @steps-color-hover;
10168
+ border-color: @steps-color-hover;
9898
10169
  }
9899
10170
 
9900
- .@{steps-prefix-cls}-item-title {
9901
- color: @steps-color-wait;
10171
+ .@{steps-prefix-cls}-item-title, .@{steps-prefix-cls}-item-description {
10172
+ color: @steps-color-hover;
9902
10173
  }
9903
10174
  }
9904
10175
 
@@ -9914,12 +10185,11 @@ textarea {
9914
10185
  .@{steps-prefix-cls}-icon {
9915
10186
  background-color: @steps-color-white;
9916
10187
  color: @steps-color-completed;
9917
- border: 2px solid @steps-color-completed;
10188
+ border-color: @steps-color-completed;
9918
10189
  box-sizing: border-box;
9919
10190
  }
9920
10191
 
9921
10192
  .@{steps-prefix-cls}-item-content {
9922
-
9923
10193
  .@{steps-prefix-cls}-item-title,
9924
10194
  .@{steps-prefix-cls}-item-description {
9925
10195
  color: @steps-color-completed;
@@ -9927,31 +10197,22 @@ textarea {
9927
10197
  }
9928
10198
  }
9929
10199
 
9930
- &-iconContainer-finish {
9931
- &::after {
9932
- background-color: @steps-color-completed;
9933
- }
9934
- }
9935
10200
 
9936
10201
  &-error {
9937
10202
  .@{steps-prefix-cls}-icon {
9938
10203
  color: @steps-color-error;
9939
- border: 2px solid @steps-color-error;
10204
+ border-color: @steps-color-error;
9940
10205
  }
9941
10206
 
9942
10207
  .@{steps-prefix-cls}-item-content {
9943
-
9944
10208
  .@{steps-prefix-cls}-item-title,
9945
10209
  .@{steps-prefix-cls}-item-description {
9946
10210
  color: @steps-color-error;
9947
10211
  }
9948
10212
  }
9949
-
9950
-
9951
10213
  }
9952
10214
  }
9953
10215
 
9954
-
9955
10216
  &-bottomLable {
9956
10217
  .@{steps-prefix-cls}-item-iconContainer {
9957
10218
  margin-bottom: 4px;
@@ -10029,26 +10290,23 @@ textarea {
10029
10290
 
10030
10291
  @steps-prefix: '--@{kd-prefix}-c-steps';
10031
10292
 
10032
- @steps-duration-promptly: var(~'@{steps-prefix}-duration-promptly', @duration-promptly);
10033
- @steps-transition-fn: cubic-bezier(0.48, 0.04, 0.52, 0.96);
10034
-
10035
-
10036
-
10037
10293
  // color
10038
- @steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-theme);//已经完成
10294
+ @steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-success);//已经完成
10295
+ @steps-color-hover: var(~'@{steps-prefix}-color-hover', @color-theme);
10039
10296
  @steps-color-error: var(~'@{steps-prefix}-color-error', @color-error);
10040
- @steps-color-wait: var(~'@{steps-prefix}-color-wait', @color-text-secondary);//未开始 等待
10297
+ @steps-color-wait: var(~'@{steps-prefix}-color-wait', #999);//未开始 等待
10041
10298
  @steps-color-white: var(~'@{steps-prefix}-color-white',@color-white);
10042
10299
  @steps-color-background-process-icon: var(~'@{steps-prefix}-icon-color-background', @color-theme);//图标的颜色
10043
10300
 
10044
-
10045
10301
  // font
10046
10302
  @steps-font-size: var(~'@{steps-prefix}-font-size', @font-size-small); // 文字大小
10047
10303
 
10304
+ // motion
10305
+ @steps-duration-promptly: var(~'@{steps-prefix}-motion-duration', @duration-promptly);
10048
10306
 
10049
10307
  // sizing
10050
10308
  @steps-icon-sizing-width: var(~'@{steps-prefix}-icon-sizing-width', 28px);//图标的大小
10051
- @steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 4px);//连接线高度
10309
+ @steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 1px);//连接线高度
10052
10310
  @steps-horizontal-description-sizing-height: var(~'@{steps-prefix}-horizontal-description-sizing-height', 60px);//内容部分高度 横向
10053
10311
  @steps-vertical-description-sizing-width: var(~'@{steps-prefix}-vertical-description-sizing-width', 200px);//内容部分宽度 纵向
10054
10312
 
@@ -11797,7 +12055,7 @@ template {
11797
12055
  }
11798
12056
 
11799
12057
  &-disabled {
11800
- background-color: @switch-disabled-bg;
12058
+ background-color: @switch-off-disabled-bg;
11801
12059
  cursor: not-allowed;
11802
12060
  }
11803
12061
 
@@ -11818,7 +12076,7 @@ template {
11818
12076
  }
11819
12077
 
11820
12078
  &.@{switch-prefix-cls}-disabled {
11821
- opacity: 0.5;
12079
+ background-color: @switch-on-disabled-bg;
11822
12080
  }
11823
12081
 
11824
12082
  .@{switch-prefix-cls}-inner {
@@ -11890,11 +12148,11 @@ template {
11890
12148
 
11891
12149
  @switch-prefix: '--@{kd-prefix}-c-switch';
11892
12150
 
11893
-
11894
12151
  // color
11895
- @switch-on-color: var(~'@{switch-prefix}-color-on', @color-theme);
11896
- @switch-off-color: var(~'@{switch-prefix}-color-off', #999);
11897
- @switch-disabled-bg: var(~'@{switch-prefix}-color-background-disabled', @color-disabled);
12152
+ @switch-on-color: var(~'@{switch-prefix}-color-on', @color-theme-6);
12153
+ @switch-off-color: var(~'@{switch-prefix}-color-off', #B2B2B2);
12154
+ @switch-on-disabled-bg: var(~'@{switch-prefix}-color-on-background-disabled', @color-theme-4);
12155
+ @switch-off-disabled-bg: var(~'@{switch-prefix}-color-off-background-disabled', #D9D9D9);
11898
12156
  @switch-loading-color: var(~'@{switch-prefix}-color-loading', @color-ongoing);
11899
12157
  @switch-font-color: var(~'@{switch-prefix}-color-font', @color-white);
11900
12158
 
@@ -11903,19 +12161,16 @@ template {
11903
12161
  @switch-large-font-size: var(~'@{switch-prefix}-large-font-size', @font-size-small);
11904
12162
  @switch-inner-small-font-size: var(~'@{switch-prefix}-inner-font-size-small', @font-size-small);
11905
12163
 
11906
-
11907
12164
  // line-height
11908
12165
  @switch-large-line-height: var(~'@{switch-prefix}-large-line-height', 20px);
11909
12166
  @switch-small-line-height: var(~'@{switch-prefix}-small-line-height', 14px);
11910
12167
 
11911
-
11912
12168
  //radius
11913
- @switch-small-border-radius: var(~'@{switch-prefix}-small-radius-border', 7px);
11914
-
12169
+ @switch-small-border-radius: var(~'@{switch-prefix}-small-radius-border', 8px);
11915
12170
 
11916
12171
  // sizing
11917
- @switch-small-height: var(~'@{switch-prefix}-small-sizing-height', 14px);
11918
- @switch-small-min-width: var(~'@{switch-prefix}-small-sizing-width', 28px);
12172
+ @switch-small-height: var(~'@{switch-prefix}-small-sizing-height', 16px);
12173
+ @switch-small-min-width: var(~'@{switch-prefix}-small-sizing-width', 32px);
11919
12174
  @switch-large-height: var(~'@{switch-prefix}-large-sizing-height', 20px);
11920
12175
  @switch-large-min-width: var(~'@{switch-prefix}-large-sizing-width', 40px);
11921
12176
  @switch-large-border-radius: var(~'@{switch-prefix}-large-sizing-border-radius', 10px);
@@ -12418,7 +12673,7 @@ template {
12418
12673
  &-size-large {
12419
12674
  .tag-size(@tag-large-font-size, @tag-large-height, @tag-large-padding-horizontal);
12420
12675
  }
12421
-
12676
+
12422
12677
  transition: all @tag-g-motion-duration;
12423
12678
  // 状态标签
12424
12679
  &-shape-status {
@@ -12442,16 +12697,6 @@ template {
12442
12697
  // 文本标签
12443
12698
  &-shape-text {
12444
12699
  .tag-text-color(@tag-process-color);
12445
- .tag-text-padding(@tag-small-padding-horizontal)
12446
- }
12447
- &-shape-text.@{tag-prefix-cls}-size-small {
12448
- .tag-text-padding(@tag-small-padding-horizontal)
12449
- }
12450
- &-shape-text.@{tag-prefix-cls}-size-middle {
12451
- .tag-text-padding(@tag-middle-padding-horizontal)
12452
- }
12453
- &-shape-text.@{tag-prefix-cls}-size-large {
12454
- .tag-text-padding(@tag-large-padding-horizontal)
12455
12700
  }
12456
12701
  each(@types, {
12457
12702
  &-shape-text.@{tag-prefix-cls}-@{value} {
@@ -12476,13 +12721,13 @@ template {
12476
12721
  &:not(.@{tag-prefix-cls}-closable-disabled):hover {
12477
12722
  border-color: @tag-edit-g-color-border-hover;
12478
12723
  .@{tag-prefix-cls}-closeWrapper {
12479
- background-color: @tag-edit-cloesWrapper-g-color-background-hover;
12724
+ // background-color: @tag-edit-cloesWrapper-g-color-background-hover;
12480
12725
  color: @tag-edit-cloesWrapper-g-text-color-hover;
12481
12726
  }
12482
12727
  }
12483
12728
 
12484
12729
  &.@{tag-prefix-cls}-closable {
12485
- padding-right: 0;
12730
+ padding-right: 8px;
12486
12731
  }
12487
12732
  }
12488
12733
 
@@ -12509,28 +12754,18 @@ template {
12509
12754
  }
12510
12755
  &-closable.@{tag-prefix-cls}-size-middle {
12511
12756
  line-height: @tag-middle-height;
12512
-
12513
- .@{tag-prefix-cls}-closeWrapper {
12514
- width: calc(@tag-middle-height - 2px);
12515
- height: calc(@tag-middle-height - 2px);
12516
- }
12517
12757
  }
12518
12758
  &-closable.@{tag-prefix-cls}-size-large {
12519
12759
  line-height: @tag-large-height;
12520
12760
  padding-left: @tag-large-padding-horizontal;
12521
12761
 
12522
12762
  .@{tag-prefix-cls}-closeWrapper {
12523
- width: calc(@tag-large-height - 2px);
12524
- height: calc(@tag-large-height - 2px);
12525
-
12526
12763
  .@{tag-prefix-cls}-close-icon {
12527
12764
  font-size: 14px;
12528
12765
  }
12529
12766
  }
12530
12767
  }
12531
12768
  &-closeWrapper {
12532
- width: calc(@tag-middle-height - 2px);
12533
- height: calc(@tag-middle-height - 2px);
12534
12769
  margin-left: 4px;
12535
12770
  display: inline-flex;
12536
12771
  justify-content: center;
@@ -12544,6 +12779,7 @@ template {
12544
12779
  }
12545
12780
 
12546
12781
 
12782
+
12547
12783
  // code component mixin here
12548
12784
  .tag-size(@size, @height, @padding) {
12549
12785
  font-size: @size;
@@ -12573,19 +12809,6 @@ template {
12573
12809
  align-items: center;
12574
12810
  padding: 0;
12575
12811
  border-radius: 0;
12576
- &::before{
12577
- content: '';
12578
- display: block;
12579
- background-color: @color;
12580
- border-radius: 50%;
12581
- }
12582
- }
12583
- .tag-text-padding(@padding) {
12584
- &::before{
12585
- width: @padding;
12586
- height: @padding;
12587
- margin-right: @padding;
12588
- }
12589
12812
  }
12590
12813
 
12591
12814
 
@@ -12605,7 +12828,7 @@ template {
12605
12828
  @tag-edit-g-text-color: var(~'@{tag-custom-prefix}-edit-color-text', @color-text-primary);
12606
12829
  @tag-edit-g-color-border-hover: var(~'@{tag-custom-prefix}-edit-color-border-hover', @color-theme);
12607
12830
  @tag-edit-cloesWrapper-g-color-background-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-background-hover', @color-theme);
12608
- @tag-edit-cloesWrapper-g-text-color-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-text-hover', @color-white);
12831
+ @tag-edit-cloesWrapper-g-text-color-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-text-hover', @color-theme);
12609
12832
  @tag-edit-g-color-background-disabled: var(~'@{tag-custom-prefix}-edit-color-background-disabled', @color-background-contain-disabled);
12610
12833
  @tag-edit-g-color-border-disabled: var(~'@{tag-custom-prefix}-edit-color-background-disabled', @color-border-strong);
12611
12834
  @tag-edit-g-text-color-disabled: var(~'@{tag-custom-prefix}-edit-color-text-disabled', @color-border-strong);