-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Navigation: Updated styling and some reorganization (tbd.)
- Loading branch information
Carlo Bernardini
committed
Feb 19, 2019
1 parent
e4f91d6
commit 063f9ff
Showing
12 changed files
with
58 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
<style> | ||
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600|Titillium+Web:400,600'); | ||
|
||
body { | ||
font-family: var(--font-family-primary); | ||
font-size: var(--font-size-normal); | ||
} | ||
</style> |
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.
File renamed without changes.
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,36 @@ | ||
@import '../../../themes/oneui/oneui.scss'; | ||
|
||
.NavItem { | ||
color: var(--link-color-normal); | ||
display: flex; | ||
align-items: center; | ||
height: 100%; | ||
font: { | ||
size: var(--font-size-large); | ||
weight: var(--font-weight-bold); | ||
} | ||
box-sizing: border-box; | ||
padding: 0 var(--spacing-5x); | ||
transition: all var(--transition-duration); | ||
text-decoration: none; | ||
|
||
&:hover { | ||
color: var(--link-color-hover); | ||
box-shadow: inset 0 -3px 0 var(--color-neutral-25); | ||
} | ||
|
||
&__active, | ||
&--active { | ||
color: var(--color-foreground); | ||
box-shadow: inset 0 -3px 0 var(--color-primary); | ||
|
||
&:hover { | ||
color: var(--color-foreground); | ||
box-shadow: inset 0 -3px 0 var(--color-primary-40); | ||
} | ||
} | ||
|
||
&--pullRight { | ||
margin-left: auto; | ||
} | ||
} |
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 @@ | ||
export { default } from './NavItem'; |
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 @@ | ||
export { default } from './NavLinkItem'; |
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,3 +1 @@ | ||
export { default as NavBar } from './NavBar'; | ||
export { default as NavItem } from './NavItem'; | ||
export { default as NavLinkItem } from './NavLinkItem'; | ||
export { default } from './NavBar'; |
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