MOFA/components/search_keyword/search_keyword.css
2024-10-28 00:17:31 +09:00

88 lines
2.1 KiB
CSS

.search_keyword {
form {
display: flex;
height: 84px;
position: relative;
gap: 30px;
box-shadow: 5.13px 25.64px 38.46px 0px #0000001A;
padding-left: 32px;
background-color:#fff;
select {
appearance: none;
-webkit-appearance: none;
font-size: 18px;
padding: 5px 10px 5px 10px;
background-color: #FFFFFF;
border: 0;
border-radius: 5px;
color: #000000;
cursor: pointer;
outline: none;
font-size: 24px;
font-weight: 700;
min-width: 178px;
}
.text-field {
position: relative;
flex: 1 1 auto;
display: flex;
input {
border: 0;
font-size: 24px;
flex: 1 1 auto;
padding-left: 10px;
&:focus{
~ .recommend-keyword{
bottom: -60px;
z-index: 1;
transition:ease all 0.3s;
}
}
}
button {
position: absolute;
right: 0;
}
.recommend-keyword {
position: absolute;
bottom: 0;
left: -200px;
overflow:hidden;
z-index: -1;
transition:ease all 0.3s;
a {
font-size: 20px;
font-weight: 400;
line-height: 28px;
color: #444444;
position: relative;
&:after {
content: '';
width: 1px;
height:16px;
background-color: #BDBDBD;
display:block;
position:absolute;
right:-20px;
top:5px;
}
}
}
}
}
}