Browse Source

Add error formating for basic selects

pull/1791/head
Davi Alexandre 9 years ago
parent
commit
988375f7d3
1 changed files with 7 additions and 0 deletions
  1. 7
      src/definitions/collections/form.less

7
src/definitions/collections/form.less

@ -357,6 +357,7 @@
} }
.ui.form .fields.error .field textarea, .ui.form .fields.error .field textarea,
.ui.form .fields.error .field select,
.ui.form .fields.error .field input:not([type]), .ui.form .fields.error .field input:not([type]),
.ui.form .fields.error .field input[type="text"], .ui.form .fields.error .field input[type="text"],
.ui.form .fields.error .field input[type="email"], .ui.form .fields.error .field input[type="email"],
@ -367,6 +368,7 @@
.ui.form .fields.error .field input[type="url"], .ui.form .fields.error .field input[type="url"],
.ui.form .fields.error .field input[type="tel"], .ui.form .fields.error .field input[type="tel"],
.ui.form .field.error textarea, .ui.form .field.error textarea,
.ui.form .field.error select,
.ui.form .field.error input:not([type]), .ui.form .field.error input:not([type]),
.ui.form .field.error input[type="text"], .ui.form .field.error input[type="text"],
.ui.form .field.error input[type="email"], .ui.form .field.error input[type="email"],
@ -383,6 +385,7 @@
box-shadow: @inputErrorBoxShadow; box-shadow: @inputErrorBoxShadow;
} }
.ui.form .field.error textarea:focus, .ui.form .field.error textarea:focus,
.ui.form .field.error select:focus,
.ui.form .field.error input:not([type]):focus, .ui.form .field.error input:not([type]):focus,
.ui.form .field.error input[type="text"]:focus, .ui.form .field.error input[type="text"]:focus,
.ui.form .field.error input[type="email"]:focus, .ui.form .field.error input[type="email"]:focus,
@ -400,6 +403,10 @@
box-shadow: @inputErrorFocusBoxShadow; box-shadow: @inputErrorFocusBoxShadow;
} }
.ui.form .field.error select:focus {
-webkit-appearance: menulist-button;
}
/*------------------ /*------------------
Dropdown Error Dropdown Error
--------------------*/ --------------------*/

Loading…
Cancel
Save