Add KOC resource filters and export

This commit is contained in:
巫凤萍
2026-08-06 10:18:23 +08:00
parent 85110bbfce
commit 72f8862f8a
6 changed files with 623 additions and 18 deletions

View File

@@ -1426,6 +1426,90 @@ a {
font-size: 11px;
}
.resource-toolbar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 9px;
margin: -3px 0 18px;
padding: 13px;
border: 1px solid #e9eeeb;
border-radius: 12px;
background: #f8faf8;
}
.resource-search {
display: flex;
min-width: 230px;
flex: 1 1 280px;
align-items: center;
gap: 8px;
height: 38px;
padding: 0 12px;
border: 1px solid #dfe6e2;
border-radius: 9px;
background: white;
}
.resource-search:focus-within {
border-color: #74b79f;
box-shadow: 0 0 0 3px rgb(31 143 107 / 0.08);
}
.resource-search > span {
color: #83918c;
font-size: 17px;
}
.resource-search input {
width: 100%;
height: 100%;
padding: 0;
border: 0;
outline: 0;
background: transparent;
font-size: 10px;
}
.resource-toolbar > select {
width: 160px;
height: 38px;
padding: 0 31px 0 11px;
border: 1px solid #dfe6e2;
border-radius: 9px;
background-color: white;
font-size: 10px;
}
.resource-clear-button {
height: 38px;
padding: 0 6px;
border: 0;
color: var(--green-deep);
background: transparent;
font-size: 9px;
font-weight: 650;
}
.resource-clear-button:disabled {
color: #a5aeaa;
}
.resource-toolbar-summary {
display: flex;
align-items: center;
gap: 12px;
margin-left: auto;
color: #8c9894;
font-size: 9px;
white-space: nowrap;
}
.resource-toolbar-summary b {
color: var(--ink);
font-size: 11px;
}
.resource-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -1580,6 +1664,27 @@ a {
font-weight: 650;
}
.resource-empty {
display: flex;
min-height: 240px;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 7px;
color: #939e9a;
text-align: center;
}
.resource-empty strong {
color: #354640;
font-size: 13px;
}
.resource-empty span {
margin-bottom: 8px;
font-size: 9px;
}
.recovery-legend {
display: grid;
grid-template-columns: repeat(3, 1fr);
@@ -2749,6 +2854,11 @@ label small {
grid-template-columns: repeat(2, 1fr);
}
.resource-toolbar-summary {
width: 100%;
justify-content: flex-end;
}
.task-scope-grid {
grid-template-columns: 1fr;
}
@@ -2876,6 +2986,25 @@ label small {
grid-template-columns: 1fr;
}
.resource-toolbar {
align-items: stretch;
}
.resource-search,
.resource-toolbar > select {
width: 100%;
flex-basis: 100%;
}
.resource-clear-button {
padding-inline: 4px;
text-align: left;
}
.resource-toolbar-summary {
justify-content: space-between;
}
.collection-schedule-panel {
padding: 18px;
}