cygx-ui 1.0.6 → 1.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.
Files changed (2) hide show
  1. package/dist/index.css +49 -4
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -150,9 +150,22 @@
150
150
  .cygx-table .ant-table {
151
151
  height: 100%;
152
152
  }
153
+ .cygx-table table {
154
+ border-spacing: 0px 10px;
155
+ }
153
156
  .cygx-table .ant-table-container {
154
157
  height: 100%;
155
158
  }
159
+ .cygx-table .ant-table-container .ant-table-header .ant-table-cell {
160
+ background-color: transparent;
161
+ }
162
+ .cygx-table .ant-table-container .ant-table-header tr > th {
163
+ border: none;
164
+ border-bottom: 2px solid #f0f0f0;
165
+ }
166
+ .cygx-table .ant-table-container .ant-table-header tr > th .react-resizable-handle {
167
+ display: none;
168
+ }
156
169
  .cygx-table .ant-table-body {
157
170
  height: 100%;
158
171
  }
@@ -177,16 +190,38 @@
177
190
  background-color: #c0ebff !important;
178
191
  }
179
192
  .cygx-table .ant-table .ant-table-tbody tr:nth-child(2n+1) td {
193
+ background: #e6f4ff;
194
+ }
195
+ .cygx-table .ant-table .ant-table-tbody tr {
196
+ height: 50px;
197
+ }
198
+ .cygx-table .ant-table .ant-table-tbody tr td {
180
199
  background: #f9fdff;
200
+ border-top: 2px solid #c0e7fa;
201
+ border-bottom: 2px solid #c0e7fa;
202
+ }
203
+ .cygx-table .ant-table .ant-table-tbody tr td:first-child {
204
+ border-top-left-radius: 10px; /* 左上角 */
205
+ border-bottom-left-radius: 10px; /* 左下角 */
206
+ border-left: 2px solid #c0e7fa;
207
+ }
208
+ .cygx-table .ant-table .ant-table-tbody tr td:last-child {
209
+ border-top-right-radius: 10px; /* 右上角 */
210
+ border-bottom-right-radius: 10px; /* 右下角 */
211
+ border-right: 2px solid #c0e7fa;
212
+ box-shadow: 10px 0 0 5px white; /* 设置边框阴影颜色和宽度 */
213
+ }
214
+ .cygx-table .ant-table .ant-table-placeholder > td {
215
+ border: none !important;
181
216
  }
182
217
  .cygx-table .ant-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td {
183
- background-color: #e6f7ff;
218
+ background-color: rgba(191, 173, 246, 0.2509803922);
184
219
  }
185
220
  .cygx-table .ant-table .ant-table-body .ant-table-row-hover {
186
- background: #e6f7ff;
221
+ background: rgba(191, 173, 246, 0.2509803922);
187
222
  }
188
223
  .cygx-table .ant-table .ant-table-body .ant-table-row-hover > td {
189
- background: #e6f7ff;
224
+ background: rgba(191, 173, 246, 0.2509803922);
190
225
  }
191
226
  .cygx-table .red-column-span {
192
227
  color: red;
@@ -209,6 +244,9 @@
209
244
  padding: 0px;
210
245
  max-height: 25px;
211
246
  }
247
+ .cygx-table .ant-table-cell .ant-btn:last-child {
248
+ margin-right: 0px !important;
249
+ }
212
250
  .cygx-table .ant-table-cell .ant-input-number,
213
251
  .cygx-table .ant-table-cell .ant-select {
214
252
  width: 100%;
@@ -303,6 +341,10 @@
303
341
  visibility: collapse;
304
342
  }
305
343
 
344
+ :where(.css-dev-only-do-not-override-1iph5z3).ant-table-wrapper .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
345
+ background-color: #ffffff;
346
+ }
347
+
306
348
  .cygx_form_spin {
307
349
  height: auto !important;
308
350
  }
@@ -415,7 +457,7 @@
415
457
  background-color: #ffffff;
416
458
  }
417
459
  .cygx-form .ant-form-item .ant-form-item-label label {
418
- height: 30px;
460
+ height: 100%;
419
461
  }
420
462
  .cygx-form .ant-form-item input,
421
463
  .cygx-form .ant-form-item label,
@@ -428,6 +470,9 @@
428
470
  flex-direction: column;
429
471
  margin-right: 10px;
430
472
  }
473
+ .cygx-form .ant-form-item .ant-form-item-control div:first-of-type {
474
+ height: 100%;
475
+ }
431
476
  .cygx-form .ant-form-item .ant-form-item-control input,
432
477
  .cygx-form .ant-form-item .ant-form-item-control textarea,
433
478
  .cygx-form .ant-form-item .ant-form-item-control .ant-picker,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cygx-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "React components library",
5
5
  "author": "Liu ChenYue",
6
6
  "private": false,