From 39670a7c64c5cb630ff74f1244adcd8aa121fd8b Mon Sep 17 00:00:00 2001 From: luckyasme <807254037@qq.com> Date: Tue, 11 Mar 2025 17:16:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.vitepress/src/components/header/HeaderNav.vue | 2 +- docs/.vitepress/src/layouts/LayoutDoc.vue | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/.vitepress/src/components/header/HeaderNav.vue b/docs/.vitepress/src/components/header/HeaderNav.vue index 61ddad5..5326402 100644 --- a/docs/.vitepress/src/components/header/HeaderNav.vue +++ b/docs/.vitepress/src/components/header/HeaderNav.vue @@ -300,7 +300,7 @@ const linkClick = () => { transform-origin: top; &.light { - box-shadow: 0 3px 6px rgba(#001255, 0.08); + box-shadow: 0 3px 8px 0 rgba(var(--o-kleinblue-10), 0.1); } @include respond-to('laptop') { diff --git a/docs/.vitepress/src/layouts/LayoutDoc.vue b/docs/.vitepress/src/layouts/LayoutDoc.vue index 4a8a7f0..24bfb09 100644 --- a/docs/.vitepress/src/layouts/LayoutDoc.vue +++ b/docs/.vitepress/src/layouts/LayoutDoc.vue @@ -624,7 +624,7 @@ onUpdated(() => { display: inline-block; width: 16px; height: 16px; - background-image: url('@/assets/category/docs/icon-gitee.svg'); + background-image: url('@/assets/category/docs/icon-gitee.svg'); background-size: 100% 100%; } } @@ -671,7 +671,7 @@ onUpdated(() => { --padding-l: 6px; --padding-r: 6px; --height: calc(var(--padding-h) * 2 + var(--thumb-height)); - background-color: rgba(var(--o-mixedgray-1), 1); + background-color: var(--o-color-fill2); cursor: pointer; font-size: 24px; padding: var(--padding-h); @@ -702,9 +702,9 @@ onUpdated(() => { --padding-r: 6px; background-color: #fff0; background-image: url(@/assets/category/common/menu-switch-bar.png); - background-position: 50%; + background-position: left; background-repeat: no-repeat; - background-size: contain; + background-size: 100% auto; } .opener-thumb { background-color: var(--o-color-info3); @@ -717,6 +717,12 @@ onUpdated(() => { .menu-opener { border-radius: 0 var(--o-radius-s) var(--o-radius-s) 0; box-shadow: var(--o-shadow-2); + + @include hover { + :deep(.opener-thumb) { + background-color: var(--o-color-primary1); + } + } } & + .aside-mask { opacity: 0; -- Gitee