Add safe guided settings workflow

This commit is contained in:
benya
2026-06-04 20:53:27 +03:00
parent 615c256f8b
commit 7d5ba3a402
4 changed files with 238 additions and 51 deletions
+72 -9
View File
@@ -722,15 +722,17 @@ select {
.preset-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.preset {
display: grid;
gap: 8px;
grid-template-rows: auto auto 1fr auto;
gap: 10px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-raised);
padding: 12px;
}
@@ -740,15 +742,76 @@ select {
letter-spacing: 0;
}
.preset div {
display: flex;
flex-wrap: wrap;
gap: 6px;
.preset p {
min-height: 34px;
margin: 0;
color: var(--muted);
font-size: 12px;
line-height: 1.4;
}
.preset-btn {
min-height: 32px;
padding: 0 10px;
.preset-review-btn {
color: var(--accent);
}
.preset-review-panel {
display: grid;
gap: 12px;
border: 1px solid #31596a;
border-radius: 8px;
background: #192a32;
margin-top: 14px;
padding: 14px;
}
.preset-review-header,
.preset-review-actions {
display: flex;
gap: 10px;
align-items: center;
justify-content: space-between;
}
.preset-review-header div {
display: grid;
gap: 3px;
}
.preset-review-header span,
.preset-safety-note {
color: var(--muted);
font-size: 12px;
}
.preset-review-change {
display: grid;
grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
gap: 12px;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface-raised);
padding: 10px;
}
.preset-review-change span {
color: var(--muted);
}
.preset-review-output {
max-height: 260px;
overflow: auto;
border: 1px solid var(--line);
border-radius: 6px;
background: #101820;
color: #d9f3f6;
margin: 0;
padding: 12px;
white-space: pre-wrap;
word-break: break-word;
}
.preset-safety-note {
margin: 0;
}
.section-title {