You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.5KB

  1. .form-sent {
  2. .form-control:invalid {
  3. border-color: #dc3545;
  4. padding-right: 2.25rem;
  5. background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  6. background-repeat: no-repeat;
  7. background-position: center right calc(.375em + .1875rem);
  8. background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  9. }
  10. select.form-control:invalid + .select2 .select2-selection {
  11. border-color: #dc3545;
  12. }
  13. select.form-control:invalid + .select2 .select2-selection b {
  14. border-color: #dc3545 transparent transparent transparent;
  15. }
  16. .form-check-label input:invalid ~ .checkmark {
  17. border-color: #dc3545;
  18. }
  19. }
  20. .nav-item .nav-link {
  21. position: relative;
  22. .invalid-form {
  23. display: none;
  24. position: absolute;
  25. top: -7px;
  26. right: -6px;
  27. color: #dc3545;
  28. background: #fff;
  29. border-radius: 10px;
  30. font-size: 1.2rem;
  31. }
  32. }
  33. .nav-item.has-invalid .nav-link .invalid-form {
  34. display: inline-block;
  35. z-index: 2;
  36. }
  37. .field-collection {
  38. padding-top: 15px;
  39. legend {
  40. font-weight: bold;
  41. font-size: 18px;
  42. }
  43. .field-collection-item {
  44. background-color: gainsboro;
  45. padding: 10px;
  46. position: relative;
  47. border-radius: 5px;
  48. .field-collection-delete {
  49. position: absolute;
  50. right: 0px;
  51. top: 0px;
  52. }
  53. }
  54. }