Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Megamenu Mobile Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Nov 12, 2015
1 parent 67a12f5 commit bbea197
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
18 changes: 11 additions & 7 deletions css/megamenu-cornerstone-base.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#megamenu-wrapper {
background: #dbdbdb;
background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#dbdbdb));
background: -moz-linear-gradient(top, #ebebeb, #dbdbdb);
background: -ms-linear-gradient(top, #ebebeb, #dbdbdb);
background: -o-linear-gradient(top, #ebebeb, #dbdbdb);
background: linear-gradient(to bottom, #ebebeb, #dbdbdb);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#dbdbdb');
}

#mega-menu-wrap-primary, #mega-menu-wrap-primary #mega-menu-primary, #mega-menu-wrap-primary #mega-menu-primary ul, #mega-menu-wrap-primary #mega-menu-primary li, #mega-menu-wrap-primary #mega-menu-primary p, #mega-menu-wrap-primary #mega-menu-primary img, #mega-menu-wrap-primary #mega-menu-primary div, #mega-menu-wrap-primary #mega-menu-primary a {
color: #474747;
font-family: inherit;
Expand Down Expand Up @@ -562,13 +572,7 @@
z-index: 1;
cursor: pointer;
text-align: right;
background: #dbdbdb;
background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#dbdbdb));
background: -moz-linear-gradient(top, #ebebeb, #dbdbdb);
background: -ms-linear-gradient(top, #ebebeb, #dbdbdb);
background: -o-linear-gradient(top, #ebebeb, #dbdbdb);
background: linear-gradient(to bottom, #ebebeb, #dbdbdb);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#dbdbdb');

-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
-ms-border-radius: 2px 2px 2px 2px;
Expand Down
12 changes: 11 additions & 1 deletion sass/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,16 @@ $nav-z: 9999;
}
#megamenu-mobile-title {
font-size:1.3em;
padding:.8em;
padding:.8em 90px .8em .8em;
margin:0;
}
.mega-menu-toggle {
position:absolute;
right:0;
top:-3.2em;
}

#megamenu-mobile-title a,
#megamenu-mobile-title a:hover {
color: $site-title-color;
}
11 changes: 10 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5831,9 +5831,18 @@ button.close {

#megamenu-mobile-title {
font-size: 1.3em;
padding: .8em;
padding: .8em 90px .8em .8em;
margin: 0; }

.mega-menu-toggle {
position: absolute;
right: 0;
top: -3.2em; }

#megamenu-mobile-title a,
#megamenu-mobile-title a:hover {
color: black; }

/* - - - - - - - - - - - - - - - - - - -
== Header Image
- - - - - - - - - - - - - - - - - - - */
Expand Down

0 comments on commit bbea197

Please sign in to comment.