Some topnav styles no longer dependent on has-cdhilren
authorLaury GvR <laury@gaslightmedia.com>
Mon, 3 Nov 2014 22:02:47 +0000 (17:02 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 3 Nov 2014 22:02:47 +0000 (17:02 -0500)
css/app.css
scss/site/_structure.scss

index 0fa8acd..d0b320b 100644 (file)
@@ -5902,7 +5902,8 @@ article h2 {
   background: transparent; }
 
 .top-bar-section > li, .top-bar-section > ul > li, .top-bar-section > ul > li > a, .top-bar-section li:not(.has-form) a:not(.button) {
-  background: transparent; }
+  background: transparent;
+  position: relative; }
 
 @media only screen and (min-width:40.063em) {
   footer.row {
@@ -6187,7 +6188,7 @@ article h2 {
 .slideshowlink {
   display: none; }
 
-.top-bar-menu > li.has-dropdown > a {
+.top-bar-menu > li.menu-item > a {
   padding-bottom: 10px; }
 
 #menu-menu-1 .glmServicesNav > a {
@@ -6196,10 +6197,10 @@ article h2 {
 
 
 
-.top-bar-menu > li.has-dropdown > ul li:last-child:hover > a {
+.top-bar-menu > li.menu-item > ul li:last-child:hover > a {
   border-radius: 0; }
 
-.top-bar-menu > li.has-dropdown > ul li ul li:last-child {
+.top-bar-menu > li.menu-item > ul li ul li:last-child {
   background-color: transparent; }
 
 .ngg-gallery-thumbnail img:hover {
index c0656a1..1814b65 100644 (file)
@@ -371,6 +371,7 @@ article h2 {
 .top-bar-section > ul > li > a,
 .top-bar-section li:not(.has-form) a:not(.button) {
     background:transparent;
+    position: relative;
 }
 // Add some whitespace above the footer for medium-up screens
 @media #{$medium-up} {
@@ -672,21 +673,20 @@ article h2 {
     .slideshowlink {
         display:none;
     }
-    .top-bar-menu > li.has-dropdown > a {
+    .top-bar-menu > li.menu-item  > a {
         padding-bottom: 10px;
     }
     #menu-menu-1 .glmServicesNav > a {
         padding-bottom: 10px;
     }
-    .top-bar-menu > li.has-dropdown > ul li ul li:only-child a {
+    .top-bar-menu > li.menu-item  > ul li ul li:only-child a {
 /*        border-top-right-radius: 15px;*/
 /*        border-bottom-right-radius: 15px;*/
     }
-    
-    .top-bar-menu > li.has-dropdown > ul li ul li:first-child a {
+    .top-bar-menu > li.menu-item  > ul li ul li:first-child a {
 /*        border-top-right-radius: 15px;*/
     }
-    .top-bar-menu > li.has-dropdown > ul li:last-child {
+    .top-bar-menu > li.menu-item  > ul li:last-child {
        
         a {
 /*            border-bottom-left-radius: 15px;*/
@@ -694,11 +694,11 @@ article h2 {
 /*        border-bottom-right-radius: 15px;*/
         }
     }
-    .top-bar-menu > li.has-dropdown > ul li:last-child:hover > a {
+    .top-bar-menu > li.menu-item  > ul li:last-child:hover > a {
         border-radius: 0;
     }
     
-    .top-bar-menu > li.has-dropdown > ul li ul li:last-child {
+    .top-bar-menu > li.menu-item  > ul li ul li:last-child {
         background-color: transparent;
         a {
 /*            border-bottom-right-radius: 15px;*/