snapshot: refine builder field rules and conditional summaries
This commit is contained in:
@@ -116,6 +116,34 @@ body {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.builder-sidebar-context {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.builder-context-stack {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.builder-context-row {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.builder-context-label {
|
||||
color: #607086;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.builder-context-row strong {
|
||||
color: #142033;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.builder-side-stat {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
@@ -147,7 +175,7 @@ body {
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 8px 0 6px;
|
||||
padding: 4px 0 6px;
|
||||
}
|
||||
|
||||
.builder-hero-copy {
|
||||
@@ -155,10 +183,10 @@ body {
|
||||
}
|
||||
|
||||
.builder-hero-sub {
|
||||
margin: 10px 0 0;
|
||||
max-width: 640px;
|
||||
margin: 8px 0 0;
|
||||
max-width: 620px;
|
||||
color: #5c6d87;
|
||||
font-size: 15px;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@@ -191,6 +219,88 @@ body {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.builder-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
margin: 10px 0 14px;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #d7e0ec;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, #fbfdff, #f7fbff);
|
||||
box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
|
||||
}
|
||||
|
||||
.builder-toolbar-main {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.builder-toolbar-chip {
|
||||
display: inline-grid;
|
||||
gap: 1px;
|
||||
min-height: 40px;
|
||||
padding: 7px 12px;
|
||||
border: 1px solid #dbe5f1;
|
||||
border-radius: 14px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.builder-toolbar-chip-label {
|
||||
color: #607086;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.builder-toolbar-chip strong {
|
||||
font-size: 13px;
|
||||
color: #142033;
|
||||
}
|
||||
|
||||
.builder-toolbar-note {
|
||||
color: #5f7089;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
max-width: 360px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.builder-lang-switch {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 4px;
|
||||
border: 1px solid #c6d1e1;
|
||||
border-radius: 999px;
|
||||
background: #f8fbff;
|
||||
}
|
||||
|
||||
.builder-lang-btn {
|
||||
min-width: 38px;
|
||||
min-height: 34px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
color: #304159;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
|
||||
}
|
||||
|
||||
.builder-lang-btn:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.builder-lang-btn.active {
|
||||
background: linear-gradient(135deg, #0f3b7a 0%, #1759b8 100%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.tab {
|
||||
border: 1px solid #c6d1e1;
|
||||
border-radius: 999px;
|
||||
@@ -575,9 +685,9 @@ body {
|
||||
.field-rule-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 1.5fr) minmax(120px, 0.55fr) minmax(170px, 0.7fr) auto;
|
||||
gap: 14px;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
padding: 14px;
|
||||
padding: 12px;
|
||||
border: 1px solid #e7edf6;
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
@@ -598,8 +708,15 @@ body {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.field-rule-summary {
|
||||
margin-top: 4px;
|
||||
color: #526379;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.field-rule-meta {
|
||||
margin-top: 8px;
|
||||
margin-top: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -619,7 +736,7 @@ body {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -673,10 +790,19 @@ body {
|
||||
|
||||
.conditional-rule-head-main {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.conditional-rule-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.conditional-rule-head h3 {
|
||||
margin: 2px 0 2px;
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
color: #142033;
|
||||
}
|
||||
@@ -710,6 +836,11 @@ body {
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.conditional-rule-target-inline {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.conditional-meta-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
@@ -734,6 +865,27 @@ body {
|
||||
background: linear-gradient(180deg, #f6faff, #ffffff);
|
||||
}
|
||||
|
||||
.conditional-summary-text {
|
||||
color: #21354f;
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.conditional-rule-state {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #e7edf6;
|
||||
border-radius: 12px;
|
||||
background: #f9fbff;
|
||||
}
|
||||
|
||||
.conditional-rule-state strong {
|
||||
color: #142033;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.conditional-summary-prefix {
|
||||
color: #294567;
|
||||
font-size: 11px;
|
||||
@@ -759,12 +911,7 @@ body {
|
||||
.conditional-target-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.conditional-clause-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.conditional-sentence-builder {
|
||||
@@ -788,8 +935,7 @@ body {
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
line-height: 1.45;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.conditional-sentence-row select,
|
||||
@@ -1807,6 +1953,16 @@ body {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.builder-toolbar {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.builder-toolbar-note {
|
||||
max-width: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.builder-panel-meta {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
@@ -1819,6 +1975,10 @@ body {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.conditional-rule-title-row {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.builder-entity-card-head {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user