feat: add task archive and simplify task cards
This commit is contained in:
@@ -474,8 +474,8 @@ p {
|
||||
|
||||
.task-card {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
padding: 20px;
|
||||
gap: 14px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.task-card__top {
|
||||
@@ -505,7 +505,7 @@ p {
|
||||
}
|
||||
|
||||
.task-card h3 {
|
||||
font-size: 1.35rem;
|
||||
font-size: 1.24rem;
|
||||
line-height: 1.08;
|
||||
overflow-wrap: break-word;
|
||||
hyphens: auto;
|
||||
@@ -577,8 +577,8 @@ p {
|
||||
|
||||
.task-meta {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||||
gap: 10px 14px;
|
||||
}
|
||||
|
||||
.task-meta dt {
|
||||
@@ -594,11 +594,16 @@ p {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.task-card--compact .task-meta {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.task-assignee {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
color: var(--muted);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.task-assignee__avatars {
|
||||
@@ -611,6 +616,10 @@ p {
|
||||
border: 2px solid var(--surface-strong);
|
||||
}
|
||||
|
||||
.task-assignee span:last-child {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
@@ -757,6 +766,41 @@ p {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.archive-user-tabs {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 4px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.archive-user-tab {
|
||||
flex: 0 0 auto;
|
||||
min-width: 108px;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 8px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 20px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow);
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.archive-user-tab span {
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.archive-user-tab.is-active {
|
||||
color: var(--text);
|
||||
border-color: rgba(37, 99, 235, 0.22);
|
||||
background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(52, 211, 153, 0.1));
|
||||
}
|
||||
|
||||
.panel--toolbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -1345,6 +1389,22 @@ p {
|
||||
border-radius: 28px;
|
||||
}
|
||||
|
||||
.archive-user-tabs {
|
||||
gap: 10px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.archive-user-tab {
|
||||
min-width: 92px;
|
||||
padding: 12px 12px;
|
||||
gap: 6px;
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.archive-user-tab span {
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.task-card {
|
||||
gap: 14px;
|
||||
padding: 18px;
|
||||
|
||||
Reference in New Issue
Block a user