border-top-right-radius: 10px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
+ .top-bar-section ul li:last-child:not(.has-form) {
+ top: -65px; }
+ .top-bar-section ul li:last-child:not(.has-form) a:not(.button) {
+ background-image: url(../assets/central-swing-nav-graphic.png);
+ background-position: top left;
+ background-repeat: no-repeat;
+ color: transparent;
+ width: 192px;
+ min-height: 107px; }
+ .top-bar-section ul li:last-child:not(.has-form) a:not(.button):hover {
+ width: 192px;
+ background: #1479b0;
+ color: transparent;
+ background-image: url(../assets/central-swing-nav-graphic.png);
+ background-position: top left;
+ background-repeat: no-repeat; }
+ .top-bar-section ul li:last-child:not(.has-form) .dropdown li {
+ top: auto; }
+ .top-bar-section ul li:last-child:not(.has-form) .dropdown li a {
+ min-height: 0;
+ width: 100%; }
.top-bar-section ul li .dropdown {
z-index: 1;
position: relative;
line-height: 1.2;
padding: 0;
text-transform: none;
- text-align: left; }
+ text-align: left;
+ min-height: 0;
+ width: 100%; }
.top-bar-section ul li .dropdown li.active:not(.has-form) a:not(.button) {
color: #690433;
padding: 0;
text-transform: none; }
.top-bar-section ul li .dropdown li.active:not(.has-form) a:not(.button):hover {
background: transparent; }
+ .top-bar-section ul li .dropdown li:last-child {
+ top: auto;
+ height: auto; }
.top-bar-section ul li.drop-left > .dropdown {
right: 0 !important;
left: auto !important;
<div id="logo" class="medium-8 large-4 columns show-for-medium-up text-center">
<a href="<?php bloginfo('url'); ?>"><img class="text-center" alt="Mount Pleasant logo" src="<?php bloginfo('template_url'); ?>/assets/mt-pleasant-pure-mi-logo.png"></a>
</div>
- <div class="search-top medium-3 columns show-for-medium-up">
+ <div class="search-top medium-4 columns show-for-medium-up">
<?php get_template_part('parts/search');?>
<ul id="sec-nav" class="right">
<li><a href="<?php bloginfo('url'); ?>">Home</a></li>
</div>
</div>
<?php get_template_part('parts/top-bar');?>
- <div class="row collapse golf-container">
- <a href="<?php echo get_permalink(3041); ?>"><img id="golf-logo" alt="Michigan's Central Swing" src="<?php bloginfo('template_url'); ?>/assets/central-swing-logo-small.jpg"></a>
- </div>
<a id="sm-logo" class="show-for-small-down text-center" href="<?php bloginfo('url'); ?>"><img alt="Mount Pleasant logo" src="<?php bloginfo('template_url'); ?>/assets/mt-pleasant-pure-mi-logo.png"></a>
</header>
<?php get_template_part('parts/off-canvas-menu');?>
// text-shadow: -1 0 1px $d-blue;
// text-shadow: 0 -1 1px $d-blue;
}
- }
- &:last-child {
-
}
&.menu-item-has-children.has-dropdown {
a {
}
}
}
+ &:last-child {
+ &:not(.has-form) {
+ top: -65px;
+ a:not(.button) {
+ background-image: url(../assets/central-swing-nav-graphic.png);
+ background-position: top left;
+ background-repeat: no-repeat;
+ color: transparent;
+ width: 192px;
+ min-height: 107px;
+ &:hover {
+ width: 192px;
+ background: $blue;
+ color: transparent;
+ background-image: url(../assets/central-swing-nav-graphic.png);
+ background-position: top left;
+ background-repeat: no-repeat;
+ }
+ }
+ .dropdown {
+ li {
+ top: auto;
+ a {
+ min-height: 0;
+ width: 100%;
+ }
+ }
+ }
+ }
+ }
.dropdown {
z-index: 1;
position: relative;
padding: 0;
text-transform: none;
text-align: left;
+ min-height: 0;
+ width: 100%;
}
}
&.active:not(.has-form) a:not(.button) {
background: transparent;
}
}
+ &:last-child {
+ top: auto;
+ height: auto;
+// a {
+// color: $black;
+// &:hover {
+// color: $blue;
+// }
+// }
+ }
}
}
&.drop-left > .dropdown {