ls-pro-common 1.1.4 → 3.0.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/common.css +421 -108
- package/dist/common.js +1 -1
- package/dist/common.less +1 -0
- package/dist/common.min.css +421 -108
- package/dist/common.min.js +1 -1
- package/es/components/DtlLayout.d.ts +5 -3
- package/es/components/DtlLayout.js +29 -24
- package/es/components/GroupTip.d.ts +10 -0
- package/es/components/GroupTip.js +31 -0
- package/es/components/Permission.js +5 -2
- package/es/components/antd-custom.less +207 -0
- package/es/components/common.less +157 -159
- package/es/hooks/useSingle/index.js +1 -0
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/es/utils/index.d.ts +3 -3
- package/es/utils/index.js +6 -0
- package/lib/components/DtlLayout.d.ts +5 -3
- package/lib/components/DtlLayout.js +28 -23
- package/lib/components/GroupTip.d.ts +10 -0
- package/lib/components/GroupTip.js +39 -0
- package/lib/components/Permission.js +5 -2
- package/lib/components/antd-custom.less +207 -0
- package/lib/components/common.less +157 -159
- package/lib/hooks/useSingle/index.js +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +7 -0
- package/lib/utils/index.d.ts +3 -3
- package/lib/utils/index.js +6 -0
- package/package.json +5 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
require("./common.less");
|
|
12
|
+
var GroupTip = function GroupTip(_ref) {
|
|
13
|
+
var children = _ref.children,
|
|
14
|
+
className = _ref.className,
|
|
15
|
+
text = _ref.text,
|
|
16
|
+
_ref$style = _ref.style,
|
|
17
|
+
style = _ref$style === void 0 ? {} : _ref$style,
|
|
18
|
+
_ref$isInner = _ref.isInner,
|
|
19
|
+
isInner = _ref$isInner === void 0 ? true : _ref$isInner;
|
|
20
|
+
var cls = (0, _classnames.default)('ls-group-tip', className);
|
|
21
|
+
var styles = isInner ? {} : {
|
|
22
|
+
paddingTop: '12px',
|
|
23
|
+
paddingLeft: '20px',
|
|
24
|
+
borderTopLeftRadius: '8px',
|
|
25
|
+
borderTopRightRadius: '8px'
|
|
26
|
+
};
|
|
27
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
28
|
+
className: cls,
|
|
29
|
+
style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, styles), style)
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
31
|
+
className: "ls-group-divider"
|
|
32
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
33
|
+
className: "ls-group-text"
|
|
34
|
+
}, text), children && /*#__PURE__*/_react.default.createElement("div", {
|
|
35
|
+
className: "flex"
|
|
36
|
+
}, children));
|
|
37
|
+
};
|
|
38
|
+
var _default = GroupTip;
|
|
39
|
+
exports.default = _default;
|
|
@@ -5,14 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
8
9
|
var _react = _interopRequireDefault(require("react"));
|
|
9
10
|
var _usePermission2 = _interopRequireDefault(require("../hooks/usePermission"));
|
|
11
|
+
var _excluded = ["children", "rightValue"];
|
|
10
12
|
var Permission = function Permission(_ref) {
|
|
11
13
|
var children = _ref.children,
|
|
12
|
-
rightValue = _ref.rightValue
|
|
14
|
+
rightValue = _ref.rightValue,
|
|
15
|
+
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
13
16
|
var _usePermission = (0, _usePermission2.default)(),
|
|
14
17
|
checkRight = _usePermission.checkRight;
|
|
15
|
-
return checkRight(rightValue) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment,
|
|
18
|
+
return checkRight(rightValue) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, rest, children) : null;
|
|
16
19
|
};
|
|
17
20
|
var _default = Permission;
|
|
18
21
|
exports.default = _default;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
.ant-timeline-item-tail {
|
|
2
|
+
border-left: 2px dotted var(--ant-primary-color);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ant-timeline-item-head-blue {
|
|
6
|
+
background: var(--ant-primary-color);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ant-row {
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ant-popover {
|
|
14
|
+
max-width: min-content !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
.ant-input-has-value:hover {
|
|
20
|
+
.ant-input-clear-icon {
|
|
21
|
+
visibility: visible;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ant-modal-confirm-body {
|
|
26
|
+
.ant-modal-confirm-content {
|
|
27
|
+
max-height: 60vh;
|
|
28
|
+
overflow : auto;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ant-message-notice-content {
|
|
33
|
+
border-radius: 4px !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ant-modal-content {
|
|
37
|
+
border-radius: 8px !important;
|
|
38
|
+
// box-shadow : 0px 4px 6px rgba(0, 0, 0, 0.05) !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ant-input-number,
|
|
42
|
+
.ant-input-affix-wrapper,
|
|
43
|
+
.ant-picker,
|
|
44
|
+
.ant-select-selector {
|
|
45
|
+
border-radius: 4px !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ant-picker-range-separator {
|
|
49
|
+
padding: 0 2px !important;
|
|
50
|
+
|
|
51
|
+
.ant-picker-separator {
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.ant-btn {
|
|
58
|
+
height : 32px;
|
|
59
|
+
background-color: #EAEEF2;
|
|
60
|
+
border-color : transparent;
|
|
61
|
+
color : #595959;
|
|
62
|
+
border-radius : 4px;
|
|
63
|
+
|
|
64
|
+
&:hover,
|
|
65
|
+
&:focus {
|
|
66
|
+
background-color: #D2D6DD;
|
|
67
|
+
border-color : transparent;
|
|
68
|
+
color : #000;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:active {
|
|
72
|
+
background-color: #B5BBC5;
|
|
73
|
+
border-color : transparent;
|
|
74
|
+
color : #141414;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&[disabled],
|
|
78
|
+
&[disabled]:hover,
|
|
79
|
+
&[disabled]:focus,
|
|
80
|
+
&[disabled]:active {
|
|
81
|
+
background-color: #D2D6DD;
|
|
82
|
+
border-color : transparent;
|
|
83
|
+
color : #BFBFBF;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ant-btn-primary {
|
|
88
|
+
background-color: var(--ant-primary-color);
|
|
89
|
+
border-color : transparent;
|
|
90
|
+
color : #fff;
|
|
91
|
+
|
|
92
|
+
&:hover,
|
|
93
|
+
&:focus {
|
|
94
|
+
background-color: var(--ant-primary-color-hover);
|
|
95
|
+
border-color : transparent;
|
|
96
|
+
color : #fff;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:active {
|
|
100
|
+
background-color: var(--ant-primary-color-active);
|
|
101
|
+
border-color : transparent;
|
|
102
|
+
color : #fff;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&[disabled],
|
|
106
|
+
&[disabled]:hover,
|
|
107
|
+
&[disabled]:focus,
|
|
108
|
+
&[disabled]:active {
|
|
109
|
+
background-color: rgba(24, 105, 237, 0.4);
|
|
110
|
+
border-color : transparent;
|
|
111
|
+
color : #fff;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ant-btn-dangerous {
|
|
116
|
+
background-color: #FFCCC7;
|
|
117
|
+
border-color : transparent;
|
|
118
|
+
color : #F5222D;
|
|
119
|
+
|
|
120
|
+
&:hover,
|
|
121
|
+
&:focus {
|
|
122
|
+
background-color: #FFF1F0;
|
|
123
|
+
border-color : transparent;
|
|
124
|
+
color : #F5222D;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:active {
|
|
128
|
+
background-color: #FFA39E;
|
|
129
|
+
border-color : transparent;
|
|
130
|
+
color : #F5222D;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&[disabled],
|
|
134
|
+
&[disabled]:hover,
|
|
135
|
+
&[disabled]:focus,
|
|
136
|
+
&[disabled]:active {
|
|
137
|
+
background-color: #FFCCC7;
|
|
138
|
+
border-color : transparent;
|
|
139
|
+
color : #FFA39E;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ant-btn-link {
|
|
144
|
+
background-color: transparent;
|
|
145
|
+
border-color : transparent;
|
|
146
|
+
color : var(--ant-primary-color);
|
|
147
|
+
padding : 4px 8px;
|
|
148
|
+
|
|
149
|
+
&[disabled],
|
|
150
|
+
&[disabled]:hover,
|
|
151
|
+
&[disabled]:focus,
|
|
152
|
+
&[disabled]:active,
|
|
153
|
+
&:hover,
|
|
154
|
+
&:focus,
|
|
155
|
+
&:active {
|
|
156
|
+
background-color: transparent;
|
|
157
|
+
border-color : transparent;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:hover,
|
|
161
|
+
&:focus {
|
|
162
|
+
color: var(--ant-primary-color-hover);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&:active {
|
|
166
|
+
color: var(--ant-primary-color-active);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&[disabled],
|
|
170
|
+
&[disabled]:hover,
|
|
171
|
+
&[disabled]:focus,
|
|
172
|
+
&[disabled]:active {
|
|
173
|
+
color: #A7B5CC;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.ant-btn-text {
|
|
178
|
+
background-color: transparent;
|
|
179
|
+
border-color : transparent;
|
|
180
|
+
color : #8C8C8C;
|
|
181
|
+
padding : 4px 8px;
|
|
182
|
+
|
|
183
|
+
&[disabled],
|
|
184
|
+
&[disabled]:hover,
|
|
185
|
+
&[disabled]:focus,
|
|
186
|
+
&[disabled]:active,
|
|
187
|
+
&:hover,
|
|
188
|
+
&:focus,
|
|
189
|
+
&:active {
|
|
190
|
+
background-color: transparent;
|
|
191
|
+
border-color : transparent;
|
|
192
|
+
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&:hover,
|
|
196
|
+
&:active,
|
|
197
|
+
&:focus {
|
|
198
|
+
color: var(--ant-primary-color-hover);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&[disabled],
|
|
202
|
+
&[disabled]:hover,
|
|
203
|
+
&[disabled]:focus,
|
|
204
|
+
&[disabled]:active {
|
|
205
|
+
color: #d9d9d9;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
body {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
|
|
3
|
+
--bg-color:#F9FAFB;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
--ant-primary-color : #0E55CB;
|
|
7
|
+
--ant-primary-color-hover : #3277d9;
|
|
8
|
+
--ant-primary-color-active : #033ca6;
|
|
9
|
+
--ant-primary-color-outline : rgba(14, 85, 203, 0.2);
|
|
6
10
|
--ant-primary-1 : #e6f4ff;
|
|
7
|
-
--ant-primary-2 : #
|
|
8
|
-
--ant-primary-3 : #
|
|
9
|
-
--ant-primary-4 : #
|
|
10
|
-
--ant-primary-5 : #
|
|
11
|
-
--ant-primary-6 : #
|
|
12
|
-
--ant-primary-7 : #
|
|
13
|
-
--ant-primary-color-deprecated-pure : #
|
|
14
|
-
--ant-primary-color-deprecated-l-35 : #
|
|
15
|
-
--ant-primary-color-deprecated-l-20 : #
|
|
16
|
-
--ant-primary-color-deprecated-t-20 : #
|
|
17
|
-
--ant-primary-color-deprecated-t-50 : #
|
|
18
|
-
--ant-primary-color-deprecated-f-12 : rgba(
|
|
11
|
+
--ant-primary-2 : #b5dbff;
|
|
12
|
+
--ant-primary-3 : #85baf2;
|
|
13
|
+
--ant-primary-4 : #5a99e6;
|
|
14
|
+
--ant-primary-5 : #3277d9;
|
|
15
|
+
--ant-primary-6 : #0E55CB;
|
|
16
|
+
--ant-primary-7 : #033ca6;
|
|
17
|
+
--ant-primary-color-deprecated-pure : #94b9f8;
|
|
18
|
+
--ant-primary-color-deprecated-l-35 : #94b9f8;
|
|
19
|
+
--ant-primary-color-deprecated-l-20 : #4c8bf3;
|
|
20
|
+
--ant-primary-color-deprecated-t-20 : #3e77d5;
|
|
21
|
+
--ant-primary-color-deprecated-t-50 : #87aae5;
|
|
22
|
+
--ant-primary-color-deprecated-f-12 : rgba(14, 85, 203, 0.12);
|
|
19
23
|
--ant-primary-color-active-deprecated-f-30: rgba(230, 244, 255, 0.3);
|
|
20
24
|
--ant-primary-color-active-deprecated-d-02: #dcf0ff;
|
|
21
25
|
--ant-success-color : #52c41a;
|
|
@@ -36,9 +40,10 @@ body {
|
|
|
36
40
|
--ant-warning-color-outline : rgba(250, 173, 20, 0.2);
|
|
37
41
|
--ant-warning-color-deprecated-bg : #fffbe6;
|
|
38
42
|
--ant-warning-color-deprecated-border : #ffe58f;
|
|
39
|
-
--ant-info-color : #
|
|
43
|
+
--ant-info-color : #0E55CB;
|
|
40
44
|
--ant-info-color-deprecated-bg : #e6f4ff;
|
|
41
|
-
--ant-info-color-deprecated-border : #
|
|
45
|
+
--ant-info-color-deprecated-border : #85baf2;
|
|
46
|
+
|
|
42
47
|
|
|
43
48
|
// --ant-primary-color : #4997E6;
|
|
44
49
|
// --ant-primary-color-hover : #74b7f2;
|
|
@@ -82,52 +87,72 @@ body {
|
|
|
82
87
|
// --ant-info-color-deprecated-border : #ccebff;
|
|
83
88
|
}
|
|
84
89
|
|
|
90
|
+
* ::-webkit-scrollbar-thumb {
|
|
91
|
+
background-color: rgba(101, 100, 99, 0.5);
|
|
92
|
+
border-radius : 6px;
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: rgba(101, 100, 99, 0.8);
|
|
96
|
+
border-radius : 6px;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
* ::-webkit-scrollbar {
|
|
101
|
+
width : 8px;
|
|
102
|
+
height : 8px;
|
|
103
|
+
background-color: transparent;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
* {
|
|
107
|
+
scrollbar-width: thin;
|
|
108
|
+
}
|
|
109
|
+
|
|
85
110
|
|
|
86
111
|
body.theme-yellow {
|
|
87
|
-
--ant-primary-color: #fa8500;
|
|
88
|
-
--ant-primary-color-hover: #ffa229;
|
|
89
|
-
--ant-primary-color-active: #d46a00;
|
|
90
|
-
--ant-primary-color-outline: rgba(250, 133, 0, 0.2);
|
|
91
|
-
--ant-primary-bg: #fff;
|
|
92
|
-
--ant-primary-side: #fff7e6;
|
|
93
|
-
--ant-primary-0: #ffd9ad;
|
|
94
|
-
--ant-primary-1: #fff7e6;
|
|
95
|
-
--ant-primary-2: #ffe0a3;
|
|
96
|
-
--ant-primary-3: #ffce7a;
|
|
97
|
-
--ant-primary-4: #ffba52;
|
|
98
|
-
--ant-primary-5: #ffa229;
|
|
99
|
-
--ant-primary-6: #fa8500;
|
|
100
|
-
--ant-primary-7: #d46a00;
|
|
101
|
-
--ant-primary-color-deprecated-pure: #ffd9ad;
|
|
102
|
-
--ant-primary-color-deprecated-l-35: #ffd9ad;
|
|
103
|
-
--ant-primary-color-deprecated-l-20: #ffb561;
|
|
104
|
-
--ant-primary-color-deprecated-t-20: #fb9d33;
|
|
105
|
-
--ant-primary-color-deprecated-t-50: #fdc280;
|
|
106
|
-
--ant-primary-color-deprecated-f-12: rgba(250, 133, 0, 0.12);
|
|
112
|
+
--ant-primary-color : #fa8500;
|
|
113
|
+
--ant-primary-color-hover : #ffa229;
|
|
114
|
+
--ant-primary-color-active : #d46a00;
|
|
115
|
+
--ant-primary-color-outline : rgba(250, 133, 0, 0.2);
|
|
116
|
+
--ant-primary-bg : #fff;
|
|
117
|
+
--ant-primary-side : #fff7e6;
|
|
118
|
+
--ant-primary-0 : #ffd9ad;
|
|
119
|
+
--ant-primary-1 : #fff7e6;
|
|
120
|
+
--ant-primary-2 : #ffe0a3;
|
|
121
|
+
--ant-primary-3 : #ffce7a;
|
|
122
|
+
--ant-primary-4 : #ffba52;
|
|
123
|
+
--ant-primary-5 : #ffa229;
|
|
124
|
+
--ant-primary-6 : #fa8500;
|
|
125
|
+
--ant-primary-7 : #d46a00;
|
|
126
|
+
--ant-primary-color-deprecated-pure : #ffd9ad;
|
|
127
|
+
--ant-primary-color-deprecated-l-35 : #ffd9ad;
|
|
128
|
+
--ant-primary-color-deprecated-l-20 : #ffb561;
|
|
129
|
+
--ant-primary-color-deprecated-t-20 : #fb9d33;
|
|
130
|
+
--ant-primary-color-deprecated-t-50 : #fdc280;
|
|
131
|
+
--ant-primary-color-deprecated-f-12 : rgba(250, 133, 0, 0.12);
|
|
107
132
|
--ant-primary-color-active-deprecated-f-30: rgba(255, 247, 230, 0.3);
|
|
108
133
|
--ant-primary-color-active-deprecated-d-02: #fff4dc;
|
|
109
|
-
--ant-success-color: #52c41a;
|
|
110
|
-
--ant-success-color-hover: #73d13d;
|
|
111
|
-
--ant-success-color-active: #389e0d;
|
|
112
|
-
--ant-success-color-outline: rgba(82, 196, 26, 0.2);
|
|
113
|
-
--ant-success-color-deprecated-bg: #f6ffed;
|
|
114
|
-
--ant-success-color-deprecated-border: #b7eb8f;
|
|
115
|
-
--ant-error-color: #ff4d4f;
|
|
116
|
-
--ant-error-color-hover: #ff7875;
|
|
117
|
-
--ant-error-color-active: #d9363e;
|
|
118
|
-
--ant-error-color-outline: rgba(255, 77, 79, 0.2);
|
|
119
|
-
--ant-error-color-deprecated-bg: #fff2f0;
|
|
120
|
-
--ant-error-color-deprecated-border: #ffccc7;
|
|
121
|
-
--ant-warning-color: #faad14;
|
|
122
|
-
--ant-warning-color-hover: #ffc53d;
|
|
123
|
-
--ant-warning-color-active: #d48806;
|
|
124
|
-
--ant-warning-color-outline: rgba(250, 173, 20, 0.2);
|
|
125
|
-
--ant-warning-color-deprecated-bg: #fffbe6;
|
|
126
|
-
--ant-warning-color-deprecated-border: #ffe58f;
|
|
127
|
-
--ant-info-color: #fa8500;
|
|
128
|
-
--ant-info-color-deprecated-bg: #fff7e6;
|
|
129
|
-
--ant-info-color-deprecated-border: #ffce7a;
|
|
130
|
-
--antd-wave-shadow-color: #fa8500;
|
|
134
|
+
--ant-success-color : #52c41a;
|
|
135
|
+
--ant-success-color-hover : #73d13d;
|
|
136
|
+
--ant-success-color-active : #389e0d;
|
|
137
|
+
--ant-success-color-outline : rgba(82, 196, 26, 0.2);
|
|
138
|
+
--ant-success-color-deprecated-bg : #f6ffed;
|
|
139
|
+
--ant-success-color-deprecated-border : #b7eb8f;
|
|
140
|
+
--ant-error-color : #ff4d4f;
|
|
141
|
+
--ant-error-color-hover : #ff7875;
|
|
142
|
+
--ant-error-color-active : #d9363e;
|
|
143
|
+
--ant-error-color-outline : rgba(255, 77, 79, 0.2);
|
|
144
|
+
--ant-error-color-deprecated-bg : #fff2f0;
|
|
145
|
+
--ant-error-color-deprecated-border : #ffccc7;
|
|
146
|
+
--ant-warning-color : #faad14;
|
|
147
|
+
--ant-warning-color-hover : #ffc53d;
|
|
148
|
+
--ant-warning-color-active : #d48806;
|
|
149
|
+
--ant-warning-color-outline : rgba(250, 173, 20, 0.2);
|
|
150
|
+
--ant-warning-color-deprecated-bg : #fffbe6;
|
|
151
|
+
--ant-warning-color-deprecated-border : #ffe58f;
|
|
152
|
+
--ant-info-color : #fa8500;
|
|
153
|
+
--ant-info-color-deprecated-bg : #fff7e6;
|
|
154
|
+
--ant-info-color-deprecated-border : #ffce7a;
|
|
155
|
+
--antd-wave-shadow-color : #fa8500;
|
|
131
156
|
|
|
132
157
|
.ant-table-cell,
|
|
133
158
|
.ant-pro-table-alert-info-content {
|
|
@@ -151,44 +176,41 @@ body.theme-yellow {
|
|
|
151
176
|
left : 0;
|
|
152
177
|
right : 0;
|
|
153
178
|
bottom : 0;
|
|
154
|
-
background :
|
|
179
|
+
background : var(--bg-color,#F9FAFB);
|
|
155
180
|
display : flex;
|
|
156
181
|
flex-direction: column;
|
|
157
182
|
z-index : 50;
|
|
158
183
|
|
|
159
184
|
.dtl-header {
|
|
160
|
-
display
|
|
161
|
-
justify-items: center;
|
|
162
|
-
padding
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
185
|
+
display : flex;
|
|
186
|
+
justify-items : center;
|
|
187
|
+
padding : 8px 20px;
|
|
188
|
+
background : #fff;
|
|
189
|
+
// border-bottom: 1px solid #f0f0f0;
|
|
190
|
+
|
|
191
|
+
// .dtl-back {
|
|
192
|
+
// display : flex;
|
|
193
|
+
// align-items : center;
|
|
194
|
+
// padding-right: 5px;
|
|
195
|
+
|
|
196
|
+
// >span {
|
|
197
|
+
// padding : 3px;
|
|
198
|
+
// border-radius: 2px;
|
|
199
|
+
|
|
200
|
+
// &:hover {
|
|
201
|
+
// background: var(--ant-primary-2);
|
|
202
|
+
// color : var(--ant-primary-color)
|
|
203
|
+
// }
|
|
204
|
+
// }
|
|
205
|
+
// }
|
|
180
206
|
|
|
181
207
|
.dtl-title {
|
|
182
|
-
font-size:
|
|
208
|
+
font-size: 14px;
|
|
183
209
|
}
|
|
184
210
|
|
|
185
211
|
.dtl-btns {
|
|
186
212
|
flex : 1;
|
|
187
213
|
text-align: right;
|
|
188
|
-
|
|
189
|
-
button+button {
|
|
190
|
-
margin-left: 8px;
|
|
191
|
-
}
|
|
192
214
|
}
|
|
193
215
|
}
|
|
194
216
|
|
|
@@ -196,7 +218,6 @@ body.theme-yellow {
|
|
|
196
218
|
height : 0;
|
|
197
219
|
flex : 1;
|
|
198
220
|
overflow: auto;
|
|
199
|
-
padding : 12px;
|
|
200
221
|
}
|
|
201
222
|
|
|
202
223
|
.dtl-flex {
|
|
@@ -272,33 +293,6 @@ body.theme-yellow {
|
|
|
272
293
|
}
|
|
273
294
|
}
|
|
274
295
|
|
|
275
|
-
.ant-btn {
|
|
276
|
-
border-radius: 4px;
|
|
277
|
-
border-color : var(--ant-primary-color);
|
|
278
|
-
color : var(--ant-primary-color);
|
|
279
|
-
height : 28px;
|
|
280
|
-
line-height : 1.2;
|
|
281
|
-
padding : 2px 15px;
|
|
282
|
-
|
|
283
|
-
&:active {
|
|
284
|
-
border-color: var(--ant-primary-color-hover);
|
|
285
|
-
color : var(--ant-primary-color-hover);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.ant-btn-icon-only {
|
|
290
|
-
padding: 2px 0;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.ant-btn-primary {
|
|
294
|
-
color: #fff;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.ant-btn-dangerous {
|
|
298
|
-
color : var(--ant-error-color);
|
|
299
|
-
border-color: var(--ant-error-color);
|
|
300
|
-
background : #fff;
|
|
301
|
-
}
|
|
302
296
|
|
|
303
297
|
a {
|
|
304
298
|
color: var(--ant-primary-color);
|
|
@@ -399,102 +393,103 @@ a:hover {
|
|
|
399
393
|
}
|
|
400
394
|
|
|
401
395
|
|
|
402
|
-
.
|
|
403
|
-
|
|
404
|
-
|
|
396
|
+
.ls-group-tip {
|
|
397
|
+
display : flex;
|
|
398
|
+
position : relative;
|
|
399
|
+
width : 100%;
|
|
400
|
+
align-items : center;
|
|
401
|
+
background : #fff;
|
|
402
|
+
padding-bottom: 12px;
|
|
403
|
+
.ls-group-divider {
|
|
404
|
+
height : 14px;
|
|
405
|
+
border-right: 2px solid var(--ant-primary-color);
|
|
405
406
|
}
|
|
406
|
-
}
|
|
407
407
|
|
|
408
|
-
.
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
408
|
+
.ls-group-text {
|
|
409
|
+
font-size : 14px;
|
|
410
|
+
color : #181818;
|
|
411
|
+
padding-left: 8px;
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
.ant-row {
|
|
416
|
-
width: 100%;
|
|
417
|
-
}
|
|
418
415
|
|
|
419
|
-
|
|
420
|
-
max-width: min-content !important;
|
|
421
|
-
}
|
|
416
|
+
|
|
422
417
|
//-------------------省市区组件样式-----------
|
|
423
418
|
//最外层盒子
|
|
424
419
|
.ls-area-cascaded-box {
|
|
425
|
-
width: 600px;
|
|
426
|
-
display: flex;
|
|
420
|
+
width : 600px;
|
|
421
|
+
display : flex;
|
|
427
422
|
flex-direction: column;
|
|
428
|
-
transition: all 0.3s;
|
|
423
|
+
transition : all 0.3s;
|
|
429
424
|
|
|
430
425
|
.ls-area-cascaded-header {
|
|
431
|
-
width: 100%;
|
|
432
|
-
padding: 2px 0 6px;
|
|
433
|
-
border-bottom: 1px solid #f0f0f0;
|
|
434
|
-
display: flex;
|
|
435
|
-
flex-direction: row;
|
|
426
|
+
width : 100%;
|
|
427
|
+
padding : 2px 0 6px;
|
|
428
|
+
border-bottom : 1px solid #f0f0f0;
|
|
429
|
+
display : flex;
|
|
430
|
+
flex-direction : row;
|
|
436
431
|
justify-content: space-around;
|
|
437
432
|
justify-content: center;
|
|
438
433
|
|
|
439
434
|
.ls-word-box-display {
|
|
440
|
-
margin: 0 10px;
|
|
441
|
-
font-size: 14px;
|
|
435
|
+
margin : 0 10px;
|
|
436
|
+
font-size : 14px;
|
|
442
437
|
font-weight: 100;
|
|
443
438
|
|
|
444
439
|
button {
|
|
445
|
-
border: none;
|
|
440
|
+
border : none;
|
|
446
441
|
background-color: var(--ant-primary-2, #f0f9ff);
|
|
447
442
|
|
|
448
443
|
&[disabled] {
|
|
449
444
|
background-color: #fafafa !important;
|
|
450
445
|
|
|
451
446
|
.ls-myself-select-title-style {
|
|
452
|
-
color: var(--ant-primary-4, #a3d7ff);
|
|
447
|
+
color : var(--ant-primary-4, #a3d7ff);
|
|
453
448
|
transition: all 0.3s;
|
|
454
449
|
}
|
|
455
450
|
}
|
|
456
451
|
}
|
|
457
452
|
|
|
458
453
|
.ls-myself-select-title-style {
|
|
459
|
-
color: var(--ant-primary-color, rgb(69, 154, 220));
|
|
460
|
-
font-size: 14px;
|
|
454
|
+
color : var(--ant-primary-color, rgb(69, 154, 220));
|
|
455
|
+
font-size : 14px;
|
|
461
456
|
font-weight: 600;
|
|
462
|
-
transition: all 0.3s;
|
|
457
|
+
transition : all 0.3s;
|
|
463
458
|
}
|
|
464
459
|
}
|
|
465
460
|
|
|
466
461
|
.ls-icon-box-display {
|
|
467
|
-
display: flex;
|
|
462
|
+
display : flex;
|
|
468
463
|
align-items: center;
|
|
469
464
|
}
|
|
470
465
|
}
|
|
471
466
|
|
|
472
467
|
.ls-area-cascaded-body {
|
|
473
|
-
width: 100%;
|
|
474
|
-
min-height: 100px;
|
|
475
|
-
max-height: 350px;
|
|
476
|
-
overflow: auto;
|
|
477
|
-
padding: 8px 12px 4px;
|
|
478
|
-
display: grid;
|
|
468
|
+
width : 100%;
|
|
469
|
+
min-height : 100px;
|
|
470
|
+
max-height : 350px;
|
|
471
|
+
overflow : auto;
|
|
472
|
+
padding : 8px 12px 4px;
|
|
473
|
+
display : grid;
|
|
479
474
|
grid-template-columns: repeat(4, 1fr);
|
|
480
|
-
gap: 4px;
|
|
481
|
-
justify-content: start;
|
|
482
|
-
align-content: flex-start;
|
|
483
|
-
align-items: center;
|
|
475
|
+
gap : 4px;
|
|
476
|
+
justify-content : start;
|
|
477
|
+
align-content : flex-start;
|
|
478
|
+
align-items : center;
|
|
484
479
|
|
|
485
480
|
.ls-area-cascaded-span {
|
|
486
481
|
text-align: center;
|
|
487
|
-
padding: 6px 10px;
|
|
482
|
+
padding : 6px 10px;
|
|
488
483
|
|
|
489
484
|
//文字不换行,超出省略
|
|
490
|
-
overflow: hidden;
|
|
485
|
+
overflow : hidden;
|
|
491
486
|
text-overflow: ellipsis;
|
|
492
|
-
white-space: nowrap;
|
|
493
|
-
cursor: pointer;
|
|
487
|
+
white-space : nowrap;
|
|
488
|
+
cursor : pointer;
|
|
494
489
|
|
|
495
490
|
&.ls-area-selected,
|
|
496
491
|
&:hover {
|
|
497
|
-
color: var(--ant-primary-color, rgb(69, 154, 220));
|
|
492
|
+
color : var(--ant-primary-color, rgb(69, 154, 220));
|
|
498
493
|
transition: all 0.3s;
|
|
499
494
|
}
|
|
500
495
|
}
|
|
@@ -508,4 +503,7 @@ a:hover {
|
|
|
508
503
|
}
|
|
509
504
|
}
|
|
510
505
|
|
|
506
|
+
|
|
507
|
+
@import url('./antd-custom.less');
|
|
508
|
+
|
|
511
509
|
//-------------------省市区组件样式-----------
|