-
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
124 additions
and
13 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,101 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
src: url('./fonts/Avenir-Book.ttf'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
src: url('./fonts/Avenir-Heavy.ttf'); | ||
font-weight: bold; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
src: url('./fonts/Avenir.ttc'); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
|
||
body { | ||
font-family: Avenir, Arial, sans-serif; | ||
} | ||
|
||
.form { | ||
font-family: Avenir, sans-serif; | ||
display: block; | ||
margin-top: 20px; | ||
outline: none; | ||
color: #3d4e61; | ||
border: 1px solid #e1e7ed; | ||
border-radius: 4px; | ||
box-shadow: 0 1px 8px 0 #3d4e611a; | ||
width: 100%; | ||
box-sizing: border-box; | ||
} | ||
|
||
.big { | ||
font-size: 16px; | ||
background: url(images/Search.svg) no-repeat; | ||
background-size: 19px; | ||
box-sizing: border-box; | ||
background-position: 26px center; | ||
height: 70px; | ||
padding-left: 62px; | ||
background-color: #ffff; | ||
} | ||
|
||
.small { | ||
font-size: 14px; | ||
box-shadow: 0 1px 8px 0 #3d4e611a; | ||
background: url(images/Search.svg) no-repeat 13px center/11px 11px; | ||
height: 42px; | ||
padding-left: 33px; | ||
} | ||
|
||
.form::placeholder { | ||
color: #3d4e61; | ||
} | ||
|
||
.form:focus { | ||
background: linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
background-image: url(images/Search.svg); | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
text-shadow: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); | ||
} | ||
|
||
.form:hover { | ||
box-shadow: 0 3px 8px 0 #3d4e6133; | ||
background-image: url(images/Search.svg); | ||
background-repeat: no-repeat; | ||
background-position: 26px center; | ||
} | ||
|
||
.big:focus { | ||
text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); | ||
background: | ||
url(images/Search.svg) no-repeat 26px 25px/19px 19px, | ||
linear-gradient(180deg, transparent, #f6f6f7); | ||
} | ||
|
||
.big:hover { | ||
background-color: #ffff; | ||
box-shadow: 0 3px 8px 0 #3d4e6133; | ||
} | ||
|
||
.small:focus { | ||
border: 1px solid #e1e7ed; | ||
text-shadow: none; | ||
background: | ||
url(images/Search.svg) no-repeat 13px center/11px 11px, | ||
linear-gradient(180deg, transparent, #f6f6f7); | ||
} | ||
|
||
.small:hover { | ||
box-shadow: 0 3px 8px 0 #3d4e6133; | ||
text-shadow: none; | ||
background-position: 13px; | ||
} |