@steedos-widgets/amis-object 1.3.4-beta.9 → 1.3.5

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.
@@ -88,6 +88,7 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
88
88
  }[] | {
89
89
  type: string;
90
90
  icon: string;
91
+ visibleOn: string;
91
92
  onEvent: {
92
93
  click: {
93
94
  actions: {
@@ -292,6 +292,14 @@ fieldset.antd-Collapse > legend{
292
292
  word-break: break-all;
293
293
  }
294
294
 
295
+ .steedos-crud-mode-cards .antd-Card-actions a[disabled]{
296
+ box-shadow: none;
297
+ cursor: not-allowed
298
+ }
299
+ .steedos-crud-mode-cards .antd-Card-actions a[disabled]:hover{
300
+ color: rgba(0,0,0,.25)
301
+ }
302
+
295
303
  .ant-dropdown-menu {
296
304
  border: 1px solid #e5e5e5;
297
305
  border-radius: 0.25rem;
@@ -339,6 +347,34 @@ fieldset.antd-Collapse > legend{
339
347
  .antd-ButtonGroup > .antd-Button {
340
348
  max-width: none !important;
341
349
  }
350
+
351
+
352
+ /* env.notify时的toast样式参考amis toast,而不是使用antd本身的样式效果 */
353
+ .ant-message {
354
+ top: var(--gap-base);
355
+ left: 50%;
356
+ transform: translateX(-50%);
357
+ max-width: var(--Toast-width);
358
+ }
359
+
360
+ .ant-message .ant-message-notice {
361
+ padding: 2px 0;
362
+ max-width: var(--Toast-width);
363
+ margin: 0 4px;
364
+ }
365
+
366
+ .ant-message .ant-message-notice .ant-message-notice-content {
367
+ width: 100%;
368
+ padding: var(--Toast-paddingY) var(--Toast-paddingX);
369
+ border-radius: var(--Toast-borderRadius);
370
+ }
371
+
372
+ .ant-message .ant-message-notice .ant-message-notice-content .ant-message-custom-content {
373
+ display: flex;
374
+ align-items: center;
375
+ justify-content: start;
376
+ text-align: left;
377
+ }
342
378
  /* @tailwind base; */
343
379
  .container {
344
380
  width: 100%
@@ -495,6 +531,9 @@ fieldset.antd-Collapse > legend{
495
531
  .block {
496
532
  display: block
497
533
  }
534
+ .inline-block {
535
+ display: inline-block
536
+ }
498
537
  .inline {
499
538
  display: inline
500
539
  }
@@ -576,6 +615,9 @@ fieldset.antd-Collapse > legend{
576
615
  .w-10 {
577
616
  width: 2.5rem
578
617
  }
618
+ .w-auto {
619
+ width: auto
620
+ }
579
621
  .w-12 {
580
622
  width: 3rem
581
623
  }
@@ -585,9 +627,6 @@ fieldset.antd-Collapse > legend{
585
627
  .\!w-10 {
586
628
  width: 2.5rem !important
587
629
  }
588
- .w-auto {
589
- width: auto
590
- }
591
630
  .w-64 {
592
631
  width: 16rem
593
632
  }
@@ -640,6 +679,9 @@ fieldset.antd-Collapse > legend{
640
679
  .flex-shrink-0 {
641
680
  flex-shrink: 0
642
681
  }
682
+ .grow {
683
+ flex-grow: 1
684
+ }
643
685
  .-translate-x-0 {
644
686
  --tw-translate-x: -0px;
645
687
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
@@ -699,6 +741,9 @@ fieldset.antd-Collapse > legend{
699
741
  text-overflow: ellipsis;
700
742
  white-space: nowrap
701
743
  }
744
+ .whitespace-normal {
745
+ white-space: normal
746
+ }
702
747
  .whitespace-nowrap {
703
748
  white-space: nowrap
704
749
  }
@@ -883,12 +928,15 @@ fieldset.antd-Collapse > legend{
883
928
  .text-xl {
884
929
  font-size: 18px
885
930
  }
886
- .text-\[15px\] {
887
- font-size: 15px
931
+ .text-\[14px\] {
932
+ font-size: 14px
888
933
  }
889
934
  .text-\[12px\] {
890
935
  font-size: 12px
891
936
  }
937
+ .text-\[11px\] {
938
+ font-size: 11px
939
+ }
892
940
  .text-xs {
893
941
  font-size: 12px
894
942
  }
@@ -1276,9 +1324,10 @@ fieldset.antd-Collapse > legend{
1276
1324
  .steedos-object-table .antd-Table-footToolbar {
1277
1325
  border-top: 1px solid #e5e7eb;
1278
1326
  }
1279
- .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item {
1327
+ .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar {
1328
+ display: flex;
1329
+ align-items: center;
1280
1330
  justify-content: center;
1281
- width: 100%;
1282
1331
  }
1283
1332
  .steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-left {
1284
1333
  display: none;
@@ -1500,6 +1549,11 @@ fieldset.antd-Collapse > legend{
1500
1549
  .sidebar{
1501
1550
  padding-bottom: 0px !important;
1502
1551
  }
1552
+
1553
+ body.steedos {
1554
+ /*此样式可能造成ios17系统的iphone svg显示不出来,移除就好了*/
1555
+ -webkit-overflow-scrolling: unset;
1556
+ }
1503
1557
  .steedos-listview .is-loading .antd-Table-contentWrap {
1504
1558
  height: 50px;
1505
1559
  }
@@ -1565,9 +1619,9 @@ fieldset.antd-Collapse > legend{
1565
1619
  .antd-Select-popover .antd-Select-menu .antd-Select-option .antd-Checkbox--checkbox {
1566
1620
  white-space: nowrap;
1567
1621
  }
1568
- .antd-Select-popover .antd-Select-menu .antd-Select-option .antd-Checkbox--checkbox > span {
1569
- vertical-align: text-top;
1570
- }
1622
+ }
1623
+ .steedos-object-form .steedos-input-rich-text-readonly .antd-RichTextControl {
1624
+ border: 0;
1571
1625
  }
1572
1626
 
1573
1627
  @media (max-width: 767px) {
@@ -1581,7 +1635,8 @@ fieldset.antd-Collapse > legend{
1581
1635
  .steedos-amis-form.antd-Form .antd-Form-item > .antd-Form-label {
1582
1636
  max-width: var(--Form-mode-default-width);
1583
1637
  }
1584
- .steedos-amis-form.antd-Form .antd-Select.is-mobile {
1638
+ .steedos-amis-form.antd-Form .antd-Select.is-mobile,
1639
+ .steedos-amis-form.antd-Form .antd-DatePicker.is-mobile {
1585
1640
  border-width: var(--Form-select-borderWidth);
1586
1641
  border-style: var(--select-base-default-top-border-style) var(--select-base-default-right-border-style) var(--select-base-default-bottom-border-style) var(--select-base-default-left-border-style);
1587
1642
  border-color: var(--Form-select-borderColor);
@@ -1652,52 +1707,102 @@ fieldset.antd-Collapse > legend{
1652
1707
  justify-content: unset;
1653
1708
  }
1654
1709
  /*
1655
- 列表快速搜索,手机端及PC端分栏模式需要独占一行
1710
+ 列表快速搜索,手机端及PC端分栏模式需要独占一行,另外card模式,即antd-Cards-toolbar也一样
1656
1711
  */
1657
- .steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1712
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
1713
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1658
1714
  width: 100%;
1659
1715
  margin-top: 8px;
1660
1716
  }
1661
- .steedos-crud-mobile-search-box .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1717
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
1718
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1662
1719
  width: 100%;
1663
1720
  }
1664
- .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 {
1665
- width: 100%;
1666
- }
1667
- .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1668
- width: 100%;
1669
- margin-top: 8px;
1670
- }
1671
- .page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1672
- width: 100%;
1673
- }
1674
- .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 {
1721
+ .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,
1722
+ .page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1675
1723
  width: 100%;
1676
1724
  }
1677
1725
  @media (max-width: 768px) {
1678
- .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1726
+ .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
1727
+ .steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1679
1728
  width: 100%;
1680
1729
  margin-top: 8px;
1681
1730
  }
1682
- .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1731
+ .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
1732
+ .steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1683
1733
  width: 100%;
1684
1734
  }
1685
- .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1735
+ .steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active,
1736
+ .steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1686
1737
  width: 100%;
1687
1738
  }
1688
- .antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1739
+ .antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
1740
+ .antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
1689
1741
  width: 100%;
1690
1742
  margin-top: 8px;
1691
1743
  }
1692
- .antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1744
+ .antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
1745
+ .antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
1693
1746
  width: 100%;
1694
1747
  }
1695
- .antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1748
+ .antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active,
1749
+ .antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active {
1696
1750
  width: 100%;
1697
1751
  }
1752
+ .steedos-object-table .antd-Crud > form.antd-Form:before {
1753
+ border-bottom: none;
1754
+ }
1755
+ }
1756
+ .page-list-grid > .antd-Page > .antd-Page-content > .antd-Page-main > .antd-Page-body,
1757
+ .page-list-split > .antd-Page > .antd-Page-content > .antd-Page-main > .antd-Page-body {
1758
+ height: 100%;
1759
+ }
1760
+ .page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content,
1761
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content {
1762
+ height: calc(100% - 78px);
1763
+ }
1764
+ .page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body,
1765
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
1766
+ max-height: calc(100% - 110px);
1767
+ overflow-y: auto;
1768
+ }
1769
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards {
1770
+ width: 386px;
1771
+ }
1772
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
1773
+ max-height: calc(100% - 142px);
1774
+ }
1775
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body > div {
1776
+ flex-basis: 100%;
1777
+ max-width: 100%;
1778
+ padding: 0;
1779
+ }
1780
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
1781
+ /* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
1782
+ }
1783
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
1784
+ margin-top: -6px;
1785
+ }
1786
+ @media (max-width: 768px) {
1787
+ .page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body,
1788
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
1789
+ max-height: unset;
1790
+ }
1791
+ .page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar,
1792
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
1793
+ /* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
1794
+ }
1795
+ .page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child,
1796
+ .page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
1797
+ margin-top: -6px;
1798
+ }
1698
1799
  }
1699
1800
 
1700
1801
  @media (min-width: 767px) {
1802
+ /* 列表快速编辑功能样式 */
1803
+ .steedos-object-table thead tr th:nth-child(3) {
1804
+ display: none;
1805
+ }
1701
1806
  .steedos-object-table tbody td.antd-Field--quickEditable > div {
1702
1807
  display: flex;
1703
1808
  align-items: center;
@@ -1722,6 +1827,109 @@ fieldset.antd-Collapse > legend{
1722
1827
  min-width: 12em;
1723
1828
  }
1724
1829
  }
1830
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud {
1831
+ height: 100%;
1832
+ }
1833
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards {
1834
+ height: 100%;
1835
+ }
1836
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
1837
+ /* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
1838
+ }
1839
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:first-child {
1840
+ padding-top: 0.5rem;
1841
+ padding-bottom: 0.5rem;
1842
+ padding-left: 1rem;
1843
+ padding-right: 1rem;
1844
+ background-color: rgb(243 244 246);
1845
+ border-color: rgb(209 213 219);
1846
+ border-style: solid;
1847
+ border-bottom-width: 1px;
1848
+ }
1849
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
1850
+ padding-left: 1rem;
1851
+ padding-right: 1rem;
1852
+ background-color: transparent;
1853
+ border-bottom-width: 0;
1854
+ margin-bottom: 0;
1855
+ }
1856
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
1857
+ margin: 0.25rem;
1858
+ }
1859
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading .antd-Card-meta {
1860
+ overflow: hidden;
1861
+ }
1862
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading .antd-Card-meta .antd-Card-title .antd-TplField a {
1863
+ font-size: 16px;
1864
+ }
1865
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
1866
+ margin-top: -10px;
1867
+ }
1868
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldLabel {
1869
+ color: inherit;
1870
+ margin-right: 6px;
1871
+ flex: 1;
1872
+ display: block;
1873
+ white-space: nowrap;
1874
+ overflow: hidden;
1875
+ text-overflow: ellipsis;
1876
+ }
1877
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldLabel:after {
1878
+ content: ":";
1879
+ }
1880
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldValue {
1881
+ flex: 3;
1882
+ display: block;
1883
+ white-space: nowrap;
1884
+ overflow: hidden;
1885
+ text-overflow: ellipsis;
1886
+ }
1887
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldValue .antd-TplField,
1888
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body .antd-Card-field .antd-Card-fieldValue .antd-PlainField {
1889
+ display: block;
1890
+ white-space: nowrap;
1891
+ overflow: hidden;
1892
+ text-overflow: ellipsis;
1893
+ }
1894
+ @media (max-width: 768px) {
1895
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card {
1896
+ border-left: none;
1897
+ border-right: none;
1898
+ border-top: none;
1899
+ border-radius: unset;
1900
+ margin-top: -10px;
1901
+ margin-left: 8px;
1902
+ margin-right: 8px;
1903
+ }
1904
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading,
1905
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
1906
+ padding: var(--gap-sm);
1907
+ }
1908
+ }
1909
+ .page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card {
1910
+ border-left: none;
1911
+ border-right: none;
1912
+ border-top: none;
1913
+ border-radius: unset;
1914
+ margin-top: -10px;
1915
+ margin-left: 8px;
1916
+ margin-right: 8px;
1917
+ }
1918
+ .page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading,
1919
+ .page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
1920
+ padding: var(--gap-sm);
1921
+ }
1922
+ @media (max-width: 768px) {
1923
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
1924
+ /* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
1925
+ }
1926
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
1927
+ text-align: center;
1928
+ }
1929
+ .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child .antd-Crud-toolbar-item.antd-Crud-toolbar-item--right {
1930
+ float: none;
1931
+ }
1932
+ }
1725
1933
 
1726
1934
  @media (max-width: 768px) {
1727
1935
  .record-detail-header-name {