@@ -327,7 +327,7 @@ function handleSpecialAccount(v: string) {
327327
328328<template >
329329 <div class =" flex flex-col gap-3" >
330- <div class =" flex justify-start border-b border-gray-200 dark:border-white/10 " >
330+ <div class =" protocol-tabs-track " >
331331 <div class =" protocol-tabs" >
332332 <button
333333 v-for =" item in protocolTabItems"
@@ -466,38 +466,53 @@ function handleSpecialAccount(v: string) {
466466</template >
467467
468468<style scoped>
469+ .protocol-tabs-track {
470+ display : flex ;
471+ justify-content : flex-start ;
472+ border-bottom : 1px solid var (--app-border );
473+ }
474+
469475.protocol-tabs {
470476 display : inline-flex ;
471477 width : fit-content ;
472478 max-width : 100% ;
473- align-items : center ;
479+ align-items : flex-end ;
474480 justify-content : flex-start ;
475481 gap : 0.25rem ;
476482}
477483
478484.protocol-tab-button {
485+ position : relative ;
479486 flex : 0 0 auto ;
480- border-bottom : 2px solid transparent ;
481- padding : 0.25rem 0.875rem ;
487+ margin-bottom : -1px ;
488+ border : 0 ;
489+ background : transparent ;
490+ padding : 0.25rem 0.875rem 0.375rem ;
482491 font-size : 0.875rem ;
483492 font-weight : 500 ;
484493 line-height : 1.25rem ;
485- transition :
486- border-color 0.15s ease ,
487- color 0.15s ease ;
494+ color : var (--app-text-muted );
495+ transition : color 0.15s ease ;
488496}
489497
490498.protocol-tab-button-active {
491- border-bottom-color : var ( --ui-primary ) ;
492- color : var (--ui-text-highlighted );
499+ z-index : 1 ;
500+ color : var (--app-fg );
493501}
494502
495- .protocol-tab-button-idle {
496- color : var (--ui-text-muted );
503+ .protocol-tab-button-active ::after {
504+ content : " " ;
505+ position : absolute ;
506+ right : 0 ;
507+ bottom : -1px ;
508+ left : 0 ;
509+ height : 2px ;
510+ background : var (--ui-primary );
511+ pointer-events : none ;
497512}
498513
499514.protocol-tab-button-idle :hover {
500- color : var (--ui-text );
515+ color : var (--app-fg );
501516}
502517
503518:deep(.connect-method-type-tabs [data-slot = " list" ]) {
0 commit comments