-
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.
* finalize navbar * Update Navbar.tsx * lints * cleanup
- Loading branch information
1 parent
86b101b
commit d203cf6
Showing
13 changed files
with
120 additions
and
44 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 +1,4 @@ | ||
@import './astria-colors'; | ||
@import 'astria-colors'; | ||
|
||
.button.is-square { | ||
border-radius: 0; | ||
|
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,5 +1,6 @@ | ||
@import './astria-colors'; | ||
@import 'astria-colors'; | ||
|
||
$button-color: $astria-text-dark; | ||
$button-hover-color: $astria-grey-light; | ||
$label-color: $astria-text-light; | ||
$control-radius: 12px; // buttons |
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,4 +1,4 @@ | ||
@import './dropdown-overrides.scss'; | ||
@import 'dropdown-overrides.scss'; | ||
|
||
.dropdown { | ||
width: 100%; | ||
|
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,4 +1,4 @@ | ||
@import './astria-colors'; | ||
@import 'astria-colors'; | ||
|
||
$dropdown-content-background-color: $astria-black; | ||
|
||
|
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,4 +1,4 @@ | ||
@import './astria-colors'; | ||
@import 'astria-colors'; | ||
|
||
div.control > input { | ||
color: $astria-text-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,53 @@ | ||
@import 'astria-colors'; | ||
|
||
.navbar { | ||
background-color: transparent; | ||
padding: 1rem 2rem; | ||
border-bottom: 1px solid $astria-grey-lighter; | ||
|
||
.navbar-menu { | ||
.navbar-middle { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-grow: 1; | ||
} | ||
&.navbar-menu-dropdown.is-active { | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
.navbar-middle { | ||
display: block; | ||
background: none; | ||
.navbar-item { | ||
&:focus-within, &:hover, &.is-active { | ||
//background: radial-gradient(144.23% 141.13% at 50.15% 0%, #221F1F 0%, #050A0D 100%); | ||
background: none; | ||
box-shadow: none; | ||
border: none; | ||
} | ||
} | ||
} | ||
} | ||
|
||
&.is-active { | ||
background: radial-gradient(144.23% 141.13% at 50.15% 0%, #221F1F 0%, #050A0D 100%); | ||
box-shadow: 1px 1px 1px -1px hsla(0, 0%, 100%, 0.5) inset; | ||
} | ||
} | ||
|
||
&.is-transparent { | ||
.navbar-dropdown { | ||
background: radial-gradient(144.23% 141.13% at 50.15% 0%, #221F1F 0%, #050A0D 100%); | ||
box-shadow: 1px 1px 1px -1px hsla(0, 0%, 100%, 0.5) inset; | ||
|
||
a.navbar-item:focus, a.navbar-item:hover { | ||
color: $astria-text-light; | ||
} | ||
} | ||
} | ||
|
||
.navbar-placeholder-end { | ||
width: 185px; | ||
} | ||
} |