@steedos-widgets/amis-object 1.3.4-beta.9 → 1.3.6
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/amis/AmisRecordDetailHeader.d.ts +1 -0
- package/dist/amis-object.cjs.css +242 -31
- package/dist/amis-object.cjs.js +809 -231
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +242 -31
- package/dist/amis-object.esm.js +811 -233
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +242 -31
- package/dist/amis-object.umd.js +309 -173
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/dist/meta.js +115 -11
- package/package.json +3 -3
package/dist/amis-object.cjs.css
CHANGED
|
@@ -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
|
}
|
|
@@ -853,6 +898,9 @@ fieldset.antd-Collapse > legend{
|
|
|
853
898
|
.pr-4 {
|
|
854
899
|
padding-right: 1rem
|
|
855
900
|
}
|
|
901
|
+
.pl-5 {
|
|
902
|
+
padding-left: 1.25rem
|
|
903
|
+
}
|
|
856
904
|
.pb-0 {
|
|
857
905
|
padding-bottom: 0px
|
|
858
906
|
}
|
|
@@ -883,12 +931,15 @@ fieldset.antd-Collapse > legend{
|
|
|
883
931
|
.text-xl {
|
|
884
932
|
font-size: 18px
|
|
885
933
|
}
|
|
886
|
-
.text-\[
|
|
887
|
-
font-size:
|
|
934
|
+
.text-\[14px\] {
|
|
935
|
+
font-size: 14px
|
|
888
936
|
}
|
|
889
937
|
.text-\[12px\] {
|
|
890
938
|
font-size: 12px
|
|
891
939
|
}
|
|
940
|
+
.text-\[11px\] {
|
|
941
|
+
font-size: 11px
|
|
942
|
+
}
|
|
892
943
|
.text-xs {
|
|
893
944
|
font-size: 12px
|
|
894
945
|
}
|
|
@@ -1276,9 +1327,10 @@ fieldset.antd-Collapse > legend{
|
|
|
1276
1327
|
.steedos-object-table .antd-Table-footToolbar {
|
|
1277
1328
|
border-top: 1px solid #e5e7eb;
|
|
1278
1329
|
}
|
|
1279
|
-
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar
|
|
1330
|
+
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar {
|
|
1331
|
+
display: flex;
|
|
1332
|
+
align-items: center;
|
|
1280
1333
|
justify-content: center;
|
|
1281
|
-
width: 100%;
|
|
1282
1334
|
}
|
|
1283
1335
|
.steedos-object-table .antd-Table-footToolbar .antd-Crud-toolbar-item .antd-Pagination-inputGroup-left {
|
|
1284
1336
|
display: none;
|
|
@@ -1500,6 +1552,11 @@ fieldset.antd-Collapse > legend{
|
|
|
1500
1552
|
.sidebar{
|
|
1501
1553
|
padding-bottom: 0px !important;
|
|
1502
1554
|
}
|
|
1555
|
+
|
|
1556
|
+
body.steedos {
|
|
1557
|
+
/*此样式可能造成ios17系统的iphone svg显示不出来,移除就好了*/
|
|
1558
|
+
-webkit-overflow-scrolling: unset;
|
|
1559
|
+
}
|
|
1503
1560
|
.steedos-listview .is-loading .antd-Table-contentWrap {
|
|
1504
1561
|
height: 50px;
|
|
1505
1562
|
}
|
|
@@ -1565,9 +1622,9 @@ fieldset.antd-Collapse > legend{
|
|
|
1565
1622
|
.antd-Select-popover .antd-Select-menu .antd-Select-option .antd-Checkbox--checkbox {
|
|
1566
1623
|
white-space: nowrap;
|
|
1567
1624
|
}
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1625
|
+
}
|
|
1626
|
+
.steedos-object-form .steedos-input-rich-text-readonly .antd-RichTextControl {
|
|
1627
|
+
border: 0;
|
|
1571
1628
|
}
|
|
1572
1629
|
|
|
1573
1630
|
@media (max-width: 767px) {
|
|
@@ -1581,7 +1638,8 @@ fieldset.antd-Collapse > legend{
|
|
|
1581
1638
|
.steedos-amis-form.antd-Form .antd-Form-item > .antd-Form-label {
|
|
1582
1639
|
max-width: var(--Form-mode-default-width);
|
|
1583
1640
|
}
|
|
1584
|
-
.steedos-amis-form.antd-Form .antd-Select.is-mobile
|
|
1641
|
+
.steedos-amis-form.antd-Form .antd-Select.is-mobile,
|
|
1642
|
+
.steedos-amis-form.antd-Form .antd-DatePicker.is-mobile {
|
|
1585
1643
|
border-width: var(--Form-select-borderWidth);
|
|
1586
1644
|
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
1645
|
border-color: var(--Form-select-borderColor);
|
|
@@ -1652,52 +1710,102 @@ fieldset.antd-Collapse > legend{
|
|
|
1652
1710
|
justify-content: unset;
|
|
1653
1711
|
}
|
|
1654
1712
|
/*
|
|
1655
|
-
列表快速搜索,手机端及PC
|
|
1713
|
+
列表快速搜索,手机端及PC端分栏模式需要独占一行,另外card模式,即antd-Cards-toolbar也一样
|
|
1656
1714
|
*/
|
|
1657
|
-
.
|
|
1715
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
|
|
1716
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1658
1717
|
width: 100%;
|
|
1659
1718
|
margin-top: 8px;
|
|
1660
1719
|
}
|
|
1661
|
-
.
|
|
1720
|
+
.page-list-split .steedos-object-listview .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
|
|
1721
|
+
.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
1722
|
width: 100%;
|
|
1663
1723
|
}
|
|
1664
|
-
.
|
|
1665
|
-
|
|
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 {
|
|
1724
|
+
.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,
|
|
1725
|
+
.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
1726
|
width: 100%;
|
|
1676
1727
|
}
|
|
1677
1728
|
@media (max-width: 768px) {
|
|
1678
|
-
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child
|
|
1729
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
|
|
1730
|
+
.steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1679
1731
|
width: 100%;
|
|
1680
1732
|
margin-top: 8px;
|
|
1681
1733
|
}
|
|
1682
|
-
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper
|
|
1734
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
|
|
1735
|
+
.steedos-object-table .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper {
|
|
1683
1736
|
width: 100%;
|
|
1684
1737
|
}
|
|
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
|
|
1738
|
+
.steedos-object-table .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper .antd-SearchBox.is-active,
|
|
1739
|
+
.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
1740
|
width: 100%;
|
|
1687
1741
|
}
|
|
1688
|
-
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child
|
|
1742
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child,
|
|
1743
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Cards-toolbar:first-child .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child {
|
|
1689
1744
|
width: 100%;
|
|
1690
1745
|
margin-top: 8px;
|
|
1691
1746
|
}
|
|
1692
|
-
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper
|
|
1747
|
+
.antd-Modal .antd-Modal-body .antd-Crud .antd-Table-headToolbar .antd-Crud-toolbar .antd-Crud-toolbar-item--right:last-child .antd-TooltipWrapper,
|
|
1748
|
+
.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
1749
|
width: 100%;
|
|
1694
1750
|
}
|
|
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
|
|
1751
|
+
.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,
|
|
1752
|
+
.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
1753
|
width: 100%;
|
|
1697
1754
|
}
|
|
1755
|
+
.steedos-object-table .antd-Crud > form.antd-Form:before {
|
|
1756
|
+
border-bottom: none;
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
.page-list-grid > .antd-Page > .antd-Page-content > .antd-Page-main > .antd-Page-body,
|
|
1760
|
+
.page-list-split > .antd-Page > .antd-Page-content > .antd-Page-main > .antd-Page-body {
|
|
1761
|
+
height: 100%;
|
|
1762
|
+
}
|
|
1763
|
+
.page-list-grid .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content,
|
|
1764
|
+
.page-list-split .steedos-object-listview .steedos-object-listview-content-wrapper .steedos-object-listview-content {
|
|
1765
|
+
height: calc(100% - 78px);
|
|
1766
|
+
}
|
|
1767
|
+
.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,
|
|
1768
|
+
.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 {
|
|
1769
|
+
max-height: calc(100% - 110px);
|
|
1770
|
+
overflow-y: auto;
|
|
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 {
|
|
1773
|
+
width: 386px;
|
|
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 {
|
|
1776
|
+
max-height: calc(100% - 142px);
|
|
1777
|
+
}
|
|
1778
|
+
.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 {
|
|
1779
|
+
flex-basis: 100%;
|
|
1780
|
+
max-width: 100%;
|
|
1781
|
+
padding: 0;
|
|
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 {
|
|
1784
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1785
|
+
}
|
|
1786
|
+
.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 {
|
|
1787
|
+
margin-top: -6px;
|
|
1788
|
+
}
|
|
1789
|
+
@media (max-width: 768px) {
|
|
1790
|
+
.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,
|
|
1791
|
+
.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 {
|
|
1792
|
+
max-height: unset;
|
|
1793
|
+
}
|
|
1794
|
+
.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,
|
|
1795
|
+
.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 {
|
|
1796
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1797
|
+
}
|
|
1798
|
+
.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,
|
|
1799
|
+
.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 {
|
|
1800
|
+
margin-top: -6px;
|
|
1801
|
+
}
|
|
1698
1802
|
}
|
|
1699
1803
|
|
|
1700
1804
|
@media (min-width: 767px) {
|
|
1805
|
+
/* 列表快速编辑功能样式 */
|
|
1806
|
+
.steedos-object-table thead tr th:nth-child(3) {
|
|
1807
|
+
display: none;
|
|
1808
|
+
}
|
|
1701
1809
|
.steedos-object-table tbody td.antd-Field--quickEditable > div {
|
|
1702
1810
|
display: flex;
|
|
1703
1811
|
align-items: center;
|
|
@@ -1722,6 +1830,109 @@ fieldset.antd-Collapse > legend{
|
|
|
1722
1830
|
min-width: 12em;
|
|
1723
1831
|
}
|
|
1724
1832
|
}
|
|
1833
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud {
|
|
1834
|
+
height: 100%;
|
|
1835
|
+
}
|
|
1836
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards {
|
|
1837
|
+
height: 100%;
|
|
1838
|
+
}
|
|
1839
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
|
|
1840
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1841
|
+
}
|
|
1842
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:first-child {
|
|
1843
|
+
padding-top: 0.5rem;
|
|
1844
|
+
padding-bottom: 0.5rem;
|
|
1845
|
+
padding-left: 1rem;
|
|
1846
|
+
padding-right: 1rem;
|
|
1847
|
+
background-color: rgb(243 244 246);
|
|
1848
|
+
border-color: rgb(209 213 219);
|
|
1849
|
+
border-style: solid;
|
|
1850
|
+
border-bottom-width: 1px;
|
|
1851
|
+
}
|
|
1852
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
|
|
1853
|
+
padding-left: 1rem;
|
|
1854
|
+
padding-right: 1rem;
|
|
1855
|
+
background-color: transparent;
|
|
1856
|
+
border-bottom-width: 0;
|
|
1857
|
+
margin-bottom: 0;
|
|
1858
|
+
}
|
|
1859
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body {
|
|
1860
|
+
margin: 0.25rem;
|
|
1861
|
+
}
|
|
1862
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading .antd-Card-meta {
|
|
1863
|
+
overflow: hidden;
|
|
1864
|
+
}
|
|
1865
|
+
.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 {
|
|
1866
|
+
font-size: 16px;
|
|
1867
|
+
}
|
|
1868
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
|
|
1869
|
+
margin-top: -10px;
|
|
1870
|
+
}
|
|
1871
|
+
.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 {
|
|
1872
|
+
color: inherit;
|
|
1873
|
+
margin-right: 6px;
|
|
1874
|
+
flex: 1;
|
|
1875
|
+
display: block;
|
|
1876
|
+
white-space: nowrap;
|
|
1877
|
+
overflow: hidden;
|
|
1878
|
+
text-overflow: ellipsis;
|
|
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-fieldLabel:after {
|
|
1881
|
+
content: ":";
|
|
1882
|
+
}
|
|
1883
|
+
.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 {
|
|
1884
|
+
flex: 3;
|
|
1885
|
+
display: block;
|
|
1886
|
+
white-space: nowrap;
|
|
1887
|
+
overflow: hidden;
|
|
1888
|
+
text-overflow: ellipsis;
|
|
1889
|
+
}
|
|
1890
|
+
.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,
|
|
1891
|
+
.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 {
|
|
1892
|
+
display: block;
|
|
1893
|
+
white-space: nowrap;
|
|
1894
|
+
overflow: hidden;
|
|
1895
|
+
text-overflow: ellipsis;
|
|
1896
|
+
}
|
|
1897
|
+
@media (max-width: 768px) {
|
|
1898
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card {
|
|
1899
|
+
border-left: none;
|
|
1900
|
+
border-right: none;
|
|
1901
|
+
border-top: none;
|
|
1902
|
+
border-radius: unset;
|
|
1903
|
+
margin-top: -10px;
|
|
1904
|
+
margin-left: 8px;
|
|
1905
|
+
margin-right: 8px;
|
|
1906
|
+
}
|
|
1907
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading,
|
|
1908
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
|
|
1909
|
+
padding: var(--gap-sm);
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
.page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card {
|
|
1913
|
+
border-left: none;
|
|
1914
|
+
border-right: none;
|
|
1915
|
+
border-top: none;
|
|
1916
|
+
border-radius: unset;
|
|
1917
|
+
margin-top: -10px;
|
|
1918
|
+
margin-left: 8px;
|
|
1919
|
+
margin-right: 8px;
|
|
1920
|
+
}
|
|
1921
|
+
.page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-heading,
|
|
1922
|
+
.page-list-split .steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-body .antd-Card .antd-Card-body {
|
|
1923
|
+
padding: var(--gap-sm);
|
|
1924
|
+
}
|
|
1925
|
+
@media (max-width: 768px) {
|
|
1926
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar {
|
|
1927
|
+
/* crud的card模式不支持headerToolbarClassName和footerToolbarClassName,这里只能用first-child和last-child来区别 */
|
|
1928
|
+
}
|
|
1929
|
+
.steedos-object-table.steedos-crud-mode-cards .antd-Crud .antd-Cards .antd-Cards-toolbar:last-child {
|
|
1930
|
+
text-align: center;
|
|
1931
|
+
}
|
|
1932
|
+
.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 {
|
|
1933
|
+
float: none;
|
|
1934
|
+
}
|
|
1935
|
+
}
|
|
1725
1936
|
|
|
1726
1937
|
@media (max-width: 768px) {
|
|
1727
1938
|
.record-detail-header-name {
|