Commit 1a4099b5c5

1a4099b5c5b1484ab84517ef820c068362957606

parent: 28adf8f579

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-07-31 14:50 UTC

Update SearchRibbon.vue

Layout: unified · split

docs/.vitepress/theme/components/search/SearchRibbon.vue +7 −1
@@ -534,6 +534,7 @@ function pageNav(delta: number) {
534534 ref="listMenuButtonRef"
535535 type="button"
536536 class="ribbon-menu-btn"
537 :class="{ 'is-open': showListMenu }"
537538 title="Filter by page"
538539 :aria-expanded="showListMenu"
539540 aria-haspopup="true"
@@ -1006,6 +1007,11 @@ function pageNav(delta: number) {
10061007 color: var(--vp-c-text-1);
10071008}
10081009
1010.ribbon-menu-btn.is-open {
1011 opacity: 1;
1012 color: var(--vp-c-text-1);
1013}
1014
10091015html.effects-disabled .ribbon-menu-btn {
10101016 transition: none;
10111017}
@@ -1185,4 +1191,4 @@ html.effects-disabled .ribbon-menu-btn:active {
11851191 opacity: 0;
11861192 transform: scale(0.92) translateY(-4px);
11871193}
1188</style>
1194</style>
\ No newline at end of file