Review/Send redesign

This commit is contained in:
2026-06-13 17:43:43 +02:00
parent 884ba51432
commit ed8341b8c1
6 changed files with 1016 additions and 6 deletions

View File

@@ -1593,3 +1593,383 @@
height: calc(100vh - 20px);
}
}
/* Review & Send workflow development page. */
.review-flow-development-page {
--review-flow-purple: #9b86c7;
}
.review-flow-navigation {
position: sticky;
top: 0;
z-index: 35;
margin: 0 0 24px;
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: rgba(247, 246, 244, .96);
box-shadow: 0 8px 24px rgba(48, 49, 53, .10);
backdrop-filter: blur(12px);
overflow-x: auto;
}
.review-flow-navigation-track {
display: flex;
align-items: flex-start;
min-width: max-content;
}
.review-flow-navigation-group {
display: flex;
align-items: flex-start;
}
.review-flow-navigation-item {
display: grid;
justify-items: center;
gap: 6px;
min-width: 96px;
padding: 3px 5px;
border: 0;
background: transparent;
color: var(--text);
font: inherit;
text-align: center;
cursor: pointer;
}
.review-flow-navigation-item:hover .review-flow-navigation-icon,
.review-flow-navigation-item:focus-visible .review-flow-navigation-icon {
background: color-mix(in srgb, var(--review-nav-color) 15%, #fff);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--review-nav-color) 12%, transparent);
}
.review-flow-navigation-item:focus-visible {
outline: none;
}
.review-flow-navigation-icon {
width: 38px;
height: 38px;
display: grid;
place-items: center;
border: 1px solid var(--review-nav-color);
border-radius: 50%;
color: color-mix(in srgb, var(--review-nav-color) 82%, var(--text));
background: color-mix(in srgb, var(--review-nav-color) 8%, #fff);
transition: background .16s ease, box-shadow .16s ease;
}
.review-flow-navigation-copy {
display: grid;
justify-items: center;
min-width: 0;
}
.review-flow-navigation-copy strong {
color: var(--text-strong);
font-size: 12px;
white-space: nowrap;
}
.review-flow-navigation-copy small {
color: var(--muted);
font-size: 11px;
white-space: nowrap;
}
.review-flow-navigation-copy small {
min-height: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.review-flow-navigation-line {
width: 42px;
height: 1px;
margin: 22px 2px 0;
flex: 0 0 auto;
background: linear-gradient(to right, var(--review-nav-color), var(--review-nav-next-color));
opacity: .82;
}
.review-flow-timeline {
width: 100%;
max-width: none;
margin: 0;
}
.review-flow-stage {
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
gap: 10px;
scroll-margin-top: 92px;
}
.review-flow-stage-marker {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100%;
padding-top: 14px;
box-sizing: border-box;
}
.review-flow-stage-node {
position: relative;
z-index: 2;
width: 40px;
height: 40px;
display: grid;
place-items: center;
flex: 0 0 auto;
border: 1px solid var(--review-stage-color);
border-radius: 50%;
color: color-mix(in srgb, var(--review-stage-color) 82%, var(--text));
background: color-mix(in srgb, var(--review-stage-color) 9%, #fff);
box-shadow: 0 0 0 4px var(--bg), 0 4px 12px rgba(48, 49, 53, .10);
}
.review-flow-stage[data-state="running"] .review-flow-stage-node {
animation: review-flow-pulse 1.5s ease-in-out infinite;
}
.review-flow-stage-line {
width: 1px;
flex: 1 1 auto;
min-height: 54px;
margin: 4px 0;
border-radius: 999px;
background: linear-gradient(to bottom, var(--review-stage-color), var(--review-next-stage-color));
opacity: .82;
}
.review-flow-stage-card {
position: relative;
min-width: 0;
margin: 0 0 22px;
overflow: hidden;
border-color: color-mix(in srgb, var(--review-stage-color) 42%, var(--line));
}
.review-flow-stage-header {
min-height: 74px;
gap: 18px;
border-left: 2px solid var(--review-stage-color);
}
.review-flow-stage-header h2 {
display: inline-flex;
align-items: center;
gap: 7px;
min-width: 0;
margin: 0;
}
.review-flow-state-badge {
--review-badge-color: var(--line-dark);
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 32px;
min-height: 28px;
margin-left: auto;
padding: 4px 9px;
border: 1px solid color-mix(in srgb, var(--review-badge-color) 70%, var(--line));
border-radius: var(--radius-pill);
color: color-mix(in srgb, var(--review-badge-color) 70%, #242424);
background: color-mix(in srgb, var(--review-badge-color) 18%, #fff);
font-size: 11px;
font-weight: 800;
letter-spacing: .03em;
text-transform: uppercase;
white-space: nowrap;
}
.review-flow-state-badge[data-state="complete"] { --review-badge-color: var(--green); }
.review-flow-state-badge[data-state="warning"] { --review-badge-color: var(--amber); }
.review-flow-state-badge[data-state="danger"] { --review-badge-color: var(--red); }
.review-flow-state-badge[data-state="active"],
.review-flow-state-badge[data-state="running"] { --review-badge-color: var(--blue); }
.review-flow-state-badge[data-state="partial"],
.review-flow-state-badge[data-state="stale"] { --review-badge-color: var(--review-flow-purple); }
.review-flow-stage-content {
min-height: 150px;
}
.review-flow-stage-card.is-locked .review-flow-stage-header,
.review-flow-stage-card.is-locked .review-flow-stage-content {
opacity: .38;
filter: grayscale(.35);
pointer-events: none;
user-select: none;
}
.review-flow-lock-message {
position: absolute;
inset: 74px 0 0;
z-index: 3;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 7px;
padding: 28px;
color: var(--text);
text-align: center;
background: rgba(247, 246, 244, .46);
}
.review-flow-lock-message::before {
position: absolute;
inset: 50% auto auto 50%;
width: min(430px, calc(100% - 44px));
height: 110px;
border: 1px solid rgba(189, 184, 176, .8);
border-radius: 10px;
content: "";
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, .91);
box-shadow: 0 12px 32px rgba(48, 49, 53, .14);
}
.review-flow-lock-message > * {
position: relative;
z-index: 1;
}
.review-flow-lock-message strong {
color: var(--text-strong);
}
.review-flow-lock-message > span:last-child {
max-width: 390px;
color: var(--muted);
font-size: 13px;
line-height: 1.45;
}
.review-flow-lock-icon {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border: 1px solid var(--line-dark);
border-radius: 50%;
color: var(--muted);
background: #fff;
}
.review-flow-fact-grid,
.review-flow-execution-summary {
display: grid;
grid-template-columns: repeat(4, minmax(130px, 1fr));
gap: 10px;
margin-bottom: 16px;
}
.review-flow-fact,
.review-flow-execution-summary > div {
display: grid;
gap: 5px;
min-width: 0;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--panel-soft);
}
.review-flow-fact span,
.review-flow-execution-summary span {
color: var(--muted);
font-size: 11px;
font-weight: 800;
letter-spacing: .04em;
text-transform: uppercase;
}
.review-flow-fact strong,
.review-flow-execution-summary strong {
min-width: 0;
overflow: hidden;
color: var(--text-strong);
font-size: 16px;
text-overflow: ellipsis;
}
.review-flow-inline-note {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 14px;
padding: 10px 12px;
border-left: 3px solid var(--blue);
background: color-mix(in srgb, var(--blue) 10%, #fff);
color: var(--text);
font-size: 13px;
}
.review-flow-inline-note.is-complete {
border-left-color: var(--green);
background: color-mix(in srgb, var(--green) 12%, #fff);
}
.review-flow-inline-note.is-warning {
border-left-color: var(--amber);
background: color-mix(in srgb, var(--amber) 16%, #fff);
}
.review-flow-inline-note.is-danger {
border-left-color: var(--red);
background: color-mix(in srgb, var(--red) 10%, #fff);
}
.review-flow-inline-note.is-stale {
border-left-color: var(--review-flow-purple);
background: color-mix(in srgb, var(--review-flow-purple) 11%, #fff);
}
.review-flow-result-line {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 14px;
color: var(--muted);
}
@keyframes review-flow-pulse {
0%, 100% { box-shadow: 0 0 0 4px var(--bg), 0 4px 12px rgba(48, 49, 53, .10); }
50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--review-stage-color) 18%, transparent), 0 4px 12px rgba(48, 49, 53, .10); }
}
@media (max-width: 980px) {
.review-flow-fact-grid,
.review-flow-execution-summary {
grid-template-columns: repeat(2, minmax(130px, 1fr));
}
}
@media (max-width: 680px) {
.review-flow-stage {
grid-template-columns: 36px minmax(0, 1fr);
gap: 8px;
}
.review-flow-stage-node {
width: 34px;
height: 34px;
}
.review-flow-stage-header {
align-items: flex-start;
flex-direction: column;
padding: 14px 18px;
}
.review-flow-state-badge {
margin-left: 0;
}
.review-flow-lock-message {
inset: 100px 0 0;
}
.review-flow-fact-grid,
.review-flow-execution-summary {
grid-template-columns: 1fr;
}
}