fix: stabilize rules detail editor flow

This commit is contained in:
wren
2026-05-07 09:59:01 +08:00
parent e7bac9a33f
commit 71476fc919
7 changed files with 1071 additions and 236 deletions
+83
View File
@@ -433,6 +433,89 @@
color: #34483e;
}
.rules-test-page .config-section-tools {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.rules-test-page .config-section-tip {
color: #61756b;
font-size: 13px;
}
.rules-test-page .config-item-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.rules-test-page .config-item-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 14px 16px;
border: 1px solid #dbe7e1;
border-radius: 8px;
background: #fbfdfc;
}
.rules-test-page .config-item-main {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.rules-test-page .config-item-main strong {
color: #173d2f;
font-size: 14px;
font-weight: 650;
}
.rules-test-page .config-item-main span {
color: #63766d;
font-size: 13px;
line-height: 1.5;
}
.rules-test-page .config-item-actions {
display: inline-flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.rules-test-page .rules-version-select {
min-width: 168px;
height: 32px;
padding: 0 10px;
border: 1px solid #d5ded9;
border-radius: 6px;
background: #fff;
color: #20352c;
}
.rules-test-page .document-draft-fields {
display: flex;
flex-direction: column;
gap: 10px;
}
.rules-test-page .document-draft-field-row {
display: grid;
grid-template-columns: 120px 1.2fr 110px 1.4fr 72px;
gap: 8px;
}
.rules-test-page .document-draft-field-row input,
.rules-test-page .document-draft-field-row select {
width: 100%;
}
.rules-test-page .document-fields-card {
margin-top: 12px;
}