diff --git a/scss/boost_union/post.scss b/scss/boost_union/post.scss index b3c433b6f0f..003ad8ce5ee 100644 --- a/scss/boost_union/post.scss +++ b/scss/boost_union/post.scss @@ -1566,8 +1566,21 @@ body.theme_boost-union-footerbuttonnone.jsenabled { } /* The icon tag aligned top at the usermenu link */ .usermenu .dropdown-menu { - .submenu .items a.dropdown-item { - align-items: baseline; + .submenu { + /* Remove the padding on the User submenu header */ + .header { + padding: 0; + /* Centered align the User submenu header, added padding and removed the underline for the link */ + .carousel-navigation-link { + text-decoration: none; + padding: .1rem .75rem; + display: flex; + align-items: center; + } + } + .items a.dropdown-item { + align-items: baseline; + } } /* Usermenu dropdown item position relative for it's submenu */ .dropdown-item { @@ -1579,7 +1592,7 @@ body.theme_boost-union-footerbuttonnone.jsenabled { } } /* Dropdown more menu back button arrow margin */ - .boost-union-moremenu.dropdown-menu button.carousel-navigation-link > * { + .boost-union-moremenu.dropdown-menu .carousel-navigation-link > * { pointer-events: none; img { margin: 0; @@ -1590,6 +1603,7 @@ body.theme_boost-union-footerbuttonnone.jsenabled { .more-nav li.nav-item { /* Menu link icon aligned center */ a { + display: flex; align-items: center; label { margin-bottom: 0; @@ -2079,13 +2093,12 @@ body.theme_boost-union-footerbuttonnone.jsenabled { /* Added the arrow icon styles for the dropdown sub menu header */ .submenu .header { font-size: .975rem; - padding: 0.25rem 0.75rem; display: flex; align-items: center; } } /* Removed the margin for the carousel back button arrow */ - &.fixed-bottom .boost-union-moremenu.dropdown-menu button.carousel-navigation-link > * { + &.fixed-bottom .boost-union-moremenu.dropdown-menu .carousel-navigation-link > * { pointer-events: none; img { margin: 0; @@ -2109,13 +2122,22 @@ body.theme_boost-union-footerbuttonnone.jsenabled { .moremenu-carousel-item-header { display: none; } - button.carousel-navigation-link > * { + .carousel-navigation-link > * { pointer-events: none; /* Drop down more menu carousel item header image */ img { margin: 0; } } + /* Make the carousel navigation link to full width and cursor as pointor */ + .carousel-navigation-link { + width: 100%; + cursor: pointer; + /* Removed the underline on hovering the link */ + &:hover { + text-decoration: none; + } + } } /* Dropdown carousel more menu*/ .dropdownmoremenu { diff --git a/templates/core/user_menu.mustache b/templates/core/user_menu.mustache index 779fad3787f..d6525157c33 100644 --- a/templates/core/user_menu.mustache +++ b/templates/core/user_menu.mustache @@ -60,6 +60,7 @@ * Include submenus custom return id, helps to get back to the submenus parent from third level child. * Add icon support to items. * Add user full name at the top of the user menu. + * Make submenu headers fully clickable. }}