优化
This commit is contained in:
@@ -1,67 +1,9 @@
|
||||
.domestic-containers-page .table-panel .inventory-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
align-items: stretch;
|
||||
gap: 12px;
|
||||
margin: 0;
|
||||
padding: 14px 18px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0;
|
||||
padding: 8px 12px; border: 0; border-bottom: 1px solid var(--cc-border); background: #fff;
|
||||
}
|
||||
|
||||
.domestic-containers-page .table-panel .inventory-summary > div,
|
||||
.domestic-containers-page .table-panel .inventory-summary > div:last-child {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #e7edf5;
|
||||
border-radius: 8px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.domestic-containers-page .table-panel .inventory-summary span {
|
||||
display: block;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.domestic-containers-page .table-panel .inventory-summary strong {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
color: #1e293b;
|
||||
font-size: 20px;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
@media (min-width: 721px) {
|
||||
.domestic-containers-page .table-panel:has(.inventory-summary) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.domestic-containers-page .table-panel .inventory-summary {
|
||||
padding-right: 70px;
|
||||
}
|
||||
|
||||
.domestic-containers-page .inventory-summary + .data-table > .data-table__toolbar {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 35px;
|
||||
right: 18px;
|
||||
min-height: 34px;
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.domestic-containers-page .table-panel .inventory-summary {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.domestic-containers-page .table-panel .inventory-summary {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.domestic-containers-page .table-panel .inventory-summary > div {
|
||||
display: flex; align-items: baseline; min-width: 0; gap: 8px; padding: 0; border: 0;
|
||||
}
|
||||
.domestic-containers-page .table-panel .inventory-summary span { color: var(--cc-muted); font-size: 12px; }
|
||||
.domestic-containers-page .table-panel .inventory-summary strong { font-size: 14px; font-weight: 600; }
|
||||
|
||||
Reference in New Issue
Block a user