jl-frontend/css/search.css

157 lines
3.0 KiB
CSS

.project-search-container {
display: flex;
flex-direction: column;
justify-content: stretch;
align-items: center;
padding: 0px 30px;
margin-top: 30px;
}
.project-search-filters-container {
display: flex;
flex-direction: column;
gap: 25px;
justify-content: stretch;
flex-wrap: wrap;
align-items: stretch;
width: 100%;
}
.project-search-filter-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: start;
gap: 10px;
}
.project-search-filter-label {
font-size: 16px;
font-weight: bold;
font-family: Source Sans Pro;
}
.project-search-filter-item {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
min-width: 150px;
width: 100%;
min-height: 50px;
padding: 5px 10px;
border: 1px solid rgba(0, 0, 0, 0.0);
background-color: rgba(0, 0, 0, 0.04);
border-radius: 5px;
font-family: Source Sans Pro;
font-size: 16px;
}
.project-search-divider {
width: 100%;
margin: 35px 20px;
height: 1px;
background-color:rgba(0, 0, 0, 0.1);
}
.project-search-button {
margin-top: 20px;
height: 50px;
background-color: #252631;
color: white;
border: 0px;
border-radius: 5px;
font-size: large;
font-family: Source Sans Pro;
font-weight: lighter;
}
/* Results */
.project-search-results-container {
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
margin-bottom: 50px;
gap: 30px;
}
.project-search-result-card {
background-color: white;
height: 530px;
width: 390px;
min-width: 80%;
display: flex;
flex-direction: column;
justify-content: stretch;
align-items: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
gap: 6px;
}
@media only screen and (max-width: 400px) {
.project-search-result-card {
width: 90%;
}
}
.project-search-result-card:hover {
cursor: pointer;
border: 2px solid #252631;
transition-duration: 0.3s;
}
.project-search-result-card-picture {
width: 100%;
height: 390px;
background-color: rgba(0, 0, 0, 0.3);
object-fit: cover;
}
.project-search-result-card-title {
font-size: 18px;
font-family: Inter;
font-weight: 50;
text-transform: uppercase;
padding-top: 5px;
}
.project-search-result-card-location {
font-size: 14px;
font-family: Inter;
font-weight: 50;
text-transform: uppercase;
}
.project-search-result-card-price {
font-size: 21px;
font-family: Inter;
font-weight: bold;
text-transform: uppercase;
}
.project-search-result-card-details-container {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
width: 100%;
padding-top: 4px;
}
.project-search-result-card-details-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: rgba(0, 0, 0, 0.3);
font-size: 14px;
gap: 3px;
}