@zat-design/sisyphus-react 3.2.2-beta.8 → 3.2.2-beta.9

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 (116) hide show
  1. package/dist/index.esm.css +38 -2
  2. package/es/ProAction/index.less +3 -0
  3. package/es/ProDownload/style/index.less +5 -2
  4. package/es/ProDrawerForm/style/index.less +17 -14
  5. package/es/ProEditLabel/style/index.less +12 -9
  6. package/es/ProEditTable/index.js +8 -4
  7. package/es/ProEditTable/style/index.less +50 -42
  8. package/es/ProEditTable/utils/config.d.ts +1 -1
  9. package/es/ProEditTable/utils/config.js +3 -3
  10. package/es/ProEnum/style/index.less +3 -0
  11. package/es/ProForm/components/base/TextArea/index.less +1 -1
  12. package/es/ProForm/components/base/TimePicker/style/index.less +1 -1
  13. package/es/ProForm/components/combination/Container/style/index.less +3 -3
  14. package/es/ProForm/components/combination/FormList/style/index.less +3 -3
  15. package/es/ProForm/components/combination/Group/style/index.less +15 -15
  16. package/es/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  17. package/es/ProForm/components/combination/ProCombination/style/index.less +2 -2
  18. package/es/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  19. package/es/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  20. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  21. package/es/ProForm/style/index.less +46 -44
  22. package/es/ProIcon/style/index.less +4 -1
  23. package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
  24. package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  25. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  26. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  27. package/es/ProLayout/components/ProCollapse/style/index.less +24 -24
  28. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  29. package/es/ProLayout/components/ProHeader/style/index.less +9 -9
  30. package/es/ProLayout/style/index.less +10 -7
  31. package/es/ProSelect/index.less +3 -0
  32. package/es/ProStep/style/index.less +3 -0
  33. package/es/ProTable/index.js +3 -3
  34. package/es/ProTable/style/index.less +68 -54
  35. package/es/ProTabs/style/index.less +14 -11
  36. package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  37. package/es/ProThemeTools/component/PrdTools/index.js +7 -6
  38. package/es/ProThemeTools/component/PrdTools/style/index.less +6 -6
  39. package/es/ProThemeTools/index.d.ts +1 -1
  40. package/es/ProThemeTools/index.js +7 -2
  41. package/es/ProThemeTools/propsType.d.ts +4 -0
  42. package/es/ProThemeTools/style/index.less +6 -3
  43. package/es/ProThemeTools/utils/index.d.ts +1 -1
  44. package/es/ProThemeTools/utils/index.js +2 -1
  45. package/es/ProTooltip/style/index.less +3 -0
  46. package/es/ProTree/components/CloseIcon.js +2 -4
  47. package/es/ProTree/style/index.less +29 -26
  48. package/es/ProTreeModal/components/CloseIcon.js +2 -4
  49. package/es/ProTreeModal/components/Trigger.d.ts +3 -0
  50. package/es/ProTreeModal/components/Trigger.js +79 -19
  51. package/es/ProTreeModal/index.js +24 -3
  52. package/es/ProTreeModal/propsType.d.ts +5 -2
  53. package/es/ProTreeModal/style/index.less +11 -8
  54. package/es/ProTreeSelect/style/index.less +25 -22
  55. package/es/ProUpload/style/index.less +7 -4
  56. package/es/ProViewer/style/index.less +6 -3
  57. package/es/style/core/compatible.less +6 -6
  58. package/es/style/theme/antd.less +168 -156
  59. package/lib/ProAction/index.less +3 -0
  60. package/lib/ProDownload/style/index.less +5 -2
  61. package/lib/ProDrawerForm/style/index.less +17 -14
  62. package/lib/ProEditLabel/style/index.less +12 -9
  63. package/lib/ProEditTable/index.js +6 -2
  64. package/lib/ProEditTable/style/index.less +50 -42
  65. package/lib/ProEditTable/utils/config.d.ts +1 -1
  66. package/lib/ProEditTable/utils/config.js +3 -3
  67. package/lib/ProEnum/style/index.less +3 -0
  68. package/lib/ProForm/components/base/TextArea/index.less +1 -1
  69. package/lib/ProForm/components/base/TimePicker/style/index.less +1 -1
  70. package/lib/ProForm/components/combination/Container/style/index.less +3 -3
  71. package/lib/ProForm/components/combination/FormList/style/index.less +3 -3
  72. package/lib/ProForm/components/combination/Group/style/index.less +15 -15
  73. package/lib/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  74. package/lib/ProForm/components/combination/ProCombination/style/index.less +2 -2
  75. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  76. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  77. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  78. package/lib/ProForm/style/index.less +46 -44
  79. package/lib/ProIcon/style/index.less +4 -1
  80. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
  81. package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  82. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  83. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  84. package/lib/ProLayout/components/ProCollapse/style/index.less +24 -24
  85. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  86. package/lib/ProLayout/components/ProHeader/style/index.less +9 -9
  87. package/lib/ProLayout/style/index.less +10 -7
  88. package/lib/ProSelect/index.less +3 -0
  89. package/lib/ProStep/style/index.less +3 -0
  90. package/lib/ProTable/index.js +3 -3
  91. package/lib/ProTable/style/index.less +68 -54
  92. package/lib/ProTabs/style/index.less +14 -11
  93. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  94. package/lib/ProThemeTools/component/PrdTools/index.js +7 -6
  95. package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
  96. package/lib/ProThemeTools/index.d.ts +1 -1
  97. package/lib/ProThemeTools/index.js +7 -2
  98. package/lib/ProThemeTools/propsType.d.ts +4 -0
  99. package/lib/ProThemeTools/style/index.less +6 -3
  100. package/lib/ProThemeTools/utils/index.d.ts +1 -1
  101. package/lib/ProThemeTools/utils/index.js +2 -1
  102. package/lib/ProTooltip/style/index.less +3 -0
  103. package/lib/ProTree/components/CloseIcon.js +2 -4
  104. package/lib/ProTree/style/index.less +29 -26
  105. package/lib/ProTreeModal/components/CloseIcon.js +2 -4
  106. package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
  107. package/lib/ProTreeModal/components/Trigger.js +74 -18
  108. package/lib/ProTreeModal/index.js +24 -3
  109. package/lib/ProTreeModal/propsType.d.ts +5 -2
  110. package/lib/ProTreeModal/style/index.less +11 -8
  111. package/lib/ProTreeSelect/style/index.less +25 -22
  112. package/lib/ProUpload/style/index.less +7 -4
  113. package/lib/ProViewer/style/index.less +6 -3
  114. package/lib/style/core/compatible.less +6 -6
  115. package/lib/style/theme/antd.less +168 -156
  116. package/package.json +1 -1
@@ -19,38 +19,38 @@
19
19
  width: unset !important;
20
20
 
21
21
  &.pro-group-diy-width {
22
- .ant-space .ant-space-item {
22
+ .@{ant-prefix}-space .@{ant-prefix}-space-item {
23
23
  width: auto;
24
24
 
25
- .ant-space-item {
25
+ .@{ant-prefix}-space-item {
26
26
  width: auto;
27
27
  }
28
28
  }
29
29
  }
30
30
 
31
- .ant-space {
31
+ .@{ant-prefix}-space {
32
32
  width: 100%;
33
33
 
34
- .ant-space-item {
34
+ .@{ant-prefix}-space-item {
35
35
  width: 100%;
36
36
  }
37
37
 
38
- .ant-form-item {
38
+ .@{ant-prefix}-form-item {
39
39
 
40
40
  margin-bottom: 0 !important;
41
41
  }
42
42
  }
43
43
 
44
- .ant-form-item-label {
44
+ .@{ant-prefix}-form-item-label {
45
45
  display: none;
46
46
  }
47
47
 
48
- .ant-space-compact {
48
+ .@{ant-prefix}-space-compact {
49
49
  align-items: center;
50
50
  flex : auto;
51
51
  width : 100%;
52
52
 
53
- .ant-form-item {
53
+ .@{ant-prefix}-form-item {
54
54
  margin-bottom: 0 !important;
55
55
  }
56
56
 
@@ -62,8 +62,8 @@
62
62
  }
63
63
 
64
64
  // 定制内敛合并样式
65
- .ant-input-affix-wrapper,
66
- .ant-select {
65
+ .@{ant-prefix}-input-affix-wrapper,
66
+ .@{ant-prefix}-select {
67
67
  .border-radius(0, 0, 0, 0);
68
68
 
69
69
  &:nth-child(n+2) {
@@ -79,19 +79,19 @@
79
79
  }
80
80
  }
81
81
 
82
- .ant-select {
83
- .ant-select-selector {
82
+ .@{ant-prefix}-select {
83
+ .@{ant-prefix}-select-selector {
84
84
  .border-radius(0, 0, 0, 0);
85
85
  }
86
86
 
87
87
  &:first-child {
88
- .ant-select-selector {
88
+ .@{ant-prefix}-select-selector {
89
89
  .start-radius()
90
90
  }
91
91
  }
92
92
 
93
93
  &:last-child {
94
- .ant-select-selector {
94
+ .@{ant-prefix}-select-selector {
95
95
  .end-radius()
96
96
  }
97
97
  }
@@ -99,7 +99,7 @@
99
99
  }
100
100
 
101
101
  // 报错样式定制
102
- .ant-input-affix-wrapper-status-error~.group-separator {
102
+ .@{ant-prefix}-input-affix-wrapper-status-error~.group-separator {
103
103
  border-color: var(--ant-error-color);
104
104
  color : var(--ant-error-color);
105
105
  }
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  width: 100%;
4
4
 
5
- .ant-cascader {
5
+ .@{ant-prefix}-cascader {
6
6
  width: 50% !important;
7
7
 
8
8
  &.no-detail {
@@ -14,12 +14,12 @@
14
14
  width: 50%;
15
15
  margin-left: 2px;
16
16
 
17
- .ant-input-affix-wrapper {
17
+ .@{ant-prefix}-input-affix-wrapper {
18
18
  width: 100%;
19
19
  }
20
20
  }
21
21
 
22
- .ant-input-affix-wrapper {
22
+ .@{ant-prefix}-input-affix-wrapper {
23
23
  width: 50%;
24
24
  margin-left: 2px;
25
25
  }
@@ -1,4 +1,4 @@
1
- .pro-combination.ant-input-group.ant-input-group-compact {
1
+ .pro-combination.@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact {
2
2
  display: flex;
3
3
 
4
4
  & > * {
@@ -9,7 +9,7 @@
9
9
  flex: none;
10
10
  }
11
11
 
12
- & > *:not(.ant-btn) {
12
+ & > *:not(.@{ant-prefix}-btn) {
13
13
  flex: 1;
14
14
  }
15
15
  }
@@ -1,6 +1,6 @@
1
1
  .pro-modal-select,
2
2
  .pro-tree-modal {
3
- .ant-input-group-wrapper {
3
+ .@{ant-prefix}-input-group-wrapper {
4
4
  .close-icon {
5
5
  display: none;
6
6
  }
@@ -32,31 +32,49 @@
32
32
  }
33
33
  }
34
34
  &:hover {
35
- .ant-input,
36
- .ant-input-group-addon {
35
+ .@{ant-prefix}-input,
36
+ .@{ant-prefix}-input-group-addon {
37
37
  border-color: var(--zaui-brand-hover, #3387ff);
38
38
  }
39
+
40
+ .@{ant-prefix}-input-disabled {
41
+ border-color: #d9d9d9;
42
+ }
43
+
44
+ .@{ant-prefix}-input-disabled + span {
45
+ border-color: #d9d9d9;
46
+ .close-icon {
47
+ display: none;
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ .pro-tree-modal-input-appoint {
54
+ .@{ant-prefix}-input {
55
+ border-top-left-radius: 0;
56
+ border-bottom-left-radius: 0;
39
57
  }
40
58
  }
41
59
 
42
- .ant-input-group-wrapper-status-error {
60
+ .@{ant-prefix}-input-group-wrapper-status-error {
43
61
  &:hover {
44
- .ant-input,
45
- .ant-input-group-addon {
62
+ .@{ant-prefix}-input,
63
+ .@{ant-prefix}-input-group-addon {
46
64
  border-color: var(--ant-error-color, #ff4d4f);
47
65
  }
48
66
  }
49
67
  }
50
- .ant-input-group {
51
- .ant-input {
68
+ .@{ant-prefix}-input-group {
69
+ .@{ant-prefix}-input {
52
70
  padding-right: 26px;
53
71
  }
54
72
  }
55
73
 
56
74
  .trigger-no-hover {
57
75
  &:hover {
58
- .ant-input,
59
- .ant-input-group-addon {
76
+ .@{ant-prefix}-input,
77
+ .@{ant-prefix}-input-group-addon {
60
78
  border-color: @zaui-form-control-line;
61
79
  }
62
80
  }
@@ -72,7 +90,7 @@
72
90
  fill: #c5c7cd;
73
91
  }
74
92
 
75
- .ant-input-group-addon {
93
+ .@{ant-prefix}-input-group-addon {
76
94
  padding: 0px var(--zaui-space-size-sm, 8px);
77
95
  background-color: var(--zaui-base-bg, #ffffff);
78
96
  cursor: pointer;
@@ -8,7 +8,7 @@
8
8
  text-align : center !important;
9
9
  }
10
10
 
11
- .ant-input-status-error {
11
+ .@{ant-prefix}-input-status-error {
12
12
  &.range-split {
13
13
  border-color: @zaui-danger;
14
14
  }
@@ -16,16 +16,16 @@
16
16
 
17
17
 
18
18
 
19
- & .ant-input-rtl.range-right {
19
+ & .@{ant-prefix}-input-rtl.range-right {
20
20
  border-right-width: 0;
21
21
  }
22
22
 
23
- & .ant-input-rtl.range-right:hover,
24
- & .ant-input-rtl.range-right:focus {
23
+ & .@{ant-prefix}-input-rtl.range-right:hover,
24
+ & .@{ant-prefix}-input-rtl.range-right:focus {
25
25
  border-right-width: 1px;
26
26
  }
27
27
 
28
- .ant-form-item {
28
+ .@{ant-prefix}-form-item {
29
29
  margin-bottom: 0;
30
30
  }
31
31
 
@@ -36,13 +36,13 @@
36
36
  }
37
37
 
38
38
  .range-left {
39
- .ant-input-number {
39
+ .@{ant-prefix}-input-number {
40
40
  border-right: none;
41
41
  }
42
42
  }
43
43
 
44
44
  .range-right {
45
- .ant-input-number {
45
+ .@{ant-prefix}-input-number {
46
46
  border-left: none;
47
47
  }
48
48
 
@@ -53,7 +53,7 @@
53
53
  }
54
54
  }
55
55
 
56
- &.ant-input-group.ant-input-group-compact>*:not(:last-child) {
56
+ &.@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact>*:not(:last-child) {
57
57
  margin-right: 0;
58
58
  }
59
59
 
@@ -61,7 +61,7 @@
61
61
  border-top-right-radius : 0 !important;
62
62
  border-bottom-right-radius: 0 !important;
63
63
 
64
- >.ant-select-selector {
64
+ >.@{ant-prefix}-select-selector {
65
65
  border-top-right-radius : 0 !important;
66
66
  border-bottom-right-radius: 0 !important;
67
67
  }
@@ -71,7 +71,7 @@
71
71
  border-top-left-radius : 0 !important;
72
72
  border-bottom-left-radius: 0 !important;
73
73
 
74
- >.ant-select-selector {
74
+ >.@{ant-prefix}-select-selector {
75
75
  border-top-left-radius : 0 !important;
76
76
  border-bottom-left-radius: 0 !important;
77
77
  }
@@ -1,10 +1,10 @@
1
- .ant-form-item-has-error {
2
- .ant-picker-status-error
3
- ~ .forever-checkbox:not(.ant-input-disabled):not(.ant-input-borderless).ant-input {
1
+ .@{ant-prefix}-form-item-has-error {
2
+ .@{ant-prefix}-picker-status-error
3
+ ~ .forever-checkbox:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input {
4
4
  background: @zaui-base-bg;
5
5
  border-color: var(--ant-error-color);
6
6
  }
7
- .forever-checkbox:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus {
7
+ .forever-checkbox:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input:focus {
8
8
  border-color: var(--ant-error-color-hover);
9
9
  border-right-width: 1px;
10
10
  outline: 0;
@@ -12,12 +12,12 @@
12
12
  }
13
13
  }
14
14
 
15
- span.ant-input-group-compact {
15
+ span.@{ant-prefix}-input-group-compact {
16
16
  &.pro-time-limit,
17
17
  &.pro-range-limit {
18
18
  display: flex;
19
19
 
20
- .ant-picker {
20
+ .@{ant-prefix}-picker {
21
21
  flex: 1;
22
22
  }
23
23
 
@@ -1,3 +1,5 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
1
3
  @import '../components/base/SwitchCheckbox/style/index.less';
2
4
  @import '../components/base/TextArea/index.less';
3
5
  @import '../components/combination/FormList/style/index.less';
@@ -11,8 +13,8 @@
11
13
  @import '../components/old/EnumSelect/style/index.less';
12
14
 
13
15
  .pro-form {
14
- &.ant-form-vertical {
15
- .ant-form-item .ant-form-item-label {
16
+ &.@{ant-prefix}-form-vertical {
17
+ .@{ant-prefix}-form-item .@{ant-prefix}-form-item-label {
16
18
  flex: none !important;
17
19
  }
18
20
 
@@ -23,66 +25,66 @@
23
25
  margin-bottom: 0;
24
26
  padding-top: 6px;
25
27
 
26
- .ant-space-align-center {
28
+ .@{ant-prefix}-space-align-center {
27
29
  align-items: normal;
28
30
  }
29
31
  }
30
32
  }
31
33
 
32
- &.ant-form {
34
+ &.@{ant-prefix}-form {
33
35
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
34
36
  }
35
37
 
36
38
  .pro-collapse-level2 {
37
- .ant-collapse-item {
39
+ .@{ant-prefix}-collapse-item {
38
40
  margin-bottom: 0 !important;
39
41
  }
40
42
  }
41
43
 
42
- .ant-form-item-control-input {
44
+ .@{ant-prefix}-form-item-control-input {
43
45
  flex-grow: 1;
44
46
  max-width: 100%;
45
47
  }
46
48
 
47
- span.ant-input-clear-icon {
49
+ span.@{ant-prefix}-input-clear-icon {
48
50
  display: unset;
49
51
  visibility: hidden;
50
52
  }
51
53
 
52
- .ant-input-affix-wrapper:hover span.ant-input-clear-icon {
54
+ .@{ant-prefix}-input-affix-wrapper:hover span.@{ant-prefix}-input-clear-icon {
53
55
  display: unset;
54
56
  visibility: unset;
55
57
  }
56
58
 
57
- .ant-input-affix-wrapper:hover span.ant-input-clear-icon[class~='ant-input-clear-icon-hidden'] {
59
+ .@{ant-prefix}-input-affix-wrapper:hover span.@{ant-prefix}-input-clear-icon[class~='ant-input-clear-icon-hidden'] {
58
60
  display: unset;
59
61
  visibility: hidden;
60
62
  }
61
63
 
62
64
  &.pro-form-view {
63
- .ant-form-item-label {
65
+ .@{ant-prefix}-form-item-label {
64
66
  label {
65
67
  color: var(--zaui-aide-text, #939599);
66
68
  }
67
69
  }
68
70
 
69
- .ant-form-item {
71
+ .@{ant-prefix}-form-item {
70
72
  margin-bottom: 0 !important;
71
73
  }
72
74
 
73
- .ant-form-item {
74
- .ant-tree-icon-hide input {
75
+ .@{ant-prefix}-form-item {
76
+ .@{ant-prefix}-tree-icon-hide input {
75
77
  display: none !important;
76
78
  }
77
79
  }
78
80
  }
79
81
 
80
- .ant-picker-range {
82
+ .@{ant-prefix}-picker-range {
81
83
  width: 100%;
82
84
  }
83
85
 
84
86
  .pro-form-list-line {
85
- .ant-row {
87
+ .@{ant-prefix}-row {
86
88
  width: 100%;
87
89
  }
88
90
  }
@@ -101,20 +103,20 @@
101
103
  }
102
104
  }
103
105
 
104
- .ant-form-item {
106
+ .@{ant-prefix}-form-item {
105
107
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1)) !important;
106
108
 
107
109
  &.pro-form-item-width-auto {
108
- .ant-form-item-control-input {
110
+ .@{ant-prefix}-form-item-control-input {
109
111
  flex-grow: inherit;
110
112
  }
111
113
 
112
- .ant-form-item-control-input-content {
114
+ .@{ant-prefix}-form-item-control-input-content {
113
115
  flex: initial;
114
116
  }
115
117
  }
116
118
 
117
- .ant-form-item-tooltip {
119
+ .@{ant-prefix}-form-item-tooltip {
118
120
  svg {
119
121
  width: 14px;
120
122
  height: 14px;
@@ -125,53 +127,53 @@
125
127
 
126
128
  // 比较原始值场景下 不同时候的样式
127
129
  &.pro-form-item-changed {
128
- span.ant-input-affix-wrapper,
129
- .ant-select-selector,
130
- .ant-picker {
130
+ span.@{ant-prefix}-input-affix-wrapper,
131
+ .@{ant-prefix}-select-selector,
132
+ .@{ant-prefix}-picker {
131
133
  background: @zaui-contract-bg !important;
132
134
 
133
135
  input {
134
136
  background: @zaui-contract-bg;
135
137
  }
136
- .ant-select-selection-placeholder {
138
+ .@{ant-prefix}-select-selection-placeholder {
137
139
  z-index: 9;
138
140
  }
139
141
  }
140
142
 
141
- .ant-form-item-control-input-content > span {
143
+ .@{ant-prefix}-form-item-control-input-content > span {
142
144
  background: @zaui-contract-bg;
143
145
  padding: 4px 8px;
144
146
  border-radius: 4px;
145
147
  }
146
148
  }
147
149
 
148
- .ant-row {
150
+ .@{ant-prefix}-row {
149
151
  width: 100%;
150
152
  }
151
153
 
152
- .ant-col.ant-col-0 {
154
+ .@{ant-prefix}-col.@{ant-prefix}-col-0 {
153
155
  display: none;
154
156
  }
155
157
 
156
- .ant-form-item-explain {
158
+ .@{ant-prefix}-form-item-explain {
157
159
  height: auto;
158
160
 
159
- .ant-form-item-explain-error {
161
+ .@{ant-prefix}-form-item-explain-error {
160
162
  font-size: var(--zaui-font-size, 14px);
161
163
  }
162
164
  }
163
165
 
164
- .ant-input-number {
166
+ .@{ant-prefix}-input-number {
165
167
  width: 100%;
166
168
  }
167
169
 
168
170
  .pro-number-range {
169
- .ant-input-number {
171
+ .@{ant-prefix}-input-number {
170
172
  width: calc(50% - 20px);
171
173
  }
172
174
 
173
175
  .range-right {
174
- .ant-input-number {
176
+ .@{ant-prefix}-input-number {
175
177
  border-left: none;
176
178
  }
177
179
 
@@ -185,11 +187,11 @@
185
187
  }
186
188
  }
187
189
 
188
- .ant-form-item-hidden {
190
+ .@{ant-prefix}-form-item-hidden {
189
191
  display: none;
190
192
  }
191
193
 
192
- .ant-form-item-label {
194
+ .@{ant-prefix}-form-item-label {
193
195
  > label {
194
196
  white-space: pre-wrap;
195
197
  }
@@ -199,7 +201,7 @@
199
201
  margin-left: @zaui-space-size-sm;
200
202
  }
201
203
 
202
- .ant-form-item-has-error {
204
+ .@{ant-prefix}-form-item-has-error {
203
205
  .group-separator {
204
206
  color: var(--ant-error-color);
205
207
  border-color: var(--ant-error-color);
@@ -229,16 +231,16 @@
229
231
  border-left-width: 1px;
230
232
  }
231
233
 
232
- & .ant-input-rtl.site-input-right {
234
+ & .@{ant-prefix}-input-rtl.site-input-right {
233
235
  border-right-width: 0;
234
236
  }
235
237
 
236
- & .ant-input-rtl.site-input-right:hover,
237
- & .ant-input-rtl.site-input-right:focus {
238
+ & .@{ant-prefix}-input-rtl.site-input-right:hover,
239
+ & .@{ant-prefix}-input-rtl.site-input-right:focus {
238
240
  border-right-width: 1px;
239
241
  }
240
242
 
241
- .ant-form-item {
243
+ .@{ant-prefix}-form-item {
242
244
  margin-bottom: 0;
243
245
  }
244
246
 
@@ -248,18 +250,18 @@
248
250
  }
249
251
 
250
252
  .site-input-left {
251
- .ant-input-number {
253
+ .@{ant-prefix}-input-number {
252
254
  border-right: none;
253
255
  }
254
256
  }
255
257
 
256
258
  .site-input-right {
257
- .ant-input-number {
259
+ .@{ant-prefix}-input-number {
258
260
  border-left: none;
259
261
  }
260
262
  }
261
263
 
262
- &.ant-input-group.ant-input-group-compact > *:not(:last-child) {
264
+ &.@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact > *:not(:last-child) {
263
265
  margin-right: 0;
264
266
  }
265
267
 
@@ -267,7 +269,7 @@
267
269
  border-top-right-radius: 0 !important;
268
270
  border-bottom-right-radius: 0 !important;
269
271
 
270
- > .ant-select-selector {
272
+ > .@{ant-prefix}-select-selector {
271
273
  border-top-right-radius: 0 !important;
272
274
  border-bottom-right-radius: 0 !important;
273
275
  }
@@ -277,14 +279,14 @@
277
279
  border-top-left-radius: 0 !important;
278
280
  border-bottom-left-radius: 0 !important;
279
281
 
280
- > .ant-select-selector {
282
+ > .@{ant-prefix}-select-selector {
281
283
  border-top-left-radius: 0 !important;
282
284
  border-bottom-left-radius: 0 !important;
283
285
  }
284
286
  }
285
287
  }
286
288
 
287
- .ant-input-group.ant-input-group-compact > * {
289
+ .@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact > * {
288
290
  float: none;
289
291
  vertical-align: top;
290
292
  }
@@ -1,3 +1,6 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-icon {
2
5
  cursor: pointer;
3
6
 
@@ -17,7 +20,7 @@
17
20
  display: inline-block;
18
21
  }
19
22
 
20
- &.ant-btn-icon-only {
23
+ &.@{ant-prefix}-btn-icon-only {
21
24
  width : auto;
22
25
  height : auto;
23
26
  padding: 0;
@@ -15,7 +15,7 @@
15
15
  box-shadow : 0px 1px 2px 0px rgba(0, 55, 93, 0.1) !important;
16
16
 
17
17
  .pro-layout-header-actions {
18
- .ant-avatar {
18
+ .@{ant-prefix}-avatar {
19
19
  background: var(--zaui-brand, #006aff);
20
20
  }
21
21
  }
@@ -73,28 +73,28 @@
73
73
  top: 80px !important
74
74
  }
75
75
 
76
- .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.ant-popover-placement-rightBottom,
77
- .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.ant-popover-placement-rightTop {
76
+ .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.@{ant-prefix}-popover-placement-rightBottom,
77
+ .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.@{ant-prefix}-popover-placement-rightTop {
78
78
  left: 220px !important
79
79
  }
80
80
 
81
- .pro-layout-menu-tooltip.ant-popover-placement-rightBottom,
82
- .pro-layout-menu-tooltip.ant-popover-placement-rightTop {
81
+ .pro-layout-menu-tooltip.@{ant-prefix}-popover-placement-rightBottom,
82
+ .pro-layout-menu-tooltip.@{ant-prefix}-popover-placement-rightTop {
83
83
  position : fixed;
84
84
  z-index : 1001;
85
85
  left : 49px !important;
86
86
  padding-left: 0
87
87
  }
88
88
 
89
- .pro-layout-menu-tooltip .ant-popover-inner-content {
89
+ .pro-layout-menu-tooltip .@{ant-prefix}-popover-inner-content {
90
90
  padding: 0
91
91
  }
92
92
 
93
- .pro-layout-menu-tooltip .ant-popover-content>.ant-popover-arrow {
93
+ .pro-layout-menu-tooltip .@{ant-prefix}-popover-content>.@{ant-prefix}-popover-arrow {
94
94
  display: none
95
95
  }
96
96
 
97
- .pro-layout-menu-tooltip .ant-popover-content .ant-popover-inner {
97
+ .pro-layout-menu-tooltip .@{ant-prefix}-popover-content .@{ant-prefix}-popover-inner {
98
98
  padding : 0;
99
99
  box-shadow: 2px 0px 5px 0px rgba(0, 55, 93, 0.1);
100
100
  }