diff --git a/less/plugins/adapt-contrib-matching/dropdown.less b/less/plugins/adapt-contrib-matching/dropdown.less index bb68fd6d..066c4d7c 100644 --- a/less/plugins/adapt-contrib-matching/dropdown.less +++ b/less/plugins/adapt-contrib-matching/dropdown.less @@ -54,15 +54,14 @@ border-bottom: none; } - .no-touch &:not(:focus-visible):hover, - .dropdown__btn.is-selected + .dropdown__list &[aria-selected="true"]:hover { + .no-touch &:not(:focus-visible):not([aria-selected="true"]):hover { background-color: @item-color-hover; color: @item-color-inverted-hover; .transition(background-color @duration ease-in, color @duration ease-in;); } &:focus-visible, - .dropdown__btn.is-selected + .dropdown__list &[aria-selected="true"] { + &[aria-selected="true"] { // This code can be used to style a non-native dropdown as closely // as possible to the default browser settings // background-color: Highlight;