feat(frontend): unify external doc-link style and outline add buttons
- Add global .doc-link utility in theme.css (brand color text + link icon, underline on hover). - Convert all external doc/console links across settings to use .doc-link with a trailing <t-icon name="link" />, matching the Ollama browse-library style. - Switch primary section-toolbar 'Add X' buttons (Model/WebSearch/VectorStore/MCP/DataSource) to outline variant for a lighter, more consistent look. - Drop redundant per-component CSS for builtin-hint-link, weknoracloud-hint-link, engine-doc-link, engine-link, hint-link, section-doc-link, ds-doc-link-inline, model-link, etc.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<h3>{{ $t('mcpSettings.configuredServices') }}</h3>
|
||||
<p>{{ $t('mcpSettings.manageAndTest') }}</p>
|
||||
</div>
|
||||
<t-button size="small" theme="primary" @click="handleAdd">
|
||||
<t-button size="small" theme="primary" variant="outline" @click="handleAdd">
|
||||
<template #icon><t-icon name="add" /></template>
|
||||
{{ $t('mcpSettings.addService') }}
|
||||
</t-button>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<div v-if="services.length === 0" class="empty-state">
|
||||
<t-empty :description="$t('mcpSettings.empty')">
|
||||
<t-button theme="primary" size="small" @click="handleAdd">
|
||||
<t-button theme="primary" variant="outline" size="small" @click="handleAdd">
|
||||
<template #icon><t-icon name="add" /></template>
|
||||
{{ $t('mcpSettings.addFirst') }}
|
||||
</t-button>
|
||||
|
||||
Reference in New Issue
Block a user