-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added editor directories and files to .gitignore * init scss styles struct * added fonts, colors, mixins of typography * added navbar design * added sass-resources-loader * removed mixins import in global.scss * added font preload plugin * add unused css variables * added footer * added home-page * added styles for docs pages * added styles for inner components * replaced colors infima vars to dark theme selector * replaced bem footer elems to in selector of block --------- Co-authored-by: Yehor Podporinov <[email protected]>
- Loading branch information
1 parent
38b83e3
commit 7a6bf6c
Showing
17 changed files
with
250 additions
and
456 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,7 +1,12 @@ | ||
@import '/static/fonts/index.css'; | ||
|
||
@import 'breadcrumbs'; | ||
@import 'button'; | ||
@import 'footer'; | ||
@import 'menu'; | ||
@import 'navbar'; | ||
@import 'pagination-nav'; | ||
@import 'table-of-contents'; | ||
|
||
@import 'variables'; | ||
|
||
@import 'global'; |
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,25 @@ | ||
.breadcrumbs { | ||
.breadcrumbs__link { | ||
padding: toRem(6) toRem(8); | ||
|
||
&:not(span) { | ||
&:not([disabled]):hover { | ||
color: var(--text-primary-main); | ||
} | ||
|
||
&:not([disabled]):focus, | ||
&:not([disabled]):active { | ||
color: var(--ifm-breadcrumb-color-active); | ||
background: var(--ifm-breadcrumb-item-background-active); | ||
} | ||
} | ||
|
||
span { | ||
color: inherit; | ||
transition: inherit; | ||
font: inherit; | ||
} | ||
|
||
@include p-12-light; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.menu { | ||
.menu__link { | ||
padding: toRem(12) toRem(16); | ||
border-radius: var(--border-radius-main); | ||
|
||
&:not([disabled]):focus, | ||
&:not([disabled]):active { | ||
color: var(--ifm-menu-color-active); | ||
} | ||
|
||
&:after { | ||
-webkit-mask: var(--ifm-menu-link-sublist-icon); | ||
mask: var(--ifm-menu-link-sublist-icon); | ||
background: currentColor; | ||
filter: none; | ||
} | ||
|
||
@include p-14-semi-bold; | ||
} | ||
|
||
.menu__list { | ||
margin-top: toRem(8); | ||
} | ||
|
||
.menu__list-item-collapsible { | ||
border-radius: var(--border-radius-main); | ||
} | ||
|
||
.menu__list-item { | ||
&:not(:first-child) { | ||
margin-top: toRem(8); | ||
} | ||
} | ||
} |
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,44 +1,53 @@ | ||
.navbar { | ||
padding: 0 var(--app-padding-left) 0 var(--app-padding-right); | ||
box-shadow: 0 toRem(1) var(--background-primary-light); | ||
} | ||
|
||
.navbar__toggle { | ||
@include respond-to(medium) { | ||
display: inherit; | ||
.navbar__toggle { | ||
@include respond-to(medium) { | ||
display: inherit; | ||
} | ||
} | ||
} | ||
|
||
.navbar__brand { | ||
margin-left: toRem(-8); | ||
} | ||
.navbar__brand { | ||
margin-left: toRem(-8); | ||
|
||
.navbar__logo { | ||
margin-right: 0; | ||
} | ||
transition: var(--ifm-transition-fast) var(--ifm-transition-timing-default); | ||
|
||
.navbar__title { | ||
@include h3; | ||
&:not([disabled]):focus, | ||
&:not([disabled]):active { | ||
color: var(--primary-main); | ||
} | ||
} | ||
|
||
font-size: toRem(20); | ||
} | ||
.navbar__logo { | ||
margin-right: 0; | ||
} | ||
|
||
.navbar__items { | ||
&--right { | ||
margin-right: toRem(-12); | ||
.navbar__title { | ||
@include h3; | ||
|
||
font-size: toRem(20); | ||
} | ||
|
||
.navbar__items { | ||
&--right { | ||
margin-right: toRem(-12); | ||
} | ||
} | ||
} | ||
|
||
.navbar__link { | ||
font-family: var(--app-font-family-secondary); | ||
font-weight: 400; | ||
padding: toRem(12) toRem(16); | ||
.navbar__link { | ||
font-family: var(--app-font-family-secondary); | ||
font-weight: 400; | ||
padding: toRem(12) toRem(16); | ||
|
||
&:not([disabled]):active { | ||
color: var(--primary-light); | ||
&--active, | ||
&:not([disabled]):focus, | ||
&:not([disabled]):active { | ||
color: var(--primary-main); | ||
} | ||
} | ||
} | ||
|
||
[class^="searchBox"] { | ||
display: none; | ||
[class^="searchBox"] { | ||
display: none; | ||
} | ||
} |
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,34 @@ | ||
.pagination-nav { | ||
.pagination-nav__sublabel, | ||
.pagination-nav__label { | ||
color: var(--text-primary-main); | ||
|
||
@include p-14-semi-bold; | ||
} | ||
|
||
.pagination-nav__link { | ||
border: toRem(1) solid var(--border-primary-dark); | ||
transition-property: background-color, border-color; | ||
|
||
&:hover { | ||
background: var(--background-primary-dark); | ||
border-color: var(--primary-light); | ||
|
||
.pagination-nav__sublabel, | ||
.pagination-nav__label { | ||
color: var(--primary-light); | ||
} | ||
} | ||
|
||
&:not([disabled]):focus, | ||
&:not([disabled]):active { | ||
background: var(--background-primary-dark); | ||
border-color: var(--primary-main); | ||
|
||
.pagination-nav__sublabel, | ||
.pagination-nav__label { | ||
color: var(--primary-main); | ||
} | ||
} | ||
} | ||
} |
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,14 @@ | ||
.table-of-contents { | ||
.table-of-contents__link { | ||
&:not(.table-of-contents__link--active):hover { | ||
color: var(--primary-light); | ||
} | ||
|
||
&:not([disabled]):focus, | ||
&:not([disabled]):active { | ||
color: var(--primary-main); | ||
} | ||
|
||
@include p-14-semi-bold; | ||
} | ||
} |
Oops, something went wrong.