form-validation.css 902 B

12345678910111213141516171819202122232425
  1. form span.error {
  2. width: 100%;
  3. font-size: 0.857rem; }
  4. form .error:not(input) {
  5. color: #ea5455; }
  6. form input.error,
  7. form input.error:focus {
  8. border-color: #ea5455 !important; }
  9. form textarea.error {
  10. border-color: #ea5455 !important; }
  11. form .select2.error + .select2-container--classic .select2-selection--single,
  12. form .select2.error + .select2-container--default .select2-selection--single,
  13. form .select2.error + .select2-container--classic .select2-selection--multiple,
  14. form .select2.error + .select2-container--default .select2-selection--multiple {
  15. border-color: #ea5455 !important; }
  16. .was-validated .form-select:invalid:not([multiple]):not([size]),
  17. .was-validated .form-select:invalid:not([multiple])[size='1'],
  18. .form-select.is-invalid:not([multiple]):not([size]),
  19. .form-select.is-invalid:not([multiple])[size='1'] {
  20. background-position: right 1rem center, center right 2.5rem; }