feat: add domestic model provider presets
This commit is contained in:
+26
-1
@@ -111,7 +111,29 @@ main {
|
||||
.model-security-note > .anticon { margin-top: 3px; color: #5e8a6b; font-size: 20px; }
|
||||
.model-security-note p { margin: 5px 0 0; line-height: 1.65; }
|
||||
.model-parameter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
||||
.model-create-dialog .workspace-dialog__body { display: grid; gap: 14px; }
|
||||
.model-create-dialog { width: min(900px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
|
||||
.model-create-dialog .workspace-dialog__body { display: grid; gap: 16px; overflow-y: auto; }
|
||||
.model-create-dialog label > small { display: block; margin-top: 5px; color: #917f78; font-size: 11px; line-height: 1.5; }
|
||||
.model-provider-catalog { display: grid; gap: 13px; padding: 15px; border: 1px solid #eadfda; border-radius: 14px; background: #fbf8f5; }
|
||||
.model-provider-group { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 12px; align-items: start; }
|
||||
.model-provider-group > div:first-child { padding-top: 8px; }
|
||||
.model-provider-group > div:first-child strong, .model-provider-group > div:first-child small { display: block; }
|
||||
.model-provider-group > div:first-child strong { color: #4f413c; font-size: 13px; }
|
||||
.model-provider-group > div:first-child small { margin-top: 3px; color: #998680; font-size: 10px; line-height: 1.45; }
|
||||
.model-provider-group > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
||||
.model-provider-group button { min-height: 64px; padding: 9px 11px; border: 1px solid #e6d9d4; border-radius: 11px; color: #594a45; background: #fff; text-align: left; box-shadow: none; }
|
||||
.model-provider-group button:hover { border-color: #9baeb7; background: #f7fafb; }
|
||||
.model-provider-group button.is-selected { border-color: #617e8b; color: #344e5a; background: #edf4f6; box-shadow: inset 0 0 0 1px #617e8b; }
|
||||
.model-provider-group button span, .model-provider-group button small { display: block; }
|
||||
.model-provider-group button span { font-size: 13px; font-weight: 700; }
|
||||
.model-provider-group button small { margin-top: 3px; overflow: hidden; color: #93817a; font-size: 10px; font-weight: 400; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.model-provider-selection { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; color: #53636a; background: #edf3f4; }
|
||||
.model-provider-selection strong, .model-provider-selection span { display: block; }
|
||||
.model-provider-selection span { margin-top: 2px; color: #78888e; font-size: 11px; }
|
||||
.model-provider-selection a { color: #506f7c; font-size: 12px; white-space: nowrap; }
|
||||
.model-advanced-settings { padding: 12px 14px; border: 1px solid #e9dfdb; border-radius: 12px; background: #fffdfb; }
|
||||
.model-advanced-settings summary { color: #695752; cursor: pointer; font-size: 13px; font-weight: 650; }
|
||||
.model-advanced-settings[open] summary { margin-bottom: 13px; }
|
||||
|
||||
/* 非首页业务页统一为轻量、长者优先的内容画布。 */
|
||||
.customer-page:not(.customer-page--home) > .workspace { border-color: #e9deda; border-radius: 18px; background: rgba(255, 253, 251, .96); box-shadow: 0 14px 38px rgba(78, 59, 52, .055); }
|
||||
@@ -131,6 +153,9 @@ main {
|
||||
.memory-summary-panel > header, .model-active-hero, .model-config-card footer { align-items: stretch; flex-direction: column; }
|
||||
.memory-model-card { grid-column: auto; }
|
||||
.model-parameter-row { grid-template-columns: 1fr; }
|
||||
.model-provider-group { grid-template-columns: 1fr; }
|
||||
.model-provider-group > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.model-provider-selection { align-items: flex-start; flex-direction: column; }
|
||||
}
|
||||
|
||||
.hero {
|
||||
|
||||
Reference in New Issue
Block a user