chore: commit pending gateway changes
This commit is contained in:
@@ -0,0 +1,336 @@
|
||||
.baseCapabilityEditor {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--card-radius);
|
||||
background: var(--surface);
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.baseCapabilityEditor > header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.baseCapabilityEditor > header strong {
|
||||
font-size: var(--font-size-md);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.baseCapabilityEditor > header span,
|
||||
.capabilityFormPanel > header small,
|
||||
.capabilityListItem small,
|
||||
.capabilityFormRow small,
|
||||
.capabilityPreserveNote span {
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.baseCapabilityEditor > header span,
|
||||
.capabilityFormPanel > header strong,
|
||||
.capabilityFormPanel > header small {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.capabilityWorkbench {
|
||||
display: grid;
|
||||
grid-template-columns: 220px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.capabilitySidebar,
|
||||
.capabilityFormPanel,
|
||||
.capabilityFormGroup {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--card-radius);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.capabilitySidebarTitle,
|
||||
.capabilityFormGroup > header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--text-strong);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilityList,
|
||||
.capabilityAddBox,
|
||||
.capabilityFormRows {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.capabilityListItem {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
min-height: 44px;
|
||||
padding: 7px 9px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface);
|
||||
color: var(--text-strong);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.capabilityListItem[data-active="true"] {
|
||||
border-color: var(--ring);
|
||||
background: #fff;
|
||||
box-shadow: 0 0 0 1px var(--ring);
|
||||
}
|
||||
|
||||
.capabilityListItem span,
|
||||
.capabilityFormRow > div,
|
||||
.capabilityPreserveNote {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.capabilityListItem strong,
|
||||
.capabilityListItem small,
|
||||
.capabilityFormRow strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.capabilityFormRow small {
|
||||
display: -webkit-box;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.capabilityListItem strong,
|
||||
.capabilityFormRow strong {
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilityAddBox {
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
.capabilitySummary {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-height: 86px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.capabilitySummary strong {
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilitySummary p {
|
||||
margin: 0;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.capabilityFormPanel {
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.capabilityFormPanel > header {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
.capabilityFormPanel > header strong {
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-md);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.capabilityFormPanel > header span {
|
||||
width: fit-content;
|
||||
padding: 3px 7px;
|
||||
border-radius: 999px;
|
||||
background: var(--surface-muted);
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilityFormGroup {
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.capabilityFormGroup > header {
|
||||
padding: 7px 10px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.capabilityFormRows {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.capabilityFormRow {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(112px, 148px) minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.capabilitySwitch {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 30px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: var(--surface);
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilityBooleanSelect {
|
||||
width: fit-content;
|
||||
min-width: 154px;
|
||||
}
|
||||
|
||||
.capabilityRange {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.capabilityScopedControl,
|
||||
.capabilityScopedRows {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.capabilitySegmented {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
gap: 2px;
|
||||
padding: 3px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.capabilitySegmented button {
|
||||
min-height: 30px;
|
||||
padding: 0 10px;
|
||||
border: 0;
|
||||
border-radius: calc(var(--control-radius) - 2px);
|
||||
background: transparent;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilitySegmented button[data-active="true"] {
|
||||
background: var(--surface);
|
||||
color: var(--text-strong);
|
||||
box-shadow: 0 1px 2px rgba(24, 24, 27, 0.08);
|
||||
}
|
||||
|
||||
.capabilitySegmented button:disabled {
|
||||
color: var(--text-faint);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.capabilityScopedRow {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr) 30px;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.capabilityMultiValue,
|
||||
.capabilityMultiOptions,
|
||||
.capabilityCustomValue {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.capabilityMultiValue {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.capabilityMultiOptions {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.capabilityCheckboxOption {
|
||||
display: inline-flex;
|
||||
min-height: 28px;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
padding: 0;
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.capabilityCustomValue {
|
||||
flex: 1 1 210px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(140px, 1fr) auto;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.capabilityCustomValue .shInput {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.capabilityAddValueButton {
|
||||
min-width: 64px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.capabilityPreserveNote {
|
||||
padding: 8px;
|
||||
border: 1px dashed #dce2ea;
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.capabilityWorkbench,
|
||||
.capabilityFormRow,
|
||||
.capabilityFormPanel > header,
|
||||
.capabilityScopedRow {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -69,13 +69,13 @@
|
||||
border: 0;
|
||||
border-radius: 7px;
|
||||
background: transparent;
|
||||
color: #344054;
|
||||
color: var(--text-normal);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.docsGroup button[data-active="true"] {
|
||||
background: #f5f6f8;
|
||||
color: #111827;
|
||||
background: var(--surface-muted);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.docsArticle {
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
.docsLead {
|
||||
margin: 18px 0 24px;
|
||||
color: #475467;
|
||||
color: var(--text-soft);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
gap: 12px;
|
||||
padding: 13px 16px;
|
||||
border-bottom: 1px solid #f0f2f5;
|
||||
color: #475467;
|
||||
color: var(--text-soft);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
.landingCopy p {
|
||||
max-width: 660px;
|
||||
color: #475467;
|
||||
color: var(--text-soft);
|
||||
font-size: 16px;
|
||||
line-height: 1.75;
|
||||
}
|
||||
@@ -66,7 +66,7 @@
|
||||
padding: 18px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
background: #fafbfc;
|
||||
background: var(--surface-subtle);
|
||||
box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
.previewHeader {
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
font-weight: 900;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.previewGrid {
|
||||
@@ -103,7 +103,7 @@
|
||||
.previewGrid span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.previewGrid strong {
|
||||
@@ -113,10 +113,10 @@
|
||||
.previewFlow {
|
||||
padding: 14px;
|
||||
border-radius: 10px;
|
||||
background: #111827;
|
||||
background: var(--primary);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.previewFlow span {
|
||||
|
||||
+932
-20
File diff suppressed because it is too large
Load Diff
+137
-19
@@ -44,8 +44,8 @@
|
||||
min-height: 56px;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #e8ecf1;
|
||||
background: #fafbfc;
|
||||
border: 1px solid var(--border-subtle);
|
||||
background: var(--surface-subtle);
|
||||
color: #4b5563;
|
||||
font-size: 12px;
|
||||
}
|
||||
@@ -54,12 +54,12 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: #111827;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.pricingRuleItems svg {
|
||||
color: #6b7280;
|
||||
color: var(--text-soft);
|
||||
}
|
||||
|
||||
.pricingRuleItems em {
|
||||
@@ -118,14 +118,95 @@
|
||||
border: 0;
|
||||
border-bottom: 3px solid transparent;
|
||||
background: transparent;
|
||||
color: #475467;
|
||||
color: var(--text-soft);
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.pricingModeTabs button.active {
|
||||
border-bottom-color: #111827;
|
||||
color: #111827;
|
||||
border-bottom-color: var(--primary);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.pricingModeWorkbench {
|
||||
display: grid;
|
||||
grid-template-columns: 220px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.pricingModeSidebar,
|
||||
.pricingModePanel {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--card-radius);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.pricingModeSidebarTitle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--text-strong);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.pricingModeList {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.pricingModeList button {
|
||||
display: grid;
|
||||
min-height: 44px;
|
||||
padding: 7px 9px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface);
|
||||
color: var(--text-strong);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pricingModeList button[data-active="true"] {
|
||||
border-color: var(--ring);
|
||||
background: #fff;
|
||||
box-shadow: 0 0 0 1px var(--ring);
|
||||
}
|
||||
|
||||
.pricingModeList span,
|
||||
.pricingModeSummary {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.pricingModeList strong,
|
||||
.pricingModeSummary strong {
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.pricingModeList small,
|
||||
.pricingModeSummary p {
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.pricingModeSummary {
|
||||
min-height: 86px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.pricingModeSummary p {
|
||||
margin: 0;
|
||||
line-height: 1.65;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.pricingModeRule,
|
||||
@@ -179,6 +260,41 @@
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.pricingFormRows {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--card-radius);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.pricingFormRow {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(112px, 148px) minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.pricingFormRow > strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pricingFormReadonly {
|
||||
display: inline-flex;
|
||||
min-height: 30px;
|
||||
align-items: center;
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.pricingModeInlineInput,
|
||||
.pricingInlineField {
|
||||
display: grid;
|
||||
@@ -195,10 +311,10 @@
|
||||
align-items: center;
|
||||
padding: 0 10px;
|
||||
border-right: 1px solid var(--border);
|
||||
background: #fafbfc;
|
||||
color: #344054;
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-medium);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
@@ -215,7 +331,7 @@
|
||||
min-height: 40px;
|
||||
align-items: center;
|
||||
padding: 0 12px;
|
||||
color: #111827;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@@ -225,15 +341,15 @@
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
background: #f6f7f9;
|
||||
color: #344054;
|
||||
background: var(--surface-muted);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.pricingFormulaBox p {
|
||||
margin-top: 8px;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.pricingFormulaBox input {
|
||||
@@ -251,7 +367,7 @@
|
||||
.pricingWeightTable header {
|
||||
min-height: 36px;
|
||||
padding: 0 12px;
|
||||
background: #f6f7f9;
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.pricingWeightRows {
|
||||
@@ -279,10 +395,10 @@
|
||||
padding: 0 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: #fafbfc;
|
||||
color: #344054;
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.pricingInlineAdd {
|
||||
@@ -291,11 +407,13 @@
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.pricingRuleGrid,
|
||||
.pricingModeWorkbench,
|
||||
.pricingModeBaseRows,
|
||||
.pricingRuleFormBody,
|
||||
.pricingModeInlineRows,
|
||||
.pricingModeInlineInput,
|
||||
.pricingInlineField,
|
||||
.pricingFormRow,
|
||||
.pricingTextPriceGrid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
+329
-75
@@ -1,104 +1,276 @@
|
||||
.shCard {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
background: var(--card);
|
||||
color: var(--card-foreground);
|
||||
border-radius: var(--card-radius);
|
||||
background: var(--surface);
|
||||
color: var(--text-normal);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.shCardHeader,
|
||||
.shCardContent,
|
||||
.shCardFooter {
|
||||
padding: 16px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.shCardHeader {
|
||||
display: flex;
|
||||
min-height: 60px;
|
||||
min-height: 54px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
border-bottom: 1px solid #eef1f4;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
.shCardTitle {
|
||||
font-size: 16px;
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.shCardDescription,
|
||||
.mutedText {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shFormItem {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.shFormItemLabel {
|
||||
color: var(--text-soft);
|
||||
}
|
||||
|
||||
.shFormItemDescription {
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-normal);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.shButton {
|
||||
display: inline-flex;
|
||||
min-height: 40px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 7px;
|
||||
font-weight: 800;
|
||||
border-radius: var(--control-radius);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
line-height: 1;
|
||||
transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
|
||||
white-space: nowrap;
|
||||
transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
|
||||
}
|
||||
|
||||
.shButtonDefaultSize {
|
||||
padding: 0 14px;
|
||||
.shButtonXs {
|
||||
min-height: 28px;
|
||||
padding: 0 9px;
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.shButtonSm {
|
||||
min-height: 34px;
|
||||
padding: 0 11px;
|
||||
font-size: 13px;
|
||||
min-height: 32px;
|
||||
padding: 0 12px;
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shButtonMd,
|
||||
.shButtonDefaultSize {
|
||||
min-height: 36px;
|
||||
padding: 0 14px;
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shButtonLg {
|
||||
min-height: 40px;
|
||||
padding: 0 16px;
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.shButtonXl {
|
||||
min-height: 44px;
|
||||
padding: 0 18px;
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.shButtonIcon {
|
||||
width: 36px;
|
||||
min-height: 36px;
|
||||
width: var(--control-height);
|
||||
min-height: var(--control-height);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.shButtonDefault {
|
||||
background: var(--primary);
|
||||
color: var(--primary-foreground);
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
|
||||
}
|
||||
|
||||
.shButtonDefault:hover {
|
||||
background: #202734;
|
||||
background: #27272a;
|
||||
}
|
||||
|
||||
.shButtonSecondary {
|
||||
background: var(--secondary);
|
||||
color: var(--secondary-foreground);
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
|
||||
}
|
||||
|
||||
.shButtonOutline {
|
||||
border-color: var(--border);
|
||||
border-color: var(--input);
|
||||
background: #fff;
|
||||
color: #344054;
|
||||
color: var(--text-normal);
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
|
||||
}
|
||||
|
||||
.shButtonOutline:hover,
|
||||
.shButtonSecondary:hover {
|
||||
border-color: #d5dbe3;
|
||||
background: #f9fafb;
|
||||
background: var(--accent);
|
||||
color: var(--accent-foreground);
|
||||
}
|
||||
|
||||
.shButtonGhost {
|
||||
background: transparent;
|
||||
color: #344054;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.shButtonGhost:hover {
|
||||
background: #f5f6f8;
|
||||
background: var(--accent);
|
||||
color: var(--accent-foreground);
|
||||
}
|
||||
|
||||
.shButtonDestructive {
|
||||
background: var(--destructive);
|
||||
color: #fff;
|
||||
color: var(--destructive-foreground);
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
|
||||
}
|
||||
|
||||
.screenMessageViewport {
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
top: 18px;
|
||||
left: 50%;
|
||||
width: min(520px, calc(100vw - 32px));
|
||||
transform: translateX(-50%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.screenMessage {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 44px;
|
||||
padding: 8px 8px 8px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--surface);
|
||||
color: var(--text-normal);
|
||||
box-shadow: var(--shadow-dialog);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.screenMessageIcon {
|
||||
display: inline-flex;
|
||||
color: var(--text-soft);
|
||||
}
|
||||
|
||||
.screenMessageText {
|
||||
min-width: 0;
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.screenMessageClose {
|
||||
width: 28px;
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
.screenMessage-error {
|
||||
border-color: #fecaca;
|
||||
background: #fef2f2;
|
||||
color: #991b1b;
|
||||
}
|
||||
|
||||
.screenMessage-error .screenMessageIcon {
|
||||
color: #dc2626;
|
||||
}
|
||||
|
||||
.screenMessage-success {
|
||||
border-color: #bbf7d0;
|
||||
background: #f0fdf4;
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
.screenMessage-success .screenMessageIcon {
|
||||
color: #16a34a;
|
||||
}
|
||||
|
||||
.confirmDialogBackdrop {
|
||||
position: fixed;
|
||||
z-index: 110;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 24px;
|
||||
background: rgba(16, 19, 24, 0.36);
|
||||
}
|
||||
|
||||
.confirmDialog {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 14px;
|
||||
width: min(420px, 100%);
|
||||
padding: 18px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xl);
|
||||
background: var(--surface);
|
||||
color: var(--text-normal);
|
||||
box-shadow: var(--shadow-dialog);
|
||||
}
|
||||
|
||||
.confirmDialogIcon {
|
||||
display: grid;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
place-items: center;
|
||||
border-radius: 999px;
|
||||
background: #fef2f2;
|
||||
color: var(--destructive);
|
||||
}
|
||||
|
||||
.confirmDialogBody {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.confirmDialogBody strong {
|
||||
display: block;
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.confirmDialogBody p {
|
||||
margin-top: 6px;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.confirmDialogActions {
|
||||
grid-column: 1 / -1;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.formDialogBackdrop {
|
||||
@@ -118,9 +290,9 @@
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
background: #fff;
|
||||
box-shadow: 0 22px 60px rgba(16, 24, 40, 0.16);
|
||||
border-radius: var(--radius-xl);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-dialog);
|
||||
}
|
||||
|
||||
.formDialogHeader {
|
||||
@@ -128,22 +300,24 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
padding: 18px;
|
||||
padding: 16px 18px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.formDialogHeader span {
|
||||
display: block;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.formDialogHeader strong {
|
||||
display: block;
|
||||
margin-top: 3px;
|
||||
font-size: 18px;
|
||||
color: var(--text-strong);
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.formDialogForm {
|
||||
@@ -158,7 +332,7 @@
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
overflow: auto;
|
||||
padding: 18px;
|
||||
padding: 16px 18px;
|
||||
}
|
||||
|
||||
.formDialogActions {
|
||||
@@ -168,7 +342,7 @@
|
||||
gap: 10px;
|
||||
padding: 14px 18px;
|
||||
border-top: 1px solid var(--border);
|
||||
background: #fff;
|
||||
background: var(--surface);
|
||||
box-shadow: 0 -1px 0 rgba(16, 24, 40, 0.02);
|
||||
}
|
||||
|
||||
@@ -176,28 +350,102 @@
|
||||
.shTextarea {
|
||||
width: 100%;
|
||||
border: 1px solid var(--input);
|
||||
border-radius: 7px;
|
||||
background: #fff;
|
||||
color: var(--foreground);
|
||||
border-radius: var(--control-radius);
|
||||
background: transparent;
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-base);
|
||||
font-weight: var(--font-weight-regular);
|
||||
line-height: 1.25;
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
|
||||
outline: none;
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
|
||||
}
|
||||
|
||||
.shInput {
|
||||
min-height: 40px;
|
||||
padding: 0 11px;
|
||||
}
|
||||
|
||||
.shSelect {
|
||||
appearance: none;
|
||||
padding-right: 30px;
|
||||
background-image:
|
||||
linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
|
||||
linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
|
||||
background-position:
|
||||
calc(100% - 16px) 50%,
|
||||
calc(100% - 11px) 50%;
|
||||
background-size: 5px 5px, 5px 5px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.shTextarea {
|
||||
min-height: 96px;
|
||||
padding: 10px 11px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.shInput:focus,
|
||||
.shTextarea:focus,
|
||||
.tokenInline input:focus {
|
||||
border-color: var(--ring);
|
||||
box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.14);
|
||||
.shControlXs {
|
||||
min-height: 28px;
|
||||
padding: 0 8px;
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.shControlSm {
|
||||
min-height: 32px;
|
||||
padding: 0 9px;
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shControlMd {
|
||||
min-height: 36px;
|
||||
padding: 0 10px;
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.shControlLg {
|
||||
min-height: 40px;
|
||||
padding: 0 11px;
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.shControlXl {
|
||||
min-height: 44px;
|
||||
padding: 0 13px;
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.shSelect.shControlXs { padding-right: 26px; }
|
||||
.shSelect.shControlSm { padding-right: 28px; }
|
||||
.shSelect.shControlMd { padding-right: 30px; }
|
||||
.shSelect.shControlLg { padding-right: 32px; }
|
||||
.shSelect.shControlXl { padding-right: 34px; }
|
||||
|
||||
.shTextareaXs { min-height: 64px; padding: 8px 9px; font-size: var(--font-size-xs); }
|
||||
.shTextareaSm { min-height: 78px; padding: 9px 10px; font-size: var(--font-size-sm); }
|
||||
.shTextareaMd { min-height: 96px; padding: 10px 11px; font-size: var(--font-size-base); }
|
||||
.shTextareaLg { min-height: 112px; padding: 11px 12px; font-size: var(--font-size-base); }
|
||||
.shTextareaXl { min-height: 128px; padding: 12px 14px; font-size: var(--font-size-md); }
|
||||
|
||||
.shInput:focus-visible,
|
||||
.shTextarea:focus-visible,
|
||||
.tokenInline input:focus-visible {
|
||||
box-shadow: 0 0 0 1px var(--ring);
|
||||
}
|
||||
|
||||
.shButton:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 1px var(--ring);
|
||||
}
|
||||
|
||||
.shInput::placeholder,
|
||||
.shTextarea::placeholder {
|
||||
color: var(--muted-foreground);
|
||||
font-weight: var(--font-weight-regular);
|
||||
}
|
||||
|
||||
.shInput:disabled,
|
||||
.shTextarea:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.shLabel,
|
||||
@@ -207,9 +455,9 @@
|
||||
}
|
||||
|
||||
.shLabel {
|
||||
color: #475467;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.formGrid {
|
||||
@@ -226,27 +474,28 @@
|
||||
gap: 6px;
|
||||
padding: 4px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: #f6f7f9;
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.shTab {
|
||||
display: inline-flex;
|
||||
min-height: 34px;
|
||||
min-height: 32px;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
padding: 0 11px;
|
||||
border: 0;
|
||||
border-radius: 7px;
|
||||
border-radius: calc(var(--control-radius) - 1px);
|
||||
background: transparent;
|
||||
color: #475467;
|
||||
font-weight: 800;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.shTab[data-active="true"] {
|
||||
background: #fff;
|
||||
color: #111827;
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
|
||||
background: var(--surface);
|
||||
color: var(--text-strong);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.shBadge {
|
||||
@@ -257,13 +506,13 @@
|
||||
padding: 0 8px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.shBadgeDefault { background: #eef1f5; color: #202734; }
|
||||
.shBadgeSecondary { background: #f3f5f7; color: #5d6675; }
|
||||
.shBadgeOutline { border-color: var(--border); background: #fff; color: #344054; }
|
||||
.shBadgeDefault { background: #eef1f5; color: var(--text-normal); }
|
||||
.shBadgeSecondary { background: #f3f5f7; color: var(--text-soft); }
|
||||
.shBadgeOutline { border-color: var(--border); background: #fff; color: var(--text-normal); }
|
||||
.shBadgeSuccess { background: #edf7f1; color: #157a57; }
|
||||
.shBadgeWarning { background: #fbf4e8; color: #8a6116; }
|
||||
.shBadgeDestructive { background: #fff3f3; color: #b42318; }
|
||||
@@ -276,11 +525,11 @@
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
|
||||
min-width: 520px;
|
||||
border-bottom: 1px solid #eef1f4;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
.shTableHeader {
|
||||
background: #f7f8fa;
|
||||
background: var(--surface-subtle);
|
||||
}
|
||||
|
||||
.shTableHead,
|
||||
@@ -293,14 +542,14 @@
|
||||
}
|
||||
|
||||
.shTableHead {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.shTableCell {
|
||||
color: #344054;
|
||||
font-size: 13px;
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.emptyState {
|
||||
@@ -319,9 +568,9 @@
|
||||
.taskPreview pre {
|
||||
overflow: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: #f7f8fa;
|
||||
color: #1f2937;
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-family: "SFMono-Regular", Consolas, monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
@@ -331,6 +580,11 @@
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.createdApiKeyBox {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.codeBlock,
|
||||
.taskPreview pre {
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user