-
Notifications
You must be signed in to change notification settings - Fork 0
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
Minotriz02
authored and
Minotriz02
committed
Oct 31, 2024
1 parent
deca4d2
commit 54467f8
Showing
8 changed files
with
122 additions
and
87 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,57 +1,54 @@ | ||
/* SearchBar.css */ | ||
|
||
/* Definir el ancho máximo de 500px para pantallas grandes */ | ||
.search-bar-big { | ||
width: 50vw; | ||
} | ||
.search-bar { | ||
width: 350px; | ||
} | ||
|
||
/* Media query para dispositivos móviles */ | ||
@media (max-width: 767px) { | ||
/* Reducir el ancho máximo a 350px en dispositivos móviles */ | ||
.search-bar { | ||
width: 320px; | ||
} | ||
} | ||
|
||
/* Mantener las reglas de estilo existentes */ | ||
.bar-hints { | ||
position: absolute; | ||
top: 70px; | ||
z-index: 1000; | ||
left: 20px; | ||
} | ||
|
||
width: 50vw; | ||
} | ||
.search-bar { | ||
width: 350px; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.search-bar { | ||
border-bottom: 1px solid #dadce0; | ||
box-shadow: 0 0 2px rgb(0 0 0/20%), 0 -1px 0 rgb(0 0 0/2%); | ||
border: none; | ||
} | ||
|
||
.search-bar-focused { | ||
border-radius: 16px 16px 0 0; | ||
} | ||
|
||
.search-bar-unfocused { | ||
border-radius: 16px 16px; | ||
} | ||
|
||
.waterpoints-search { | ||
border-radius: 0 0 16px 16px; | ||
box-shadow: 0 0 2px rgb(0 0 0/20%), 0 -1px 0 rgb(0 0 0/2%); | ||
border: none; | ||
width: 320px; | ||
} | ||
|
||
.text-input:focus{ | ||
box-shadow: none !important; | ||
} | ||
|
||
.hint-div{ | ||
cursor: pointer; | ||
} | ||
|
||
.hint-div:hover{ | ||
background-color: rgb(235, 235, 235); | ||
} | ||
} | ||
.stations-search{ | ||
width: 95vw; | ||
} | ||
|
||
.bar-hints { | ||
position: absolute; | ||
top: 70px; | ||
z-index: 1000; | ||
left: 20px; | ||
} | ||
|
||
.search-bar { | ||
border-bottom: 1px solid #dadce0; | ||
box-shadow: 0 0 2px rgb(0 0 0/20%), 0 -1px 0 rgb(0 0 0/2%); | ||
border: none; | ||
} | ||
|
||
.search-bar-focused { | ||
border-radius: 16px 16px 0 0; | ||
} | ||
|
||
.search-bar-unfocused { | ||
border-radius: 16px 16px; | ||
} | ||
|
||
.waterpoints-search { | ||
border-radius: 0 0 16px 16px; | ||
box-shadow: 0 0 2px rgb(0 0 0/20%), 0 -1px 0 rgb(0 0 0/2%); | ||
border: none; | ||
} | ||
|
||
.text-input:focus { | ||
box-shadow: none !important; | ||
} | ||
|
||
.hint-div { | ||
cursor: pointer; | ||
} | ||
|
||
.hint-div:hover { | ||
background-color: rgb(235, 235, 235); | ||
} |
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