feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -64,15 +64,6 @@ Video Tutorial Component Styles
|
||||
border: 2px dashed color-mix(in srgb, var(--brand-primary) 20%, transparent);
|
||||
}
|
||||
|
||||
.video-tutorial-loading .semi-spin {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.video-tutorial-empty .semi-icon {
|
||||
color: color-mix(in srgb, var(--brand-primary) 40%, transparent);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* ===== 视频播放器区域 ===== */
|
||||
.video-player-section {
|
||||
width: 100%;
|
||||
@@ -81,7 +72,7 @@ Video Tutorial Component Styles
|
||||
.video-player-card {
|
||||
border-radius: 16px !important;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--semi-color-border) !important;
|
||||
border: 1px solid var(--ui-color-border) !important;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
@@ -118,12 +109,6 @@ Video Tutorial Component Styles
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.video-error .semi-icon {
|
||||
font-size: 72px;
|
||||
opacity: 0.4;
|
||||
animation: errorPulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes errorPulse {
|
||||
0%,
|
||||
100% {
|
||||
@@ -198,7 +183,7 @@ Video Tutorial Component Styles
|
||||
|
||||
.video-title {
|
||||
margin-bottom: 10px !important;
|
||||
color: var(--semi-color-text-0);
|
||||
color: var(--ui-color-text-0);
|
||||
font-size: 20px !important;
|
||||
font-weight: 600 !important;
|
||||
background: linear-gradient(135deg, #1a1a2e, #374151);
|
||||
@@ -210,7 +195,7 @@ Video Tutorial Component Styles
|
||||
.video-description {
|
||||
margin-bottom: 18px;
|
||||
line-height: 1.7;
|
||||
color: var(--semi-color-text-1);
|
||||
color: var(--ui-color-text-1);
|
||||
}
|
||||
|
||||
.video-meta {
|
||||
@@ -223,7 +208,7 @@ Video Tutorial Component Styles
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
font-size: 13px;
|
||||
padding: 6px 14px;
|
||||
background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
|
||||
@@ -236,11 +221,6 @@ Video Tutorial Component Styles
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.video-meta-item .semi-icon {
|
||||
color: var(--brand-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* ===== 视频列表 ===== */
|
||||
.video-list-section {
|
||||
width: 100%;
|
||||
@@ -444,7 +424,7 @@ Video Tutorial Component Styles
|
||||
.video-list-name {
|
||||
line-height: 1.5;
|
||||
font-weight: 600 !important;
|
||||
color: var(--semi-color-text-0) !important;
|
||||
color: var(--ui-color-text-0) !important;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
@@ -590,7 +570,7 @@ html.dark .video-tutorial-empty {
|
||||
}
|
||||
|
||||
html.dark .video-player-card {
|
||||
background: var(--semi-color-bg-1);
|
||||
background: var(--ui-color-bg-1);
|
||||
border-color: color-mix(in srgb, var(--brand-primary) 20%, transparent) !important;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Typography, Card, Empty, Spin, Toast } from '@douyinfe/semi-ui';
|
||||
import { IconPlayCircle, IconClock, IconFile } from '@douyinfe/semi-icons';
|
||||
import { Typography, Card, Empty, Spin, Toast } from '@/components/ui';
|
||||
import { IconPlayCircle, IconClock, IconFile } from '@/components/ui/icons';
|
||||
import { API } from '../../../helpers';
|
||||
import './VideoTutorial.css';
|
||||
|
||||
@@ -114,7 +114,7 @@ const VideoTutorial = () => {
|
||||
image={
|
||||
<IconPlayCircle
|
||||
size='extra-large'
|
||||
style={{ fontSize: 64, color: 'var(--semi-color-text-3)' }}
|
||||
style={{ fontSize: 64, color: 'var(--ui-color-text-3)' }}
|
||||
/>
|
||||
}
|
||||
title={t('暂无视频教程')}
|
||||
|
||||
@@ -28,7 +28,7 @@ import {
|
||||
Toast,
|
||||
Tabs,
|
||||
TabPane,
|
||||
} from '@douyinfe/semi-ui';
|
||||
} from '@/components/ui';
|
||||
import {
|
||||
IconCopy,
|
||||
IconTick,
|
||||
@@ -41,7 +41,7 @@ import {
|
||||
IconClose,
|
||||
IconVideo,
|
||||
IconArticle,
|
||||
} from '@douyinfe/semi-icons';
|
||||
} from '@/components/ui/icons';
|
||||
import { StatusContext } from '../../context/Status';
|
||||
import { DEFAULT_LOGIN_REDIRECT } from '../../helpers/data';
|
||||
import VideoTutorial from './components/VideoTutorial';
|
||||
@@ -172,7 +172,7 @@ const Tutorial = () => {
|
||||
<span className='tutorial-step-number'>1</span>
|
||||
<span>
|
||||
{t('点击顶部导航栏的')}
|
||||
<Link to='/key-management' className='tutorial-link'>
|
||||
<Link to='/user-center/key-management' className='tutorial-link'>
|
||||
「{t('密钥管理')}」
|
||||
</Link>
|
||||
</span>
|
||||
@@ -215,7 +215,7 @@ const Tutorial = () => {
|
||||
</Card>
|
||||
|
||||
<div className='tutorial-action-buttons'>
|
||||
<Link to='/key-management'>
|
||||
<Link to='/user-center/key-management'>
|
||||
<Button
|
||||
type='primary'
|
||||
theme='solid'
|
||||
@@ -257,7 +257,7 @@ const Tutorial = () => {
|
||||
<span className='tutorial-step-number'>1</span>
|
||||
<span>
|
||||
{t('在')}
|
||||
<Link to='/key-management' className='tutorial-link'>
|
||||
<Link to='/user-center/key-management' className='tutorial-link'>
|
||||
「{t('密钥管理')}」
|
||||
</Link>
|
||||
{t('页面找到刚创建的密钥')}
|
||||
|
||||
+30
-159
@@ -155,15 +155,6 @@ License, or (at your option) any later version.
|
||||
transform: translateY(-1px) scale(0.98) !important;
|
||||
}
|
||||
|
||||
.tutorial-close-btn .semi-icon {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.tutorial-close-btn:hover .semi-icon {
|
||||
color: var(--brand-primary) !important;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.tutorial-header-badge {
|
||||
display: inline-block;
|
||||
padding: 4px 12px;
|
||||
@@ -274,7 +265,7 @@ License, or (at your option) any later version.
|
||||
|
||||
.tutorial-progress-bar {
|
||||
height: 4px;
|
||||
background: var(--semi-color-fill-1);
|
||||
background: var(--ui-color-fill-1);
|
||||
border-radius: 4px;
|
||||
margin-bottom: 24px;
|
||||
overflow: hidden;
|
||||
@@ -316,18 +307,18 @@ License, or (at your option) any later version.
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: var(--semi-color-fill-1);
|
||||
background: var(--ui-color-fill-1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tutorial-step-dot:hover .tutorial-step-dot-inner {
|
||||
background: var(--semi-color-fill-2);
|
||||
background: var(--ui-color-fill-2);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
@@ -347,7 +338,7 @@ License, or (at your option) any later version.
|
||||
.tutorial-step-label {
|
||||
margin-top: 10px;
|
||||
font-size: 13px;
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
transition: all 0.3s ease;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
@@ -364,12 +355,12 @@ License, or (at your option) any later version.
|
||||
|
||||
/* ===== 内容区域 ===== */
|
||||
.tutorial-content {
|
||||
background: var(--semi-color-bg-1);
|
||||
background: var(--ui-color-bg-1);
|
||||
border-radius: 20px;
|
||||
padding: 40px;
|
||||
min-height: 500px;
|
||||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid var(--semi-color-border);
|
||||
border: 1px solid var(--ui-color-border);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -445,7 +436,7 @@ License, or (at your option) any later version.
|
||||
.tutorial-card {
|
||||
margin-bottom: 20px;
|
||||
border-radius: 18px !important;
|
||||
border: 2px solid var(--semi-color-border) !important;
|
||||
border: 2px solid var(--ui-color-border) !important;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
@@ -494,7 +485,7 @@ License, or (at your option) any later version.
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 14px 18px;
|
||||
background: var(--semi-color-fill-0);
|
||||
background: var(--ui-color-fill-0);
|
||||
border-radius: 14px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
@@ -522,7 +513,7 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-step-item:hover {
|
||||
background: var(--semi-color-fill-1);
|
||||
background: var(--ui-color-fill-1);
|
||||
transform: translateX(6px);
|
||||
box-shadow: 0 4px 12px
|
||||
color-mix(in srgb, var(--brand-primary) 15%, transparent);
|
||||
@@ -656,7 +647,7 @@ License, or (at your option) any later version.
|
||||
border-radius: 10px;
|
||||
font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
|
||||
font-size: 14px;
|
||||
color: var(--semi-color-text-1);
|
||||
color: var(--ui-color-text-1);
|
||||
border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, transparent);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
@@ -802,11 +793,11 @@ License, or (at your option) any later version.
|
||||
/* ===== 代码块 ===== */
|
||||
.tutorial-code-block {
|
||||
position: relative;
|
||||
background: var(--semi-color-bg-2);
|
||||
background: var(--ui-color-bg-2);
|
||||
border-radius: 14px;
|
||||
margin: 12px 0;
|
||||
overflow: hidden;
|
||||
border: 2px solid var(--semi-color-border);
|
||||
border: 2px solid var(--ui-color-border);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
@@ -822,8 +813,8 @@ License, or (at your option) any later version.
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 12px 18px;
|
||||
background: var(--semi-color-fill-0);
|
||||
border-bottom: 2px solid var(--semi-color-border);
|
||||
background: var(--ui-color-fill-0);
|
||||
border-bottom: 2px solid var(--ui-color-border);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
@@ -833,7 +824,7 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-copy-btn:hover {
|
||||
background: var(--semi-color-fill-1) !important;
|
||||
background: var(--ui-color-fill-1) !important;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
@@ -844,7 +835,7 @@ License, or (at your option) any later version.
|
||||
font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.8;
|
||||
color: var(--semi-color-text-0);
|
||||
color: var(--ui-color-text-0);
|
||||
}
|
||||
|
||||
.tutorial-code-content::-webkit-scrollbar {
|
||||
@@ -852,7 +843,7 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-code-content::-webkit-scrollbar-track {
|
||||
background: var(--semi-color-fill-0);
|
||||
background: var(--ui-color-fill-0);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
@@ -870,10 +861,6 @@ License, or (at your option) any later version.
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.tutorial-os-tabs .semi-tabs-bar {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tutorial-tab-label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
@@ -905,7 +892,7 @@ License, or (at your option) any later version.
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 14px 18px;
|
||||
background: var(--semi-color-fill-0);
|
||||
background: var(--ui-color-fill-0);
|
||||
border-radius: 12px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
border: 2px solid transparent;
|
||||
@@ -934,7 +921,7 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-command-item:hover {
|
||||
background: var(--semi-color-fill-1);
|
||||
background: var(--ui-color-fill-1);
|
||||
transform: translateX(6px);
|
||||
border-color: color-mix(in srgb, var(--brand-primary) 20%, transparent);
|
||||
box-shadow: 0 4px 12px
|
||||
@@ -966,7 +953,7 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-command-item span {
|
||||
color: var(--semi-color-text-1);
|
||||
color: var(--ui-color-text-1);
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
@@ -1160,7 +1147,7 @@ License, or (at your option) any later version.
|
||||
|
||||
.tutorial-explore-card:hover .tutorial-explore-arrow {
|
||||
transform: translateX(6px);
|
||||
color: var(--semi-color-text-0);
|
||||
color: var(--ui-color-text-0);
|
||||
}
|
||||
|
||||
.tutorial-explore-card:hover .tutorial-explore-icon {
|
||||
@@ -1267,11 +1254,11 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-explore-content strong {
|
||||
color: var(--semi-color-text-0);
|
||||
color: var(--ui-color-text-0);
|
||||
}
|
||||
|
||||
.tutorial-explore-arrow {
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
@@ -1282,7 +1269,7 @@ License, or (at your option) any later version.
|
||||
align-items: center;
|
||||
margin-top: 40px;
|
||||
padding: 24px 0;
|
||||
border-top: 1px solid var(--semi-color-border);
|
||||
border-top: 1px solid var(--ui-color-border);
|
||||
}
|
||||
|
||||
.tutorial-nav-btn {
|
||||
@@ -1315,11 +1302,11 @@ License, or (at your option) any later version.
|
||||
}
|
||||
|
||||
.tutorial-nav-divider {
|
||||
color: var(--semi-color-text-3);
|
||||
color: var(--ui-color-text-3);
|
||||
}
|
||||
|
||||
.tutorial-nav-total {
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
}
|
||||
|
||||
/* ===== 响应式 ===== */
|
||||
@@ -1391,7 +1378,7 @@ html.dark .tutorial-close-btn {
|
||||
var(--brand-primary) 30%,
|
||||
transparent
|
||||
) !important;
|
||||
color: var(--semi-color-text-0) !important;
|
||||
color: var(--ui-color-text-0) !important;
|
||||
}
|
||||
|
||||
html.dark .tutorial-close-btn:hover {
|
||||
@@ -1638,79 +1625,14 @@ html.dark .tutorial-card-animated:hover {
|
||||
}
|
||||
|
||||
/* Tab 栏样式 */
|
||||
.tutorial-main-tabs .semi-tabs-bar {
|
||||
margin-bottom: 0 !important;
|
||||
padding: 0 !important;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
var(--semi-color-fill-0),
|
||||
color-mix(in srgb, var(--brand-primary) 3%, transparent)
|
||||
);
|
||||
border-radius: 16px;
|
||||
padding: 6px !important;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.tutorial-main-tabs .semi-tabs-bar-line {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 单个 Tab 样式 */
|
||||
.tutorial-main-tabs .semi-tabs-tab {
|
||||
padding: 10px 24px !important;
|
||||
border-radius: 12px !important;
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
||||
margin: 0 !important;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
/* Tab 悬停效果 */
|
||||
.tutorial-main-tabs .semi-tabs-tab:hover:not(.semi-tabs-tab-active) {
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
color-mix(in srgb, var(--brand-primary) 8%, transparent),
|
||||
color-mix(in srgb, var(--brand-gradient-via) 8%, transparent)
|
||||
) !important;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* 激活状态的 Tab */
|
||||
.tutorial-main-tabs .semi-tabs-tab-active {
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
var(--brand-primary),
|
||||
var(--brand-gradient-via)
|
||||
) !important;
|
||||
color: white !important;
|
||||
box-shadow:
|
||||
0 8px 24px color-mix(in srgb, var(--brand-primary) 40%, transparent),
|
||||
0 4px 12px color-mix(in srgb, var(--brand-gradient-via) 30%, transparent),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
|
||||
transform: translateY(-2px) scale(1.02);
|
||||
}
|
||||
|
||||
/* 激活 Tab 的闪光效果 */
|
||||
.tutorial-main-tabs .semi-tabs-tab-active::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
rgba(255, 255, 255, 0.3),
|
||||
transparent
|
||||
);
|
||||
animation: tabShine 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes tabShine {
|
||||
0% {
|
||||
@@ -1722,15 +1644,6 @@ html.dark .tutorial-card-animated:hover {
|
||||
}
|
||||
}
|
||||
|
||||
.tutorial-main-tabs .semi-tabs-tab-active:hover {
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
var(--brand-primary-hover),
|
||||
var(--brand-gradient-via)
|
||||
) !important;
|
||||
transform: translateY(-2px) scale(1.02);
|
||||
}
|
||||
|
||||
/* Tab 标签内容样式 */
|
||||
.tutorial-tab-label-main {
|
||||
display: flex;
|
||||
@@ -1741,15 +1654,6 @@ html.dark .tutorial-card-animated:hover {
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.tutorial-tab-label-main .semi-icon {
|
||||
font-size: 20px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.tutorial-main-tabs .semi-tabs-tab-active .tutorial-tab-label-main .semi-icon {
|
||||
animation: iconPop 0.4s ease;
|
||||
}
|
||||
|
||||
@keyframes iconPop {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
@@ -1806,26 +1710,11 @@ html.dark .tutorial-card-animated:hover {
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.tutorial-main-tabs .semi-tabs-bar {
|
||||
flex-direction: row;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.tutorial-main-tabs .semi-tabs-tab {
|
||||
padding: 8px 16px !important;
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tutorial-tab-label-main {
|
||||
font-size: 13px;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.tutorial-tab-label-main .semi-icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.tutorial-tab-content-wrapper {
|
||||
padding: 12px 0;
|
||||
}
|
||||
@@ -1845,22 +1734,6 @@ html.dark .tutorial-main-tabs {
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
html.dark .tutorial-main-tabs .semi-tabs-bar {
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(255, 255, 255, 0.03),
|
||||
color-mix(in srgb, var(--brand-primary) 5%, transparent)
|
||||
);
|
||||
}
|
||||
|
||||
html.dark .tutorial-main-tabs .semi-tabs-tab:hover:not(.semi-tabs-tab-active) {
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
color-mix(in srgb, var(--brand-primary) 15%, transparent),
|
||||
color-mix(in srgb, var(--brand-gradient-via) 15%, transparent)
|
||||
) !important;
|
||||
}
|
||||
|
||||
/* ===== 滚动浏览模式样式 ===== */
|
||||
.tutorial-scroll-wrapper {
|
||||
display: flex;
|
||||
@@ -1903,7 +1776,7 @@ html.dark .tutorial-main-tabs .semi-tabs-tab:hover:not(.semi-tabs-tab-active) {
|
||||
color-mix(in srgb, var(--brand-primary) 8%, transparent),
|
||||
color-mix(in srgb, var(--brand-gradient-via) 5%, transparent)
|
||||
);
|
||||
color: var(--semi-color-text-0);
|
||||
color: var(--ui-color-text-0);
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
@@ -1941,7 +1814,7 @@ html.dark .tutorial-main-tabs .semi-tabs-tab:hover:not(.semi-tabs-tab-active) {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@@ -1968,8 +1841,6 @@ html.dark .tutorial-main-tabs .semi-tabs-tab:hover:not(.semi-tabs-tab-active) {
|
||||
padding: 0 4px;
|
||||
scroll-behavior: smooth;
|
||||
/* 确保滚动条始终可见;配色统一走 --brand-scroll token(随主题/品牌色切换) */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--brand-scroll) transparent;
|
||||
}
|
||||
|
||||
/* WebKit 滚动条样式 */
|
||||
|
||||
Reference in New Issue
Block a user