Skip to content

Commit

Permalink
Merge pull request #153 from GSA/mmeyer/30-side-nav-styles
Browse files Browse the repository at this point in the history
Mmeyer/30 side nav styles
  • Loading branch information
mark-meyer authored Jun 28, 2023
2 parents ea92759 + b8bb79f commit 1b0ebc3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion public/styles/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/styles/styles.css.map

Large diffs are not rendered by default.

28 changes: 16 additions & 12 deletions sass/_components/side_nav.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
.usa-sidenav {
.usa-sidenav__item {
background-color: color($theme-color-base-lightest);

background-color: color('base-lightest');
&:hover {
background-color: color($theme-color-base);
color: color($theme-color-base-lightest);
background-color: color('base');
color: color('base-lightest');
}
}
a:not(.usa-button):hover {
background-color: color($theme-color-base);
background-color: color('base');

}
a:not(.usa-button):not(.usa-current):hover {
color: color($theme-color-base-lightest);
a:not(.usa-button):not(.usa-current) {
color: color('primary-vivid');
&:hover {
color: color('base-lightest');
}
}
.usa-sidenav__item.current {
background-color: color($theme-color-base);
background-color: color('base');
&:hover {
color: color($theme-color-base-lightest)
color: color('base-lightest')
}
}

.usa-current {
color: color($theme-color-base-lightest);
color: color('base-lightest');
font-weight: normal;
}
}
.sp_site_nav {
h4 {
margin-top:0;
padding-top: 1em;
border-top: 2px solid color($theme-color-base-light);
border-top: 2px solid color('base-light');
padding-left: .5em;
color: color($theme-color-base);
color: color('base');
}
}

Expand Down

0 comments on commit 1b0ebc3

Please sign in to comment.