From f4f7a3295179003dece392da6e4086637705a014 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 30 Oct 2013 12:52:24 -0400 Subject: [PATCH] icon inputs, and corner labels now color when field is errored --- src/collections/form.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/collections/form.less b/src/collections/form.less index 834393d68..45b3d1f66 100755 --- a/src/collections/form.less +++ b/src/collections/form.less @@ -246,9 +246,18 @@ /* On Field(s) */ .ui.form .fields.error .field label, -.ui.form .field.error label { +.ui.form .field.error label, +.ui.form .fields.error .field .input, +.ui.form .field.error .input { color: #D95C5C; } + +.ui.form .fields.error .field .corner.label, +.ui.form .field.error .corner.label { + border-color: #D95C5C; + color: #FFFFFF; +} + .ui.form .fields.error .field textarea, .ui.form .fields.error .field input[type="text"], .ui.form .fields.error .field input[type="email"], @@ -276,7 +285,6 @@ -webkit-box-shadow: 0.3em 0em 0em 0em #D95C5C inset; -moz-box-shadow: 0.3em 0em 0em 0em #D95C5C inset; box-shadow: 0.3em 0em 0em 0em #D95C5C inset; - } .ui.form .field.error textarea:focus, .ui.form .field.error input[type="text"]:focus,