Browse Source

Fix dropdown keyboard selection styles inside menu

pull/2300/head
jlukic 9 years ago
parent
commit
8680cade64
2 changed files with 10 additions and 2 deletions
  1. 6
      src/definitions/collections/menu.less
  2. 6
      src/themes/default/collections/menu.variables

6
src/definitions/collections/menu.less

@ -255,6 +255,10 @@
background: @dropdownHoveredItemBackground !important;
color: @dropdownHoveredItemColor !important;
}
.ui.menu .ui.dropdown .menu > .selected.item {
background: @dropdownSelectedItemBackground !important;
color: @dropdownSelectedItemColor !important;
}
.ui.menu .ui.dropdown .menu > .active.item {
background: @dropdownActiveItemBackground !important;
font-weight: @dropdownActiveItemFontWeight !important;
@ -1317,7 +1321,7 @@ Floated Menu / Item
/*--------------
Inverted Colors
Inverted
---------------*/
/*--- Inverted Colors ---*/

6
src/themes/default/collections/menu.variables

@ -183,8 +183,12 @@
@activeHoverItemBackground: @transparentBlack;
@activeHoverItemColor: @selectedTextColor;
/* Selected Dropdown */
@dropdownSelectedItemBackground: @transparentBlack;
@dropdownSelectedItemColor: @selectedTextColor;
/* Active Dropdown */
@dropdownActiveItemBackground: @transparentBlack;
@dropdownActiveItemBackground: @subtleTransparentBlack;
@dropdownActiveItemColor: @selectedTextColor;
@dropdownActiveItemFontWeight: bold;

Loading…
Cancel
Save