Add governed form handoffs

This commit is contained in:
2026-08-01 20:57:26 +02:00
parent 9dc49fe27b
commit b4388b1e1e
15 changed files with 2236 additions and 89 deletions
+97
View File
@@ -143,6 +143,24 @@
padding: 20px 0;
}
.form-runtime-section > header {
padding-top: 16px;
border-bottom: 1px solid var(--border);
}
.form-runtime-section > header h2,
.form-handoffs h2 {
margin: 0;
font-size: 0.98rem;
letter-spacing: 0;
}
.form-runtime-section > header p {
margin: 5px 0 10px;
color: var(--text-soft);
font-size: 0.84rem;
}
.form-field {
display: flex;
min-width: 0;
@@ -216,6 +234,71 @@
color: var(--text);
}
.form-handoffs {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid var(--border);
}
.form-handoff-heading,
.form-handoff-create,
.form-handoff-actions {
display: flex;
align-items: center;
gap: 8px;
}
.form-handoff-heading {
justify-content: space-between;
flex-wrap: wrap;
}
.form-handoff-create input {
width: min(260px, 34vw);
}
.form-handoff-empty {
margin: 0;
color: var(--text-soft);
font-size: 0.84rem;
}
.form-handoff-list {
border-top: 1px solid var(--border);
}
.form-handoff-row {
display: grid;
grid-template-columns: minmax(160px, 1fr) auto minmax(180px, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 54px;
border-bottom: 1px solid var(--border);
}
.form-handoff-row > span:first-child {
display: flex;
min-width: 0;
flex-direction: column;
gap: 2px;
}
.form-handoff-row small,
.form-handoff-error {
overflow: hidden;
color: var(--text-soft);
font-size: 0.78rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.form-handoff-error {
color: var(--danger);
}
.form-instance-actions {
display: flex;
align-items: end;
@@ -296,4 +379,18 @@
align-items: stretch;
flex-direction: column;
}
.form-handoff-create,
.form-handoff-row {
align-items: stretch;
grid-template-columns: 1fr;
}
.form-handoff-create {
flex-direction: column;
}
.form-handoff-create input {
width: 100%;
}
}