@zat-design/sisyphus-react 3.4.0-beta.1 → 3.4.0-beta.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.
@@ -682,7 +682,7 @@
682
682
  -webkit-align-items: center !important;
683
683
  -ms-flex-align: center !important;
684
684
  align-items: center !important;
685
- padding: 12px var(--zaui-space-size-md, 16px) !important;
685
+ padding: 10px var(--zaui-space-size-md, 16px) !important;
686
686
  background: var(--zaui-area, #fafafa);
687
687
  }
688
688
  .pro-collapse .ant-collapse-header-text {
@@ -702,6 +702,7 @@
702
702
  }
703
703
  .pro-collapse .ant-collapse-content-box .pro-collapse-content {
704
704
  padding: var(--zaui-space-size-md, 16px);
705
+ padding-top: var(--zaui-space-size-sm, 8px);
705
706
  padding-bottom: 0;
706
707
  background: var(--zaui-base-bg, #ffffff);
707
708
  }
@@ -710,13 +711,12 @@
710
711
  background: var(--zaui-base-bg, #ffffff);
711
712
  }
712
713
  .pro-collapse.pro-collapse-level2 .ant-collapse-header {
713
- margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
714
714
  padding: 0 !important;
715
715
  background: var(--zaui-base-bg, #ffffff);
716
716
  }
717
717
  .pro-collapse.pro-collapse-level2 .ant-collapse-header .ant-collapse-header-text {
718
718
  position: relative;
719
- padding-left: var(--zaui-space-size-sm, 8px);
719
+ padding-left: 12px;
720
720
  font-size: var(--zaui-font-size, 14px);
721
721
  }
722
722
  .pro-collapse.pro-collapse-level2 .ant-collapse-header .ant-collapse-header-text::before {
@@ -734,6 +734,17 @@
734
734
  .pro-collapse.pro-collapse-level2 .ant-collapse-header .ant-collapse-extra .extra-info {
735
735
  margin-right: var(--zaui-space-size-sm, 8px);
736
736
  }
737
+ .pro-collapse.pro-collapse-level2 .pro-collapse-content {
738
+ padding-top: var(--zaui-space-size-sm, 8px) !important;
739
+ }
740
+ .pro-collapse.pro-collapse-level2 .pro-collapse-level2-collapse .ant-collapse-header {
741
+ padding: 0 8px 6px !important;
742
+ border-bottom: 2px solid #dee0e3;
743
+ margin: 0 -8px;
744
+ }
745
+ .pro-collapse.pro-collapse-level2 .pro-collapse-level2-collapse .ant-collapse-header .ant-collapse-arrow {
746
+ right: 8px;
747
+ }
737
748
  .pro-collapse.pro-collapse-level2 .pro-collapse-level2-collapse .ant-collapse-extra .extra-info {
738
749
  margin-right: var(--zaui-space-size-lg, 32px);
739
750
  }
@@ -759,7 +770,7 @@
759
770
  }
760
771
  .pro-collapse.pro-collapse-list .ant-descriptions-row > th,
761
772
  .pro-collapse.pro-collapse-list .ant-descriptions-row > td {
762
- padding: var(--zaui-space-size-md, 16px) 0;
773
+ padding: var(--zaui-space-size-sm, 8px) 0;
763
774
  background: #fafafa;
764
775
  }
765
776
  .pro-collapse.pro-collapse-list .ant-descriptions-row > th.ant-descriptions-item,
@@ -787,9 +798,6 @@
787
798
  font-weight: 500 !important;
788
799
  font-size: var(--zaui-font-size, 14px);
789
800
  }
790
- .pro-collapse.pro-collapse-list .ant-descriptions {
791
- margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
792
- }
793
801
  .pro-footer {
794
802
  position: fixed;
795
803
  right: 0;
@@ -819,8 +827,8 @@
819
827
  background: var(--zaui-disabled-bg);
820
828
  }
821
829
  .pro-header {
822
- background-color: var(--zaui-base-bg, #ffffff);
823
830
  padding: 16px 0 0 0 !important;
831
+ background-color: var(--zaui-base-bg, #ffffff);
824
832
  }
825
833
  .pro-header.pro-header-no-back.pro-header-has-describe .pro-header-top {
826
834
  padding-left: var(--zaui-space-size-md, 16px);
@@ -832,24 +840,22 @@
832
840
  margin-left: 0 !important;
833
841
  }
834
842
  .pro-header.pro-header-no-describe {
843
+ margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
835
844
  -webkit-box-shadow: none;
836
845
  box-shadow: none;
837
- margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
838
846
  }
839
847
  .pro-header.pro-header-no-describe .pro-header-title,
840
848
  .pro-header.pro-header-no-describe .pro-header-top {
841
- padding: 0;
842
849
  margin: 0;
850
+ padding: 0;
843
851
  }
844
852
  .pro-header.pro-header-fixed.pro-header-no-describe .pro-header-top {
845
853
  padding-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1) - var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1));
846
854
  }
847
855
  .pro-header .pro-header-describe a {
848
- color: var(--zaui-link, #006AFF);
856
+ color: var(--zaui-link, #006aff);
849
857
  }
850
858
  .pro-header .pro-header-copy {
851
- margin-bottom: 0;
852
- width: 14px;
853
859
  display: -webkit-box;
854
860
  display: -webkit-flex;
855
861
  display: -ms-flexbox;
@@ -858,12 +864,14 @@
858
864
  -webkit-align-items: center;
859
865
  -ms-flex-align: center;
860
866
  align-items: center;
867
+ width: 16px;
868
+ margin-bottom: 0;
861
869
  }
862
870
  .pro-header .pro-header-copy .ant-typography-copy-success svg {
863
- width: 14px;
864
- height: 14px;
865
- fill: var(--zaui-success, #00AE4D);
866
871
  display: inline-block;
872
+ width: 16px;
873
+ height: 16px;
874
+ fill: var(--zaui-success, #00ae4d);
867
875
  }
868
876
  .pro-header .pro-header-copy .drag-icon div {
869
877
  display: -webkit-box;
@@ -872,26 +880,26 @@
872
880
  display: flex;
873
881
  }
874
882
  .pro-header .pro-header-copy .drag-icon svg {
875
- width: 14px;
876
- height: 14px;
877
- fill: #3F3F3F;
878
883
  display: inline-block;
884
+ width: 16px;
885
+ height: 16px;
886
+ fill: var(--zaui-brand, #006aff);
879
887
  }
880
888
  .pro-header .pro-header-tag {
881
- background: var(--ant-primary-1, #e6f4ff);
882
- color: var(--zaui-brand, #006AFF);
889
+ display: inline-block;
883
890
  padding: 4px 8px;
884
- border-radius: var(--zaui-border-radius-card, 2px);
885
- font-size: var(--zaui-font-size-sm, 12px);
891
+ color: var(--zaui-brand, #006aff);
886
892
  font-weight: normal;
893
+ font-size: var(--zaui-font-size-sm, 12px);
887
894
  line-height: 16px;
888
- display: inline-block;
889
895
  white-space: pre;
896
+ background: var(--ant-primary-1, #e6f4ff);
897
+ border-radius: var(--zaui-border-radius-card, 2px);
890
898
  }
891
899
  .pro-header .pro-header-title {
900
+ padding: 0 var(--zaui-space-size-md, 16px);
892
901
  font-weight: 500;
893
902
  font-size: var(--zaui-font-size-xl, 18px);
894
- padding: 0 var(--zaui-space-size-md, 16px);
895
903
  line-height: 22px;
896
904
  }
897
905
  .pro-header.pro-header-fixed {
@@ -906,35 +914,35 @@
906
914
  box-shadow: 0px 1px 2px 0px rgba(0, 55, 93, 0.1);
907
915
  }
908
916
  .pro-header .ant-breadcrumb li {
917
+ color: #1d2129;
909
918
  font-weight: 500;
910
- color: #1D2129;
911
919
  }
912
920
  .pro-header .ant-breadcrumb .ant-breadcrumb-link {
913
- font-size: var(--zaui-font-size-xl, 18px);
914
921
  display: -webkit-inline-box;
915
922
  display: -webkit-inline-flex;
916
923
  display: -ms-inline-flexbox;
917
924
  display: inline-flex;
925
+ font-size: var(--zaui-font-size-xl, 18px);
918
926
  }
919
927
  .pro-header .ant-breadcrumb .ant-breadcrumb-separator {
928
+ margin: 0 var(--zaui-space-size-xs, 4px);
929
+ color: #1d2129;
920
930
  font-weight: 500;
921
- color: #1D2129;
922
931
  font-size: var(--zaui-font-size-xl, 18px);
923
- margin: 0 var(--zaui-space-size-xs, 4px);
924
932
  }
925
933
  .pro-header .pro-header-top {
926
934
  display: -webkit-box;
927
935
  display: -webkit-flex;
928
936
  display: -ms-flexbox;
929
937
  display: flex;
930
- -webkit-box-pack: justify;
931
- -webkit-justify-content: space-between;
932
- -ms-flex-pack: justify;
933
- justify-content: space-between;
934
938
  -webkit-box-align: center;
935
939
  -webkit-align-items: center;
936
940
  -ms-flex-align: center;
937
941
  align-items: center;
942
+ -webkit-box-pack: justify;
943
+ -webkit-justify-content: space-between;
944
+ -ms-flex-pack: justify;
945
+ justify-content: space-between;
938
946
  margin-bottom: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
939
947
  padding: 0 var(--zaui-space-size-md, 16px);
940
948
  }
@@ -963,13 +971,13 @@
963
971
  align-items: center;
964
972
  }
965
973
  .pro-header .pro-header-top .pro-header-left ul li {
966
- color: #1D2129;
967
- font-size: var(--zaui-font-size-xl, 18px);
968
- font-weight: 500;
969
974
  display: -webkit-box;
970
975
  display: -webkit-flex;
971
976
  display: -ms-flexbox;
972
977
  display: flex;
978
+ color: #1d2129;
979
+ font-weight: 500;
980
+ font-size: var(--zaui-font-size-xl, 18px);
973
981
  }
974
982
  .pro-header .pro-header-top .pro-header-left ul li .breadcrumb-value {
975
983
  display: inline-block;
@@ -996,14 +1004,14 @@
996
1004
  margin-bottom: 0;
997
1005
  }
998
1006
  .pro-header .pro-header-top .pro-header-left ul li.version {
999
- background: var(--ant-primary-1, #e6f4ff);
1000
- border-radius: var(--zaui-border-radius, 4px);
1001
- color: var(--zaui-brand, #006AFF);
1002
- font-style: initial;
1007
+ height: 24px;
1003
1008
  padding: 0 var(--zaui-space-size-sm, 8px);
1009
+ color: var(--zaui-brand, #006aff);
1004
1010
  font-size: var(--zaui-font-size-sm, 12px);
1005
- height: 24px;
1011
+ font-style: initial;
1006
1012
  line-height: 24px;
1013
+ background: var(--ant-primary-1, #e6f4ff);
1014
+ border-radius: var(--zaui-border-radius, 4px);
1007
1015
  }
1008
1016
  .pro-header .pro-header-top .pro-header-left ul li.hidden {
1009
1017
  display: none;
@@ -1021,13 +1029,13 @@
1021
1029
  margin: 0;
1022
1030
  }
1023
1031
  .pro-header .pro-header-nav {
1032
+ position: relative;
1024
1033
  display: -webkit-box;
1025
1034
  display: -webkit-flex;
1026
1035
  display: -ms-flexbox;
1027
1036
  display: flex;
1028
- background: #F7F9FC;
1029
- border-top: 1px solid #F2F2F2;
1030
- position: relative;
1037
+ background: #f7f9fc;
1038
+ border-top: 1px solid #f2f2f2;
1031
1039
  }
1032
1040
  .pro-header .pro-header-nav.pro-header-nav-open .pro-header-fold .pro-header-fold-bg {
1033
1041
  -webkit-transform: rotate(180deg);
@@ -1050,31 +1058,31 @@
1050
1058
  cursor: pointer;
1051
1059
  }
1052
1060
  .pro-header .pro-header-nav .pro-header-fold .pro-header-fold-bg {
1053
- background: #fff;
1054
1061
  position: relative;
1055
1062
  z-index: 2;
1056
1063
  height: 26px;
1064
+ background: #fff;
1057
1065
  -webkit-transform: rotate(0deg);
1058
1066
  transform: rotate(0deg);
1059
1067
  -webkit-transform-origin: center;
1060
1068
  transform-origin: center;
1061
1069
  }
1062
1070
  .pro-header .pro-header-nav .pro-header-fold::before {
1063
- content: '';
1064
- z-index: 1;
1065
1071
  position: absolute;
1066
1072
  bottom: 13px;
1067
1073
  left: 50%;
1068
- -webkit-transform: translateX(-50%);
1069
- transform: translateX(-50%);
1074
+ z-index: 1;
1070
1075
  width: 140px;
1071
1076
  height: 1px;
1072
- background: -webkit-gradient(linear, left top, right top, from(rgba(238, 238, 238, 0)), color-stop(37%, var(--zaui-brand, #006AFF)), color-stop(57%, var(--zaui-brand, #006AFF)), to(rgba(216, 216, 216, 0)));
1073
- background: -webkit-linear-gradient(left, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006AFF) 37%, var(--zaui-brand, #006AFF) 57%, rgba(216, 216, 216, 0) 100%);
1074
- background: linear-gradient(90deg, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006AFF) 37%, var(--zaui-brand, #006AFF) 57%, rgba(216, 216, 216, 0) 100%);
1077
+ background: -webkit-gradient(linear, left top, right top, from(rgba(238, 238, 238, 0)), color-stop(37%, var(--zaui-brand, #006aff)), color-stop(57%, var(--zaui-brand, #006aff)), to(rgba(216, 216, 216, 0)));
1078
+ background: -webkit-linear-gradient(left, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006aff) 37%, var(--zaui-brand, #006aff) 57%, rgba(216, 216, 216, 0) 100%);
1079
+ background: linear-gradient(90deg, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006aff) 37%, var(--zaui-brand, #006aff) 57%, rgba(216, 216, 216, 0) 100%);
1080
+ -webkit-transform: translateX(-50%);
1081
+ transform: translateX(-50%);
1082
+ content: '';
1075
1083
  }
1076
1084
  .pro-header .pro-header-nav .pro-header-fold svg {
1077
- fill: var(--zaui-brand, #006AFF);
1085
+ fill: var(--zaui-brand, #006aff);
1078
1086
  }
1079
1087
  .pro-header .pro-header-nav ul {
1080
1088
  display: -webkit-box;
@@ -1084,15 +1092,15 @@
1084
1092
  -webkit-flex-wrap: wrap;
1085
1093
  -ms-flex-wrap: wrap;
1086
1094
  flex-wrap: wrap;
1095
+ height: 60px;
1087
1096
  padding: 0 16px;
1097
+ overflow: hidden;
1088
1098
  -webkit-transition: height 0.2s ease-in-out;
1089
1099
  transition: height 0.2s ease-in-out;
1090
- height: 60px;
1091
- overflow: hidden;
1092
1100
  }
1093
1101
  .pro-header .pro-header-nav ul li {
1094
- margin-right: 52px;
1095
1102
  margin-top: 4px;
1103
+ margin-right: 52px;
1096
1104
  margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
1097
1105
  }
1098
1106
  .pro-header .pro-header-nav ul li:last-child {
@@ -1125,9 +1133,9 @@
1125
1133
  -webkit-flex-wrap: wrap;
1126
1134
  -ms-flex-wrap: wrap;
1127
1135
  flex-wrap: wrap;
1128
- font-size: var(--zaui-font-size, 14px);
1129
1136
  padding: 0 var(--zaui-space-size-md, 16px);
1130
1137
  padding-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1) - var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1));
1138
+ font-size: var(--zaui-font-size, 14px);
1131
1139
  }
1132
1140
  .pro-header .pro-header-describe li {
1133
1141
  margin-left: var(--zaui-space-card, 32px);
@@ -1142,15 +1150,15 @@
1142
1150
  margin-left: 0;
1143
1151
  }
1144
1152
  .pro-header .pro-header-describe li span {
1153
+ color: #0a0a0a;
1145
1154
  font-weight: 400;
1146
- color: #0A0A0A;
1147
1155
  }
1148
1156
  .pro-header .pro-header-describe li span:first-child {
1149
1157
  margin-right: 12px;
1150
1158
  }
1151
1159
  .pro-header .pro-header-describe li span:last-child {
1152
- font-weight: 600;
1153
1160
  display: inline-grid;
1161
+ font-weight: 600;
1154
1162
  }
1155
1163
  .pro-header .pro-header-describe li span:last-child .pro-header-tag {
1156
1164
  margin-left: 4px;
@@ -2072,11 +2080,14 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2072
2080
  margin-left: 2px;
2073
2081
  }
2074
2082
  .pro-number-range .range-split {
2075
- width: 40px !important;
2076
- border-left: 0px;
2083
+ width: 32px !important;
2084
+ text-align: center !important;
2077
2085
  border-right: 0px;
2086
+ border-left: 0px;
2078
2087
  pointer-events: none;
2079
- text-align: center !important;
2088
+ }
2089
+ .pro-number-range .range-split.ant-input[disabled] {
2090
+ background: #fff !important;
2080
2091
  }
2081
2092
  .pro-number-range .ant-input-status-error.range-split {
2082
2093
  border-color: var(--zaui-danger, #ff5050);
@@ -2,13 +2,16 @@
2
2
  @import (reference) '~antd/es/style/themes/index.less';
3
3
 
4
4
  .pro-number-range {
5
-
6
5
  .range-split {
7
- width : 40px !important;
8
- border-left : 0px;
9
- border-right : 0px;
6
+ width: 32px !important;
7
+ text-align: center !important;
8
+
9
+ border-right: 0px;
10
+ border-left: 0px;
10
11
  pointer-events: none;
11
- text-align : center !important;
12
+ &.ant-input[disabled] {
13
+ background: #fff !important;
14
+ }
12
15
  }
13
16
 
14
17
  .@{ant-prefix}-input-status-error {
@@ -17,8 +20,6 @@
17
20
  }
18
21
  }
19
22
 
20
-
21
-
22
23
  & .@{ant-prefix}-input-rtl.range-right {
23
24
  border-right-width: 0;
24
25
  }
@@ -34,7 +35,7 @@
34
35
 
35
36
  .range-left,
36
37
  .range-right {
37
- width : calc(50% - 20px);
38
+ width: calc(50% - 20px);
38
39
  text-align: center;
39
40
  }
40
41
 
@@ -50,32 +51,32 @@
50
51
  }
51
52
 
52
53
  .range-right {
53
- width : 100%;
54
- border-top-left-radius : 0;
54
+ width: 100%;
55
+ border-top-left-radius: 0;
55
56
  border-bottom-left-radius: 0;
56
57
  }
57
58
  }
58
59
 
59
- &.@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact>*:not(:last-child) {
60
+ &.@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact > *:not(:last-child) {
60
61
  margin-right: 0;
61
62
  }
62
63
 
63
- >*:first-child {
64
- border-top-right-radius : 0 !important;
64
+ > *:first-child {
65
+ border-top-right-radius: 0 !important;
65
66
  border-bottom-right-radius: 0 !important;
66
67
 
67
- >.@{ant-prefix}-select-selector {
68
- border-top-right-radius : 0 !important;
68
+ > .@{ant-prefix}-select-selector {
69
+ border-top-right-radius: 0 !important;
69
70
  border-bottom-right-radius: 0 !important;
70
71
  }
71
72
  }
72
73
 
73
- >*:last-child {
74
- border-top-left-radius : 0 !important;
74
+ > *:last-child {
75
+ border-top-left-radius: 0 !important;
75
76
  border-bottom-left-radius: 0 !important;
76
77
 
77
- >.@{ant-prefix}-select-selector {
78
- border-top-left-radius : 0 !important;
78
+ > .@{ant-prefix}-select-selector {
79
+ border-top-left-radius: 0 !important;
79
80
  border-bottom-left-radius: 0 !important;
80
81
  }
81
82
  }
@@ -18,7 +18,7 @@
18
18
 
19
19
  .@{ant-prefix}-collapse-header {
20
20
  align-items: center !important;
21
- padding: 12px var(--zaui-space-size-md, 16px) !important;
21
+ padding: 10px var(--zaui-space-size-md, 16px) !important;
22
22
  background: var(--zaui-area, #fafafa);
23
23
  }
24
24
 
@@ -45,6 +45,7 @@
45
45
 
46
46
  .pro-collapse-content {
47
47
  padding: var(--zaui-space-size-md, 16px);
48
+ padding-top: var(--zaui-space-size-sm, 8px);
48
49
  padding-bottom: 0;
49
50
  background: var(--zaui-base-bg, #ffffff);
50
51
  }
@@ -55,13 +56,12 @@
55
56
  background: var(--zaui-base-bg, #ffffff);
56
57
 
57
58
  .@{ant-prefix}-collapse-header {
58
- margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
59
59
  padding: 0 !important;
60
60
  background: var(--zaui-base-bg, #ffffff);
61
61
 
62
62
  .@{ant-prefix}-collapse-header-text {
63
63
  position: relative;
64
- padding-left: var(--zaui-space-size-sm, 8px);
64
+ padding-left: 12px;
65
65
  font-size: var(--zaui-font-size, 14px);
66
66
 
67
67
  &::before {
@@ -84,7 +84,20 @@
84
84
  }
85
85
  }
86
86
 
87
+ .pro-collapse-content {
88
+ padding-top: var(--zaui-space-size-sm, 8px) !important;
89
+ }
90
+
87
91
  .pro-collapse-level2-collapse {
92
+ .@{ant-prefix}-collapse-header {
93
+ padding: 0 8px 6px !important;
94
+ border-bottom: 2px solid #dee0e3;
95
+ margin: 0 -8px;
96
+ .@{ant-prefix}-collapse-arrow{
97
+ right: 8px;
98
+ }
99
+ }
100
+
88
101
  .@{ant-prefix}-collapse-extra {
89
102
  .extra-info {
90
103
  margin-right: var(--zaui-space-size-lg, 32px);
@@ -131,7 +144,7 @@
131
144
  &.pro-collapse-list {
132
145
  .@{ant-prefix}-descriptions-row > th,
133
146
  .@{ant-prefix}-descriptions-row > td {
134
- padding: var(--zaui-space-size-md, 16px) 0;
147
+ padding: var(--zaui-space-size-sm, 8px) 0;
135
148
  background: #fafafa;
136
149
 
137
150
  &.@{ant-prefix}-descriptions-item {
@@ -166,8 +179,5 @@
166
179
  }
167
180
  }
168
181
 
169
- .@{ant-prefix}-descriptions {
170
- margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
171
- }
172
182
  }
173
183
  }