ls-pro-common 3.0.5 → 3.0.7

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.
@@ -1,224 +1,241 @@
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
-
39
- .ant-modal-header {
40
- border-radius: 8px 8px 0 0 !important;
41
- }
42
- }
43
-
44
- .ant-input-number,
45
- .ant-input-affix-wrapper,
46
- .ant-picker,
47
- .ant-select-selector {
48
- border-radius: 4px !important;
49
- }
50
-
51
- .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
52
- border-top-right-radius : 0 !important;
53
- border-bottom-right-radius: 0 !important;
54
- }
55
-
56
- .ant-picker-range-separator {
57
- padding: 0 2px !important;
58
-
59
- .ant-picker-separator {
60
- font-size: 14px;
61
- }
62
- }
63
-
64
-
65
- .ant-btn {
66
- height : 32px;
67
- background-color: #E6F4FF;
68
- border-color : transparent;
69
- color : var(--ant-primary-color);
70
- border-radius : 4px;
71
-
72
- &.ant-btn-lg {
73
- height: 40px
74
- }
75
-
76
- &:hover,
77
- &:focus {
78
- background-color: #B5DBFF;
79
- border-color : transparent;
80
- color : var(--ant-primary-color);
81
- }
82
-
83
- &:active {
84
- background-color: #BDDFFF;
85
- border-color : transparent;
86
- color : var(--ant-primary-color);
87
- }
88
-
89
- &[disabled],
90
- &[disabled]:hover,
91
- &[disabled]:focus,
92
- &[disabled]:active {
93
- background-color: #EAEEF2;
94
- border-color : transparent;
95
- color : #D9D9D9;
96
- }
97
- }
98
-
99
- .ant-btn-primary {
100
- background-color: var(--ant-primary-color);
101
- border-color : transparent;
102
- color : #fff;
103
-
104
- &:hover,
105
- &:focus {
106
- background-color: var(--ant-primary-color-hover);
107
- border-color : transparent;
108
- color : #fff;
109
- }
110
-
111
- &:active {
112
- background-color: var(--ant-primary-color-active);
113
- border-color : transparent;
114
- color : #fff;
115
- }
116
-
117
- &[disabled],
118
- &[disabled]:hover,
119
- &[disabled]:focus,
120
- &[disabled]:active {
121
- background-color: rgba(24, 105, 237, 0.4);
122
- border-color : transparent;
123
- color : #fff;
124
- }
125
- }
126
-
127
- .ant-btn-dangerous {
128
- background-color: #FFCCC7;
129
- border-color : transparent;
130
- color : #F5222D;
131
-
132
- &:hover,
133
- &:focus {
134
- background-color: #FFF1F0;
135
- border-color : transparent;
136
- color : #F5222D;
137
- }
138
-
139
- &:active {
140
- background-color: #FFA39E;
141
- border-color : transparent;
142
- color : #F5222D;
143
- }
144
-
145
- &[disabled],
146
- &[disabled]:hover,
147
- &[disabled]:focus,
148
- &[disabled]:active {
149
- background-color: #FFCCC7;
150
- border-color : transparent;
151
- color : #FFA39E;
152
- }
153
- }
154
-
155
- .ant-btn-link {
156
- background-color: transparent;
157
- border-color : transparent;
158
- color : var(--ant-primary-color);
159
- padding : 4px 8px;
160
-
161
- &[disabled],
162
- &[disabled]:hover,
163
- &[disabled]:focus,
164
- &[disabled]:active,
165
- &:hover,
166
- &:focus,
167
- &:active {
168
- background-color: transparent;
169
- border-color : transparent;
170
- }
171
-
172
- &:hover,
173
- &:focus {
174
- color: var(--ant-primary-color-hover);
175
- }
176
-
177
- &:active {
178
- color: var(--ant-primary-color-active);
179
- }
180
-
181
- &[disabled],
182
- &[disabled]:hover,
183
- &[disabled]:focus,
184
- &[disabled]:active {
185
- color: #A7B5CC;
186
- }
187
- }
188
-
189
- .ant-btn-text {
190
- background-color: transparent;
191
- border-color : transparent;
192
- color : #8C8C8C;
193
- padding : 4px 8px;
194
-
195
- &[disabled],
196
- &[disabled]:hover,
197
- &[disabled]:focus,
198
- &[disabled]:active,
199
- &:hover,
200
- &:focus,
201
- &:active {
202
- background-color: transparent;
203
- border-color : transparent;
204
-
205
- }
206
-
207
- &:hover,
208
- &:active,
209
- &:focus {
210
- color: var(--ant-primary-color-hover);
211
- }
212
-
213
- &[disabled],
214
- &[disabled]:hover,
215
- &[disabled]:focus,
216
- &[disabled]:active {
217
- color: #d9d9d9;
218
- }
219
- }
220
-
221
- .ant-checkbox-checked::after {
222
- animation : none !important;
223
- animation-fill-mode: none !important;
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
+
39
+ .ant-modal-header {
40
+ border-radius: 8px 8px 0 0 !important;
41
+ }
42
+ }
43
+
44
+ .ant-input-number,
45
+ .ant-input-affix-wrapper,
46
+ .ant-picker,
47
+ .ant-select-selector {
48
+ border-radius: 4px !important;
49
+ }
50
+
51
+ .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
52
+ border-top-right-radius : 0 !important;
53
+ border-bottom-right-radius: 0 !important;
54
+ }
55
+
56
+ .ant-picker-range-separator {
57
+ padding: 0 2px !important;
58
+
59
+ .ant-picker-separator {
60
+ font-size: 14px;
61
+ }
62
+ }
63
+
64
+
65
+ .ant-btn {
66
+ height : 32px;
67
+ background-color: var(--ant-primary-1);
68
+ border-color : transparent;
69
+ color : var(--ant-primary-color);
70
+ border-radius : 4px;
71
+
72
+ &.ant-btn-lg {
73
+ height: 40px
74
+ }
75
+
76
+ &:hover,
77
+ &:focus {
78
+ background-color: var(--ant-primary-2);
79
+ border-color : transparent;
80
+ color : var(--ant-primary-color);
81
+ }
82
+
83
+ &:active {
84
+ background-color: var(--ant-primary-3);
85
+ border-color : transparent;
86
+ color : var(--ant-primary-color);
87
+ }
88
+
89
+ &[disabled],
90
+ &[disabled]:hover,
91
+ &[disabled]:focus,
92
+ &[disabled]:active {
93
+ background-color: #EAEEF2;
94
+ border-color : transparent;
95
+ color : #D9D9D9;
96
+ }
97
+ }
98
+
99
+ .ant-btn-primary {
100
+ background-color: var(--ant-primary-color);
101
+ border-color : transparent;
102
+ color : #fff;
103
+
104
+ &:hover,
105
+ &:focus {
106
+ background-color: var(--ant-primary-color-hover);
107
+ border-color : transparent;
108
+ color : #fff;
109
+ }
110
+
111
+ &:active {
112
+ background-color: var(--ant-primary-color-active);
113
+ border-color : transparent;
114
+ color : #fff;
115
+ }
116
+
117
+ &[disabled],
118
+ &[disabled]:hover,
119
+ &[disabled]:focus,
120
+ &[disabled]:active {
121
+ background-color: var(--ant-primary-color-outline);
122
+ border-color : transparent;
123
+ color : #fff;
124
+ }
125
+ }
126
+
127
+ .ant-btn-dangerous {
128
+ background-color: #FFCCC7;
129
+ border-color : transparent;
130
+ color : #F5222D;
131
+
132
+ &:hover,
133
+ &:focus {
134
+ background-color: #FFF1F0;
135
+ border-color : transparent;
136
+ color : #F5222D;
137
+ }
138
+
139
+ &:active {
140
+ background-color: #FFA39E;
141
+ border-color : transparent;
142
+ color : #F5222D;
143
+ }
144
+
145
+ &[disabled],
146
+ &[disabled]:hover,
147
+ &[disabled]:focus,
148
+ &[disabled]:active {
149
+ background-color: #FFCCC7;
150
+ border-color : transparent;
151
+ color : #FFA39E;
152
+ }
153
+ }
154
+
155
+ .ant-btn-link {
156
+ background-color: transparent;
157
+ border-color : transparent;
158
+ color : var(--ant-primary-color);
159
+ padding : 4px 8px;
160
+
161
+ &[disabled],
162
+ &[disabled]:hover,
163
+ &[disabled]:focus,
164
+ &[disabled]:active,
165
+ &:hover,
166
+ &:focus,
167
+ &:active {
168
+ background-color: transparent;
169
+ border-color : transparent;
170
+ }
171
+
172
+ &:hover,
173
+ &:focus {
174
+ color: var(--ant-primary-color-hover);
175
+ }
176
+
177
+ &:active {
178
+ color: var(--ant-primary-color-active);
179
+ }
180
+
181
+ &[disabled],
182
+ &[disabled]:hover,
183
+ &[disabled]:focus,
184
+ &[disabled]:active {
185
+ color: #A7B5CC;
186
+ }
187
+ }
188
+
189
+ .ant-btn-text {
190
+ background-color: transparent;
191
+ border-color : transparent;
192
+ color : #8C8C8C;
193
+ padding : 4px 8px;
194
+
195
+ &[disabled],
196
+ &[disabled]:hover,
197
+ &[disabled]:focus,
198
+ &[disabled]:active,
199
+ &:hover,
200
+ &:focus,
201
+ &:active {
202
+ background-color: transparent;
203
+ border-color : transparent;
204
+
205
+ }
206
+
207
+ &:hover,
208
+ &:active,
209
+ &:focus {
210
+ color: var(--ant-primary-color-hover);
211
+ }
212
+
213
+ &[disabled],
214
+ &[disabled]:hover,
215
+ &[disabled]:focus,
216
+ &[disabled]:active {
217
+ color: #d9d9d9;
218
+ }
219
+ }
220
+
221
+ .ant-checkbox-checked::after {
222
+ animation : none !important;
223
+ animation-fill-mode: none !important;
224
+ }
225
+
226
+
227
+ .ant-descriptions-item-label {
228
+ color: #8c8c8c !important;
229
+
230
+ .ant-typography {
231
+ color: #8c8c8c;
232
+ }
233
+
234
+ &::after {
235
+ margin-right: 12px !important;
236
+ }
237
+ }
238
+
239
+ .ant-descriptions-item-content {
240
+ color: #1f1f1f !important;
224
241
  }
@@ -6,7 +6,7 @@ body {
6
6
  --ant-primary-color: #1869ED;
7
7
  --ant-primary-color-hover: #418efa;
8
8
  --ant-primary-color-active: #0a4cc7;
9
- --ant-primary-color-outline: rgba(24, 105, 237, 0.2);
9
+ --ant-primary-color-outline: rgba(24, 105, 237, 0.4);
10
10
  --ant-primary-1: #e6f4ff;
11
11
  --ant-primary-2: #bddfff;
12
12
  --ant-primary-3: #94c8ff;
@@ -71,7 +71,7 @@ body.theme-yellow {
71
71
  --ant-primary-color : #fa8500;
72
72
  --ant-primary-color-hover : #ffa229;
73
73
  --ant-primary-color-active : #d46a00;
74
- --ant-primary-color-outline : rgba(250, 133, 0, 0.2);
74
+ --ant-primary-color-outline : rgba(250, 133, 0, 0.4);
75
75
  --ant-primary-bg : #fff;
76
76
  --ant-primary-side : #fff7e6;
77
77
  --ant-primary-0 : #ffd9ad;
@@ -164,7 +164,8 @@ body.theme-yellow {
164
164
  // }
165
165
 
166
166
  .dtl-title {
167
- font-size: 14px;
167
+ font-size: 16px;
168
+ font-weight: 700;
168
169
  }
169
170
 
170
171
  .dtl-btns {
@@ -331,15 +332,7 @@ a:hover {
331
332
 
332
333
  .ant-pro-card-header-border {
333
334
  border-bottom: 1px solid #dbeafa;
334
- }
335
-
336
- .ant-descriptions-item-label {
337
- color: #595959;
338
- }
339
-
340
- .ant-descriptions-item-content {
341
- color: #262626;
342
- }
335
+ }
343
336
  }
344
337
 
345
338
  .has-background {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "description": "ls-pro-common",
5
5
  "keywords": [
6
6
  "antd",