-
Notifications
You must be signed in to change notification settings - Fork 4k
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
115 additions
and
12 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,100 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
src: url("fonts/Avenir-Book.ttf") format("truetype"); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
src: url("fonts/Avenir-Heavy.ttf") format("truetype"); | ||
font-weight: bold; | ||
font-style: normal; | ||
} | ||
|
||
body { | ||
font-family: Avenir, Arial, Helvetica, sans-serif; | ||
} | ||
|
||
input { | ||
display: block; | ||
width: 100%; | ||
margin-top: 20px; | ||
font-family: Avenir, Arial, Helvetica, sans-serif; | ||
border: 1px solid rgba(225, 231, 237, 1); | ||
border-radius: 4px; | ||
} | ||
|
||
.big-input { | ||
height: 70px; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
box-sizing: border-box; | ||
padding-left: 62px; | ||
background-image: url("./images/Search.svg"); | ||
background-repeat: no-repeat; | ||
background-position: 25px center; | ||
font-size: 16px; | ||
color: rgba(61, 78, 97, 1); | ||
font-weight: bold; | ||
} | ||
|
||
.big-input::placeholder { | ||
color: rgba(61, 78, 97, 1); | ||
font-weight: normal; | ||
} | ||
|
||
.big-input:hover { | ||
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.big-input:focus { | ||
outline: none; | ||
background-image: url("./images/Search.svg"), | ||
linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
background-repeat: no-repeat; | ||
background-position: | ||
25px center, | ||
0 0; | ||
background-size: | ||
19px 19px, | ||
100% 100%; | ||
text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.small-input { | ||
height: 42px; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
box-sizing: border-box; | ||
padding-left: 33px; | ||
background-image: url("./images/Search.svg"); | ||
background-repeat: no-repeat; | ||
background-position: 12px center; | ||
background-size: 11px 11px; | ||
color: rgba(61, 78, 97, 1); | ||
font-weight: bold; | ||
font-size: 14px; | ||
} | ||
|
||
.small-input::placeholder { | ||
color: rgba(61, 78, 97, 1); | ||
font-weight: normal; | ||
} | ||
|
||
.small-input:hover { | ||
box-shadow: 0 3px 8px 0 rgba(61, 78, 97, 0.2); | ||
} | ||
|
||
.small-input:focus { | ||
outline: none; | ||
background-image: url("./images/Search.svg"), | ||
linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
background-repeat: no-repeat; | ||
background-position: | ||
12px center, | ||
0 0; | ||
background-size: | ||
11px 11px, | ||
100% 100%; | ||
text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); | ||
} |