refactor: 任务中心合并任务分发(导航 9→8,任务卡进入分发明细)
This commit is contained in:
262
app/globals.css
262
app/globals.css
@@ -2052,230 +2052,6 @@ a {
|
||||
background: #eef7f9;
|
||||
}
|
||||
|
||||
.distribution-task-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 9px;
|
||||
padding: 13px;
|
||||
border: 1px solid #e5ebe8;
|
||||
border-radius: 12px;
|
||||
background: #f8faf8;
|
||||
}
|
||||
|
||||
.distribution-task-search {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
min-width: 240px;
|
||||
height: 38px;
|
||||
flex: 1 1 320px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
padding: 0 12px;
|
||||
border: 1px solid #dfe6e2;
|
||||
border-radius: 9px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.distribution-task-search:focus-within {
|
||||
border-color: #74b79f;
|
||||
box-shadow: 0 0 0 3px rgb(31 143 107 / 0.08);
|
||||
}
|
||||
|
||||
.distribution-task-search > span {
|
||||
display: grid;
|
||||
width: 18px;
|
||||
flex: 0 0 18px;
|
||||
place-items: center;
|
||||
color: #83918c;
|
||||
font-size: 15px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.distribution-task-search input {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
background: transparent;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.distribution-task-filter-group {
|
||||
display: flex;
|
||||
flex: 0 1 auto;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.distribution-task-filter-combobox {
|
||||
position: relative;
|
||||
width: 150px;
|
||||
flex: 0 1 150px;
|
||||
}
|
||||
|
||||
.distribution-task-filter-combobox.brand {
|
||||
width: 176px;
|
||||
flex-basis: 176px;
|
||||
}
|
||||
|
||||
.distribution-task-filter-input {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
flex: none;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 10px;
|
||||
padding: 0 11px;
|
||||
border: 1px solid #dfe6e2;
|
||||
border-radius: 9px;
|
||||
outline: 0;
|
||||
color: #28332f;
|
||||
background: white;
|
||||
font-size: 9px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.distribution-task-filter-input > span {
|
||||
display: grid;
|
||||
width: 16px;
|
||||
flex: 0 0 16px;
|
||||
place-items: center;
|
||||
color: #83918c;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.distribution-task-filter-input input {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex: 1 1 auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
color: #28332f;
|
||||
background: transparent;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.distribution-task-filter-input:hover,
|
||||
.distribution-task-filter-input:focus-within {
|
||||
border-color: #74b79f;
|
||||
box-shadow: 0 0 0 3px rgb(31 143 107 / 0.08);
|
||||
}
|
||||
|
||||
.distribution-task-filter-menu {
|
||||
position: absolute;
|
||||
z-index: 60;
|
||||
top: calc(100% + 7px);
|
||||
left: 0;
|
||||
display: grid;
|
||||
width: max(100%, 230px);
|
||||
padding: 8px;
|
||||
border: 1px solid #dce8e3;
|
||||
border-radius: 12px;
|
||||
background: white;
|
||||
box-shadow: 0 16px 36px rgb(20 45 37 / 0.16);
|
||||
}
|
||||
|
||||
.distribution-task-filter-menu-options {
|
||||
display: grid;
|
||||
max-height: 240px;
|
||||
gap: 3px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.distribution-task-filter-menu-options button {
|
||||
display: flex;
|
||||
min-height: 34px;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
padding: 0 10px;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
color: #34423d;
|
||||
background: transparent;
|
||||
font-size: 9px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.distribution-task-filter-menu-options button:hover,
|
||||
.distribution-task-filter-menu-options button:focus-visible {
|
||||
outline: 0;
|
||||
background: #f3f9f6;
|
||||
}
|
||||
|
||||
.distribution-task-filter-menu-options button.selected {
|
||||
color: var(--green-deep);
|
||||
background: #eaf6f1;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.distribution-task-filter-menu-options button small {
|
||||
color: #6f9d8d;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.distribution-task-filter-empty {
|
||||
padding: 12px 10px;
|
||||
color: #98a39f;
|
||||
font-size: 9px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.distribution-task-clear {
|
||||
height: 38px;
|
||||
padding: 0 6px;
|
||||
border: 0;
|
||||
color: var(--green-deep);
|
||||
background: transparent;
|
||||
font-size: 9px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.distribution-task-count {
|
||||
margin-left: auto;
|
||||
color: #8c9894;
|
||||
font-size: 9px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.distribution-task-count b {
|
||||
color: var(--ink);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.distribution-task-empty {
|
||||
display: grid;
|
||||
min-height: 190px;
|
||||
place-content: center;
|
||||
gap: 7px;
|
||||
border: 1px dashed #dce5e1;
|
||||
border-radius: 15px;
|
||||
color: #8d9894;
|
||||
background: #fbfcfb;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.distribution-task-empty strong {
|
||||
color: var(--ink);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.distribution-task-empty span {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.task-source-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -2331,10 +2107,6 @@ a {
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
.task-scope-progress {
|
||||
margin-top: 13px;
|
||||
}
|
||||
|
||||
.task-scope-open {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
@@ -4952,11 +4724,6 @@ label small {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.distribution-task-count {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.workflow-track {
|
||||
overflow-x: auto;
|
||||
}
|
||||
@@ -5142,35 +4909,6 @@ label small {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.distribution-task-toolbar {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.distribution-task-search,
|
||||
.distribution-task-filter-group,
|
||||
.distribution-task-filter-combobox,
|
||||
.distribution-task-filter-combobox.brand {
|
||||
width: 100%;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.distribution-task-filter-group {
|
||||
grid-template-columns: 1fr;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.distribution-task-clear {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.distribution-task-count {
|
||||
display: flex;
|
||||
width: auto;
|
||||
align-items: center;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.resource-search,
|
||||
.resource-filter-search {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user