feat: added mock search results
Some checks failed
Frontend CI / Lint and Build Frontend (pull_request) Failing after 1m35s
Some checks failed
Frontend CI / Lint and Build Frontend (pull_request) Failing after 1m35s
This commit is contained in:
@@ -205,6 +205,107 @@
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
/* Search Results Section */
|
||||
.search-results {
|
||||
padding: 4rem 0;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.results-title {
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 3rem 0;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.results-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.result-card {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.result-card .card-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.result-card .card-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.result-card .card-body p {
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.amenities {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.amenity-tag {
|
||||
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
|
||||
color: var(--color-dark);
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 20px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2px 8px var(--color-shadow-primary);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.amenity-tag:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px var(--color-shadow-primary);
|
||||
}
|
||||
|
||||
/* No Results Section */
|
||||
.no-results {
|
||||
padding: 4rem 0;
|
||||
background: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.no-results-content h2 {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1rem 0;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.no-results-content p {
|
||||
font-size: 1.1rem;
|
||||
color: var(--color-text-secondary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Loading State */
|
||||
.search-button.searching {
|
||||
background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-dark) 100%);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.search-button.searching:hover {
|
||||
transform: none;
|
||||
box-shadow: 0 4px 12px var(--color-shadow-secondary);
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.hero {
|
||||
@@ -261,6 +362,27 @@
|
||||
.features-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.search-results {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
.results-title {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.results-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.no-results {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
.no-results-content h2 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@@ -284,6 +406,14 @@
|
||||
min-width: 180px;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.results-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.no-results-content h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dark Mode Support */
|
||||
@@ -334,4 +464,24 @@
|
||||
.features {
|
||||
background: var(--color-bg-dark);
|
||||
}
|
||||
|
||||
.search-results {
|
||||
background: var(--color-bg-dark);
|
||||
}
|
||||
|
||||
.no-results {
|
||||
background: var(--color-bg-dark);
|
||||
}
|
||||
|
||||
.results-title {
|
||||
color: var(--color-text-primary-light);
|
||||
}
|
||||
|
||||
.no-results-content h2 {
|
||||
color: var(--color-text-primary-light);
|
||||
}
|
||||
|
||||
.no-results-content p {
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user