-
Notifications
You must be signed in to change notification settings - Fork 3
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
0453941
commit 68050a4
Showing
6 changed files
with
172 additions
and
16 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="search"><span class="fa fa-search"></span></div> |
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,40 @@ | ||
.search { | ||
padding: 5rem/@baseFontSize 15rem/@baseFontSize; | ||
background-color: rgba(255, 255, 255, .2); | ||
color: @colorFont; | ||
cursor: pointer; | ||
position: absolute; | ||
top: 150px; | ||
right: 0; | ||
border-radius: 10rem/@baseFontSize; | ||
} | ||
|
||
@media screen and (max-width: 750px) { | ||
.search { | ||
display: none; | ||
} | ||
} | ||
.search-container { | ||
margin:0 auto; | ||
text-align:center; | ||
padding:5px 10px; | ||
font-size:16px; | ||
#input { | ||
outline: none; | ||
border: 1px solid orange; | ||
padding: 5px 10px; | ||
vertical-align: middle; | ||
border-radius: 10px; | ||
} | ||
.btn-search { | ||
cursor:pointer; | ||
display:inline-block; | ||
padding:5px 10px; | ||
} | ||
.result { | ||
list-style:none; | ||
} | ||
.result li { | ||
border-bottom: 1px solid rgba(255,255,255,.1); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -23,4 +23,6 @@ | |
|
||
@import "_partial/footer"; | ||
|
||
@import "_partial/toolbar"; | ||
@import "_partial/toolbar"; | ||
|
||
@import "_partial/search"; |
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