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