Add issue workflow progress tracker
This commit is contained in:
@@ -2657,6 +2657,58 @@ button:disabled,
|
||||
font-size: 0.62rem;
|
||||
}
|
||||
|
||||
.issue-card-progress {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.issue-card-progress > span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.issue-card-progress strong {
|
||||
color: var(--ops-cyan);
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.issue-card-progress small {
|
||||
color: var(--ops-muted);
|
||||
font-family: "JetBrains Mono", Consolas, monospace;
|
||||
font-size: 0.58rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.issue-card-progress > i {
|
||||
display: block;
|
||||
height: 3px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: rgba(126, 215, 255, 0.12);
|
||||
}
|
||||
|
||||
.issue-card-progress > i > b {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, var(--ops-cyan), var(--request-green));
|
||||
}
|
||||
|
||||
.issue-card-progress.is-attention strong {
|
||||
color: var(--request-amber);
|
||||
}
|
||||
|
||||
.issue-card-progress.is-attention > i > b {
|
||||
background: var(--request-amber);
|
||||
}
|
||||
|
||||
.issue-card-progress.is-complete strong {
|
||||
color: var(--request-green);
|
||||
}
|
||||
|
||||
.issue-modal-backdrop {
|
||||
position: fixed;
|
||||
z-index: 998;
|
||||
@@ -2709,6 +2761,131 @@ button:disabled,
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.issue-pipeline-card {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(126, 215, 255, 0.3);
|
||||
border-radius: var(--ops-radius-lg);
|
||||
background: linear-gradient(120deg, rgba(14, 165, 233, 0.07), rgba(126, 215, 255, 0.025));
|
||||
}
|
||||
|
||||
.issue-pipeline-card.is-attention {
|
||||
border-color: rgba(255, 192, 84, 0.42);
|
||||
background: linear-gradient(120deg, rgba(255, 192, 84, 0.08), rgba(255, 192, 84, 0.025));
|
||||
}
|
||||
|
||||
.issue-pipeline-card.is-complete {
|
||||
border-color: rgba(72, 224, 178, 0.38);
|
||||
background: linear-gradient(120deg, rgba(72, 224, 178, 0.075), rgba(72, 224, 178, 0.025));
|
||||
}
|
||||
|
||||
.issue-pipeline-card > header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.issue-pipeline-card > header > div {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.issue-pipeline-card h3,
|
||||
.issue-pipeline-card p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.issue-pipeline-card p {
|
||||
color: var(--ops-muted);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.issue-pipeline-card > ol {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
gap: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.issue-pipeline-card li {
|
||||
position: relative;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 7px;
|
||||
min-width: 0;
|
||||
color: var(--ops-muted);
|
||||
font-size: 0.62rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.issue-pipeline-card li::before {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
top: 12px;
|
||||
right: 50%;
|
||||
left: -50%;
|
||||
height: 2px;
|
||||
background: var(--ops-line-soft);
|
||||
content: "";
|
||||
}
|
||||
|
||||
.issue-pipeline-card li:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.issue-pipeline-card li > i {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: grid;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
place-items: center;
|
||||
border: 1px solid var(--ops-line);
|
||||
border-radius: 50%;
|
||||
background: var(--ops-panel);
|
||||
font-family: "JetBrains Mono", Consolas, monospace;
|
||||
font-size: 0.58rem;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.issue-pipeline-card li.is-complete,
|
||||
.issue-pipeline-card li.is-active {
|
||||
color: var(--ops-text);
|
||||
}
|
||||
|
||||
.issue-pipeline-card li.is-complete::before,
|
||||
.issue-pipeline-card li.is-active::before,
|
||||
.issue-pipeline-card li.is-attention::before {
|
||||
background: var(--ops-cyan);
|
||||
}
|
||||
|
||||
.issue-pipeline-card li.is-complete > i {
|
||||
border-color: var(--request-green);
|
||||
color: #061813;
|
||||
background: var(--request-green);
|
||||
}
|
||||
|
||||
.issue-pipeline-card li.is-active > i {
|
||||
border-color: var(--ops-cyan);
|
||||
color: var(--ops-cyan);
|
||||
box-shadow: 0 0 14px rgba(126, 215, 255, 0.28);
|
||||
}
|
||||
|
||||
.issue-pipeline-card li.is-attention {
|
||||
color: var(--request-amber);
|
||||
}
|
||||
|
||||
.issue-pipeline-card li.is-attention > i {
|
||||
border-color: var(--request-amber);
|
||||
color: var(--request-amber);
|
||||
box-shadow: 0 0 14px rgba(255, 192, 84, 0.25);
|
||||
}
|
||||
|
||||
.issue-modal-toolbar strong {
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
@@ -3608,4 +3785,8 @@ button:disabled,
|
||||
padding-right: 13px;
|
||||
padding-left: 13px;
|
||||
}
|
||||
.issue-pipeline-card > header { flex-direction: column; }
|
||||
.issue-pipeline-card > ol { grid-template-columns: 1fr; gap: 8px; }
|
||||
.issue-pipeline-card li { grid-template-columns: 25px minmax(0, 1fr); align-items: center; justify-items: start; text-align: left; }
|
||||
.issue-pipeline-card li::before { top: -9px; right: auto; left: 12px; width: 2px; height: 10px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user