From 7c1ed052b2d527d312fa5c6f07797489f7c5131f Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Mon, 3 Nov 2014 17:02:47 -0500 Subject: [PATCH] Some topnav styles no longer dependent on has-cdhilren --- css/app.css | 9 +++++---- scss/site/_structure.scss | 14 +++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/css/app.css b/css/app.css index 0fa8acd..d0b320b 100644 --- a/css/app.css +++ b/css/app.css @@ -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 { diff --git a/scss/site/_structure.scss b/scss/site/_structure.scss index c0656a1..1814b65 100644 --- a/scss/site/_structure.scss +++ b/scss/site/_structure.scss @@ -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;*/ -- 2.17.1