-
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
1 parent
afacaf6
commit 1a49b5e
Showing
4 changed files
with
149 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
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,111 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
src: url('fonts/Avenir-Book.ttf') format('truetype'); | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
src: url('fonts/Avenir-Heavy.ttf') format('truetype'); | ||
font-weight: 900; | ||
} | ||
|
||
html { | ||
font-family: Avenir, Helvetica, sans-serif; | ||
} | ||
|
||
form { | ||
/* border: black 1px solid; */ | ||
display: flex; | ||
align-items: center; | ||
box-sizing: border-box; | ||
border: 1px solid #e1e7ed; | ||
border-radius: 4px; | ||
box-shadow: 0 1px 8px 0 #3d4e611a; | ||
} | ||
|
||
form:hover { | ||
box-shadow: 0 3px 8px 0 #3d4e6133; | ||
} | ||
|
||
form:focus { | ||
border-radius: 3px; | ||
border: 1px solid #e1e7ed; | ||
background: linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
} | ||
|
||
div { | ||
position: relative; | ||
top: -0.5px; | ||
left: -1px; | ||
display: flex; | ||
} | ||
|
||
[data-qa='big'] { | ||
margin: 20px auto; | ||
} | ||
|
||
[placeholder] { | ||
display: block; | ||
border: none; | ||
padding: 0; | ||
} | ||
|
||
[data-qa='keypress'] { | ||
position: relative; | ||
top: -0.5px; | ||
height: 68px; | ||
margin-left: 17px; | ||
} | ||
|
||
[data-qa='big'] div { | ||
margin-left: 26px; | ||
} | ||
|
||
[data-qa='small'] div { | ||
height: 11px; | ||
width: 11px; | ||
margin-left: 13px; | ||
} | ||
|
||
[data-qa='hover'] { | ||
position: relative; | ||
top: -1.5px; | ||
height: 40px; | ||
margin-left: 9px; | ||
} | ||
|
||
input::placeholder { | ||
color: #3d4e61; | ||
font-weight: 400; | ||
font-family: Avenir, sans-serif; | ||
border-image-width: 0; | ||
} | ||
|
||
input { | ||
font-weight: 900; | ||
color: #3d4e61; | ||
} | ||
|
||
input:focus { | ||
border: 0; | ||
border-image-width: 0; | ||
outline: none; | ||
box-shadow: none; | ||
} | ||
|
||
input:hover { | ||
border: 0; | ||
border-image-width: 0; | ||
} | ||
|
||
[data-qa='keypress']::placeholder { | ||
font-size: 16px; | ||
line-height: 21.86px; | ||
} | ||
|
||
[data-qa='hover']::placeholder { | ||
font-size: 14px; | ||
line-height: 19.12px; | ||
} |