@import "./Design.scss"; .search-results { height: 100%; width: 100%; } .search-top{ background-color:$dark-gray; width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 0; } .search-top-lower{ margin-top: 0; background-color: #202020; p{ margin-top: 0; padding: 8px; } } .search-middle{ width: fit-content; margin: auto; } .card-restaurant { border-radius: 22px; 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: 16px; 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 { } .results-count { width: 100%; color: $gray; 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; } .collapsible{ background-color: #444444; max-height: 0px; overflow: hidden; transition: max-height 0.25s; h3{ font-size: medium; font-weight: 400; } } .card-info-line{ display: flex; align-items: center; h3{ margin-left: 8px; } } .card-info-line-top{ display: flex; align-items: center; justify-content: space-between; h3{ font-size: medium; } }