-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e636a21
commit 7922fdd
Showing
5 changed files
with
117 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.wrapper { | ||
background: linear-gradient(150deg, #001523, #003356, #001523 90%); | ||
background: linear-gradient(150deg, #001523, #003356, #001523 90%); | ||
} | ||
.text { | ||
color: #d7dae3; | ||
} | ||
.text{ | ||
color: #D7DAE3 | ||
} |
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
Empty file.
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,52 @@ | ||
/* my-next-app/src/components/SearchBar.module.css */ | ||
|
||
.searchBar { | ||
display: flex; | ||
align-items: center; | ||
flex: 1; | ||
margin-left: 50px; /* Add space to the left to accommodate the shifted button */ | ||
transition: opacity 0.3s ease; | ||
} | ||
|
||
.input { | ||
flex: 1; | ||
padding: 8px 12px; | ||
border: none; | ||
border-radius: 4px; | ||
font-size: 1rem; | ||
outline: none; | ||
background: #fff; | ||
color: #000; | ||
} | ||
|
||
.closeButton { | ||
background: transparent; | ||
border: none; | ||
color: #fff; | ||
font-size: 1.2rem; | ||
cursor: pointer; | ||
margin-left: 8px; | ||
} | ||
|
||
.submitButton { | ||
background: transparent; | ||
border: none; | ||
cursor: pointer; | ||
margin-left: 8px; | ||
} | ||
|
||
/* Responsive Styles */ | ||
@media (max-width: 600px) { | ||
.searchBar { | ||
margin-left: 40px; /* Adjust spacing for smaller screens */ | ||
} | ||
|
||
.input { | ||
font-size: 0.9rem; | ||
} | ||
} | ||
|
||
/* Optional: Style for the placeholder text */ | ||
.input::placeholder { | ||
color: #888; /* Sets placeholder text color to a shade of gray */ | ||
} |