@kdcloudjs/kdesign 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/kdesign-complete.less +476 -464
- package/dist/kdesign.css +135 -209
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +234 -215
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +8 -8
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +33 -11
- package/es/collapse/panel.d.ts +1 -0
- package/es/collapse/panel.js +17 -5
- package/es/collapse/style/index.css +32 -6
- package/es/collapse/style/index.less +24 -1
- package/es/collapse/style/token.less +12 -10
- package/es/drawer/drawer.d.ts +1 -0
- package/es/drawer/drawer.js +56 -21
- package/es/radio/radio.js +3 -1
- package/es/radio/style/index.css +46 -18
- package/es/radio/style/index.less +27 -1
- package/es/radio/style/token.less +4 -4
- package/es/select/option.js +1 -1
- package/es/select/style/index.css +14 -5
- package/es/select/style/index.less +374 -368
- package/es/select/style/token.less +2 -2
- package/es/steps/style/index.css +40 -32
- package/es/steps/style/index.less +23 -33
- package/es/steps/style/token.less +6 -9
- package/es/tag/style/index.css +2 -147
- package/es/tag/style/index.less +4 -24
- package/es/tag/style/mixin.less +0 -13
- package/es/tag/style/token.less +1 -1
- package/lib/_utils/usePopper.js +34 -11
- package/lib/collapse/panel.d.ts +1 -0
- package/lib/collapse/panel.js +17 -5
- package/lib/collapse/style/index.css +32 -6
- package/lib/collapse/style/index.less +24 -1
- package/lib/collapse/style/token.less +12 -10
- package/lib/drawer/drawer.d.ts +1 -0
- package/lib/drawer/drawer.js +61 -27
- package/lib/radio/radio.js +3 -1
- package/lib/radio/style/index.css +46 -18
- package/lib/radio/style/index.less +27 -1
- package/lib/radio/style/token.less +4 -4
- package/lib/select/option.js +1 -1
- package/lib/select/style/index.css +14 -5
- package/lib/select/style/index.less +374 -368
- package/lib/select/style/token.less +2 -2
- package/lib/steps/style/index.css +40 -32
- package/lib/steps/style/index.less +23 -33
- package/lib/steps/style/token.less +6 -9
- package/lib/tag/style/index.css +2 -147
- package/lib/tag/style/index.less +4 -24
- package/lib/tag/style/mixin.less +0 -13
- package/lib/tag/style/token.less +1 -1
- package/package.json +1 -1
|
@@ -2536,11 +2536,23 @@
|
|
|
2536
2536
|
&-left {
|
|
2537
2537
|
display: inline-flex;
|
|
2538
2538
|
align-items: center;
|
|
2539
|
-
|
|
2539
|
+
line-height: 1.5;
|
|
2540
|
+
}
|
|
2541
|
+
&-middle {
|
|
2542
|
+
display: inline-flex;
|
|
2543
|
+
align-items: center;
|
|
2544
|
+
flex: 1;
|
|
2545
|
+
margin-left: 22px;
|
|
2546
|
+
color: @collapse-header-font-color-secondary;
|
|
2547
|
+
white-space: nowrap;
|
|
2548
|
+
overflow: hidden;
|
|
2549
|
+
text-overflow: ellipsis;
|
|
2540
2550
|
}
|
|
2541
2551
|
&-right {
|
|
2552
|
+
margin-left: 40px;
|
|
2542
2553
|
display: inline-flex;
|
|
2543
2554
|
align-items: center;
|
|
2555
|
+
white-space: nowrap;
|
|
2544
2556
|
}
|
|
2545
2557
|
&-extra,
|
|
2546
2558
|
&-header {
|
|
@@ -2549,10 +2561,21 @@
|
|
|
2549
2561
|
color: @collapse-header-font-color;
|
|
2550
2562
|
font-size: @collapse-header-font-size;
|
|
2551
2563
|
}
|
|
2564
|
+
|
|
2565
|
+
&-header {
|
|
2566
|
+
display: inline-block;
|
|
2567
|
+
white-space: nowrap;
|
|
2568
|
+
overflow: hidden;
|
|
2569
|
+
text-overflow: ellipsis;
|
|
2570
|
+
&:hover {
|
|
2571
|
+
color: @collapse-header-color-text-hover;
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2552
2574
|
&-icon {
|
|
2553
2575
|
align-items: center;
|
|
2554
2576
|
display: inline-flex;
|
|
2555
2577
|
margin-right: @collapse-icon-margin-right;
|
|
2578
|
+
font-size: @collapse-icon-font-size;
|
|
2556
2579
|
}
|
|
2557
2580
|
&-icon:hover,
|
|
2558
2581
|
&-left:hover {
|
|
@@ -2600,29 +2623,31 @@
|
|
|
2600
2623
|
|
|
2601
2624
|
@collapse-prefix: '--@{kd-prefix}-c-collapse';
|
|
2602
2625
|
|
|
2603
|
-
// sizing
|
|
2604
|
-
@collapse-border-width: var(~'@{collapse-prefix}-border-width', 1px);
|
|
2605
|
-
@collapse-icon-margin-right: var(~'@{collapse-prefix}-spacing-margin-right', 6px);
|
|
2606
|
-
@collapse-header-padding: var(~'@{collapse-prefix}-header-spacing-padding', 12px);
|
|
2607
|
-
@collapse-content-bordered-padding: var(~'@{collapse-prefix}-content-bordered-spacing-padding', 12px);
|
|
2608
|
-
@collapse-content-padding: var(~'@{collapse-prefix}-content-spacing-padding', 0 16px);
|
|
2609
|
-
|
|
2610
2626
|
// color
|
|
2611
2627
|
@collapse-border-color: var(~'@{collapse-prefix}-color-border-strong-2', @color-border-strong-2);
|
|
2612
2628
|
@collapse-header-font-color: var(~'@{collapse-prefix}-header-color-text-primary', @color-text-primary);
|
|
2629
|
+
@collapse-header-font-color-secondary: var(~'@{collapse-prefix}-header-color-text-secondary', @color-text-secondary);
|
|
2613
2630
|
@collapse-content-font-color: var(~'@{collapse-prefix}-content-color-text-primary', @color-text-primary);
|
|
2614
2631
|
@collapse-disabled-color: var(~'@{collapse-prefix}-color-disabled', raba(178, 178, 178, 1));
|
|
2615
2632
|
@collapse-header-color-background: var(~'@{collapse-prefix}-header-color-background', rgba(0, 0, 0, 0));
|
|
2616
2633
|
@collapse-content-color-background: var(~'@{collapse-prefix}-content-color-background', rgba(0, 0, 0, 0));
|
|
2617
|
-
|
|
2634
|
+
@collapse-header-color-text-hover: var(~'@{collapse-prefix}-header-color-text-hover', #666666);
|
|
2618
2635
|
|
|
2619
2636
|
// font
|
|
2620
|
-
@collapse-header-font-size: var(~'@{collapse-prefix}-header-font-size',
|
|
2637
|
+
@collapse-header-font-size: var(~'@{collapse-prefix}-header-font-size', 16px);
|
|
2621
2638
|
@collapse-content-font-size: var(~'@{collapse-prefix}-content-font-size', @font-size-middle);
|
|
2639
|
+
@collapse-icon-font-size: var(~'@{collapse-prefix}-icon-font-size', 16px);
|
|
2622
2640
|
|
|
2623
2641
|
// motion
|
|
2624
2642
|
@collapse-transition-duration: var(~'@{collapse-prefix}-motion-duration', @duration-promptly);
|
|
2625
2643
|
|
|
2644
|
+
// sizing
|
|
2645
|
+
@collapse-border-width: var(~'@{collapse-prefix}-border-width', 1px);
|
|
2646
|
+
@collapse-icon-margin-right: var(~'@{collapse-prefix}-spacing-margin-right', 6px);
|
|
2647
|
+
@collapse-header-padding: var(~'@{collapse-prefix}-header-spacing-padding', 8px 50px 8px 28px);
|
|
2648
|
+
@collapse-content-bordered-padding: var(~'@{collapse-prefix}-content-bordered-spacing-padding', 12px);
|
|
2649
|
+
@collapse-content-padding: var(~'@{collapse-prefix}-content-spacing-padding', 0 50px);
|
|
2650
|
+
|
|
2626
2651
|
|
|
2627
2652
|
|
|
2628
2653
|
|
|
@@ -7509,6 +7534,7 @@ textarea {
|
|
|
7509
7534
|
|
|
7510
7535
|
|
|
7511
7536
|
|
|
7537
|
+
|
|
7512
7538
|
@radio-prefix-cls: ~'@{kd-prefix}-radio';
|
|
7513
7539
|
@radio-square-prefix-cls: ~'@{radio-prefix-cls}-square';
|
|
7514
7540
|
@radio-button-prefix-cls: ~'@{radio-prefix-cls}-button';
|
|
@@ -7518,6 +7544,7 @@ textarea {
|
|
|
7518
7544
|
// 默认类型(单选项)
|
|
7519
7545
|
.@{radio-prefix-cls} {
|
|
7520
7546
|
.reset-component();
|
|
7547
|
+
.ellipsis();
|
|
7521
7548
|
|
|
7522
7549
|
// 默认状态
|
|
7523
7550
|
position: relative;
|
|
@@ -7573,7 +7600,7 @@ textarea {
|
|
|
7573
7600
|
// 悬停状态
|
|
7574
7601
|
&:hover {
|
|
7575
7602
|
|
|
7576
|
-
|
|
7603
|
+
color: @radio-color-theme;
|
|
7577
7604
|
&::before {
|
|
7578
7605
|
border-color: @radio-color-theme;
|
|
7579
7606
|
}
|
|
@@ -7622,6 +7649,14 @@ textarea {
|
|
|
7622
7649
|
background-color: @radio-color-disabled;
|
|
7623
7650
|
animation: none;
|
|
7624
7651
|
}
|
|
7652
|
+
|
|
7653
|
+
&.@{radio-prefix-cls}-checked {
|
|
7654
|
+
color: @radio-font-color;
|
|
7655
|
+
}
|
|
7656
|
+
}
|
|
7657
|
+
|
|
7658
|
+
&-text {
|
|
7659
|
+
line-height: 1.5;
|
|
7625
7660
|
}
|
|
7626
7661
|
}
|
|
7627
7662
|
|
|
@@ -7629,6 +7664,8 @@ textarea {
|
|
|
7629
7664
|
.@{radio-square-prefix-cls} {
|
|
7630
7665
|
.reset-component();
|
|
7631
7666
|
|
|
7667
|
+
.ellipsis();
|
|
7668
|
+
|
|
7632
7669
|
// 默认状态
|
|
7633
7670
|
position: relative;
|
|
7634
7671
|
display: inline-block;
|
|
@@ -7720,6 +7757,14 @@ textarea {
|
|
|
7720
7757
|
background-color: @radio-color-disabled;
|
|
7721
7758
|
animation: none;
|
|
7722
7759
|
}
|
|
7760
|
+
|
|
7761
|
+
&.@{radio-square-prefix-cls}-checked {
|
|
7762
|
+
color: @radio-font-color;
|
|
7763
|
+
}
|
|
7764
|
+
}
|
|
7765
|
+
|
|
7766
|
+
&-text {
|
|
7767
|
+
line-height: 1.5;
|
|
7723
7768
|
}
|
|
7724
7769
|
}
|
|
7725
7770
|
|
|
@@ -7833,6 +7878,12 @@ textarea {
|
|
|
7833
7878
|
// background-color: @radio-color-background-disabled;
|
|
7834
7879
|
cursor: not-allowed;
|
|
7835
7880
|
}
|
|
7881
|
+
|
|
7882
|
+
&-text {
|
|
7883
|
+
.ellipsis();
|
|
7884
|
+
display: block;
|
|
7885
|
+
line-height: 1.5;
|
|
7886
|
+
}
|
|
7836
7887
|
}
|
|
7837
7888
|
|
|
7838
7889
|
|
|
@@ -7857,14 +7908,14 @@ textarea {
|
|
|
7857
7908
|
@radio-border-width: var(~'@{radio-prefix}-radius-border-width',1px);
|
|
7858
7909
|
|
|
7859
7910
|
// sizing
|
|
7860
|
-
@radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',
|
|
7911
|
+
@radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',14px);//单选图标大小
|
|
7861
7912
|
@radio-square-height: var(~'@{radio-prefix}-square-sizing-height',32px);//单选框 高度
|
|
7862
7913
|
|
|
7863
7914
|
// spacing
|
|
7864
7915
|
@radio-margin-right: var(~'@{radio-prefix}-spacing-margin-right',8px);
|
|
7865
|
-
@radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',
|
|
7866
|
-
@radio-square-padding-horizontal: var(~'@{radio-prefix}-square-spacing-padding-horizontal',
|
|
7867
|
-
@radio-padding-left: var(~'@{radio-prefix}-spacing-padding-left',
|
|
7916
|
+
@radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',6px); //内间距 纵向
|
|
7917
|
+
@radio-square-padding-horizontal: var(~'@{radio-prefix}-square-spacing-padding-horizontal',12px);//内间距 横向 /单选框 宽度
|
|
7918
|
+
@radio-padding-left: var(~'@{radio-prefix}-spacing-padding-left',4px);//图标与文字间距
|
|
7868
7919
|
|
|
7869
7920
|
|
|
7870
7921
|
|
|
@@ -8577,374 +8628,380 @@ textarea {
|
|
|
8577
8628
|
|
|
8578
8629
|
// radius
|
|
8579
8630
|
@search-radius-size: var(~'@{search-prefix}-radius-border', @radius-border);
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
@select-prefix-cls: ~'@{kd-prefix}-select';
|
|
8585
|
-
|
|
8586
|
-
.@{select-prefix-cls} {
|
|
8587
|
-
position: relative;
|
|
8588
|
-
display: inline-block;
|
|
8589
|
-
box-sizing: border-box;
|
|
8590
|
-
background-color: transparent;
|
|
8591
|
-
cursor: pointer;
|
|
8592
|
-
margin: 0 8px 2px 0;
|
|
8593
|
-
vertical-align: middle;
|
|
8594
|
-
|
|
8595
|
-
&-selector:hover {
|
|
8596
|
-
.@{select-prefix-cls}-icon-active {
|
|
8597
|
-
color: #3761ca;
|
|
8598
|
-
}
|
|
8599
|
-
}
|
|
8600
|
-
&-visible {
|
|
8601
|
-
.@{select-prefix-cls}-icon-active {
|
|
8602
|
-
color: #3761ca;
|
|
8603
|
-
}
|
|
8604
|
-
}
|
|
8605
|
-
|
|
8606
|
-
&-icon {
|
|
8607
|
-
&-arrow {
|
|
8608
|
-
display: inline-flex;
|
|
8609
|
-
align-items: center;
|
|
8610
|
-
vertical-align: middle;
|
|
8611
|
-
&-up {
|
|
8612
|
-
transform: rotate(180deg);
|
|
8613
|
-
transition: transform calc(@transition-duration - 0.1s) @ease;
|
|
8614
|
-
}
|
|
8615
|
-
|
|
8616
|
-
&-down {
|
|
8617
|
-
transform: rotate(0deg);
|
|
8618
|
-
transition: transform calc(@transition-duration - 0.1s) @ease;
|
|
8619
|
-
}
|
|
8620
|
-
|
|
8621
|
-
&-focus {
|
|
8622
|
-
color: #3761ca;
|
|
8623
|
-
}
|
|
8624
|
-
}
|
|
8625
|
-
|
|
8626
|
-
&-clear {
|
|
8627
|
-
opacity: 0;
|
|
8628
|
-
transition: opacity 0.15s ease;
|
|
8629
|
-
&:hover {
|
|
8630
|
-
color: @select-g-color-border-hover;
|
|
8631
|
-
}
|
|
8632
|
-
}
|
|
8633
|
-
}
|
|
8634
|
-
|
|
8635
|
-
&-selection-search {
|
|
8636
|
-
position: absolute;
|
|
8637
|
-
top: 0;
|
|
8638
|
-
bottom: 0;
|
|
8639
|
-
left: 11px;
|
|
8640
|
-
&-input {
|
|
8641
|
-
opacity: 0;
|
|
8642
|
-
margin: 0;
|
|
8643
|
-
padding: 0;
|
|
8644
|
-
background: 0 0;
|
|
8645
|
-
border: none;
|
|
8646
|
-
outline: none;
|
|
8647
|
-
appearance: none;
|
|
8648
|
-
&:hover {
|
|
8649
|
-
cursor: pointer;
|
|
8650
|
-
}
|
|
8651
|
-
}
|
|
8652
|
-
}
|
|
8653
|
-
|
|
8654
|
-
&-focused {
|
|
8655
|
-
.focusColor();
|
|
8656
|
-
// border-bottom: 1px solid #5582F3 ;
|
|
8657
|
-
}
|
|
8658
|
-
&-placeholder {
|
|
8659
|
-
color: @select-placeholder-color;
|
|
8660
|
-
overflow: hidden;
|
|
8661
|
-
white-space: nowrap;
|
|
8662
|
-
text-overflow: ellipsis;
|
|
8663
|
-
}
|
|
8664
|
-
|
|
8665
|
-
&-borderless {
|
|
8666
|
-
border: none;
|
|
8667
|
-
}
|
|
8668
|
-
|
|
8669
|
-
&-underline {
|
|
8670
|
-
border-bottom: 1px solid @select-g-color-border;
|
|
8671
|
-
&:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
|
|
8672
|
-
border-bottom: 1px solid @select-g-color-border-hover;
|
|
8673
|
-
}
|
|
8674
|
-
}
|
|
8675
|
-
|
|
8676
|
-
&-bordered {
|
|
8677
|
-
border: 1px solid @select-border-g-color-border;
|
|
8678
|
-
padding-left: 8px !important;
|
|
8679
|
-
border-radius: 2px;
|
|
8680
|
-
&:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
|
|
8681
|
-
border: 1px solid @select-g-color-border-hover;
|
|
8682
|
-
}
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
&-
|
|
8719
|
-
|
|
8720
|
-
}
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
background-color: @select-item-
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
&-disabled {
|
|
8761
|
-
color: @select-
|
|
8762
|
-
|
|
8763
|
-
background-color: @select-
|
|
8764
|
-
}
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
}
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
&-
|
|
8839
|
-
|
|
8840
|
-
height: 18px;
|
|
8841
|
-
|
|
8842
|
-
}
|
|
8843
|
-
|
|
8844
|
-
&-
|
|
8845
|
-
font-size:
|
|
8846
|
-
|
|
8847
|
-
height:
|
|
8848
|
-
}
|
|
8849
|
-
|
|
8850
|
-
&-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
//
|
|
8868
|
-
//
|
|
8869
|
-
//
|
|
8870
|
-
//
|
|
8871
|
-
//
|
|
8872
|
-
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
}
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
margin: 0;
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8631
|
+
|
|
8632
|
+
|
|
8633
|
+
|
|
8634
|
+
|
|
8635
|
+
@select-prefix-cls: ~'@{kd-prefix}-select';
|
|
8636
|
+
|
|
8637
|
+
.@{select-prefix-cls} {
|
|
8638
|
+
position: relative;
|
|
8639
|
+
display: inline-block;
|
|
8640
|
+
box-sizing: border-box;
|
|
8641
|
+
background-color: transparent;
|
|
8642
|
+
cursor: pointer;
|
|
8643
|
+
margin: 0 8px 2px 0;
|
|
8644
|
+
vertical-align: middle;
|
|
8645
|
+
|
|
8646
|
+
&-selector:hover {
|
|
8647
|
+
.@{select-prefix-cls}-icon-active {
|
|
8648
|
+
color: #3761ca;
|
|
8649
|
+
}
|
|
8650
|
+
}
|
|
8651
|
+
&-visible {
|
|
8652
|
+
.@{select-prefix-cls}-icon-active {
|
|
8653
|
+
color: #3761ca;
|
|
8654
|
+
}
|
|
8655
|
+
}
|
|
8656
|
+
|
|
8657
|
+
&-icon {
|
|
8658
|
+
&-arrow {
|
|
8659
|
+
display: inline-flex;
|
|
8660
|
+
align-items: center;
|
|
8661
|
+
vertical-align: middle;
|
|
8662
|
+
&-up {
|
|
8663
|
+
transform: rotate(180deg);
|
|
8664
|
+
transition: transform calc(@transition-duration - 0.1s) @ease;
|
|
8665
|
+
}
|
|
8666
|
+
|
|
8667
|
+
&-down {
|
|
8668
|
+
transform: rotate(0deg);
|
|
8669
|
+
transition: transform calc(@transition-duration - 0.1s) @ease;
|
|
8670
|
+
}
|
|
8671
|
+
|
|
8672
|
+
&-focus {
|
|
8673
|
+
color: #3761ca;
|
|
8674
|
+
}
|
|
8675
|
+
}
|
|
8676
|
+
|
|
8677
|
+
&-clear {
|
|
8678
|
+
opacity: 0;
|
|
8679
|
+
transition: opacity 0.15s ease;
|
|
8680
|
+
&:hover {
|
|
8681
|
+
color: @select-g-color-border-hover;
|
|
8682
|
+
}
|
|
8683
|
+
}
|
|
8684
|
+
}
|
|
8685
|
+
|
|
8686
|
+
&-selection-search {
|
|
8687
|
+
position: absolute;
|
|
8688
|
+
top: 0;
|
|
8689
|
+
bottom: 0;
|
|
8690
|
+
left: 11px;
|
|
8691
|
+
&-input {
|
|
8692
|
+
opacity: 0;
|
|
8693
|
+
margin: 0;
|
|
8694
|
+
padding: 0;
|
|
8695
|
+
background: 0 0;
|
|
8696
|
+
border: none;
|
|
8697
|
+
outline: none;
|
|
8698
|
+
appearance: none;
|
|
8699
|
+
&:hover {
|
|
8700
|
+
cursor: pointer;
|
|
8701
|
+
}
|
|
8702
|
+
}
|
|
8703
|
+
}
|
|
8704
|
+
|
|
8705
|
+
&-focused {
|
|
8706
|
+
.focusColor();
|
|
8707
|
+
// border-bottom: 1px solid #5582F3 ;
|
|
8708
|
+
}
|
|
8709
|
+
&-placeholder {
|
|
8710
|
+
color: @select-placeholder-color;
|
|
8711
|
+
overflow: hidden;
|
|
8712
|
+
white-space: nowrap;
|
|
8713
|
+
text-overflow: ellipsis;
|
|
8714
|
+
}
|
|
8715
|
+
|
|
8716
|
+
&-borderless {
|
|
8717
|
+
border: none;
|
|
8718
|
+
}
|
|
8719
|
+
|
|
8720
|
+
&-underline {
|
|
8721
|
+
border-bottom: 1px solid @select-g-color-border;
|
|
8722
|
+
&:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
|
|
8723
|
+
border-bottom: 1px solid @select-g-color-border-hover;
|
|
8724
|
+
}
|
|
8725
|
+
}
|
|
8726
|
+
|
|
8727
|
+
&-bordered {
|
|
8728
|
+
border: 1px solid @select-border-g-color-border;
|
|
8729
|
+
padding-left: 8px !important;
|
|
8730
|
+
border-radius: 2px;
|
|
8731
|
+
&:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
|
|
8732
|
+
border: 1px solid @select-g-color-border-hover;
|
|
8733
|
+
}
|
|
8734
|
+
|
|
8735
|
+
.@{select-prefix-cls}-suffix {
|
|
8736
|
+
right: 10px;
|
|
8737
|
+
}
|
|
8738
|
+
}
|
|
8739
|
+
|
|
8740
|
+
&-wrapper {
|
|
8741
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
8742
|
+
padding: 1px 28px 1px 0;
|
|
8743
|
+
max-width: 100%;
|
|
8744
|
+
color: #212121;
|
|
8745
|
+
display: flex;
|
|
8746
|
+
flex-wrap: wrap;
|
|
8747
|
+
align-items: center;
|
|
8748
|
+
cursor: pointer;
|
|
8749
|
+
box-sizing: border-box;
|
|
8750
|
+
overflow-y: auto;
|
|
8751
|
+
overflow-x: hidden;
|
|
8752
|
+
}
|
|
8753
|
+
|
|
8754
|
+
&-dropdown {
|
|
8755
|
+
display: block;
|
|
8756
|
+
left: 0;
|
|
8757
|
+
z-index: @select-z-index;
|
|
8758
|
+
box-sizing: border-box;
|
|
8759
|
+
padding: 4px 0; // update
|
|
8760
|
+
margin: 0;
|
|
8761
|
+
overflow: auto;
|
|
8762
|
+
font-size: @select-list-font-size; // update
|
|
8763
|
+
font-variant: initial;
|
|
8764
|
+
background-color: @select-dropdown-bg;
|
|
8765
|
+
border-radius: @select-g-radius-border;
|
|
8766
|
+
outline: none;
|
|
8767
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
|
|
8768
|
+
|
|
8769
|
+
&-scroll {
|
|
8770
|
+
overflow-y: auto;
|
|
8771
|
+
}
|
|
8772
|
+
|
|
8773
|
+
&-empty {
|
|
8774
|
+
padding: 5px 12px;
|
|
8775
|
+
}
|
|
8776
|
+
|
|
8777
|
+
// 搜索框
|
|
8778
|
+
&-search {
|
|
8779
|
+
padding: 5px 6px;
|
|
8780
|
+
&-hidden {
|
|
8781
|
+
display: none;
|
|
8782
|
+
}
|
|
8783
|
+
}
|
|
8784
|
+
}
|
|
8785
|
+
|
|
8786
|
+
// 下拉列表选项
|
|
8787
|
+
&-item {
|
|
8788
|
+
.item();
|
|
8789
|
+
cursor: pointer;
|
|
8790
|
+
transition: background 0.3s ease;
|
|
8791
|
+
|
|
8792
|
+
&-option {
|
|
8793
|
+
display: flex;
|
|
8794
|
+
min-width: 75px;
|
|
8795
|
+
|
|
8796
|
+
&-content {
|
|
8797
|
+
display: flex;
|
|
8798
|
+
align-items: center;
|
|
8799
|
+
flex: auto;
|
|
8800
|
+
.over();
|
|
8801
|
+
}
|
|
8802
|
+
|
|
8803
|
+
&:hover:not(&-selected):not(&-disabled) {
|
|
8804
|
+
background-color: @select-item-active-bg;
|
|
8805
|
+
}
|
|
8806
|
+
|
|
8807
|
+
&-active:not(&-disabled) {
|
|
8808
|
+
background-color: @select-item-active-bg;
|
|
8809
|
+
}
|
|
8810
|
+
|
|
8811
|
+
&-selected:not(&-disabled) {
|
|
8812
|
+
color: @select-item-selected-color;
|
|
8813
|
+
// font-weight: @select-item-selected-font-weight;
|
|
8814
|
+
background-color: @select-item-selected-bg;
|
|
8815
|
+
}
|
|
8816
|
+
|
|
8817
|
+
&-disabled {
|
|
8818
|
+
color: @select-g-item-text-color-disabled;
|
|
8819
|
+
cursor: not-allowed;
|
|
8820
|
+
background-color: @select-disabled-option-bg;
|
|
8821
|
+
}
|
|
8822
|
+
}
|
|
8823
|
+
}
|
|
8824
|
+
|
|
8825
|
+
// 选择器框大小
|
|
8826
|
+
&-size-small {
|
|
8827
|
+
.select-input-size(@select-small-height, @select-small-height, @select-small-line-height, @select-small-font-size);
|
|
8828
|
+
}
|
|
8829
|
+
|
|
8830
|
+
&-size-middle {
|
|
8831
|
+
.select-input-size(@select-middle-height, @select-middle-height, @select-middle-line-height, @select-middle-font-size);
|
|
8832
|
+
}
|
|
8833
|
+
|
|
8834
|
+
&-size-large {
|
|
8835
|
+
.select-input-size(@select-large-height, @select-large-height, @select-large-line-height, @select-large-font-size);
|
|
8836
|
+
}
|
|
8837
|
+
|
|
8838
|
+
&-suffix {
|
|
8839
|
+
right: 0;
|
|
8840
|
+
position: absolute;
|
|
8841
|
+
display: flex;
|
|
8842
|
+
flex: 0;
|
|
8843
|
+
flex-wrap: wrap;
|
|
8844
|
+
align-items: center;
|
|
8845
|
+
justify-content: center;
|
|
8846
|
+
margin-left: 8px;
|
|
8847
|
+
}
|
|
8848
|
+
&-single {
|
|
8849
|
+
&-focused {
|
|
8850
|
+
.focusColor();
|
|
8851
|
+
}
|
|
8852
|
+
&-disabled {
|
|
8853
|
+
background-color: @disabled-contain-bg;
|
|
8854
|
+
color: @disabled-color;
|
|
8855
|
+
&:hover {
|
|
8856
|
+
cursor: not-allowed;
|
|
8857
|
+
}
|
|
8858
|
+
}
|
|
8859
|
+
&:hover .@{select-prefix-cls}-icon-clear {
|
|
8860
|
+
opacity: 1;
|
|
8861
|
+
}
|
|
8862
|
+
&-text {
|
|
8863
|
+
color: #666;
|
|
8864
|
+
.over();
|
|
8865
|
+
}
|
|
8866
|
+
&-disabled-text {
|
|
8867
|
+
color: @disabled-color;
|
|
8868
|
+
}
|
|
8869
|
+
}
|
|
8870
|
+
|
|
8871
|
+
.@{select-prefix-cls}-selection-item {
|
|
8872
|
+
// position: relative;
|
|
8873
|
+
display: inline-flex;
|
|
8874
|
+
box-sizing: border-box;
|
|
8875
|
+
align-items: center;
|
|
8876
|
+
vertical-align: middle;
|
|
8877
|
+
max-width: 100%;
|
|
8878
|
+
height: 20px;
|
|
8879
|
+
line-height: 20px;
|
|
8880
|
+
margin: 2px 8px 2px 0;
|
|
8881
|
+
// margin: 2px 4px 2px 0;
|
|
8882
|
+
// margin-right: 4px;
|
|
8883
|
+
// padding-left: 8px;
|
|
8884
|
+
// background: #fafafa;
|
|
8885
|
+
// border: 1px solid #d9d9d9;
|
|
8886
|
+
// border-radius: 2px;
|
|
8887
|
+
cursor: default;
|
|
8888
|
+
user-select: none;
|
|
8889
|
+
&-small {
|
|
8890
|
+
height: 18px;
|
|
8891
|
+
line-height: 18px;
|
|
8892
|
+
font-size: 12px;
|
|
8893
|
+
}
|
|
8894
|
+
|
|
8895
|
+
&-middle {
|
|
8896
|
+
font-size: 12px;
|
|
8897
|
+
height: 18px;
|
|
8898
|
+
line-height: 18px;
|
|
8899
|
+
}
|
|
8900
|
+
|
|
8901
|
+
&-large {
|
|
8902
|
+
font-size: 14px;
|
|
8903
|
+
line-height: 22px;
|
|
8904
|
+
height: 22px;
|
|
8905
|
+
}
|
|
8906
|
+
|
|
8907
|
+
&-content {
|
|
8908
|
+
display: inline-flex;
|
|
8909
|
+
align-items: center;
|
|
8910
|
+
vertical-align: middle;
|
|
8911
|
+
padding: 0 7px;
|
|
8912
|
+
overflow: hidden;
|
|
8913
|
+
white-space: nowrap;
|
|
8914
|
+
text-overflow: ellipsis;
|
|
8915
|
+
border: 1px solid #ccc;
|
|
8916
|
+
color: #212121;
|
|
8917
|
+
}
|
|
8918
|
+
// &-remove {
|
|
8919
|
+
// text-align: center;
|
|
8920
|
+
// text-transform: none;
|
|
8921
|
+
// display: inline-flex;
|
|
8922
|
+
// color: rgba(0, 0, 0, 0.45);
|
|
8923
|
+
// line-height: inherit;
|
|
8924
|
+
// cursor: pointer;
|
|
8925
|
+
// &:hover {
|
|
8926
|
+
// color: #212121;
|
|
8927
|
+
// }
|
|
8928
|
+
// }
|
|
8929
|
+
&-span {
|
|
8930
|
+
position: relative;
|
|
8931
|
+
margin-left: 0.5px;
|
|
8932
|
+
box-sizing: border-box;
|
|
8933
|
+
}
|
|
8934
|
+
&-input {
|
|
8935
|
+
// opacity: 0;
|
|
8936
|
+
cursor: text;
|
|
8937
|
+
margin: 0;
|
|
8938
|
+
padding: 0;
|
|
8939
|
+
background: 0 0;
|
|
8940
|
+
border: none;
|
|
8941
|
+
outline: none;
|
|
8942
|
+
appearance: none;
|
|
8943
|
+
width: 100%;
|
|
8944
|
+
min-width: 20px;
|
|
8945
|
+
}
|
|
8946
|
+
}
|
|
8947
|
+
|
|
8948
|
+
// 多选
|
|
8949
|
+
&-multiple {
|
|
8950
|
+
&-disabled {
|
|
8951
|
+
cursor: not-allowed;
|
|
8952
|
+
background-color: @disabled-contain-bg;
|
|
8953
|
+
color: @disabled-color;
|
|
8954
|
+
}
|
|
8955
|
+
&:hover .@{select-prefix-cls}-icon-clear {
|
|
8956
|
+
opacity: 1;
|
|
8957
|
+
}
|
|
8958
|
+
&-selector {
|
|
8959
|
+
position: relative;
|
|
8960
|
+
cursor: text;
|
|
8961
|
+
padding-right: 24px;
|
|
8962
|
+
display: flex;
|
|
8963
|
+
flex-wrap: wrap;
|
|
8964
|
+
align-items: center;
|
|
8965
|
+
}
|
|
8966
|
+
.@{select-prefix-cls}-wrapper {
|
|
8967
|
+
&:hover:not(.@{select-prefix-cls}-multiple-disabled) {
|
|
8968
|
+
border-bottom: 1px solid @select-g-color-border-hover;
|
|
8969
|
+
}
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8972
|
+
&-footer {
|
|
8973
|
+
color: @select-font-color;
|
|
8974
|
+
display: inline-flex;
|
|
8975
|
+
align-items: center;
|
|
8976
|
+
width: 100%;
|
|
8977
|
+
padding: 0 12px;
|
|
8978
|
+
height: 32px;
|
|
8979
|
+
line-height: 32px;
|
|
8980
|
+
border-top: 1px solid #d9d9d9;
|
|
8981
|
+
box-sizing: border-box;
|
|
8982
|
+
|
|
8983
|
+
&-hadSelected {
|
|
8984
|
+
color: #999999;
|
|
8985
|
+
padding-left: 12px;
|
|
8986
|
+
> span {
|
|
8987
|
+
color: @select-footer-g-text-color-selected;
|
|
8988
|
+
padding: 0 2px;
|
|
8989
|
+
}
|
|
8990
|
+
}
|
|
8991
|
+
}
|
|
8992
|
+
}
|
|
8993
|
+
|
|
8994
|
+
&.topLeft.hidden,
|
|
8995
|
+
&.bottomLeft.hidden,
|
|
8996
|
+
&.topRight.hidden,
|
|
8997
|
+
&.bottomRight.hidden {
|
|
8998
|
+
opacity: 0;
|
|
8999
|
+
visibility: hidden;
|
|
9000
|
+
transition: all calc(@transition-duration - 0.1s) @ease;
|
|
9001
|
+
}
|
|
9002
|
+
}
|
|
9003
|
+
|
|
9004
|
+
|
|
8948
9005
|
|
|
8949
9006
|
|
|
8950
9007
|
|
|
@@ -9036,7 +9093,7 @@ textarea {
|
|
|
9036
9093
|
// color
|
|
9037
9094
|
@select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
|
|
9038
9095
|
@select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', @color-background-contain-disabled);
|
|
9039
|
-
@select-item-active-bg: var(~'@{select-custom-prefix}-color-background',
|
|
9096
|
+
@select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
|
|
9040
9097
|
@select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
|
|
9041
9098
|
@select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
|
|
9042
9099
|
@select-g-color-border-foucs: var(~'@{select-custom-prefix}-color-border-foucs', @color-theme);
|
|
@@ -9045,7 +9102,7 @@ textarea {
|
|
|
9045
9102
|
@select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', @color-text-third);
|
|
9046
9103
|
@select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-theme);
|
|
9047
9104
|
@select-font-color: var(~'@{select-custom-prefix}-footer-color-text', @color-text-primary);
|
|
9048
|
-
@select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected',
|
|
9105
|
+
@select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
|
|
9049
9106
|
@select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
|
|
9050
9107
|
|
|
9051
9108
|
// font
|
|
@@ -9892,16 +9949,19 @@ textarea {
|
|
|
9892
9949
|
|
|
9893
9950
|
|
|
9894
9951
|
|
|
9895
|
-
|
|
9896
9952
|
@steps-prefix-cls: ~'@{kd-prefix}-steps';
|
|
9897
9953
|
|
|
9898
9954
|
.@{steps-prefix-cls} {
|
|
9899
9955
|
display: flex;
|
|
9900
9956
|
justify-content: space-between;
|
|
9901
|
-
align-items: baseline;
|
|
9902
9957
|
|
|
9903
|
-
|
|
9904
|
-
|
|
9958
|
+
.@{steps-prefix-cls}-icon {
|
|
9959
|
+
border: 2px solid;
|
|
9960
|
+
padding-top: 1px;
|
|
9961
|
+
}
|
|
9962
|
+
|
|
9963
|
+
.@{kd-prefix}icon-exclamatory {
|
|
9964
|
+
font-size: 30px;
|
|
9905
9965
|
}
|
|
9906
9966
|
|
|
9907
9967
|
&-item {
|
|
@@ -9922,25 +9982,21 @@ textarea {
|
|
|
9922
9982
|
}
|
|
9923
9983
|
|
|
9924
9984
|
&-clickable&-wait {
|
|
9925
|
-
|
|
9926
9985
|
.@{steps-prefix-cls}-icon,
|
|
9927
9986
|
.@{steps-prefix-cls}-item-title {
|
|
9928
9987
|
transition: all @steps-duration-promptly;
|
|
9929
9988
|
}
|
|
9930
9989
|
|
|
9931
|
-
|
|
9932
9990
|
&:hover {
|
|
9933
9991
|
.@{steps-prefix-cls}-icon {
|
|
9934
|
-
// background-color: @steps-color-background-wait-icon-hover;
|
|
9935
|
-
|
|
9936
9992
|
background-color: @steps-color-white;
|
|
9937
|
-
color: @steps-color-
|
|
9938
|
-
border:
|
|
9993
|
+
color: @steps-color-hover;
|
|
9994
|
+
border-color: @steps-color-hover;
|
|
9939
9995
|
}
|
|
9940
9996
|
|
|
9941
9997
|
.@{steps-prefix-cls}-item-title,
|
|
9942
9998
|
.@{steps-prefix-cls}-item-description {
|
|
9943
|
-
color: @steps-color-
|
|
9999
|
+
color: @steps-color-hover;
|
|
9944
10000
|
}
|
|
9945
10001
|
}
|
|
9946
10002
|
}
|
|
@@ -9973,11 +10029,12 @@ textarea {
|
|
|
9973
10029
|
content: '';
|
|
9974
10030
|
width: 100%;
|
|
9975
10031
|
height: @steps-line-sizing-height;
|
|
9976
|
-
|
|
10032
|
+
border-bottom: 1px dashed @steps-color-wait;
|
|
10033
|
+
border-left: 1px dashed @steps-color-wait;
|
|
9977
10034
|
position: absolute;
|
|
9978
10035
|
left: 50%;
|
|
9979
10036
|
top: calc(50% - @steps-line-sizing-height / 2);
|
|
9980
|
-
transition: width @steps-duration-promptly
|
|
10037
|
+
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)
|
|
9981
10038
|
}
|
|
9982
10039
|
|
|
9983
10040
|
&:last-child {
|
|
@@ -9994,7 +10051,6 @@ textarea {
|
|
|
9994
10051
|
justify-content: center;
|
|
9995
10052
|
align-items: center;
|
|
9996
10053
|
|
|
9997
|
-
// background-color:@steps-color-white;
|
|
9998
10054
|
.@{steps-prefix-cls}-icon {
|
|
9999
10055
|
width: @steps-icon-sizing-width;
|
|
10000
10056
|
height: @steps-icon-sizing-width;
|
|
@@ -10005,7 +10061,7 @@ textarea {
|
|
|
10005
10061
|
color: @steps-color-wait;
|
|
10006
10062
|
font-size: calc(@steps-icon-sizing-width - 13px);
|
|
10007
10063
|
border-radius: 50%;
|
|
10008
|
-
border:
|
|
10064
|
+
border-color: @steps-color-wait;
|
|
10009
10065
|
box-sizing: border-box;
|
|
10010
10066
|
}
|
|
10011
10067
|
}
|
|
@@ -10026,7 +10082,6 @@ textarea {
|
|
|
10026
10082
|
}
|
|
10027
10083
|
|
|
10028
10084
|
.@{steps-prefix-cls}-item-description {
|
|
10029
|
-
|
|
10030
10085
|
line-height: 20px;
|
|
10031
10086
|
font-size: @steps-font-size;
|
|
10032
10087
|
color: @steps-color-wait;
|
|
@@ -10035,19 +10090,21 @@ textarea {
|
|
|
10035
10090
|
word-break: break-word;
|
|
10036
10091
|
display: -webkit-box;
|
|
10037
10092
|
-webkit-box-orient: vertical;
|
|
10038
|
-
|
|
10039
10093
|
width: @steps-vertical-description-sizing-width;
|
|
10040
|
-
|
|
10041
10094
|
}
|
|
10042
10095
|
}
|
|
10043
10096
|
|
|
10044
10097
|
&-process {
|
|
10098
|
+
color: @steps-color-hover;
|
|
10099
|
+
|
|
10045
10100
|
.@{steps-prefix-cls}-icon {
|
|
10046
|
-
background-color: @steps-color-
|
|
10101
|
+
background-color: @steps-color-white;
|
|
10102
|
+
color: @steps-color-hover;
|
|
10103
|
+
border-color: @steps-color-hover;
|
|
10047
10104
|
}
|
|
10048
10105
|
|
|
10049
|
-
.@{steps-prefix-cls}-item-title {
|
|
10050
|
-
color: @steps-color-
|
|
10106
|
+
.@{steps-prefix-cls}-item-title, .@{steps-prefix-cls}-item-description {
|
|
10107
|
+
color: @steps-color-hover;
|
|
10051
10108
|
}
|
|
10052
10109
|
}
|
|
10053
10110
|
|
|
@@ -10063,12 +10120,11 @@ textarea {
|
|
|
10063
10120
|
.@{steps-prefix-cls}-icon {
|
|
10064
10121
|
background-color: @steps-color-white;
|
|
10065
10122
|
color: @steps-color-completed;
|
|
10066
|
-
border:
|
|
10123
|
+
border-color: @steps-color-completed;
|
|
10067
10124
|
box-sizing: border-box;
|
|
10068
10125
|
}
|
|
10069
10126
|
|
|
10070
10127
|
.@{steps-prefix-cls}-item-content {
|
|
10071
|
-
|
|
10072
10128
|
.@{steps-prefix-cls}-item-title,
|
|
10073
10129
|
.@{steps-prefix-cls}-item-description {
|
|
10074
10130
|
color: @steps-color-completed;
|
|
@@ -10076,31 +10132,22 @@ textarea {
|
|
|
10076
10132
|
}
|
|
10077
10133
|
}
|
|
10078
10134
|
|
|
10079
|
-
&-iconContainer-finish {
|
|
10080
|
-
&::after {
|
|
10081
|
-
background-color: @steps-color-completed;
|
|
10082
|
-
}
|
|
10083
|
-
}
|
|
10084
10135
|
|
|
10085
10136
|
&-error {
|
|
10086
10137
|
.@{steps-prefix-cls}-icon {
|
|
10087
10138
|
color: @steps-color-error;
|
|
10088
|
-
border:
|
|
10139
|
+
border-color: @steps-color-error;
|
|
10089
10140
|
}
|
|
10090
10141
|
|
|
10091
10142
|
.@{steps-prefix-cls}-item-content {
|
|
10092
|
-
|
|
10093
10143
|
.@{steps-prefix-cls}-item-title,
|
|
10094
10144
|
.@{steps-prefix-cls}-item-description {
|
|
10095
10145
|
color: @steps-color-error;
|
|
10096
10146
|
}
|
|
10097
10147
|
}
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
10148
|
}
|
|
10101
10149
|
}
|
|
10102
10150
|
|
|
10103
|
-
|
|
10104
10151
|
&-bottomLable {
|
|
10105
10152
|
.@{steps-prefix-cls}-item-iconContainer {
|
|
10106
10153
|
margin-bottom: 4px;
|
|
@@ -10178,26 +10225,23 @@ textarea {
|
|
|
10178
10225
|
|
|
10179
10226
|
@steps-prefix: '--@{kd-prefix}-c-steps';
|
|
10180
10227
|
|
|
10181
|
-
@steps-duration-promptly: var(~'@{steps-prefix}-duration-promptly', @duration-promptly);
|
|
10182
|
-
@steps-transition-fn: cubic-bezier(0.48, 0.04, 0.52, 0.96);
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
10228
|
// color
|
|
10187
|
-
@steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-
|
|
10229
|
+
@steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-success);//已经完成
|
|
10230
|
+
@steps-color-hover: var(~'@{steps-prefix}-color-hover', @color-theme);
|
|
10188
10231
|
@steps-color-error: var(~'@{steps-prefix}-color-error', @color-error);
|
|
10189
|
-
@steps-color-wait: var(~'@{steps-prefix}-color-wait',
|
|
10232
|
+
@steps-color-wait: var(~'@{steps-prefix}-color-wait', #999);//未开始 等待
|
|
10190
10233
|
@steps-color-white: var(~'@{steps-prefix}-color-white',@color-white);
|
|
10191
10234
|
@steps-color-background-process-icon: var(~'@{steps-prefix}-icon-color-background', @color-theme);//图标的颜色
|
|
10192
10235
|
|
|
10193
|
-
|
|
10194
10236
|
// font
|
|
10195
10237
|
@steps-font-size: var(~'@{steps-prefix}-font-size', @font-size-small); // 文字大小
|
|
10196
10238
|
|
|
10239
|
+
// motion
|
|
10240
|
+
@steps-duration-promptly: var(~'@{steps-prefix}-motion-duration', @duration-promptly);
|
|
10197
10241
|
|
|
10198
10242
|
// sizing
|
|
10199
10243
|
@steps-icon-sizing-width: var(~'@{steps-prefix}-icon-sizing-width', 28px);//图标的大小
|
|
10200
|
-
@steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height',
|
|
10244
|
+
@steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 1px);//连接线高度
|
|
10201
10245
|
@steps-horizontal-description-sizing-height: var(~'@{steps-prefix}-horizontal-description-sizing-height', 60px);//内容部分高度 横向
|
|
10202
10246
|
@steps-vertical-description-sizing-width: var(~'@{steps-prefix}-vertical-description-sizing-width', 200px);//内容部分宽度 纵向
|
|
10203
10247
|
|
|
@@ -12564,7 +12608,7 @@ template {
|
|
|
12564
12608
|
&-size-large {
|
|
12565
12609
|
.tag-size(@tag-large-font-size, @tag-large-height, @tag-large-padding-horizontal);
|
|
12566
12610
|
}
|
|
12567
|
-
|
|
12611
|
+
|
|
12568
12612
|
transition: all @tag-g-motion-duration;
|
|
12569
12613
|
// 状态标签
|
|
12570
12614
|
&-shape-status {
|
|
@@ -12588,16 +12632,6 @@ template {
|
|
|
12588
12632
|
// 文本标签
|
|
12589
12633
|
&-shape-text {
|
|
12590
12634
|
.tag-text-color(@tag-process-color);
|
|
12591
|
-
.tag-text-padding(@tag-small-padding-horizontal)
|
|
12592
|
-
}
|
|
12593
|
-
&-shape-text.@{tag-prefix-cls}-size-small {
|
|
12594
|
-
.tag-text-padding(@tag-small-padding-horizontal)
|
|
12595
|
-
}
|
|
12596
|
-
&-shape-text.@{tag-prefix-cls}-size-middle {
|
|
12597
|
-
.tag-text-padding(@tag-middle-padding-horizontal)
|
|
12598
|
-
}
|
|
12599
|
-
&-shape-text.@{tag-prefix-cls}-size-large {
|
|
12600
|
-
.tag-text-padding(@tag-large-padding-horizontal)
|
|
12601
12635
|
}
|
|
12602
12636
|
each(@types, {
|
|
12603
12637
|
&-shape-text.@{tag-prefix-cls}-@{value} {
|
|
@@ -12622,13 +12656,13 @@ template {
|
|
|
12622
12656
|
&:not(.@{tag-prefix-cls}-closable-disabled):hover {
|
|
12623
12657
|
border-color: @tag-edit-g-color-border-hover;
|
|
12624
12658
|
.@{tag-prefix-cls}-closeWrapper {
|
|
12625
|
-
background-color: @tag-edit-cloesWrapper-g-color-background-hover;
|
|
12659
|
+
// background-color: @tag-edit-cloesWrapper-g-color-background-hover;
|
|
12626
12660
|
color: @tag-edit-cloesWrapper-g-text-color-hover;
|
|
12627
12661
|
}
|
|
12628
12662
|
}
|
|
12629
12663
|
|
|
12630
12664
|
&.@{tag-prefix-cls}-closable {
|
|
12631
|
-
padding-right:
|
|
12665
|
+
padding-right: 8px;
|
|
12632
12666
|
}
|
|
12633
12667
|
}
|
|
12634
12668
|
|
|
@@ -12655,28 +12689,18 @@ template {
|
|
|
12655
12689
|
}
|
|
12656
12690
|
&-closable.@{tag-prefix-cls}-size-middle {
|
|
12657
12691
|
line-height: @tag-middle-height;
|
|
12658
|
-
|
|
12659
|
-
.@{tag-prefix-cls}-closeWrapper {
|
|
12660
|
-
width: calc(@tag-middle-height - 2px);
|
|
12661
|
-
height: calc(@tag-middle-height - 2px);
|
|
12662
|
-
}
|
|
12663
12692
|
}
|
|
12664
12693
|
&-closable.@{tag-prefix-cls}-size-large {
|
|
12665
12694
|
line-height: @tag-large-height;
|
|
12666
12695
|
padding-left: @tag-large-padding-horizontal;
|
|
12667
12696
|
|
|
12668
12697
|
.@{tag-prefix-cls}-closeWrapper {
|
|
12669
|
-
width: calc(@tag-large-height - 2px);
|
|
12670
|
-
height: calc(@tag-large-height - 2px);
|
|
12671
|
-
|
|
12672
12698
|
.@{tag-prefix-cls}-close-icon {
|
|
12673
12699
|
font-size: 14px;
|
|
12674
12700
|
}
|
|
12675
12701
|
}
|
|
12676
12702
|
}
|
|
12677
12703
|
&-closeWrapper {
|
|
12678
|
-
width: calc(@tag-middle-height - 2px);
|
|
12679
|
-
height: calc(@tag-middle-height - 2px);
|
|
12680
12704
|
margin-left: 4px;
|
|
12681
12705
|
display: inline-flex;
|
|
12682
12706
|
justify-content: center;
|
|
@@ -12690,6 +12714,7 @@ template {
|
|
|
12690
12714
|
}
|
|
12691
12715
|
|
|
12692
12716
|
|
|
12717
|
+
|
|
12693
12718
|
// code component mixin here
|
|
12694
12719
|
.tag-size(@size, @height, @padding) {
|
|
12695
12720
|
font-size: @size;
|
|
@@ -12719,19 +12744,6 @@ template {
|
|
|
12719
12744
|
align-items: center;
|
|
12720
12745
|
padding: 0;
|
|
12721
12746
|
border-radius: 0;
|
|
12722
|
-
&::before{
|
|
12723
|
-
content: '';
|
|
12724
|
-
display: block;
|
|
12725
|
-
background-color: @color;
|
|
12726
|
-
border-radius: 50%;
|
|
12727
|
-
}
|
|
12728
|
-
}
|
|
12729
|
-
.tag-text-padding(@padding) {
|
|
12730
|
-
&::before{
|
|
12731
|
-
width: @padding;
|
|
12732
|
-
height: @padding;
|
|
12733
|
-
margin-right: @padding;
|
|
12734
|
-
}
|
|
12735
12747
|
}
|
|
12736
12748
|
|
|
12737
12749
|
|
|
@@ -12751,7 +12763,7 @@ template {
|
|
|
12751
12763
|
@tag-edit-g-text-color: var(~'@{tag-custom-prefix}-edit-color-text', @color-text-primary);
|
|
12752
12764
|
@tag-edit-g-color-border-hover: var(~'@{tag-custom-prefix}-edit-color-border-hover', @color-theme);
|
|
12753
12765
|
@tag-edit-cloesWrapper-g-color-background-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-background-hover', @color-theme);
|
|
12754
|
-
@tag-edit-cloesWrapper-g-text-color-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-text-hover', @color-
|
|
12766
|
+
@tag-edit-cloesWrapper-g-text-color-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-text-hover', @color-theme);
|
|
12755
12767
|
@tag-edit-g-color-background-disabled: var(~'@{tag-custom-prefix}-edit-color-background-disabled', @color-background-contain-disabled);
|
|
12756
12768
|
@tag-edit-g-color-border-disabled: var(~'@{tag-custom-prefix}-edit-color-background-disabled', @color-border-strong);
|
|
12757
12769
|
@tag-edit-g-text-color-disabled: var(~'@{tag-custom-prefix}-edit-color-text-disabled', @color-border-strong);
|