Add tracked CMS publishing progress

This commit is contained in:
DCCONSTRUCTIONS
2026-07-10 00:32:56 +03:00
parent 808d867dd7
commit 0579976ffc
4 changed files with 513 additions and 30 deletions
+84
View File
@@ -1845,6 +1845,90 @@ select {
vertical-align: bottom;
}
.publish-progress-card {
display: grid;
gap: 0.9rem;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.publish-progress-card[data-state="completed"] {
border-color: rgba(210, 255, 220, 0.32);
}
.publish-progress-card[data-state="failed"] {
border-color: rgba(255, 120, 120, 0.42);
}
.publish-progress-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
}
.publish-progress-head h3 {
font-size: 1rem;
line-height: 1.2;
}
.publish-progress-head strong {
color: var(--text-primary);
font-size: 1.25rem;
line-height: 1;
}
.publish-progress-track {
position: relative;
height: 0.65rem;
overflow: hidden;
border-radius: var(--launcher-radius-circle);
background: rgba(255, 255, 255, 0.09);
}
.publish-progress-track span {
display: block;
width: 0;
height: 100%;
border-radius: inherit;
background: rgba(255, 255, 255, 0.9);
transition: width 180ms linear;
}
.publish-progress-card[data-state="failed"] .publish-progress-track span {
background: rgba(255, 120, 120, 0.86);
}
.publish-progress-stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.65rem;
color: var(--text-muted);
font-size: 0.75rem;
font-weight: 720;
}
.publish-progress-current,
.publish-progress-error {
min-width: 0;
overflow: hidden;
color: var(--text-muted);
font-size: 0.76rem;
line-height: 1.4;
text-overflow: ellipsis;
white-space: nowrap;
}
.publish-progress-error {
color: #ffd2d2;
white-space: normal;
}
@media (max-width: 760px) {
.publish-progress-stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.knowledge-tree {
display: grid;
gap: 0.28rem;