mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-21 14:47:41 +01:00
136 lines
2.5 KiB
CSS
136 lines
2.5 KiB
CSS
.inputBar {
|
|
width: 100%;
|
|
display: flex;
|
|
height: 3rem;
|
|
}
|
|
|
|
.inputBar > *:first-child{
|
|
border-radius: 0 !important;
|
|
border-top-left-radius: 10px !important;
|
|
border-bottom-left-radius: 10px !important;
|
|
}
|
|
|
|
.inputBar > *:last-child {
|
|
border-radius: 0 !important;
|
|
border-top-right-radius: 10px !important;
|
|
border-bottom-right-radius: 10px !important;
|
|
}
|
|
|
|
.inputTextBox {
|
|
border-width: 0;
|
|
outline: none;
|
|
background-color: #36363e;
|
|
color: white;
|
|
padding: .7rem 1.5rem;
|
|
height: auto;
|
|
flex: 1;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.inputSearchButton {
|
|
background-color: #A73B83;
|
|
border-width: 0;
|
|
color: white;
|
|
padding: .5rem 2.1rem;
|
|
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.inputDropdown {
|
|
border-width: 0;
|
|
outline: none;
|
|
background-color: #36363e;
|
|
color: white;
|
|
padding: .7rem 1rem;
|
|
height: auto;
|
|
width: 25%;
|
|
color: white;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.inputOptionBox {
|
|
border-width: 0;
|
|
outline: none;
|
|
background-color: #36363e;
|
|
color: white;
|
|
height: auto;
|
|
width: 5%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.inputDropdown:hover {
|
|
background-color: #3C3D44;
|
|
}
|
|
|
|
.inputSearchButton:hover {
|
|
background-color: #9C3179;
|
|
}
|
|
|
|
.inputTextBox:hover {
|
|
background-color: #3C3D44;
|
|
}
|
|
|
|
.inputOptionBox:hover {
|
|
background-color: #3C3D44;
|
|
}
|
|
|
|
.inputSearchButton .text > .arrow {
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
|
|
position: absolute;
|
|
right: -0.8rem;
|
|
bottom: -0.2rem;
|
|
}
|
|
.inputSearchButton .text {
|
|
display: flex;
|
|
position: relative;
|
|
transition: transform 0.2s ease-in-out;
|
|
}
|
|
.inputSearchButton:hover .text > .arrow {
|
|
transform: translateX(8px);
|
|
opacity: 1;
|
|
}
|
|
|
|
.inputSearchButton:hover .text {
|
|
transform: translateX(-10px);
|
|
}
|
|
|
|
.inputSearchButton:active {
|
|
background-color: #8b286a;
|
|
}
|
|
|
|
@media screen and (max-width: 700px) {
|
|
.inputBar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
height: auto;
|
|
}
|
|
|
|
.inputBar > *:nth-child(n) {
|
|
border-radius: 10px !important;
|
|
}
|
|
|
|
.inputSearchButton {
|
|
margin-top: .5rem;
|
|
align-self: center;
|
|
}
|
|
|
|
.inputTextBox {
|
|
margin-top: .5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.inputDropdown {
|
|
width: 100%;
|
|
padding: .7rem 1.5rem;
|
|
}
|
|
|
|
.inputOptionBox {
|
|
margin-top: .5rem;
|
|
width: 50%;
|
|
align-items:stretch;
|
|
padding: .7rem 1.5rem;
|
|
}
|
|
}
|