From 1b75c950bd308b3f7a2acd0dfa9f8a3e62dabc09 Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Mon, 13 Oct 2014 17:10:22 -0700 Subject: [PATCH] Fixing issues with header dropdown menu's submenu --- sass/_project-sass/_project-Header.scss | 20 +++++++++++++++++++- views/_header.erb | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/sass/_project-sass/_project-Header.scss b/sass/_project-sass/_project-Header.scss index a45bb068..36f639fc 100644 --- a/sass/_project-sass/_project-Header.scss +++ b/sass/_project-sass/_project-Header.scss @@ -274,7 +274,7 @@ li { width:100%; - a:hover { + a:hover, a:focus { background:#3C6670; } } @@ -287,6 +287,24 @@ padding: 0px 5px; } } + .dropdown-submenu { + float: left; + + &:hover > a, &:focus > a { + background:#3C6670; + } + + .dropdown-menu { + margin-left: -1px; + top: 0; + margin-top: -1px; + margin-right: 3px; + } + + >a:after { + border-left-color: #fff; + } + } } .constant-Nav{ float:left; diff --git a/views/_header.erb b/views/_header.erb index 758cbe9c..8828cfab 100644 --- a/views/_header.erb +++ b/views/_header.erb @@ -45,7 +45,7 @@
  • Settings
  • <% if current_site.other_sites_dataset.count > 0 %> -