aerwen_u_site/assets/css/Header/index.scss
2024-05-03 18:19:56 +08:00

119 lines
2.2 KiB
SCSS

[v-cloak] {
display: none !important;
}
.search-show {
height: 85px !important;
}
.search-input-show {
height: 38px !important;
border: 1px solid #ccc !important;
}
.dNone {
display: none !important;
}
.search-have {
border-bottom: 0 !important;
border-radius: 20px 20px 0 0 !important;
}
.search-btn {
position: relative;
top: 27px;
right: 1px;
cursor: pointer;
color: #fff;
background-color: #3F3F3F;
outline: none;
text-decoration: none;
padding: 11px 30px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
//Header.scss
.Header {
width: 100%;
display: flex;
justify-content: center;
// align-items: center;
flex-direction: column;
position: fixed;
top: 0;
z-index: 999;
background: rgba(255, 255, 250);
transition: all .3s ease 0s;
box-shadow: 1px 1px 20px 0px #e7e7e7;
// background: rgba($color: #000000, $alpha: .2);
.Header-container {
display: flex;
// justify-content: space-evenly;
align-items: center;
height: var(--headerheight);
font-size: 14px;
}
.search-box {
height: 0;
width: 100%;
transition: 0.4s;
z-index: 9999;
// position: fixed;
top: 60px;
left: 0;
text-align: center;
overflow: hidden;
.search-hide-box {
width: 70%;
background: rgb(250, 250, 250) !important;
margin: 0 auto;
display: block;
overflow: auto;
border-radius: 0 0 20px 20px;
text-align: left;
max-height: 500px;
.search-hide-items {
padding: 15px 21px;
cursor: pointer;
transition: 0.4s;
color: #757575;
font-weight: 550;
&:hover {
background: rgb(230, 230, 230);
}
}
}
.search-box-input {
background: none;
outline: none;
width: 50%;
padding: 0 20px;
height: 0;
transition: 0.4s;
margin-top: 20px;
color: #757575;
font-weight: 550;
border: none;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
// background: rgb(250, 250, 250)!important;
//&:focus{
// width: 70%;
//}
}
}
}
.phone-box {
display: none;
height: 50px;
}