-
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
8 changed files
with
131 additions
and
17 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 was deleted.
Oops, something went wrong.
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,9 @@ | ||
@font-face { | ||
font-family: 'Avenir Book'; | ||
src: url(../../fonts/Avenir-Book.ttf); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Avenir Heavy'; | ||
src: url(../../fonts/Avenir-Heavy.ttf); | ||
} |
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,10 @@ | ||
.page { | ||
font-family: 'Avenir Book', sans-serif; | ||
font-weight: 300; | ||
color: #3d4e61; | ||
font-size: 16px; | ||
} | ||
|
||
.page__form { | ||
margin-top: 20px; | ||
} |
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,68 @@ | ||
.search-bar { | ||
box-sizing: border-box; | ||
background-image: url(../../images/search.svg); | ||
background-repeat: no-repeat; | ||
border: 1px solid #e1e7ed; | ||
box-shadow: 0 1px 8px rgba(61, 78, 97, 0.1); | ||
border-radius: 4px; | ||
|
||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.search-bar--big { | ||
height: 70px; | ||
padding-left: 62px; | ||
|
||
background-position: 26px center; | ||
background-size: 19px 19px; | ||
} | ||
|
||
.search-bar--small { | ||
height: 42px; | ||
padding-left: 33px; | ||
font-size: 14px; | ||
|
||
background-position: 13px center; | ||
background-size: 11px 11px; | ||
} | ||
|
||
.search-bar__input { | ||
font-family: var(--default-font); | ||
font-weight: var(--default-weight); | ||
color: var(--text-color); | ||
font-size: inherit; | ||
|
||
border: none; | ||
outline: none; | ||
padding: 0; | ||
flex-grow: 1; | ||
} | ||
|
||
.search-bar--small .search-bar__input { | ||
font-weight: 400; | ||
} | ||
|
||
.search-bar__input::placeholder { | ||
font-family: var(--default-font); | ||
font-weight: var(--default-weight); | ||
color: var(--text-color); | ||
|
||
font-size: inherit; | ||
|
||
/* line-height: 22px; */ | ||
} | ||
|
||
.search-bar:hover { | ||
box-shadow: 0 3px 8px rgba(61, 78, 97, 0.2); | ||
} | ||
|
||
.search-bar:focus { | ||
background: linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); | ||
border-radius: 3px; | ||
} | ||
|
||
.search-bar__input:focus { | ||
font-family: var(--accent-font); | ||
} |
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,6 @@ | ||
:root { | ||
--text-color: #3d4e61; | ||
--default-weight: 300; | ||
--default-font: 'Avenir Book', sans-serif; | ||
--accent-font: 'Avenir Heavy', sans-serif; | ||
} |
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,4 @@ | ||
@import 'blocks/fonts.css'; | ||
@import 'blocks/variables.css'; | ||
@import 'blocks/page.css'; | ||
@import 'blocks/search-bar.css'; |