Skip to content

Commit

Permalink
Show drop downs only on hover when JS is disabled (#1285)
Browse files Browse the repository at this point in the history
Fixed #52
  • Loading branch information
ugultopu authored and berkerpeksag committed Jul 6, 2018
1 parent 1644955 commit 481f4b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/sass/style.css
Expand Up @@ -1115,6 +1115,8 @@ h2.not-column {
line-height: 1px;
border-top: 1px solid #070a0c;
border-bottom: 1px solid #2d3e4d; }
.options-bar .subnav {
display: none; }

#site-map-link,
.jump-to-menu,
Expand Down Expand Up @@ -1560,6 +1562,10 @@ input#s,
.account-signin .subnav:before {
top: -1.6em;
border-color: transparent transparent #666666 transparent; }
.adjust-font-size :hover .subnav,
.winkwink-nudgenudge :hover .subnav,
.account-signin :hover .subnav {
display: block; }

.account-signin {
display: none; }
Expand Down
8 changes: 8 additions & 0 deletions static/sass/style.scss
Expand Up @@ -446,6 +446,10 @@ $optionsbar-text: #bbb;
border-top: 1px solid darken( $darkerblue, 12% );
border-bottom: 1px solid lighten( $darkerblue, 8% );
}

.subnav {
display: none;
}
}

#site-map-link,
Expand Down Expand Up @@ -583,6 +587,10 @@ input#s,
}
}

:hover .subnav {
display: block;
}

/*.close-subnav {
@include pe-border( $color-bottom: $grey-light );
Expand Down

0 comments on commit 481f4b8

Please sign in to comment.