styling of nav and toolbar (#237)
* removing avenir, replacing with montserrat * sidebar tweaks * sidebar positioning * resolving merge conflict * working on sidebar * removing avenir font, using montserrat instead due to licensing issues * removing old import statement for typeography scss file * design formatting for sidebar closes #234 * styling of nav and toolbar
This commit is contained in:
parent
1186bebd94
commit
844c918652
3 changed files with 25 additions and 7 deletions
|
@ -109,9 +109,9 @@ function Nav(props) {
|
|||
{(() => {
|
||||
if (!props.user.authenticated) {
|
||||
return (
|
||||
<li className="nav__item">
|
||||
<li className="nav__item login__items">
|
||||
<p>
|
||||
<Link to="/login">Login</Link> or <Link to="/signup">Sign Up</Link>
|
||||
<Link to="/login">Login</Link> <span className="spacer">or</span> <Link to="/signup">Sign Up</Link>
|
||||
</p>
|
||||
</li>
|
||||
);
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
.nav {
|
||||
width: 100%;
|
||||
padding: #{10 / $base-font-size}rem #{70 / $base-font-size}rem;
|
||||
padding-left: #{33 / $base-font-size}rem;
|
||||
padding: #{10 / $base-font-size}rem #{32 / $base-font-size}rem 0 #{32 / $base-font-size}rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
@ -15,15 +14,24 @@
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
padding: #{5 / $base-font-size}rem #{10 / $base-font-size}rem;
|
||||
padding: #{3 / $base-font-size}rem 0;
|
||||
}
|
||||
|
||||
.nav__item {
|
||||
position: relative;
|
||||
min-width: #{72 / $base-font-size}rem;
|
||||
padding: 0 #{24 / $base-font-size}rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav__item:first-child {
|
||||
padding-left: #{15 / $base-font-size}rem;
|
||||
}
|
||||
|
||||
.nav__item:last-child {
|
||||
padding-right: #{15 / $base-font-size}rem;
|
||||
}
|
||||
|
||||
|
||||
.nav__dropdown {
|
||||
@include themify() {
|
||||
background-color: map-get($theme-map, 'background-color');
|
||||
|
@ -43,3 +51,13 @@
|
|||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.login__items {
|
||||
@include themify() {
|
||||
color: map-get($theme-map, 'inactive-text-color');
|
||||
}
|
||||
}
|
||||
|
||||
.login__items span.spacer {
|
||||
padding: 0 #{15 / $base-font-size}rem;
|
||||
}
|
|
@ -60,7 +60,7 @@
|
|||
}
|
||||
|
||||
.toolbar {
|
||||
padding: #{15 / $base-font-size}rem #{34 / $base-font-size}rem;
|
||||
padding: #{20 / $base-font-size}rem #{34 / $base-font-size}rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue