Files
pda-overseas-uniapp/src/styles/task-list.scss
T

90 lines
3.4 KiB
SCSS

.pda-task-list {
.pda-list-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 36px;
margin: 12px 0 11px;
color: #526174;
font-size: 14px;
font-weight: 700;
line-height: 20px;
}
.pda-list-toolbar > text { min-width: 0; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.pda-list-toolbar button {
display: flex;
box-sizing: border-box;
align-items: center;
justify-content: center;
flex-shrink: 0;
gap: 5px;
width: auto;
min-width: 72px;
height: 36px;
min-height: 36px;
margin: 0;
padding: 0 14px;
border: 1px solid #b8d1f5;
border-radius: 20px;
color: #135ee8;
font-size: 14px;
font-weight: 700;
line-height: normal;
background: #fff;
}
.pda-list-toolbar button[disabled] { opacity: .55; }
.pda-list-cards { display: flex; flex-direction: column; gap: 11px; }
.pda-task-card {
display: block;
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 14px;
border: 1px solid #dce5f0;
border-radius: 13px;
color: #1f2937;
line-height: normal;
text-align: left;
white-space: normal;
background: #fff;
box-shadow: none;
}
.pda-task-card-pressed { border-color: #93baf0; background: #f4f8ff; }
.pda-task-card.current { border-color: #8eb8f5; background: #f7faff; }
.pda-task-card.rework-card { border-color: #f29b38; background: #fffaf2; box-shadow: none; }
.pda-task-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pda-task-no {
display: block;
flex: 1;
min-width: 0;
color: #1f2937;
font-size: 18px;
font-weight: 750;
line-height: 26px;
overflow-wrap: anywhere;
word-break: break-all;
}
.pda-task-status { flex-shrink: 0; max-width: 45%; padding: 6px 10px; border-radius: 9px; font-size: 13px; line-height: 16px; white-space: normal; overflow-wrap: anywhere; }
.pda-task-meta { display: block; margin-top: 8px; color: #718095; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.pda-task-flags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: #526174; font-size: 12px; line-height: 20px; }
.pda-task-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; padding: 9px 0; border-top: 1px solid #e1e7f0; border-bottom: 1px solid #e1e7f0; }
.pda-task-metrics.has-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pda-task-metrics > view { min-width: 0; padding: 0 6px; border-right: 1px solid #e1e7f0; text-align: center; }
.pda-task-metrics > view:last-child { border-right: 0; }
.pda-task-metrics strong { display: block; color: #1f2937; font-size: 22px; font-weight: 750; line-height: 26px; overflow-wrap: anywhere; }
.pda-task-metrics text { display: block; margin-top: 3px; color: #6f8194; font-size: 12px; line-height: 18px; }
.pda-task-metric-warning strong { color: #a35b0c; }
.pda-task-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; min-height: 28px; margin-top: 10px; }
.pda-task-action { display: flex; align-items: center; gap: 2px; margin-left: auto; color: #135ee8; font-size: 13px; font-weight: 700; line-height: 22px; white-space: nowrap; }
.pda-task-footer .recent-badge { font-size: 11px; line-height: 16px; }
}