@@ -34,7 +34,8 @@
< / div >
< / div >
< div class = "knowledge-node node-6" >
< div class = "knowledge-node node-6" >
< svg class = "node-icon" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2 " >
< svg class = "node-icon" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2 " >
< path d = "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" / >
< path
d = "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" / >
< polyline points = "3.27 6.96 12 12.01 20.73 6.96" / >
< polyline points = "3.27 6.96 12 12.01 20.73 6.96" / >
< line x1 = "12" y1 = "22.08" x2 = "12" y2 = "12" / >
< line x1 = "12" y1 = "22.08" x2 = "12" y2 = "12" / >
< / svg >
< / svg >
@@ -61,7 +62,8 @@
< div class = "knowledge-node node-10" >
< div class = "knowledge-node node-10" >
< svg class = "node-icon" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2 " >
< svg class = "node-icon" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2 " >
< circle cx = "12" cy = "12" r = "3" / >
< circle cx = "12" cy = "12" r = "3" / >
< path d = "M12 1v6m0 6v6M5.64 5.64l4.24 4.24m4.24 4.24l4.24 4.24M1 12h6m6 0h6M5.64 18.36l4.24-4.24m4.24-4.24l4.24-4.24" / >
< path
d = "M12 1v6m0 6v6M5.64 5.64l4.24 4.24m4.24 4.24l4.24 4.24M1 12h6m6 0h6M5.64 18.36l4.24-4.24m4.24-4.24l4.24-4.24" / >
< / svg >
< / svg >
< / div >
< / div >
< div class = "knowledge-node node-11" >
< div class = "knowledge-node node-11" >
@@ -72,7 +74,8 @@
< / div >
< / div >
< div class = "knowledge-node node-12" >
< div class = "knowledge-node node-12" >
< svg class = "node-icon" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2 " >
< svg class = "node-icon" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2 " >
< polygon points = "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" / >
< polygon
points = "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" / >
< / svg >
< / svg >
< / div >
< / div >
@@ -100,7 +103,8 @@
<!-- Header Links - Top Right -- >
<!-- Header Links - Top Right -- >
< div class = "header-links" >
< div class = "header-links" >
< a href = "https://weknora.weixin.qq.com" target = "_blank" class = "header-link" :title = "$t('common.website')" >
< a href = "https://weknora.weixin.qq.com" target = "_blank" class = "header-link" :title = "$t('common.website')" >
< svg width = "17" height = "17" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2.2 " stroke -linecap = " round " >
< svg width = "17" height = "17" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2.2 "
stroke - linecap = "round" >
< circle cx = "12" cy = "12" r = "10" / >
< circle cx = "12" cy = "12" r = "10" / >
< line x1 = "2" y1 = "12" x2 = "22" y2 = "12" / >
< line x1 = "2" y1 = "12" x2 = "22" y2 = "12" / >
< path d = "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" / >
< path d = "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" / >
@@ -110,7 +114,8 @@
< a href = "https://github.com/Tencent/WeKnora" target = "_blank" class = "header-link" :title = "$t('common.info')" >
< a href = "https://github.com/Tencent/WeKnora" target = "_blank" class = "header-link" :title = "$t('common.info')" >
< svg width = "17" height = "17" viewBox = "0 0 24 24" fill = "currentColor" >
< svg width = "17" height = "17" viewBox = "0 0 24 24" fill = "currentColor" >
< path d = "M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z" / >
< path
d = "M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z" / >
< / svg >
< / svg >
< span class = "link-text" > GitHub < / span >
< span class = "link-text" > GitHub < / span >
< / a >
< / a >
@@ -119,20 +124,16 @@
< button @click ="toggleLanguageMenu" class = "header-link" :title = "currentLangOption?.label" >
< button @click ="toggleLanguageMenu" class = "header-link" :title = "currentLangOption?.label" >
< span class = "lang-flag-icon" > { { currentLangOption ? . flag } } < / span >
< span class = "lang-flag-icon" > { { currentLangOption ? . flag } } < / span >
< span class = "link-text" > { { currentLangOption ? . shortLabel } } < / span >
< span class = "link-text" > { { currentLangOption ? . shortLabel } } < / span >
< svg width = "12" height = "12" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2.5 " stroke -linecap = " round " >
< svg width = "12" height = "12" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke -width = " 2.5 "
stroke - linecap = "round" >
< polyline points = "6 9 12 15 18 9" / >
< polyline points = "6 9 12 15 18 9" / >
< / svg >
< / svg >
< / button >
< / button >
<!-- Language Dropdown -- >
<!-- Language Dropdown -- >
< div v-if = "showLanguageMenu" class="language-dropdown" >
< div v-if = "showLanguageMenu" class="language-dropdown" >
< div
< div v-for = "lang in languageOptions" :key="lang.value" @ click = "selectLanguage(lang.value)"
v - for = "lang in languageOptions"
class = "language-option" : class = "{ active: currentLanguage === lang.value }" >
: key = "lang.value"
@ click = "selectLanguage(lang.value)"
class = "language-option"
: class = "{ active: currentLanguage === lang.value }"
>
< span class = "lang-flag" > { { lang . flag } } < / span >
< span class = "lang-flag" > { { lang . flag } } < / span >
< span class = "lang-label" > { { lang . label } } < / span >
< span class = "lang-label" > { { lang . label } } < / span >
< span v-if = "currentLanguage === lang.value" class="check-icon" > ✓ < / span >
< span v-if = "currentLanguage === lang.value" class="check-icon" > ✓ < / span >
@@ -155,20 +156,11 @@
<!-- Swiper Carousel -- >
<!-- Swiper Carousel -- >
< div class = "carousel-container" >
< div class = "carousel-container" >
< swiper
< swiper :modules = "modules" :slides-per-view = "1" :loop = "true" : autoplay = " {
: modules = "modules"
: slides - per - view = "1"
: loop = "true"
: autoplay = " {
delay : 4000 ,
delay : 4000 ,
disableOnInteraction : false ,
disableOnInteraction : false ,
} "
} " :effect=" 'fade' " :fade-effect=" { crossFade : true } "
: effect = "'fade'"
: pagination = "{ clickable: true, dynamicBullets: false }" : speed = "800" class = "screenshot-swiper" >
: fade - effect = "{ crossFade: true }"
: pagination = "{ clickable: true, dynamicBullets: false }"
: speed = "800"
class = "screenshot-swiper"
>
< swiper-slide v-for = "(slide, index) in slides" :key="index" >
< swiper-slide v-for = "(slide, index) in slides" :key="index" >
< div class = "slide-content" >
< div class = "slide-content" >
< img :src = "slide.image" :alt = "slide.title" class = "slide-image" / >
< img :src = "slide.image" :alt = "slide.title" class = "slide-image" / >
@@ -187,70 +179,41 @@
< div class = "form-header" >
< div class = "form-header" >
< h2 class = "form-title" > { { $t ( 'auth.login' ) } } < / h2 >
< h2 class = "form-title" > { { $t ( 'auth.login' ) } } < / h2 >
< p class = "form-welcome" > { { $t ( 'auth.subtitle' ) } } < / p >
< p class = "form-welcome" > { { $t ( 'auth.subtitle' ) } } < / p >
< p v-if = "registrationEnabled" class="form-hint" > {{ $ t ( ' auth.loginHint ' ) }} < / p >
< / div >
< / div >
< div class = "form-content" >
< div class = "form-content" >
< t-form
< t-form ref = "formRef" :data = "formData" :rules = "formRules" @submit ="handleLogin" layout = "vertical" >
ref = "formRef"
: data = "formData"
: rules = "formRules"
@ submit = "handleLogin"
layout = "vertical"
>
< t-form-item :label = "$t('auth.email')" name = "email" >
< t-form-item :label = "$t('auth.email')" name = "email" >
< t-input
< t-input v-model = "formData.email" :placeholder="$t('auth.emailPlaceholder')" type = "text"
v - model = "formData.email"
autocomplete = "email" size = "large" : disabled = "loading" / >
: placeholder = "$t('auth.emailPlaceholder')"
type = "text"
autocomplete = "email"
size = "large"
: disabled = "loading"
/ >
< / t-form-item >
< / t-form-item >
< t-form-item :label = "$t('auth.password')" name = "password" >
< t-form-item :label = "$t('auth.password')" name = "password" >
< t-input
< t-input v-model = "formData.password" :placeholder="$t('auth.passwordPlaceholder')" type = "password"
v - model = "formData.password"
size = "large" : disabled = "loading" @ enter = "handleLogin" / >
: placeholder = "$t('auth.passwordPlaceholder')"
type = "password"
size = "large"
: disabled = "loading"
@ enter = "handleLogin"
/ >
< / t-form-item >
< / t-form-item >
< t-button
< t-button type = "submit" theme = "primary" size = "large" block :loading = "loading" class = "submit-button" >
type = "submit"
theme = "primary"
size = "large"
block
: loading = "loading"
class = "submit-button"
>
{ { loading ? $t ( 'auth.loggingIn' ) : $t ( 'auth.login' ) } }
{ { loading ? $t ( 'auth.loggingIn' ) : $t ( 'auth.login' ) } }
< / t-button >
< / t-button >
< div class = "form-footer login-form-footer " v-if = "registrationEnabled" >
< div class = "register-cta " v-if = "registrationEnabled" >
< span > { { $t ( 'auth.noAccount' ) } } < / span >
< div class = "register-cta__divider" >
< a href = "#" @click.prevent ="toggleMode" class = "link-button" >
< span > { { $t ( 'auth.firstTime' ) } } < / span >
{ { $t ( 'auth.registerNow' ) } }
< / div >
< / a >
< t-button theme = "default" variant = "outline" size = "large" block class = "register-cta__button"
: disabled = "loading" @ click = "toggleMode" >
{ { $t ( 'auth.createAccount' ) } }
< / t-button >
< / div >
< / div >
< div v-if = "oidcEnabled" class="oidc-divider" >
< div v-if = "oidcEnabled" class="oidc-divider" >
< span > { { $t ( 'auth.orContinueWith' ) } } < / span >
< span > { { $t ( 'auth.orContinueWith' ) } } < / span >
< / div >
< / div >
< t-button
< t-button v-if = "oidcEnabled" theme="default" size="large" block :loading="oidcLoading" :disabled = "loading"
v - if = "oidcEnabled"
class = "oidc-button" @ click = "handleOIDCLogin" >
theme = "default"
size = "large"
block
: loading = "oidcLoading"
: disabled = "loading"
class = "oidc-button"
@ click = "handleOIDCLogin"
>
{ { oidcLoading ? $t ( 'auth.redirectingToOIDC' ) : oidcLoginText } }
{ { oidcLoading ? $t ( 'auth.redirectingToOIDC' ) : oidcLoginText } }
< / t-button >
< / t-button >
< / t-form >
< / t-form >
@@ -302,62 +265,29 @@
< / div >
< / div >
< div class = "form-content" >
< div class = "form-content" >
< t-form
< t-form ref = "registerFormRef" :data = "registerData" :rules = "registerRules" @ submit = "handleRegister"
ref = "registerFormRef"
layout = "vertical" >
: data = "registerData"
: rules = "registerRules"
@ submit = "handleRegister"
layout = "vertical"
>
< t-form-item :label = "$t('auth.username')" name = "username" >
< t-form-item :label = "$t('auth.username')" name = "username" >
< t-input
< t-input v-model = "registerData.username" :placeholder="$t('auth.usernamePlaceholder')" size = "large"
v - model = "registerData.username"
: disabled = "loading" / >
: placeholder = "$t('auth.usernamePlaceholder')"
size = "large"
: disabled = "loading"
/ >
< / t-form-item >
< / t-form-item >
< t-form-item :label = "$t('auth.email')" name = "email" >
< t-form-item :label = "$t('auth.email')" name = "email" >
< t-input
< t-input v-model = "registerData.email" :placeholder="$t('auth.emailPlaceholder')" type = "text"
v - model = "registerData.email"
autocomplete = "email" size = "large" : disabled = "loading" / >
: placeholder = "$t('auth.emailPlaceholder')"
type = "text"
autocomplete = "email"
size = "large"
: disabled = "loading"
/ >
< / t-form-item >
< / t-form-item >
< t-form-item :label = "$t('auth.password')" name = "password" >
< t-form-item :label = "$t('auth.password')" name = "password" >
< t-input
< t-input v-model = "registerData.password" :placeholder="$t('auth.passwordPlaceholder')" type = "password"
v - model = "registerData.password"
size = "large" : disabled = "loading" / >
: placeholder = "$t('auth.passwordPlaceholder')"
type = "password"
size = "large"
: disabled = "loading"
/ >
< / t-form-item >
< / t-form-item >
< t-form-item :label = "$t('auth.confirmPassword')" name = "confirmPassword" >
< t-form-item :label = "$t('auth.confirmPassword')" name = "confirmPassword" >
< t-input
< t-input v-model = "registerData.confirmPassword" :placeholder = "$t('auth.confirmPasswordPlaceholder')"
v - model = "registerData.confirmPassword"
type = "password" size = "large" : disabled = "loading" @ enter = "handleRegister" / >
: placeholder = "$t('auth.confirmPasswordPlaceholder')"
type = "password"
size = "large"
: disabled = "loading"
@ enter = "handleRegister"
/ >
< / t-form-item >
< / t-form-item >
< t-button
< t-button type = "submit" theme = "primary" size = "large" block :loading = "loading" class = "submit-button" >
type = "submit"
theme = "primary"
size = "large"
block
: loading = "loading"
class = "submit-button"
>
{ { loading ? $t ( 'auth.registering' ) : $t ( 'auth.register' ) } }
{ { loading ? $t ( 'auth.registering' ) : $t ( 'auth.register' ) } }
< / t-button >
< / t-button >
< / t-form >
< / t-form >
@@ -893,22 +823,90 @@ onMounted(async () => {
color : rgba ( 255 , 255 , 255 , 0.9 ) ;
color : rgba ( 255 , 255 , 255 , 0.9 ) ;
}
}
. node - 1 { top : 15 % ; left : 20 % ; animation - delay : 0 s ; }
. node - 1 {
. node - 2 { top : 25 % ; left : 35 % ; animation - delay : 0.5 s ; }
top : 15 % ;
. node - 3 { top : 20 % ; left : 55 % ; animation - delay : 1 s ; }
left : 20 % ;
. node - 4 { top : 30 % ; left : 75 % ; animation - delay : 1.5 s ; }
animation - delay : 0 s ;
. node - 5 { top : 45 % ; left : 25 % ; animation - delay : 2 s ; }
}
. node - 6 { top : 50 % ; left : 45 % ; animation - delay : 2.5 s ; }
. node - 7 { top : 48 % ; left : 65 % ; animation - delay : 3 s ; }
. node - 2 {
. node - 8 { top : 60 % ; left : 20 % ; animation - delay : 0.3 s ; }
top : 25 % ;
. node - 9 { top : 12 % ; right : 15 % ; animation - delay : 1.8 s ; }
left : 35 % ;
. node - 10 { top : 38 % ; right : 10 % ; animation - delay : 2.3 s ; }
animation - delay : 0.5 s ;
. node - 11 { top : 70 % ; left : 40 % ; animation - delay : 0.8 s ; }
}
. node - 12 { top : 65 % ; left : 80 % ; animation - delay : 1.3 s ; }
. node - 3 {
top : 20 % ;
left : 55 % ;
animation - delay : 1 s ;
}
. node - 4 {
top : 30 % ;
left : 75 % ;
animation - delay : 1.5 s ;
}
. node - 5 {
top : 45 % ;
left : 25 % ;
animation - delay : 2 s ;
}
. node - 6 {
top : 50 % ;
left : 45 % ;
animation - delay : 2.5 s ;
}
. node - 7 {
top : 48 % ;
left : 65 % ;
animation - delay : 3 s ;
}
. node - 8 {
top : 60 % ;
left : 20 % ;
animation - delay : 0.3 s ;
}
. node - 9 {
top : 12 % ;
right : 15 % ;
animation - delay : 1.8 s ;
}
. node - 10 {
top : 38 % ;
right : 10 % ;
animation - delay : 2.3 s ;
}
. node - 11 {
top : 70 % ;
left : 40 % ;
animation - delay : 0.8 s ;
}
. node - 12 {
top : 65 % ;
left : 80 % ;
animation - delay : 1.3 s ;
}
@ keyframes nodePulse {
@ keyframes nodePulse {
0 % , 100 % { transform : scale ( 1 ) ; opacity : 0.65 ; }
50 % { transform : scale ( 1.08 ) ; opacity : 0.9 ; }
0 % ,
100 % {
transform : scale ( 1 ) ;
opacity : 0.65 ;
}
50 % {
transform : scale ( 1.08 ) ;
opacity : 0.9 ;
}
}
}
. knowledge - lines {
. knowledge - lines {
@@ -929,27 +927,73 @@ onMounted(async () => {
will - change : stroke - dashoffset ;
will - change : stroke - dashoffset ;
}
}
. line - 1 { animation - delay : 0 s ; }
. line - 1 {
. line - 2 { animation - delay : 0.5 s ; }
animation - delay : 0 s ;
. line - 3 { animation - delay : 1 s ; }
}
. line - 4 { animation - delay : 0.3 s ; }
. line - 5 { animation - delay : 0.8 s ; }
. line - 2 {
. line - 6 { animation - delay : 1.3 s ; }
animation - delay : 0.5 s ;
. line - 7 { animation - delay : 1.8 s ; }
}
. line - 8 { animation - delay : 2.3 s ; }
. line - 9 { animation - delay : 0.2 s ; }
. line - 3 {
. line - 10 { animation - delay : 0.7 s ; }
animation - delay : 1 s ;
. line - 11 { animation - delay : 0.9 s ; }
}
. line - 12 { animation - delay : 1.5 s ; }
. line - 4 {
animation - delay : 0.3 s ;
}
. line - 5 {
animation - delay : 0.8 s ;
}
. line - 6 {
animation - delay : 1.3 s ;
}
. line - 7 {
animation - delay : 1.8 s ;
}
. line - 8 {
animation - delay : 2.3 s ;
}
. line - 9 {
animation - delay : 0.2 s ;
}
. line - 10 {
animation - delay : 0.7 s ;
}
. line - 11 {
animation - delay : 0.9 s ;
}
. line - 12 {
animation - delay : 1.5 s ;
}
@ keyframes lineFlow {
@ keyframes lineFlow {
0 % { stroke - dashoffset : 0 ; }
0 % {
100 % { stroke - dashoffset : 18 ; }
stroke - dashoffset : 0 ;
}
100 % {
stroke - dashoffset : 18 ;
}
}
}
@ media ( prefers - reduced - motion : reduce ) {
@ media ( prefers - reduced - motion : reduce ) {
. knowledge - node { animation : none ; opacity : 0.65 ; }
. knowledge - node {
. connection - line { animation : none ; }
animation : none ;
opacity : 0.65 ;
}
. connection - line {
animation : none ;
}
}
}
/* Left Showcase Section */
/* Left Showcase Section */
@@ -1123,8 +1167,13 @@ onMounted(async () => {
cursor : pointer ;
cursor : pointer ;
position : relative ;
position : relative ;
svg { flex - shrink : 0 ; }
svg {
. link - text { line - height : 1 ; }
flex - shrink : 0 ;
}
. link - text {
line - height : 1 ;
}
& : hover {
& : hover {
background : rgba ( 255 , 255 , 255 , 0.3 ) ;
background : rgba ( 255 , 255 , 255 , 0.3 ) ;
@@ -1182,8 +1231,14 @@ onMounted(async () => {
font - family : var ( -- app - font - family ) ;
font - family : var ( -- app - font - family ) ;
color : var ( -- td - text - color - primary ) ;
color : var ( -- td - text - color - primary ) ;
. lang - flag { font - size : 16 px ; flex - shrink : 0 ; }
. lang - flag {
. lang - label { flex : 1 ; }
font - size : 16 px ;
flex - shrink : 0 ;
}
. lang - label {
flex : 1 ;
}
. check - icon {
. check - icon {
color : var ( -- td - success - color ) ;
color : var ( -- td - success - color ) ;
@@ -1192,8 +1247,14 @@ onMounted(async () => {
flex - shrink : 0 ;
flex - shrink : 0 ;
}
}
& : hover { background : var ( -- td - bg - color - secondarycontainer ) ; }
& : hover {
& . active { background : var ( -- td - success - color - light ) ; color : var ( -- td - brand - color - active ) ; }
background : var ( -- td - bg - color - secondarycontainer ) ;
}
& . active {
background : var ( -- td - success - color - light ) ;
color : var ( -- td - brand - color - active ) ;
}
}
}
. form - card {
. form - card {
@@ -1277,6 +1338,63 @@ onMounted(async () => {
font - family : var ( -- app - font - family ) ;
font - family : var ( -- app - font - family ) ;
}
}
. form - hint {
margin : 10 px 0 0 ;
padding : 8 px 12 px ;
border - radius : 8 px ;
background : var ( -- td - success - color - light , rgba ( 7 , 192 , 95 , 0.08 ) ) ;
color : var ( -- td - brand - color - active ) ;
font - size : 12.5 px ;
line - height : 1.5 ;
font - family : var ( -- app - font - family ) ;
}
/ * 注 册 入 口 : 从 底 部 小 字 链 接 升 级 为 带 分 隔 线 的 醒 目 次 级 按 钮 ,
让首次访客一眼就能找到 「 创建账户 」 。 * /
. register - cta {
margin - top : 8 px ;
& _ _divider {
position : relative ;
text - align : center ;
margin : 4 px 0 14 px ;
color : var ( -- td - text - color - secondary ) ;
font - size : 13 px ;
font - family : var ( -- app - font - family ) ;
span {
position : relative ;
z - index : 1 ;
padding : 0 12 px ;
background : rgba ( 255 , 255 , 255 , 0.97 ) ;
}
& : : before {
content : '' ;
position : absolute ;
left : 0 ;
right : 0 ;
top : 50 % ;
border - top : 1 px solid var ( -- td - component - stroke ) ;
}
}
& _ _button {
height : 46 px ;
border - radius : 8 px ;
font - size : 15 px ;
font - weight : 500 ;
border - color : var ( -- td - brand - color ) ;
color : var ( -- td - brand - color ) ;
& : hover {
border - color : var ( -- td - brand - color - active ) ;
color : var ( -- td - brand - color - active ) ;
background : var ( -- td - success - color - light , rgba ( 7 , 192 , 95 , 0.08 ) ) ;
}
}
}
. form - subtitle {
. form - subtitle {
font - size : 13 px ;
font - size : 13 px ;
color : var ( -- td - text - color - secondary ) ;
color : var ( -- td - text - color - secondary ) ;
@@ -1616,6 +1734,7 @@ onMounted(async () => {
}
}
@ media ( prefers - reduced - motion : reduce ) {
@ media ( prefers - reduced - motion : reduce ) {
. knowledge - node ,
. knowledge - node ,
. connection - line {
. connection - line {
animation : none ! important ;
animation : none ! important ;
@@ -1651,13 +1770,19 @@ html[theme-mode="dark"] {
. header - link {
. header - link {
background : rgba ( 255 , 255 , 255 , 0.12 ) ;
background : rgba ( 255 , 255 , 255 , 0.12 ) ;
border - color : rgba ( 255 , 255 , 255 , 0.15 ) ;
border - color : rgba ( 255 , 255 , 255 , 0.15 ) ;
& : hover { background : rgba ( 255 , 255 , 255 , 0.2 ) ; }
& : hover {
background : rgba ( 255 , 255 , 255 , 0.2 ) ;
}
}
}
. language - switch button {
. language - switch button {
background : rgba ( 255 , 255 , 255 , 0.12 ) ;
background : rgba ( 255 , 255 , 255 , 0.12 ) ;
border - color : rgba ( 255 , 255 , 255 , 0.15 ) ;
border - color : rgba ( 255 , 255 , 255 , 0.15 ) ;
& : hover { background : rgba ( 255 , 255 , 255 , 0.2 ) ; }
& : hover {
background : rgba ( 255 , 255 , 255 , 0.2 ) ;
}
}
}
. language - dropdown {
. language - dropdown {
@@ -1666,18 +1791,30 @@ html[theme-mode="dark"] {
box - shadow : 0 4 px 16 px rgba ( 0 , 0 , 0 , 0.4 ) ! important ;
box - shadow : 0 4 px 16 px rgba ( 0 , 0 , 0 , 0.4 ) ! important ;
}
}
. tag { background : rgba ( 255 , 255 , 255 , 0.12 ) ; }
. tag {
background : rgba ( 255 , 255 , 255 , 0.12 ) ;
}
. form - card {
. form - card {
background : rgba ( 36 , 36 , 36 , 0.97 ) ! important ;
background : rgba ( 36 , 36 , 36 , 0.97 ) ! important ;
box - shadow : 0 10 px 40 px rgba ( 0 , 0 , 0 , 0.4 ) ! important ;
box - shadow : 0 10 px 40 px rgba ( 0 , 0 , 0 , 0.4 ) ! important ;
}
}
. register - cta _ _divider span {
background : rgba ( 36 , 36 , 36 , 0.97 ) ;
}
. form - content . t - input {
. form - content . t - input {
background : var ( -- td - bg - color - page ) ! important ;
background : var ( -- td - bg - color - page ) ! important ;
border - color : rgba ( 255 , 255 , 255 , 0.1 ) ! important ;
border - color : rgba ( 255 , 255 , 255 , 0.1 ) ! important ;
& : hover { border - color : var ( -- td - brand - color ) ! important ; }
& : focus - within { border - color : var ( -- td - brand - color ) ! important ; }
& : hover {
border - color : var ( -- td - brand - color ) ! important ;
}
& : focus - within {
border - color : var ( -- td - brand - color ) ! important ;
}
}
}
. screenshot - swiper . swiper - pagination - bullet - active {
. screenshot - swiper . swiper - pagination - bullet - active {