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:
@@ -146,8 +146,11 @@
|
||||
href="https://developers.weixin.qq.com/doc/aispeech/knowledge/atomic_capability/atomic_interface.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="weknoracloud-hint-link"
|
||||
>{{ $t('settings.weknoraCloud.modelHintDocsLink') }}</a>
|
||||
class="doc-link"
|
||||
>
|
||||
{{ $t('settings.weknoraCloud.modelHintDocsLink') }}
|
||||
<t-icon name="link" class="link-icon" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1382,14 +1385,6 @@ const handleCancel = () => {
|
||||
border-left: 3px solid #f97316;
|
||||
}
|
||||
|
||||
.weknoracloud-hint-link {
|
||||
color: var(--td-brand-color);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ollama 模型选择器样式
|
||||
|
||||
Reference in New Issue
Block a user