Browse Source

Fix keyboard selection styles for errored form dropdown

pull/2169/head
jlukic 9 years ago
parent
commit
6e74de41ee
2 changed files with 9 additions and 0 deletions
  1. 8
      src/definitions/collections/form.less
  2. 1
      src/themes/default/collections/form.variables

8
src/definitions/collections/form.less

@ -474,6 +474,14 @@
.ui.form .field.error .ui.dropdown .menu .item:hover {
background-color: @dropdownErrorHoverBackground;
}
/* Selected */
.ui.form .fields.error .field .ui.dropdown .menu .selected.item,
.ui.form .field.error .ui.dropdown .menu .selected.item {
background-color: @dropdownErrorSelectedBackground;
}
/* Active */
.ui.form .fields.error .field .ui.dropdown .menu .active.item,
.ui.form .field.error .ui.dropdown .menu .active.item {

1
src/themes/default/collections/form.variables

@ -109,6 +109,7 @@
/* Dropdown Error */
@dropdownErrorHoverBackground: #FBE7E7;
@dropdownErrorSelectedBackground: @dropdownErrorHoverBackground;
@dropdownErrorActiveBackground: #FDCFCF;
@dropdownErrorLabelBackground: #EACBCB;
@dropdownErrorLabelColor: @errorTextColor;

Loading…
Cancel
Save