feat: improve model catalog aggregation
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
.docsBrand {
|
||||
margin-bottom: 18px;
|
||||
font-size: 17px;
|
||||
font-size: 1.0625rem;
|
||||
}
|
||||
|
||||
.docsSearch {
|
||||
@@ -56,7 +56,7 @@
|
||||
.docsGroup h3 {
|
||||
margin-bottom: 4px;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.docsGroup button {
|
||||
@@ -129,7 +129,7 @@
|
||||
padding: 13px 16px;
|
||||
border-bottom: 1px solid #f0f2f5;
|
||||
color: var(--text-soft);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.paramRow em {
|
||||
@@ -162,7 +162,7 @@
|
||||
padding: 12px;
|
||||
border-radius: 8px;
|
||||
background: #f7f8fa;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
.releaseNotice span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.landingHero {
|
||||
@@ -43,14 +43,14 @@
|
||||
|
||||
.landingCopy h1 {
|
||||
max-width: 720px;
|
||||
font-size: 48px;
|
||||
font-size: 3rem;
|
||||
line-height: 1.08;
|
||||
}
|
||||
|
||||
.landingCopy p {
|
||||
max-width: 660px;
|
||||
color: var(--text-soft);
|
||||
font-size: 16px;
|
||||
font-size: 1rem;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
@@ -102,12 +102,12 @@
|
||||
|
||||
.previewGrid span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.previewGrid strong {
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
.previewFlow {
|
||||
@@ -115,7 +115,7 @@
|
||||
border-radius: 10px;
|
||||
background: var(--primary);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
}
|
||||
|
||||
.landingSectionHeader h2 {
|
||||
font-size: 22px;
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
|
||||
.coverageGrid,
|
||||
@@ -161,18 +161,18 @@
|
||||
.landingFeatureCard span,
|
||||
.advantageCard p {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.landingFeatureCard strong {
|
||||
display: block;
|
||||
margin: 8px 0;
|
||||
font-size: 18px;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.advantageCard strong {
|
||||
font-size: 17px;
|
||||
font-size: 1.0625rem;
|
||||
}
|
||||
|
||||
.loginRequiredPage {
|
||||
@@ -208,7 +208,7 @@
|
||||
}
|
||||
|
||||
.landingCopy h1 {
|
||||
font-size: 34px;
|
||||
font-size: 2.125rem;
|
||||
}
|
||||
|
||||
.coverageGrid,
|
||||
|
||||
+243
-73
@@ -47,7 +47,7 @@
|
||||
|
||||
.filterGroup h3 {
|
||||
color: #1f2937;
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.filterChips {
|
||||
@@ -57,22 +57,61 @@
|
||||
}
|
||||
|
||||
.filterChip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 28px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 999px;
|
||||
background: #fff;
|
||||
color: var(--text-normal);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.filterChip em {
|
||||
color: var(--text-soft);
|
||||
font-size: 0.6875rem;
|
||||
font-style: normal;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.filterChipIcon {
|
||||
display: grid;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
flex: 0 0 18px;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-soft);
|
||||
font-size: 0.5625rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.filterChipIcon img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.filterChip[data-active="true"] {
|
||||
border-color: var(--primary);
|
||||
background: var(--primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.filterChip[data-active="true"] em {
|
||||
color: rgba(255, 255, 255, 0.76);
|
||||
}
|
||||
|
||||
.filterChip[data-active="true"] .filterChipIcon {
|
||||
background: rgba(255, 255, 255, 0.18);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.modelsContent {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
@@ -143,65 +182,173 @@
|
||||
.modelCards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(260px, 1fr));
|
||||
gap: 14px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.modelCard .shCardContent {
|
||||
display: grid;
|
||||
min-height: 150px;
|
||||
gap: 13px;
|
||||
align-content: start;
|
||||
min-height: 265px;
|
||||
gap: 10px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.modelCardTop {
|
||||
display: grid;
|
||||
grid-template-columns: 42px minmax(0, 1fr) auto;
|
||||
gap: 11px;
|
||||
grid-template-columns: 38px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.modelCardTop strong,
|
||||
.modelCardTop span,
|
||||
.modelCard p {
|
||||
.modelCardTop .modelIcon {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
.modelCardTop .modelIconImage {
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.modelCardHeaderText {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.modelCardTop strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.modelCardTop span,
|
||||
.modelCard p,
|
||||
.modelCardFooter span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
.modelCardIntro {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.modelCardDescription {
|
||||
display: -webkit-box;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
color: var(--text-soft);
|
||||
line-height: 1.48;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.modelTags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
align-content: flex-start;
|
||||
align-items: flex-start;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.modelTags span {
|
||||
padding: 4px 7px;
|
||||
border: 1px solid #eceff3;
|
||||
border-radius: 999px;
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-soft);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.modelCardFooter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.modelCardFooter a {
|
||||
color: var(--text-strong);
|
||||
font-size: 12px;
|
||||
flex: 0 0 auto;
|
||||
padding: 2px 6px;
|
||||
border: 1px solid rgba(37, 99, 235, 0.32);
|
||||
border-radius: 6px;
|
||||
background: rgba(37, 99, 235, 0.06);
|
||||
color: #1d4ed8;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.modelTags span:nth-child(4n + 2) {
|
||||
border-color: rgba(5, 150, 105, 0.32);
|
||||
background: rgba(5, 150, 105, 0.07);
|
||||
color: #047857;
|
||||
}
|
||||
|
||||
.modelTags span:nth-child(4n + 3) {
|
||||
border-color: rgba(124, 58, 237, 0.32);
|
||||
background: rgba(124, 58, 237, 0.07);
|
||||
color: #6d28d9;
|
||||
}
|
||||
|
||||
.modelTags span:nth-child(4n + 4) {
|
||||
border-color: rgba(217, 119, 6, 0.32);
|
||||
background: rgba(217, 119, 6, 0.07);
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.modelCardFacts {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
|
||||
gap: 7px 10px;
|
||||
margin: 0;
|
||||
padding: 0.625rem;
|
||||
border-radius: 0.5rem;
|
||||
background: var(--surface-subtle);
|
||||
}
|
||||
|
||||
.modelCardFacts div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.modelCardFacts dt {
|
||||
margin-bottom: 2px;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.modelCardFacts dd {
|
||||
margin: 0;
|
||||
color: var(--text-normal);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1.35;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.modelCardFactRateLimit dd {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
.modelCardFacts .modelCardFactFull {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.modelPermissionTags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.1875rem;
|
||||
}
|
||||
|
||||
.modelPermissionTag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
gap: 0.1875rem;
|
||||
padding: 0.0625rem 0.3125rem;
|
||||
border-radius: 999rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.modelPermissionTag span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.modelPermissionTagAllow {
|
||||
background: rgba(5, 150, 105, 0.1);
|
||||
color: #047857;
|
||||
}
|
||||
|
||||
.modelPermissionTagDeny {
|
||||
background: rgba(220, 38, 38, 0.1);
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.modelPermissionIcon {
|
||||
width: 0.625rem;
|
||||
height: 0.625rem;
|
||||
flex: 0 0 auto;
|
||||
stroke-width: 2.5;
|
||||
}
|
||||
|
||||
.providerToolbar {
|
||||
@@ -214,7 +361,7 @@
|
||||
.providerToolbar p {
|
||||
margin: 0;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.inlineActions {
|
||||
@@ -511,7 +658,7 @@
|
||||
.formMessage {
|
||||
margin-top: 12px;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
@@ -569,7 +716,7 @@
|
||||
.providerCatalogBody span,
|
||||
.providerCatalogMeta {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.providerCatalogMeta,
|
||||
@@ -625,7 +772,7 @@
|
||||
.baseModelCardBody > div:first-child span {
|
||||
margin-top: 4px;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.baseModelCard .providerCatalogActions {
|
||||
@@ -644,7 +791,7 @@
|
||||
border-radius: 999px;
|
||||
background: var(--surface-subtle);
|
||||
color: #4b5563;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
@@ -680,7 +827,7 @@
|
||||
.baseModelForm textarea {
|
||||
min-height: 124px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.platformGrid {
|
||||
@@ -716,7 +863,7 @@
|
||||
.platformCardBody > div:first-child span,
|
||||
.platformCardBody p {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.platformCardBody p {
|
||||
@@ -833,7 +980,7 @@
|
||||
|
||||
.platformEmptyState strong {
|
||||
color: var(--text-strong);
|
||||
font-size: 18px;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.platformEmptyState span {
|
||||
@@ -872,7 +1019,7 @@
|
||||
.platformModelRow span {
|
||||
overflow: hidden;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -942,12 +1089,12 @@
|
||||
|
||||
.platformToggle strong {
|
||||
color: var(--text-normal);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.platformToggle small {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.platformReadonlyField {
|
||||
@@ -955,7 +1102,7 @@
|
||||
place-items: center start;
|
||||
padding: 0 11px;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
@@ -975,7 +1122,7 @@
|
||||
overflow: hidden;
|
||||
color: var(--text-normal);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-medium);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -983,7 +1130,7 @@
|
||||
|
||||
.platformCredentialField small {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-normal);
|
||||
line-height: 1.4;
|
||||
}
|
||||
@@ -1022,12 +1169,12 @@
|
||||
|
||||
.platformModelSelectorHeader strong {
|
||||
color: var(--text-strong);
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.platformModelSelectorHeader span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.platformSegmented {
|
||||
@@ -1059,8 +1206,8 @@
|
||||
.platformModelChoices {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
max-height: 310px;
|
||||
gap: 0.625rem;
|
||||
max-height: 19.375rem;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -1070,39 +1217,54 @@
|
||||
|
||||
.platformModelChoice {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 112px auto;
|
||||
gap: 10px;
|
||||
grid-template-columns: minmax(10rem, 1fr) minmax(14rem, 1.4fr) auto;
|
||||
gap: 0.625rem;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
padding: 0.75rem;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 8px;
|
||||
border-radius: 0.5rem;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.platformModelChoiceMain {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
gap: 0.625rem;
|
||||
align-items: start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.platformModelChoice input {
|
||||
margin-top: 3px;
|
||||
margin-top: 0.1875rem;
|
||||
accent-color: var(--text-strong);
|
||||
}
|
||||
|
||||
.platformModelChoice > .shInput {
|
||||
.platformModelChoiceFields {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 5.5rem;
|
||||
gap: 0.5rem;
|
||||
align-items: end;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.platformModelChoiceFields label {
|
||||
gap: 0.25rem;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 0.75rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.platformModelChoiceFields .shInput {
|
||||
margin-top: 0;
|
||||
min-height: 34px;
|
||||
padding: 0 9px;
|
||||
font-size: 12px;
|
||||
min-height: 2rem;
|
||||
padding: 0 0.5625rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.platformModelChoiceMain span {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 4px;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.platformModelChoiceMain strong,
|
||||
@@ -1115,7 +1277,7 @@
|
||||
.platformModelChoiceMain small,
|
||||
.platformModelEmpty {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.platformModelEmpty {
|
||||
@@ -1164,12 +1326,12 @@
|
||||
|
||||
.modelPickerHeader strong {
|
||||
color: var(--text-strong);
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
.modelPickerHeader span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.modelPickerToolbar {
|
||||
@@ -1242,12 +1404,12 @@
|
||||
|
||||
.modelPickerItem strong {
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.modelPickerItem small {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.modelPickerActions {
|
||||
@@ -1295,7 +1457,7 @@
|
||||
.runtimePolicyCard header span,
|
||||
.runtimePolicyCard p {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.runtimePolicySummary {
|
||||
@@ -1312,7 +1474,7 @@
|
||||
border-radius: 8px;
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -1348,7 +1510,7 @@
|
||||
|
||||
.runtimePolicySection header span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.runtimePolicyRows {
|
||||
@@ -1401,6 +1563,14 @@
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.platformModelChoice {
|
||||
grid-template-columns: 1fr auto;
|
||||
}
|
||||
|
||||
.platformModelChoiceFields {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.providerCatalogCard {
|
||||
grid-template-columns: 48px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
@@ -1166,7 +1166,7 @@
|
||||
|
||||
.mediaTaskTimeline h1 {
|
||||
width: min(1240px, 100%);
|
||||
font-size: 30px;
|
||||
font-size: 1.875rem;
|
||||
}
|
||||
|
||||
.mediaTaskTimeline > .playgroundError {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
.pricingRuleCard p {
|
||||
margin: 0;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.pricingRuleItems {
|
||||
@@ -47,7 +47,7 @@
|
||||
border: 1px solid var(--border-subtle);
|
||||
background: var(--surface-subtle);
|
||||
color: #4b5563;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.pricingRuleItems strong {
|
||||
@@ -55,7 +55,7 @@
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.pricingRuleItems svg {
|
||||
@@ -96,13 +96,13 @@
|
||||
.pricingModeRule strong,
|
||||
.pricingWeightTable strong {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.pricingModeHeader span,
|
||||
.pricingModeRule header span {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.pricingModeTabs {
|
||||
@@ -119,7 +119,7 @@
|
||||
border-bottom: 3px solid transparent;
|
||||
background: transparent;
|
||||
color: var(--text-soft);
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
border-right: 1px solid var(--border);
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: var(--font-weight-medium);
|
||||
line-height: 1.35;
|
||||
}
|
||||
@@ -332,7 +332,7 @@
|
||||
align-items: center;
|
||||
padding: 0 12px;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.pricingFormulaBox {
|
||||
@@ -348,7 +348,7 @@
|
||||
.pricingFormulaBox p {
|
||||
margin-top: 8px;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
@@ -397,7 +397,7 @@
|
||||
border-radius: 8px;
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
|
||||
+275
-1
@@ -671,10 +671,250 @@
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.shDateRangePicker.ant-picker {
|
||||
min-height: 36px;
|
||||
padding: 0 10px;
|
||||
border-color: var(--input);
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--surface);
|
||||
color: var(--text-normal);
|
||||
font-family: inherit;
|
||||
font-size: var(--font-size-base);
|
||||
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease;
|
||||
}
|
||||
|
||||
.shDateRangePicker.ant-picker:hover,
|
||||
.shDateRangePicker.ant-picker-focused {
|
||||
border-color: var(--ring);
|
||||
box-shadow: 0 0 0 1px var(--ring);
|
||||
}
|
||||
|
||||
.shDateRangePicker.ant-picker-disabled {
|
||||
background: var(--surface-muted);
|
||||
opacity: 0.64;
|
||||
}
|
||||
|
||||
.shDateRangePicker .ant-picker-input > input {
|
||||
color: var(--text-normal);
|
||||
font-family: inherit;
|
||||
font-size: var(--font-size-base);
|
||||
font-weight: var(--font-weight-regular);
|
||||
}
|
||||
|
||||
.shDateRangePicker .ant-picker-input > input::placeholder {
|
||||
color: var(--muted-foreground);
|
||||
font-weight: var(--font-weight-regular);
|
||||
}
|
||||
|
||||
.shDateRangePicker .ant-picker-active-bar {
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
.shDateRangePicker .ant-picker-range-separator,
|
||||
.shDateRangePicker .ant-picker-suffix,
|
||||
.shDateRangePicker .ant-picker-clear {
|
||||
color: var(--text-soft);
|
||||
}
|
||||
|
||||
.shDateRangePicker .ant-picker-clear {
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-panel-container {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--popover);
|
||||
color: var(--popover-foreground);
|
||||
box-shadow: var(--shadow-dialog);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-panel,
|
||||
.shDateRangePickerPopup .ant-picker-date-panel,
|
||||
.shDateRangePickerPopup .ant-picker-time-panel,
|
||||
.shDateRangePickerPopup .ant-picker-footer,
|
||||
.shDateRangePickerPopup .ant-picker-content th,
|
||||
.shDateRangePickerPopup .ant-picker-header {
|
||||
border-color: var(--border-subtle);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-header,
|
||||
.shDateRangePickerPopup .ant-picker-content th,
|
||||
.shDateRangePickerPopup .ant-picker-cell,
|
||||
.shDateRangePickerPopup .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
|
||||
color: var(--text-soft);
|
||||
font-family: inherit;
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-header-view,
|
||||
.shDateRangePickerPopup .ant-picker-header button,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view,
|
||||
.shDateRangePickerPopup .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-cell-inner {
|
||||
border-radius: var(--control-radius);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
|
||||
border-color: var(--ring);
|
||||
border-radius: var(--control-radius);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
|
||||
background: var(--primary);
|
||||
color: var(--primary-foreground);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-in-range::before,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-hover::before,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-hover-start::before,
|
||||
.shDateRangePickerPopup .ant-picker-cell-in-view.ant-picker-cell-range-hover-end::before {
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-cell:hover .ant-picker-cell-inner,
|
||||
.shDateRangePickerPopup .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
|
||||
background: var(--surface-muted);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-ok .ant-btn-primary {
|
||||
border-color: var(--primary);
|
||||
border-radius: var(--control-radius);
|
||||
background: var(--primary);
|
||||
color: var(--primary-foreground);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.shDateRangePickerPopup .ant-picker-now-btn {
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.shTable {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.shTableViewportCard {
|
||||
display: grid;
|
||||
max-height: var(--sh-table-viewport-height, calc(100dvh - 142px));
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.shTableViewportPanel {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
max-height: var(--sh-table-viewport-height, calc(100dvh - 142px));
|
||||
flex-direction: column;
|
||||
gap: var(--sh-table-viewport-gap, 14px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shTableViewportPanel > .formMessage {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.shTableViewportLayout {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
flex: 0 1 auto;
|
||||
flex-direction: column;
|
||||
gap: var(--sh-table-viewport-gap, 14px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shTableToolbar {
|
||||
display: grid;
|
||||
flex: 0 0 auto;
|
||||
align-items: end;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.shTableSummary,
|
||||
.shTableFooter,
|
||||
.shTablePageActions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.shTableFooter {
|
||||
flex: 0 0 auto;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.shTableFooterGroup {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.shTableSummary,
|
||||
.shTableFooter {
|
||||
justify-content: space-between;
|
||||
color: var(--text-soft);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shTableFooter .shLabel {
|
||||
width: 116px;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.shTablePageJump {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.shTableFooterGroup,
|
||||
.shTablePageJump,
|
||||
.shTablePageActions {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.shTablePageJump .shInput {
|
||||
width: 58px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.shTableViewport {
|
||||
flex: 0 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--surface);
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.shTableViewport .shTableHeader {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.shTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
|
||||
@@ -706,6 +946,39 @@
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.shTableCompact .shTableHead,
|
||||
.shTableCompact .shTableCell {
|
||||
min-height: 30px;
|
||||
padding: 5px 9px;
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.shTableCompact .shTableHead {
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.shTableCompact .shTableRow {
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.shTableCompact .shBadge {
|
||||
min-height: 18px;
|
||||
padding: 0 6px;
|
||||
font-size: 0.6875rem;
|
||||
}
|
||||
|
||||
.shTableCompact .shButtonSm {
|
||||
min-height: 24px;
|
||||
padding: 0 8px;
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.shTableCompact .shButtonIcon {
|
||||
width: 24px;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
.emptyState {
|
||||
display: grid;
|
||||
min-height: 104px;
|
||||
@@ -726,7 +999,7 @@
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-normal);
|
||||
font-family: "SFMono-Regular", Consolas, monospace;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.modelMeta code,
|
||||
@@ -750,4 +1023,5 @@
|
||||
.formDialogBody {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user