@zat-design/sisyphus-react 3.2.0 → 3.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/dist/index.esm.css +20 -21
- package/es/ProForm/components/combination/FormList/style/index.less +1 -1
- package/es/ProForm/style/index.less +2 -2
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +7 -13
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +6 -7
- package/es/ProLayout/components/ProHeader/style/index.less +1 -1
- package/es/ProTree/style/index.less +2 -2
- package/es/ProTreeModal/style/index.less +13 -13
- package/lib/ProForm/components/combination/FormList/style/index.less +1 -1
- package/lib/ProForm/style/index.less +2 -2
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -12
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +6 -7
- package/lib/ProLayout/components/ProHeader/style/index.less +1 -1
- package/lib/ProTree/style/index.less +2 -2
- package/lib/ProTreeModal/style/index.less +13 -13
- package/package.json +1 -1
package/dist/index.esm.css
CHANGED
|
@@ -331,8 +331,7 @@
|
|
|
331
331
|
line-height: initial !important;
|
|
332
332
|
height: auto !important;
|
|
333
333
|
margin: 0;
|
|
334
|
-
padding
|
|
335
|
-
padding-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1) - var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1));
|
|
334
|
+
padding: 12px 0;
|
|
336
335
|
min-height: 48px;
|
|
337
336
|
}
|
|
338
337
|
.pro-layout-open-menu .ant-menu-title-content div {
|
|
@@ -818,7 +817,7 @@
|
|
|
818
817
|
}
|
|
819
818
|
.pro-header {
|
|
820
819
|
background-color: var(--zaui-base-bg, #ffffff);
|
|
821
|
-
padding:
|
|
820
|
+
padding: 24px 0 0 0;
|
|
822
821
|
}
|
|
823
822
|
.pro-header.pro-header-no-back .pro-header-top {
|
|
824
823
|
padding-left: 0;
|
|
@@ -1960,7 +1959,7 @@ div.pro-textarea-view::after {
|
|
|
1960
1959
|
-webkit-align-items: center;
|
|
1961
1960
|
-ms-flex-align: center;
|
|
1962
1961
|
align-items: center;
|
|
1963
|
-
height:
|
|
1962
|
+
height: 32px;
|
|
1964
1963
|
margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
|
|
1965
1964
|
padding: 0;
|
|
1966
1965
|
padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
|
|
@@ -2471,7 +2470,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2471
2470
|
width: 100%;
|
|
2472
2471
|
}
|
|
2473
2472
|
.pro-form .expand-button {
|
|
2474
|
-
line-height:
|
|
2473
|
+
line-height: 32px;
|
|
2475
2474
|
cursor: pointer;
|
|
2476
2475
|
}
|
|
2477
2476
|
.pro-form .expand-button .rotate-to-top {
|
|
@@ -2628,7 +2627,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2628
2627
|
}
|
|
2629
2628
|
.pro-form div.pro-form-custom-footer {
|
|
2630
2629
|
width: unset !important;
|
|
2631
|
-
height:
|
|
2630
|
+
height: 32px;
|
|
2632
2631
|
margin-bottom: calc(var(--zaui-height-size-md, 16px) * var(--zaui-size, 1));
|
|
2633
2632
|
}
|
|
2634
2633
|
.pro-form div.pro-form-custom-footer.pro-form-custom-footer-hidden {
|
|
@@ -3094,8 +3093,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3094
3093
|
margin-top: 2px;
|
|
3095
3094
|
}
|
|
3096
3095
|
.pro-tree-modal-content .ant-tree-switcher {
|
|
3097
|
-
width:
|
|
3098
|
-
line-height:
|
|
3096
|
+
width: 20px;
|
|
3097
|
+
line-height: 20px;
|
|
3099
3098
|
}
|
|
3100
3099
|
.pro-tree-modal-content .ant-tree-treenode {
|
|
3101
3100
|
width: 100%;
|
|
@@ -3103,11 +3102,11 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3103
3102
|
padding-bottom: var(--zaui-font-size-sm, 12px);
|
|
3104
3103
|
color: var(--zaui-text);
|
|
3105
3104
|
font-size: var(--zaui-font-size, 14px);
|
|
3106
|
-
line-height:
|
|
3105
|
+
line-height: 20px;
|
|
3107
3106
|
}
|
|
3108
3107
|
.pro-tree-modal-content .ant-tree-node-content-wrapper {
|
|
3109
|
-
min-height:
|
|
3110
|
-
line-height:
|
|
3108
|
+
min-height: 20px;
|
|
3109
|
+
line-height: 20px;
|
|
3111
3110
|
}
|
|
3112
3111
|
.pro-tree-modal-content .ant-tree-node-content-wrapper {
|
|
3113
3112
|
width: 100%;
|
|
@@ -3126,7 +3125,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3126
3125
|
height: 100%;
|
|
3127
3126
|
color: var(--zaui-text);
|
|
3128
3127
|
font-size: var(--zaui-font-size, 14px);
|
|
3129
|
-
line-height:
|
|
3128
|
+
line-height: 20px;
|
|
3130
3129
|
border: 1px solid #e6e6e6;
|
|
3131
3130
|
border-radius: var(--zaui-border-radius, 4px);
|
|
3132
3131
|
/* 修改滚动条样式 */
|
|
@@ -3237,7 +3236,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3237
3236
|
-ms-flex-pack: justify;
|
|
3238
3237
|
justify-content: space-between;
|
|
3239
3238
|
margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
|
|
3240
|
-
line-height:
|
|
3239
|
+
line-height: 20px;
|
|
3241
3240
|
cursor: pointer;
|
|
3242
3241
|
}
|
|
3243
3242
|
.pro-tree-modal-checkbox-content-look {
|
|
@@ -3310,17 +3309,17 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3310
3309
|
-webkit-justify-content: center;
|
|
3311
3310
|
-ms-flex-pack: center;
|
|
3312
3311
|
justify-content: center;
|
|
3313
|
-
height:
|
|
3312
|
+
height: 20px;
|
|
3314
3313
|
margin-right: var(--zaui-space-size-sm, 8px);
|
|
3315
3314
|
padding: 0 var(--zaui-space-size-xs);
|
|
3316
3315
|
font-weight: 400;
|
|
3317
|
-
line-height:
|
|
3316
|
+
line-height: 24px;
|
|
3318
3317
|
white-space: nowrap;
|
|
3319
3318
|
border-radius: var(--zaui-border-radius-card);
|
|
3320
3319
|
}
|
|
3321
3320
|
.pro-tree-modal-tree-node-tag span {
|
|
3322
3321
|
font-size: var(--zaui-font-size-sm, 12px);
|
|
3323
|
-
line-height:
|
|
3322
|
+
line-height: 20px;
|
|
3324
3323
|
text-align: center;
|
|
3325
3324
|
-webkit-transform: scale(0.83, 0.83);
|
|
3326
3325
|
transform: scale(0.83, 0.83);
|
|
@@ -3363,7 +3362,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3363
3362
|
-ms-flex-pack: justify;
|
|
3364
3363
|
justify-content: space-between;
|
|
3365
3364
|
width: 100%;
|
|
3366
|
-
height:
|
|
3365
|
+
height: 32px;
|
|
3367
3366
|
padding: 2px var(--zaui-space-size-sm, 8px);
|
|
3368
3367
|
color: var(--zaui-text, #343434);
|
|
3369
3368
|
font-size: var(--zaui-font-size, 14px);
|
|
@@ -3372,7 +3371,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3372
3371
|
border-radius: var(--zaui-border-radius, 4px);
|
|
3373
3372
|
}
|
|
3374
3373
|
.pro-transfer-right .checked-item .ant-tag .drag-icon {
|
|
3375
|
-
height:
|
|
3374
|
+
height: 20px;
|
|
3376
3375
|
margin-right: var(--zaui-space-size-xs, 4px);
|
|
3377
3376
|
cursor: move;
|
|
3378
3377
|
}
|
|
@@ -3384,7 +3383,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3384
3383
|
max-width: calc(100% - 42px);
|
|
3385
3384
|
}
|
|
3386
3385
|
.pro-transfer-right .checked-item .ant-tag .disabled-icon {
|
|
3387
|
-
height:
|
|
3386
|
+
height: 20px;
|
|
3388
3387
|
margin-right: var(--zaui-space-size-xs, 4px);
|
|
3389
3388
|
}
|
|
3390
3389
|
.pro-transfer-right .checked-item .ant-tag .anticon-close {
|
|
@@ -3511,8 +3510,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
3511
3510
|
font-size: var(--zaui-font-size);
|
|
3512
3511
|
}
|
|
3513
3512
|
.pro-tree-content .ant-tree-node-content-wrapper {
|
|
3514
|
-
min-height:
|
|
3515
|
-
line-height:
|
|
3513
|
+
min-height: 20px;
|
|
3514
|
+
line-height: 20px;
|
|
3516
3515
|
}
|
|
3517
3516
|
.pro-tree-content .ant-tree-node-content-wrapper {
|
|
3518
3517
|
width: 100%;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.pro-form-list-drag-handle {
|
|
45
45
|
display : flex;
|
|
46
46
|
align-items : center;
|
|
47
|
-
height :
|
|
47
|
+
height : 32px;
|
|
48
48
|
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
49
49
|
padding : 0;
|
|
50
50
|
padding-right: @zaui-space-size-sm;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
// 展开折叠按钮
|
|
91
91
|
.expand-button {
|
|
92
|
-
line-height:
|
|
92
|
+
line-height: 32px;
|
|
93
93
|
cursor : pointer;
|
|
94
94
|
|
|
95
95
|
.rotate-to-top {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
|
|
298
298
|
div.pro-form-custom-footer {
|
|
299
299
|
width : unset !important;
|
|
300
|
-
height :
|
|
300
|
+
height : 32px;
|
|
301
301
|
margin-bottom: calc(var(--zaui-height-size-md, 16px) * var(--zaui-size, 1));
|
|
302
302
|
|
|
303
303
|
&.pro-form-custom-footer-hidden {
|
|
@@ -3,7 +3,7 @@ import _Menu from "antd/es/menu";
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
5
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { useMemo, useRef,
|
|
6
|
+
import { useMemo, useRef, useContext } from 'react';
|
|
7
7
|
import { useDeepCompareEffect, useSetState } from 'ahooks';
|
|
8
8
|
import { CaretDownOutlined } from '@ant-design/icons';
|
|
9
9
|
import classnames from 'classnames';
|
|
@@ -122,18 +122,6 @@ var OpenMenu = function OpenMenu(props) {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
}, [sideMenu]);
|
|
125
|
-
useEffect(function () {
|
|
126
|
-
// 同步路由,解决进入详情页后router没有变化,点击相同router菜单无效问题
|
|
127
|
-
setState({
|
|
128
|
-
router: window.location.pathname
|
|
129
|
-
});
|
|
130
|
-
}, [window.location.pathname]);
|
|
131
|
-
useEffect(function () {
|
|
132
|
-
// 路由变更,且不再demo文档中
|
|
133
|
-
if (router && !window.location.href.includes('~demos/prolayout')) {
|
|
134
|
-
linkRef.current.click();
|
|
135
|
-
}
|
|
136
|
-
}, [router]);
|
|
137
125
|
return _jsxs("div", {
|
|
138
126
|
className: cls,
|
|
139
127
|
style: style,
|
|
@@ -162,6 +150,12 @@ var OpenMenu = function OpenMenu(props) {
|
|
|
162
150
|
onSelected({
|
|
163
151
|
selectedPath: item === null || item === void 0 ? void 0 : (_item$props2 = item.props) === null || _item$props2 === void 0 ? void 0 : _item$props2.router
|
|
164
152
|
});
|
|
153
|
+
setTimeout(function () {
|
|
154
|
+
// 路由变更,且不再demo文档中
|
|
155
|
+
if (!window.location.href.includes('~demos/prolayout')) {
|
|
156
|
+
linkRef.current.click();
|
|
157
|
+
}
|
|
158
|
+
}, 100);
|
|
165
159
|
},
|
|
166
160
|
style: {
|
|
167
161
|
height: dataSource.sideMenu ? 'auto' : "calc(100vh - ".concat((dataSource === null || dataSource === void 0 ? void 0 : dataSource.height) || 0, "px)"),
|
|
@@ -89,13 +89,12 @@
|
|
|
89
89
|
|
|
90
90
|
.ant-menu-sub.ant-menu-inline>.ant-menu-item,
|
|
91
91
|
.ant-menu-submenu-title {
|
|
92
|
-
white-space
|
|
93
|
-
line-height
|
|
94
|
-
height
|
|
95
|
-
margin
|
|
96
|
-
padding
|
|
97
|
-
|
|
98
|
-
min-height : 48px;
|
|
92
|
+
white-space: pre-wrap;
|
|
93
|
+
line-height: initial !important;
|
|
94
|
+
height : auto !important;
|
|
95
|
+
margin : 0;
|
|
96
|
+
padding: 12px 0;
|
|
97
|
+
min-height : 48px;
|
|
99
98
|
}
|
|
100
99
|
|
|
101
100
|
.ant-menu-title-content {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.pro-header {
|
|
4
4
|
background-color: var(--zaui-base-bg, #ffffff);
|
|
5
|
-
padding :
|
|
5
|
+
padding : 24px 0 0 0;
|
|
6
6
|
|
|
7
7
|
&.pro-header-no-back {
|
|
8
8
|
.pro-header-top {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.ant-tree-switcher {
|
|
21
|
-
width :
|
|
22
|
-
line-height:
|
|
21
|
+
width : 20px;
|
|
22
|
+
line-height: 20px;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.ant-tree-treenode {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
padding-bottom: var(--zaui-font-size-sm, 12px);
|
|
29
29
|
color : var(--zaui-text);
|
|
30
30
|
font-size : var(--zaui-font-size, 14px);
|
|
31
|
-
line-height :
|
|
31
|
+
line-height : 20px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.ant-tree-node-content-wrapper {
|
|
35
|
-
min-height :
|
|
36
|
-
line-height:
|
|
35
|
+
min-height : 20px;
|
|
36
|
+
line-height: 20px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.ant-tree-node-content-wrapper {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
height : 100%;
|
|
49
49
|
color : var(--zaui-text);
|
|
50
50
|
font-size : var(--zaui-font-size, 14px);
|
|
51
|
-
line-height :
|
|
51
|
+
line-height : 20px;
|
|
52
52
|
border : 1px solid #e6e6e6;
|
|
53
53
|
border-radius : var(--zaui-border-radius, 4px);
|
|
54
54
|
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
align-items : center;
|
|
132
132
|
justify-content: space-between;
|
|
133
133
|
margin-bottom : calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
134
|
-
line-height :
|
|
134
|
+
line-height : 20px;
|
|
135
135
|
cursor : pointer;
|
|
136
136
|
|
|
137
137
|
&-look {
|
|
@@ -188,17 +188,17 @@
|
|
|
188
188
|
display : flex;
|
|
189
189
|
align-items : center;
|
|
190
190
|
justify-content: center;
|
|
191
|
-
height :
|
|
191
|
+
height : 20px;
|
|
192
192
|
margin-right : var(--zaui-space-size-sm, 8px);
|
|
193
193
|
padding : 0 var(--zaui-space-size-xs);
|
|
194
194
|
font-weight : 400;
|
|
195
|
-
line-height :
|
|
195
|
+
line-height : 24px;
|
|
196
196
|
white-space : nowrap;
|
|
197
197
|
border-radius : var(--zaui-border-radius-card);
|
|
198
198
|
|
|
199
199
|
span {
|
|
200
200
|
font-size : var(--zaui-font-size-sm, 12px);
|
|
201
|
-
line-height:
|
|
201
|
+
line-height: 20px;
|
|
202
202
|
text-align : center;
|
|
203
203
|
transform : scale(0.83, 0.83);
|
|
204
204
|
}
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
align-items : center;
|
|
229
229
|
justify-content: space-between;
|
|
230
230
|
width : 100%;
|
|
231
|
-
height :
|
|
231
|
+
height : 32px;
|
|
232
232
|
padding : 2px var(--zaui-space-size-sm, 8px);
|
|
233
233
|
color : var(--zaui-text, #343434);
|
|
234
234
|
font-size : var(--zaui-font-size, 14px);
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
border-radius : var(--zaui-border-radius, 4px);
|
|
238
238
|
|
|
239
239
|
.drag-icon {
|
|
240
|
-
height :
|
|
240
|
+
height : 20px;
|
|
241
241
|
margin-right: var(--zaui-space-size-xs, 4px);
|
|
242
242
|
cursor : move;
|
|
243
243
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.disabled-icon {
|
|
251
|
-
height :
|
|
251
|
+
height : 20px;
|
|
252
252
|
margin-right: var(--zaui-space-size-xs, 4px);
|
|
253
253
|
}
|
|
254
254
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.pro-form-list-drag-handle {
|
|
45
45
|
display : flex;
|
|
46
46
|
align-items : center;
|
|
47
|
-
height :
|
|
47
|
+
height : 32px;
|
|
48
48
|
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
49
49
|
padding : 0;
|
|
50
50
|
padding-right: @zaui-space-size-sm;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
// 展开折叠按钮
|
|
91
91
|
.expand-button {
|
|
92
|
-
line-height:
|
|
92
|
+
line-height: 32px;
|
|
93
93
|
cursor : pointer;
|
|
94
94
|
|
|
95
95
|
.rotate-to-top {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
|
|
298
298
|
div.pro-form-custom-footer {
|
|
299
299
|
width : unset !important;
|
|
300
|
-
height :
|
|
300
|
+
height : 32px;
|
|
301
301
|
margin-bottom: calc(var(--zaui-height-size-md, 16px) * var(--zaui-size, 1));
|
|
302
302
|
|
|
303
303
|
&.pro-form-custom-footer-hidden {
|
|
@@ -128,18 +128,6 @@ var OpenMenu = function OpenMenu(props) {
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
}, [sideMenu]);
|
|
131
|
-
(0, _react.useEffect)(function () {
|
|
132
|
-
// 同步路由,解决进入详情页后router没有变化,点击相同router菜单无效问题
|
|
133
|
-
setState({
|
|
134
|
-
router: window.location.pathname
|
|
135
|
-
});
|
|
136
|
-
}, [window.location.pathname]);
|
|
137
|
-
(0, _react.useEffect)(function () {
|
|
138
|
-
// 路由变更,且不再demo文档中
|
|
139
|
-
if (router && !window.location.href.includes('~demos/prolayout')) {
|
|
140
|
-
linkRef.current.click();
|
|
141
|
-
}
|
|
142
|
-
}, [router]);
|
|
143
131
|
return (0, _jsxRuntime.jsxs)("div", {
|
|
144
132
|
className: cls,
|
|
145
133
|
style: style,
|
|
@@ -168,6 +156,12 @@ var OpenMenu = function OpenMenu(props) {
|
|
|
168
156
|
onSelected({
|
|
169
157
|
selectedPath: item === null || item === void 0 ? void 0 : (_item$props2 = item.props) === null || _item$props2 === void 0 ? void 0 : _item$props2.router
|
|
170
158
|
});
|
|
159
|
+
setTimeout(function () {
|
|
160
|
+
// 路由变更,且不再demo文档中
|
|
161
|
+
if (!window.location.href.includes('~demos/prolayout')) {
|
|
162
|
+
linkRef.current.click();
|
|
163
|
+
}
|
|
164
|
+
}, 100);
|
|
171
165
|
},
|
|
172
166
|
style: {
|
|
173
167
|
height: dataSource.sideMenu ? 'auto' : "calc(100vh - ".concat((dataSource === null || dataSource === void 0 ? void 0 : dataSource.height) || 0, "px)"),
|
|
@@ -89,13 +89,12 @@
|
|
|
89
89
|
|
|
90
90
|
.ant-menu-sub.ant-menu-inline>.ant-menu-item,
|
|
91
91
|
.ant-menu-submenu-title {
|
|
92
|
-
white-space
|
|
93
|
-
line-height
|
|
94
|
-
height
|
|
95
|
-
margin
|
|
96
|
-
padding
|
|
97
|
-
|
|
98
|
-
min-height : 48px;
|
|
92
|
+
white-space: pre-wrap;
|
|
93
|
+
line-height: initial !important;
|
|
94
|
+
height : auto !important;
|
|
95
|
+
margin : 0;
|
|
96
|
+
padding: 12px 0;
|
|
97
|
+
min-height : 48px;
|
|
99
98
|
}
|
|
100
99
|
|
|
101
100
|
.ant-menu-title-content {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.pro-header {
|
|
4
4
|
background-color: var(--zaui-base-bg, #ffffff);
|
|
5
|
-
padding :
|
|
5
|
+
padding : 24px 0 0 0;
|
|
6
6
|
|
|
7
7
|
&.pro-header-no-back {
|
|
8
8
|
.pro-header-top {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.ant-tree-switcher {
|
|
21
|
-
width :
|
|
22
|
-
line-height:
|
|
21
|
+
width : 20px;
|
|
22
|
+
line-height: 20px;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.ant-tree-treenode {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
padding-bottom: var(--zaui-font-size-sm, 12px);
|
|
29
29
|
color : var(--zaui-text);
|
|
30
30
|
font-size : var(--zaui-font-size, 14px);
|
|
31
|
-
line-height :
|
|
31
|
+
line-height : 20px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.ant-tree-node-content-wrapper {
|
|
35
|
-
min-height :
|
|
36
|
-
line-height:
|
|
35
|
+
min-height : 20px;
|
|
36
|
+
line-height: 20px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.ant-tree-node-content-wrapper {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
height : 100%;
|
|
49
49
|
color : var(--zaui-text);
|
|
50
50
|
font-size : var(--zaui-font-size, 14px);
|
|
51
|
-
line-height :
|
|
51
|
+
line-height : 20px;
|
|
52
52
|
border : 1px solid #e6e6e6;
|
|
53
53
|
border-radius : var(--zaui-border-radius, 4px);
|
|
54
54
|
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
align-items : center;
|
|
132
132
|
justify-content: space-between;
|
|
133
133
|
margin-bottom : calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
134
|
-
line-height :
|
|
134
|
+
line-height : 20px;
|
|
135
135
|
cursor : pointer;
|
|
136
136
|
|
|
137
137
|
&-look {
|
|
@@ -188,17 +188,17 @@
|
|
|
188
188
|
display : flex;
|
|
189
189
|
align-items : center;
|
|
190
190
|
justify-content: center;
|
|
191
|
-
height :
|
|
191
|
+
height : 20px;
|
|
192
192
|
margin-right : var(--zaui-space-size-sm, 8px);
|
|
193
193
|
padding : 0 var(--zaui-space-size-xs);
|
|
194
194
|
font-weight : 400;
|
|
195
|
-
line-height :
|
|
195
|
+
line-height : 24px;
|
|
196
196
|
white-space : nowrap;
|
|
197
197
|
border-radius : var(--zaui-border-radius-card);
|
|
198
198
|
|
|
199
199
|
span {
|
|
200
200
|
font-size : var(--zaui-font-size-sm, 12px);
|
|
201
|
-
line-height:
|
|
201
|
+
line-height: 20px;
|
|
202
202
|
text-align : center;
|
|
203
203
|
transform : scale(0.83, 0.83);
|
|
204
204
|
}
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
align-items : center;
|
|
229
229
|
justify-content: space-between;
|
|
230
230
|
width : 100%;
|
|
231
|
-
height :
|
|
231
|
+
height : 32px;
|
|
232
232
|
padding : 2px var(--zaui-space-size-sm, 8px);
|
|
233
233
|
color : var(--zaui-text, #343434);
|
|
234
234
|
font-size : var(--zaui-font-size, 14px);
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
border-radius : var(--zaui-border-radius, 4px);
|
|
238
238
|
|
|
239
239
|
.drag-icon {
|
|
240
|
-
height :
|
|
240
|
+
height : 20px;
|
|
241
241
|
margin-right: var(--zaui-space-size-xs, 4px);
|
|
242
242
|
cursor : move;
|
|
243
243
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.disabled-icon {
|
|
251
|
-
height :
|
|
251
|
+
height : 20px;
|
|
252
252
|
margin-right: var(--zaui-space-size-xs, 4px);
|
|
253
253
|
}
|
|
254
254
|
|