-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #399 from VigneshDevHub/test
Merging changes from test to main
- Loading branch information
Showing
7 changed files
with
475 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,228 @@ | ||
/* searchCampground.css */ | ||
|
||
/* Main Container Styles */ | ||
.campground-search-controls { | ||
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)); | ||
padding: 30px 20px; | ||
border-radius: 15px; | ||
margin-bottom: 30px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
gap: 20px; | ||
} | ||
|
||
/* Search Form Styles */ | ||
.campground-search-form { | ||
flex: 1; | ||
min-width: 300px; | ||
} | ||
|
||
.campground-input-group { | ||
background: rgba(255, 255, 255, 0.1); | ||
border-radius: 12px; | ||
overflow: hidden; | ||
border: 1px solid rgba(255, 255, 255, 0.2); | ||
display: flex; | ||
} | ||
|
||
.campground-search-input { | ||
background: transparent; | ||
border: none; | ||
color: white; | ||
padding: 12px 20px; | ||
font-size: 1rem; | ||
flex: 1; | ||
} | ||
|
||
.campground-search-input::placeholder { | ||
color: rgba(255, 255, 255, 0.7); | ||
} | ||
|
||
.campground-search-button { | ||
padding: 12px 25px; | ||
background: #00b4d8; | ||
border: none; | ||
color: white; | ||
font-weight: 500; | ||
transition: all 0.2s ease; | ||
} | ||
|
||
.campground-search-button:hover { | ||
background: #0096c7; | ||
} | ||
|
||
/* Sort Controls Styles */ | ||
.campground-sort-controls { | ||
display: flex; | ||
gap: 15px; | ||
align-items: center; | ||
} | ||
|
||
.campground-nearest-btn { | ||
padding: 12px 25px; | ||
background: #2a9d8f; | ||
border: none; | ||
color: white; | ||
border-radius: 12px; | ||
transition: all 0.2s ease; | ||
} | ||
|
||
.campground-nearest-btn:hover { | ||
background: #264653; | ||
transform: translateY(-2px); | ||
} | ||
|
||
.campground-sort-select { | ||
background-color: #212529; | ||
color: #fff; | ||
border: 1px solid #495057; | ||
padding: 0.375rem 0.75rem; | ||
border-radius: 0.25rem; | ||
} | ||
|
||
.campground-sort-select option { | ||
background-color: #212529; | ||
color: #fff; | ||
} | ||
|
||
.campground-sort-select:focus { | ||
outline: none; | ||
border-color: #86b7fe; | ||
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); | ||
} | ||
|
||
.campground-sort-button { | ||
padding: 12px 25px; | ||
background: #4361ee; | ||
color: white; | ||
border: none; | ||
border-radius: 12px; | ||
transition: all 0.2s ease; | ||
} | ||
|
||
.campground-sort-button:hover { | ||
background: #3949ab; | ||
} | ||
|
||
/* Grid Layout */ | ||
.campground-listing-grid { | ||
display: grid; | ||
grid-template-columns: repeat(3, 1fr); | ||
gap: 25px; | ||
padding: 20px 0; | ||
} | ||
|
||
/* Card Styles */ | ||
.campground-card { | ||
background: #1e2124; | ||
border-radius: 15px; | ||
overflow: hidden; | ||
transition: transform 0.2s ease, box-shadow 0.2s ease; | ||
border: 1px solid rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
.campground-card:hover { | ||
transform: translateY(-5px); | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.campground-image-container { | ||
position: relative; | ||
padding-top: 66.67%; | ||
overflow: hidden; | ||
} | ||
|
||
.campground-image { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
transition: transform 0.3s ease; | ||
} | ||
|
||
.campground-card:hover .campground-image { | ||
transform: scale(1.05); | ||
} | ||
|
||
.campground-content { | ||
padding: 1.5rem; | ||
} | ||
|
||
.campground-title { | ||
font-size: 1.25rem; | ||
font-weight: 600; | ||
color: white; | ||
margin-bottom: 0.75rem; | ||
} | ||
|
||
.campground-description { | ||
color: #a8a8a8; | ||
margin-bottom: 1rem; | ||
display: -webkit-box; | ||
-webkit-line-clamp: 3; | ||
-webkit-box-orient: vertical; | ||
overflow: hidden; | ||
} | ||
|
||
.campground-price { | ||
color: white; | ||
} | ||
|
||
.campground-location { | ||
color: #6c757d; | ||
font-size: 0.9rem; | ||
margin-bottom: 1rem; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.campground-view-button { | ||
width: 100%; | ||
padding: 10px; | ||
background: #0d6efd; | ||
color: white; | ||
border: none; | ||
border-radius: 8px; | ||
transition: all 0.2s ease; | ||
text-align: center; | ||
text-decoration: none; | ||
display: block; | ||
} | ||
|
||
.campground-view-button:hover { | ||
background: #0b5ed7; | ||
transform: translateY(-2px); | ||
} | ||
|
||
/* Responsive Design */ | ||
@media (max-width: 1200px) { | ||
.campground-listing-grid { | ||
grid-template-columns: repeat(2, 1fr); | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.campground-search-controls { | ||
flex-direction: column; | ||
} | ||
|
||
.campground-sort-controls { | ||
width: 100%; | ||
flex-direction: column; | ||
} | ||
|
||
.campground-listing-grid { | ||
grid-template-columns: 1fr; | ||
padding: 10px; | ||
} | ||
|
||
.campground-nearest-btn, | ||
.campground-sort-select, | ||
.campground-sort-button { | ||
width: 100%; | ||
} | ||
} |
Oops, something went wrong.