Skip to content

Commit

Permalink
change(megamenu): add border for active element of menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Jul 26, 2022
1 parent 9ed5cbd commit 5e7dfa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion theme/themes/eea/extras/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@
}
}
}

#mega-menu .ui.list .item {
display: flex;
font-size: @megaMenuListItemFontSize;
Expand Down Expand Up @@ -605,6 +604,10 @@
padding-top: @megaMenuContentPaddingTop;
}

.active > span {
border-bottom: @megaMenuListItemActiveBorder;
}

/*Mega Menu Accordion - Tablet & Mobile */
#mega-menu .ui.accordion {
.title {
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/header.variables
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
@megaMenuListItemFontSize: @font-size-1;
@megaMenuListItemFontWeight: @font-weight-4;
@megaMenuListItemPadding: @rem-space-2 0;
@megaMenuListItemActiveBorder: 2px solid #FFF;

/* At a glance */
@megaMenuGlanceBackgroundColor: @secondaryColor;
Expand Down

0 comments on commit 5e7dfa5

Please sign in to comment.