Skip to content

Commit

Permalink
Limiting dropdown nav to 2, fixing active link on dropdowns. Closes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
adamglenn committed Apr 26, 2019
1 parent 46332c2 commit bc2c389
Show file tree
Hide file tree
Showing 131 changed files with 94 additions and 2,091 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ custom_site_attributes:
- masthead_link_2_title
- masthead_logo_url
- masthead_title
- nav_depth
- nav_dropdowns
- syndication_url
- show_apply_links
- show_instructions
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wvu-design-system",
"version": "0.0.1",
"version": "0.0.3",
"description": "WVU Design System",
"main": "gulpfile.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions scss/custom/_wvu-nav-dropdowns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
.nav-collapse ul {
margin: 0;
padding: 0;
width: 100%;
display: block;
list-style: none;
@media (max-width: $wvu-bp-lg) {
width: 100%;
}
}

.nav-collapse li {
Expand Down Expand Up @@ -113,7 +115,7 @@
float: left;
ul {
list-style: none;
width: 100%;
// width: 100%;
float: left;
}
li {
Expand Down Expand Up @@ -263,12 +265,10 @@
.dropdown {
ul {
a {
background: #282e34;
padding-left: 1.5em;
}
ul {
a {
background: #2d353e;
padding-left: 2.5em;
}
border: 0;
Expand Down
21 changes: 11 additions & 10 deletions scss/utilities/_wvu-active-nav-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
position: relative;
.active {
background-color: transparent !important;
&:before {
border-top: 3px solid $wvu-gold;
content: '';
left: 0;
position: absolute;
width: 100%;
}
}
> li {
.active {
background-color: transparent !important;
> ul {
> li {
> .active {
&:before {
border-top: 3px solid $wvu-gold;
content: '';
left: 0;
position: absolute;
width: 100%;
}
}
}
}
}
6 changes: 0 additions & 6 deletions scss/vendor/animate.scss-master/.gitignore

This file was deleted.

82 changes: 0 additions & 82 deletions scss/vendor/animate.scss-master/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions scss/vendor/animate.scss-master/_attention-seekers/_bounce.scss

This file was deleted.

14 changes: 0 additions & 14 deletions scss/vendor/animate.scss-master/_attention-seekers/_flash.scss

This file was deleted.

23 changes: 0 additions & 23 deletions scss/vendor/animate.scss-master/_attention-seekers/_jello.scss

This file was deleted.

17 changes: 0 additions & 17 deletions scss/vendor/animate.scss-master/_attention-seekers/_pulse.scss

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions scss/vendor/animate.scss-master/_attention-seekers/_shake.scss

This file was deleted.

19 changes: 0 additions & 19 deletions scss/vendor/animate.scss-master/_attention-seekers/_swing.scss

This file was deleted.

17 changes: 0 additions & 17 deletions scss/vendor/animate.scss-master/_attention-seekers/_tada.scss

This file was deleted.

21 changes: 0 additions & 21 deletions scss/vendor/animate.scss-master/_attention-seekers/_wobble.scss

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions scss/vendor/animate.scss-master/_bouncing-entrances/_bounceIn.scss

This file was deleted.

Loading

0 comments on commit bc2c389

Please sign in to comment.