From 8680cade64f0852d9aee2a66b5da2325a53a3f1b Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 19 May 2015 16:08:03 -0400 Subject: [PATCH] Fix dropdown keyboard selection styles inside menu --- src/definitions/collections/menu.less | 6 +++++- src/themes/default/collections/menu.variables | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index 607cf0012..f72c7b260 100755 --- a/src/definitions/collections/menu.less +++ b/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 ---*/ diff --git a/src/themes/default/collections/menu.variables b/src/themes/default/collections/menu.variables index 2a3d976a0..d06269054 100644 --- a/src/themes/default/collections/menu.variables +++ b/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;