Site :
- add search bar mobile
This commit is contained in:
@ -14,6 +14,11 @@
|
|||||||
<p>Logout</p>
|
<p>Logout</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="search-container-mobile">
|
||||||
|
<input type="text" placeholder="Search..." class="search-input" id="searchInputUser" autocomplete="off">
|
||||||
|
</div>
|
||||||
|
<div id="searchResult">
|
||||||
|
</div>
|
||||||
<div id="chatButton">
|
<div id="chatButton">
|
||||||
<span class="notification-badge"></span>
|
<span class="notification-badge"></span>
|
||||||
<img src="/static/img/homePage/bulle.png">
|
<img src="/static/img/homePage/bulle.png">
|
||||||
|
@ -402,6 +402,12 @@ body {
|
|||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-container-mobile {
|
||||||
|
display: none;
|
||||||
|
align-items: flex-start;
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
|
||||||
.search-input {
|
.search-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -618,6 +624,17 @@ input:checked + .slider:before {
|
|||||||
.search-container {
|
.search-container {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.search-container-mobile {
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-input input {
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%);
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
.menuSelected {
|
.menuSelected {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user