73 lines
2.3 KiB
SCSS
73 lines
2.3 KiB
SCSS
|
|
@use '../../../styles/variables' as *;
|
||
|
|
|
||
|
|
.card {
|
||
|
|
background: var(--surface);
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
border-left: 3px solid var(--col);
|
||
|
|
border-radius: $radius;
|
||
|
|
padding: 9px 11px;
|
||
|
|
cursor: pointer;
|
||
|
|
box-shadow: var(--shadow-sm);
|
||
|
|
transition: box-shadow $transition, transform $transition;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 6px;
|
||
|
|
|
||
|
|
&:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
|
||
|
|
}
|
||
|
|
|
||
|
|
.top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
|
||
|
|
.number {
|
||
|
|
font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--primary);
|
||
|
|
display: inline-flex; align-items: center; gap: 3px;
|
||
|
|
svg { opacity: 0.5; }
|
||
|
|
&:hover { text-decoration: underline; svg { opacity: 1; } }
|
||
|
|
}
|
||
|
|
.topRight { display: flex; align-items: center; gap: 6px; }
|
||
|
|
.jira { font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; background: var(--primary-bg); color: var(--primary); }
|
||
|
|
.ext { display: flex; color: var(--text-dim); &:hover { color: var(--primary); } }
|
||
|
|
|
||
|
|
.title {
|
||
|
|
font-size: 12.5px;
|
||
|
|
font-weight: 600;
|
||
|
|
line-height: 1.35;
|
||
|
|
color: var(--text);
|
||
|
|
display: -webkit-box;
|
||
|
|
-webkit-line-clamp: 2;
|
||
|
|
-webkit-box-orient: vertical;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bm {
|
||
|
|
align-self: flex-start;
|
||
|
|
font-size: 10px;
|
||
|
|
font-weight: 600;
|
||
|
|
padding: 1px 7px;
|
||
|
|
border-radius: 999px;
|
||
|
|
background: var(--surface-alt);
|
||
|
|
color: var(--text-muted);
|
||
|
|
border: 1px solid var(--border);
|
||
|
|
max-width: 100%;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
|
||
|
|
.assignee { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
||
|
|
.avatar {
|
||
|
|
width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
|
||
|
|
background: var(--primary); color: #fff; font-size: 9px; font-weight: 700;
|
||
|
|
display: flex; align-items: center; justify-content: center;
|
||
|
|
}
|
||
|
|
.aName { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
|
|
.pill {
|
||
|
|
flex-shrink: 0; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px;
|
||
|
|
background: var(--surface-alt); color: var(--text-muted); font-variant-numeric: tabular-nums;
|
||
|
|
}
|
||
|
|
|
||
|
|
.meta {
|
||
|
|
display: flex; gap: $s-3; font-size: 10px; color: var(--text-dim);
|
||
|
|
border-top: 1px solid var(--border); padding-top: 5px;
|
||
|
|
}
|