-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Showing
3 changed files
with
113 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,107 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir-Book; | ||
src: url('fonts/Avenir-Book.ttf'); | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir-Heavy; | ||
src: url('fonts/Avenir-Heavy.ttf'); | ||
} | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
padding-left: 8px; | ||
padding-right: 8px; | ||
} | ||
|
||
.search-bar--big { | ||
height: 70px; | ||
width: 100%; | ||
padding: 25px 25px 25px 62px; | ||
margin-top: 20px; | ||
|
||
font-family: Avenir-Book, sans-serif; | ||
color: #3d4e61; | ||
font-weight: 300; | ||
font-size: 16px; | ||
|
||
background-image: url(images/Search.svg); | ||
background-position: 26px center; | ||
background-size: 19px 19px; | ||
background-repeat: no-repeat; | ||
|
||
border: 1px solid #e1e7ed; | ||
border-radius: 4px; | ||
box-shadow: 0 1px 8px rgba(61, 78, 97, 0.1); | ||
} | ||
|
||
.search-bar--big:hover { | ||
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.search-bar--big:focus { | ||
background: url(images/Search.svg), | ||
linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
background-position: 26px center; | ||
background-size: 19px 19px; | ||
background-repeat: no-repeat; | ||
outline: 1px solid #e1e7ed; | ||
font-family: Avenir-Heavy, sans-serif; | ||
} | ||
|
||
.search-bar--big::placeholder { | ||
font-family: Avenir-Book, sans-serif; | ||
color: #3d4e61; | ||
font-weight: 300; | ||
font-size: 16px; | ||
} | ||
|
||
.search-bar--small { | ||
margin-top: 20px; | ||
height: 42px; | ||
width: 100%; | ||
padding: 10px 10px 10px 33px; | ||
|
||
font-family: Avenir-Book, sans-serif; | ||
color: #3d4e61; | ||
font-weight: 300; | ||
font-size: 14px; | ||
|
||
background-image: url(images/Search.svg); | ||
background-position: 13px center; | ||
background-size: 11px 11px; | ||
background-repeat: no-repeat; | ||
|
||
border: 1px solid #e1e7ed; | ||
box-shadow: 0 1px 8px rgba(61, 78, 97, 0.1); | ||
border-radius: 4px; | ||
} | ||
|
||
.search-bar--small:hover { | ||
box-shadow: 0 3px 8px rgba(61, 78, 97, 0.2); | ||
} | ||
|
||
.search-bar--small:focus { | ||
background: url(images/Search.svg), | ||
linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
background-position: 13px center; | ||
background-size: | ||
11px 11px, | ||
auto; | ||
background-repeat: no-repeat; | ||
outline: 1px solid #e1e7ed; | ||
font-family: Avenir-Heavy, sans-serif; | ||
} | ||
|
||
.search-bar--small::placeholder { | ||
font-family: Avenir-Book, sans-serif; | ||
color: #3d4e61; | ||
font-weight: 300; | ||
font-size: 14px; | ||
} |