Files
menui_web/src/styles/SearchResults.scss

92 lines
1.5 KiB
SCSS

@import "./Design.scss";
.search-results {
min-width: 60%;
max-width: 90%;
}
.card-restaurant {
border-radius: 15px;
padding: 4px;
margin: 10px 0px 10px 0px;
background-color: #202020;
color: $secondary-color;
max-width: 70vw;
min-height: 200px;
display: flex;
cursor: pointer;
transition: all 0.25s;
&:hover {
background-color: #2e2e2e;
}
}
.card-img {
min-width: 180px;
height: 180px;
margin: 10px;
border-radius: 10px;
//border-radius: 100px;
background-size: cover;
}
.card-info {
text-align: start;
padding-left: 10px;
padding-right: 10px;
flex-grow: 6;
display: flex;
flex-direction: column;
justify-content: space-between;
h1 {
color: $secondary-color;
font-size: 1.6rem;
font-weight: 300;
margin-bottom: 4px;
margin-top: 8px;
}
h3 {
color: $gray;
font-weight: 400;
margin-top: 2px;
margin-bottom: 2px;
font-size: 0.9rem;
}
p {
color: $gray;
}
hr {
color: #2e2e2e;
border: solid 1px;
}
}
.card-pictograms {
margin-bottom: 0px;
}
.results-count {
width: 100%;
color: $secondary-color;
text-align: left;
margin-top: 20px;
margin-bottom: 20px;
hr {
border: solid 1px rgb(44, 44, 44);
}
p {
font-size: 0.9rem;
}
}
.card-description {
overflow: hidden;
line-height: 1.2em;
max-height: 3.5em;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
}