From: Ian Weller Date: Wed, 13 Jan 2016 13:53:14 +0000 (-0500) Subject: edited about dropdown in scss X-Git-Tag: v1.0.0^2~10 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bda75bb97b7bbf56e9c5b4d9732660a96753651c;p=WP-Themes%2Fstaffords.git edited about dropdown in scss --- diff --git a/css/app.css b/css/app.css index f0e207b..596401b 100644 --- a/css/app.css +++ b/css/app.css @@ -7013,8 +7013,12 @@ header .searchform input[type="submit"]:hover { text-transform: none; font-size: 1rem; line-height: 1; } - #about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:nth-child(3) a { - border: none; } + @media screen and (min-width: 1025px) { + #about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:nth-child(3) a { + border: none; } } + @media screen and (max-width: 1024px) { + #about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:first-child a { + border: none; } } .top-bar-section ul li .dropdown li.active:not(.has-form) a:not(.button) { color: #a61a1d !important; diff --git a/scss/_topbar.scss b/scss/_topbar.scss index b4c4cdc..fed80ef 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -641,9 +641,18 @@ // font-weight: bold; } } - &:nth-child(3) { - a { - border: none; + @media screen and (min-width: 1025px) { + &:nth-child(3) { + a { + border: none; + } + } + } + @media screen and (max-width: 1024px) { + &:first-child { + a { + border: none; + } } } }