CRM-14798 - civicrm.css - Apply ng-invalid styling for <input>s but not <form>s
authorTim Otten <totten@civicrm.org>
Tue, 1 Jul 2014 04:46:06 +0000 (21:46 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 1 Jul 2014 04:46:06 +0000 (21:46 -0700)
css/civicrm.css

index d56789b8ce910b37577de704bb042d5bdf92674d..54d1fb1088e14743584ed60981ffc289fc7079f4 100644 (file)
@@ -4715,9 +4715,16 @@ span.crm-status-icon {
   text-decoration: line-through;
 }
 
-.crm-container .ng-invalid.ng-dirty {
+.crm-container input.ng-invalid.ng-dirty,
+.crm-container select.ng-invalid.ng-dirty,
+.crm-container textarea.ng-invalid.ng-dirty {
     border: 1px solid red;
 }
-.crm-container .ng-valid, .crm-container .ng-pristine {
+.crm-container input.ng-valid,
+.crm-container input.ng-pristine,
+.crm-container textarea.ng-valid,
+.crm-container textarea.ng-pristine,
+.crm-container select.ng-valid,
+.crm-container select.ng-pristine{
     border: 1px solid #666;
 }