ls-pro-common 1.0.44 → 1.0.47
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 +103 -0
- package/dist/common.js +1 -1
- package/dist/common.min.css +103 -0
- package/dist/common.min.js +1 -1
- package/es/components/common.less +65 -1
- package/es/hooks/useDtl/index.js +2 -2
- package/es/hooks/useSingle/index.js +2 -2
- package/lib/components/common.less +65 -1
- package/lib/hooks/useDtl/index.js +1 -1
- package/lib/hooks/useSingle/index.js +1 -1
- package/package.json +2 -2
package/dist/common.css
CHANGED
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
body {
|
|
2
|
+
--ant-primary-color: #4997E6;
|
|
3
|
+
--ant-primary-color-hover: #74b7f2;
|
|
4
|
+
--ant-primary-color-active: #3475bf;
|
|
5
|
+
--ant-primary-color-outline: rgba(73, 151, 230, 0.2);
|
|
6
|
+
--ant-primary-1: #f0faff;
|
|
7
|
+
--ant-primary-2: #f0f9ff;
|
|
8
|
+
--ant-primary-3: #ccebff;
|
|
9
|
+
--ant-primary-4: #a3d7ff;
|
|
10
|
+
--ant-primary-5: #74b7f2;
|
|
11
|
+
--ant-primary-6: #4997E6;
|
|
12
|
+
--ant-primary-7: #3475bf;
|
|
13
|
+
--ant-primary-color-deprecated-pure: #e6f1fc;
|
|
14
|
+
--ant-primary-color-deprecated-l-35: #e6f1fc;
|
|
15
|
+
--ant-primary-color-deprecated-l-20: #a3caf2;
|
|
16
|
+
--ant-primary-color-deprecated-t-20: #6daceb;
|
|
17
|
+
--ant-primary-color-deprecated-t-50: #a4cbf3;
|
|
18
|
+
--ant-primary-color-deprecated-f-12: rgba(73, 151, 230, 0.12);
|
|
19
|
+
--ant-primary-color-active-deprecated-f-30: rgba(240, 250, 255, 0.3);
|
|
20
|
+
--ant-primary-color-active-deprecated-d-02: #e6f7ff;
|
|
21
|
+
--ant-success-color: #52c41a;
|
|
22
|
+
--ant-success-color-hover: #73d13d;
|
|
23
|
+
--ant-success-color-active: #389e0d;
|
|
24
|
+
--ant-success-color-outline: rgba(82, 196, 26, 0.2);
|
|
25
|
+
--ant-success-color-deprecated-bg: #f6ffed;
|
|
26
|
+
--ant-success-color-deprecated-border: #b7eb8f;
|
|
27
|
+
--ant-error-color: #ff4d4f;
|
|
28
|
+
--ant-error-color-hover: #ff7875;
|
|
29
|
+
--ant-error-color-active: #d9363e;
|
|
30
|
+
--ant-error-color-outline: rgba(255, 77, 79, 0.2);
|
|
31
|
+
--ant-error-color-deprecated-bg: #fff2f0;
|
|
32
|
+
--ant-error-color-deprecated-border: #ffccc7;
|
|
33
|
+
--ant-warning-color: #faad14;
|
|
34
|
+
--ant-warning-color-hover: #ffc53d;
|
|
35
|
+
--ant-warning-color-active: #d48806;
|
|
36
|
+
--ant-warning-color-outline: rgba(250, 173, 20, 0.2);
|
|
37
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
|
38
|
+
--ant-warning-color-deprecated-border: #ffe58f;
|
|
39
|
+
--ant-info-color: #4997E6;
|
|
40
|
+
--ant-info-color-deprecated-bg: #f0faff;
|
|
41
|
+
--ant-info-color-deprecated-border: #ccebff;
|
|
42
|
+
}
|
|
1
43
|
.dtl-layout {
|
|
2
44
|
position: absolute;
|
|
3
45
|
top: 0;
|
|
@@ -73,6 +115,23 @@
|
|
|
73
115
|
padding-top: 20%;
|
|
74
116
|
background: #fff;
|
|
75
117
|
}
|
|
118
|
+
.ant-btn {
|
|
119
|
+
border-radius: 4px;
|
|
120
|
+
border-color: var(--ant-primary-color);
|
|
121
|
+
color: var(--ant-primary-color);
|
|
122
|
+
}
|
|
123
|
+
.ant-btn:active {
|
|
124
|
+
border-color: var(--ant-primary-color-hover);
|
|
125
|
+
color: var(--ant-primary-color-hover);
|
|
126
|
+
}
|
|
127
|
+
.ant-btn-primary {
|
|
128
|
+
color: #fff;
|
|
129
|
+
}
|
|
130
|
+
.ant-btn-dangerous {
|
|
131
|
+
color: var(--ant-error-color);
|
|
132
|
+
border-color: var(--ant-error-color);
|
|
133
|
+
background: #fff;
|
|
134
|
+
}
|
|
76
135
|
|
|
77
136
|
.pro-table-tooltip-text span {
|
|
78
137
|
color: #fff;
|
|
@@ -161,6 +220,26 @@
|
|
|
161
220
|
.ant-pro-table-srcoll .ant-table-placeholder td {
|
|
162
221
|
border-bottom: none;
|
|
163
222
|
}
|
|
223
|
+
.ls-pro-table .ant-table-tbody tr:nth-of-type(odd) {
|
|
224
|
+
background-color: #f7fafc;
|
|
225
|
+
}
|
|
226
|
+
.ant-pro-table .ant-table-cell-row-hover,
|
|
227
|
+
.ant-pro-table .ant-table-row-selected td {
|
|
228
|
+
background-color: #E6F5FF;
|
|
229
|
+
}
|
|
230
|
+
.ant-pro-table .ant-table-thead tr th {
|
|
231
|
+
background-color: #f5f9ff;
|
|
232
|
+
}
|
|
233
|
+
.theme-yellow .ls-pro-table .ant-table-tbody tr:nth-of-type(odd) {
|
|
234
|
+
background-color: #fcfaf7;
|
|
235
|
+
}
|
|
236
|
+
.theme-yellow .ant-pro-table .ant-table-cell-row-hover,
|
|
237
|
+
.theme-yellow .ant-pro-table .ant-table-row-selected td {
|
|
238
|
+
background-color: #ffedd9;
|
|
239
|
+
}
|
|
240
|
+
.theme-yellow .ant-pro-table .ant-table-thead tr th {
|
|
241
|
+
background-color: #fffaf5;
|
|
242
|
+
}
|
|
164
243
|
@keyframes turn {
|
|
165
244
|
0% {
|
|
166
245
|
transform: rotate(0deg);
|
|
@@ -1997,6 +2076,26 @@ html {
|
|
|
1997
2076
|
.ant-pro-table-srcoll .ant-table-placeholder td {
|
|
1998
2077
|
border-bottom: none;
|
|
1999
2078
|
}
|
|
2079
|
+
.ls-pro-table .ant-table-tbody tr:nth-of-type(odd) {
|
|
2080
|
+
background-color: #f7fafc;
|
|
2081
|
+
}
|
|
2082
|
+
.ant-pro-table .ant-table-cell-row-hover,
|
|
2083
|
+
.ant-pro-table .ant-table-row-selected td {
|
|
2084
|
+
background-color: #E6F5FF;
|
|
2085
|
+
}
|
|
2086
|
+
.ant-pro-table .ant-table-thead tr th {
|
|
2087
|
+
background-color: #f5f9ff;
|
|
2088
|
+
}
|
|
2089
|
+
.theme-yellow .ls-pro-table .ant-table-tbody tr:nth-of-type(odd) {
|
|
2090
|
+
background-color: #fcfaf7;
|
|
2091
|
+
}
|
|
2092
|
+
.theme-yellow .ant-pro-table .ant-table-cell-row-hover,
|
|
2093
|
+
.theme-yellow .ant-pro-table .ant-table-row-selected td {
|
|
2094
|
+
background-color: #ffedd9;
|
|
2095
|
+
}
|
|
2096
|
+
.theme-yellow .ant-pro-table .ant-table-thead tr th {
|
|
2097
|
+
background-color: #fffaf5;
|
|
2098
|
+
}
|
|
2000
2099
|
@keyframes turn {
|
|
2001
2100
|
0% {
|
|
2002
2101
|
transform: rotate(0deg);
|
|
@@ -2251,6 +2350,10 @@ html {
|
|
|
2251
2350
|
.ant-pro-table-alert {
|
|
2252
2351
|
margin-bottom: 12px;
|
|
2253
2352
|
}
|
|
2353
|
+
.ant-pro-table-alert .ant-alert.ant-alert-no-icon {
|
|
2354
|
+
height: 32px;
|
|
2355
|
+
padding: 7px 30px;
|
|
2356
|
+
}
|
|
2254
2357
|
.ant-pro-table-alert-info {
|
|
2255
2358
|
display: flex;
|
|
2256
2359
|
align-items: center;
|