Skip to content

Commit

Permalink
Some EMBL selector content is large screen only
Browse files Browse the repository at this point in the history
for #114 and #63
  • Loading branch information
khawkins98 committed Oct 2, 2017
1 parent fdc6635 commit e7b074e
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions css/ebi-global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -579,12 +579,21 @@ a:active {
background: no-repeat 4px 50% url("../images/logos/EMBL-EBI/EMBL_EBI_Logo_white.svg");
padding-left: 108px;
background-size: 100px;
padding-right: 17px;
height: 37px;
line-height: 12px;
}
.button.hover,
.button:hover { background-color: #888; }
}

// begin to hide bits of dropdown toggle as screen shrinks
@media screen and (max-width: 53em) {
.embl-selector .button { width: 0px; padding-right:0; overflow: hidden;}
.embl-selector .button:after { display: none; }
.masthead-black-bar nav ul.menu li a { padding-right: .5rem; padding-left: .5rem;}
}
@media screen and (min-width: 53.01em) {
// create triangle on larger screens
.button[aria-expanded="false"]::after {
content: '';
display: block;
Expand All @@ -597,12 +606,15 @@ a:active {
top: 18px;
margin-left: 55px;
}
}
// begin to hide bits of dropdown toggle as screen shrinks
@media screen and (max-width: 53em) {
.embl-selector .button { width: 0px; padding-right:0; overflow: hidden;}
.embl-selector .button:after { display: none; }
.masthead-black-bar nav ul.menu li a { padding-right: .5rem; padding-left: .5rem;}
.embl-selector {
.button,
.button.hover,
.button:focus,
.button:hover {
padding-right: 17px;
}
}

}


Expand Down

0 comments on commit e7b074e

Please sign in to comment.