master
鲁洪霞 2026-03-17 16:22:59 +08:00
parent 1de4355941
commit 78ddc9c039
1 changed files with 26 additions and 29 deletions

View File

@ -38,18 +38,21 @@
left: 50%;
right: 50%;
}
}
&.active a:before,
&:hover a:before{
&.active{
color: #1d78ff;
background: #ddebff;
&:before{
background-color: #1d78ff;
left: 0;
right: 0;
opacity:1
}
}
&.active{
color: #222222;
}
&:hover{
color: #1d78ff;
background: #ddebff;
@ -70,6 +73,7 @@
}
}
.logo{
position: relative;
width: 150px;
@ -99,16 +103,7 @@
}
}
&.scrolled{
.logo{
.logo_b{
opacity: 0;
}
.logo_w{
opacity: 1;
}
}
}
.nav_list{
display: flex;
@ -131,6 +126,7 @@
font-size: 14px;
box-sizing: border-box;
position: relative;
a{
color: #ffffff;
text-decoration: none;
@ -152,10 +148,7 @@
border-radius: 2px 2px 0 0;
opacity: 0;
}
}
&.active{
{
&:before{
opacity: 1;
left: 0;
@ -163,6 +156,10 @@
}
}
}
&:hover{
a{
&:before{