From: Anthony Talarico Date: Thu, 3 Dec 2015 15:24:03 +0000 (-0500) Subject: adjusting box shadow on hover for dropdown elements X-Git-Tag: v1.0.0^2~154 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=eed220b683b1ae38bb8d090da42dd49eaa32e749;p=WP-Themes%2Fstaffords.git adjusting box shadow on hover for dropdown elements --- diff --git a/css/app.css b/css/app.css index 9fe6d93..bc0a83f 100644 --- a/css/app.css +++ b/css/app.css @@ -6952,13 +6952,6 @@ header .searchform input[type="submit"]:hover { #linkHome, #linkHome a { margin-right: 5px; } -@supports (overflow: -webkit-marquee) and (justify-content: inherit) { - .safari_only #resform { - right: -1px !important; - bottom: -296px !important; } - .safari_only #res-tab-open:after { - left: -3px !important; } } - .breadcrumbs { margin-top: 10px; } diff --git a/js/app.js b/js/app.js index c80dab2..005c730 100644 --- a/js/app.js +++ b/js/app.js @@ -208,7 +208,8 @@ $(document).ready(function () { return $(this).text().replace(/(<([^>]+)>)/ig, ""); }); - - - + $("#properties .top-bar .top-bar-section ul#menu-properties ul.dropdown li a").mouseover(function () { + $("#properties .top-bar .top-bar-section ul#menu-properties li a").css("box-shadow", "none"); + }); + }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 84a8d74..3ba8f07 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -199,7 +199,8 @@ $(document).ready(function () { return $(this).text().replace(/(<([^>]+)>)/ig, ""); }); - - - + $("#properties .top-bar .top-bar-section ul#menu-properties ul.dropdown li a").mouseover(function () { + $("#properties .top-bar .top-bar-section ul#menu-properties li a").css("box-shadow", "none"); + }); + }); diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 493e36c..79e56d1 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -518,7 +518,8 @@ line-height: 1.4; letter-spacing: normal; &:hover { - font-weight: bold; + font-weight: bold; + } } } @@ -655,19 +656,3 @@ #linkHome, #linkHome a{ margin-right: 5px; } -@supports (overflow:-webkit-marquee) and (justify-content:inherit) -{ - - .safari_only { - #resform{ - right: -1px !important; - bottom: -296px !important; - } - #res-tab-open{ - &:after{ - left: -3px !important; - } - } - } - -}