@steedos-widgets/amis-object 1.2.42 → 1.3.0-beta.10

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.
@@ -45,6 +45,8 @@
45
45
  --Nav-Item-maxWidth--tabs: 200px;
46
46
  --Crud-toolbar-gap: 2px;
47
47
  --DropDown-caret-marginLeft: 0;
48
+ --Tabs--vertical-width: 180px;
49
+ --Tabs-link-maxWidth: 180px;
48
50
  }
49
51
 
50
52
  .steedos-header-container .antd-Nav-Menu {
@@ -497,9 +499,6 @@ fieldset.antd-Collapse > legend{
497
499
  .h-4 {
498
500
  height: 1rem
499
501
  }
500
- .h-\[20px\] {
501
- height: 20px
502
- }
503
502
  .h-12 {
504
503
  height: 3rem
505
504
  }
@@ -1190,11 +1189,49 @@ fieldset.antd-Collapse > legend{
1190
1189
  .steedos-select-user .antd-Table .antd-SearchBox {
1191
1190
  margin-top: 0;
1192
1191
  }
1193
- @media (max-width: 576px) {
1192
+ @media (max-width: 768px) {
1194
1193
  .antd-Crud-toolbar {
1195
1194
  flex-basis: 0;
1196
1195
  flex-grow: 1;
1197
1196
  }
1197
+ .steedos-object-table .antd-Table-footToolbar {
1198
+ border-top: 1px solid #e5e7eb;
1199
+ }
1200
+ .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item {
1201
+ justify-content: center;
1202
+ width: 100%;
1203
+ }
1204
+ .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-left {
1205
+ display: none;
1206
+ }
1207
+ .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-input {
1208
+ min-width: 0;
1209
+ width: 30px;
1210
+ }
1211
+ .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-right {
1212
+ width: 25px;
1213
+ }
1214
+ body.zoom-large .steedos-object-table .antd-Table-footToolbar {
1215
+ zoom: 90%;
1216
+ }
1217
+ body.zoom-extra-large .steedos-object-table .antd-Table-footToolbar {
1218
+ zoom: 80%;
1219
+ }
1220
+ }
1221
+ /* 手机屏幕宽度小于380px时隐藏分页器快速跳转*/
1222
+ @media (max-width: 380px) {
1223
+ .steedos-object-table .antd-Table-footToolbar .antd-Pagination-inputGroup {
1224
+ display: none;
1225
+ }
1226
+ }
1227
+ .steedos-object-table .two-lines-truncate {
1228
+ white-space: pre-wrap;
1229
+ overflow: hidden;
1230
+ text-overflow: ellipsis;
1231
+ display: -webkit-box;
1232
+ -webkit-line-clamp: 2;
1233
+ /* 显示的行数 */
1234
+ -webkit-box-orient: vertical;
1198
1235
  }
1199
1236
 
1200
1237
 
@@ -1366,35 +1403,35 @@ fieldset.antd-Collapse > legend{
1366
1403
  /*
1367
1404
  列表快速搜索,手机端及PC端分栏模式需要独占一行
1368
1405
  */
1369
- .steedos-crud-mobile-search-box .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1406
+ .steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1370
1407
  width: 100%;
1371
1408
  margin-top: 8px;
1372
1409
  }
1373
- .steedos-crud-mobile-search-box .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1410
+ .steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1374
1411
  width: 100%;
1375
1412
  }
1376
- .steedos-crud-mobile-search-box .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1413
+ .steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1377
1414
  width: 100%;
1378
1415
  }
1379
- .page-list-split .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1416
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1380
1417
  width: 100%;
1381
1418
  margin-top: 8px;
1382
1419
  }
1383
- .page-list-split .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1420
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1384
1421
  width: 100%;
1385
1422
  }
1386
- .page-list-split .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1423
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1387
1424
  width: 100%;
1388
1425
  }
1389
1426
  @media (max-width: 768px) {
1390
- .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1427
+ .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1391
1428
  width: 100%;
1392
1429
  margin-top: 8px;
1393
1430
  }
1394
- .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1431
+ .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1395
1432
  width: 100%;
1396
1433
  }
1397
- .steedos-object-listview .antd-Crud .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1434
+ .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1398
1435
  width: 100%;
1399
1436
  }
1400
1437
  }
@@ -1417,6 +1454,12 @@ fieldset.antd-Collapse > legend{
1417
1454
  .steedos-object-table tbody td.antd-Field--quickEditable:hover div .antd-Field-quickEditBtn svg {
1418
1455
  display: inline-block;
1419
1456
  }
1457
+ .steedos-object-table .date-min-w {
1458
+ min-width: 9em;
1459
+ }
1460
+ .steedos-object-table .datetime-min-w {
1461
+ min-width: 12em;
1462
+ }
1420
1463
  }
1421
1464
 
1422
1465
  @media (max-width: 768px) {
@@ -1555,12 +1598,6 @@ fieldset.antd-Collapse > legend{
1555
1598
  height: 100%;
1556
1599
  }
1557
1600
  @media (max-width: 767px) {
1558
- .steedos-object-listview .antd-Table-content {
1559
- max-height: calc(100vh - 263px);
1560
- }
1561
- .steedos-object-table .antd-Table-content {
1562
- max-height: calc(100vh - 195px);
1563
- }
1564
1601
  .steedos-global-footer-root .antd-Nav-Menu-horizontal:after {
1565
1602
  /*手机端底部导航左右间隔不平衡*/
1566
1603
  content: unset;
@@ -1623,6 +1660,7 @@ body.sidebar #sidebar {
1623
1660
  }
1624
1661
  .steedos-select-flow-service .antd-TreeControl {
1625
1662
  max-height: calc(100vh - 248px) !important;
1663
+ overflow: auto;
1626
1664
  }
1627
1665
 
1628
1666
  .steedos-amis-instance-view {