Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

31 Zeilen
2.2KB

  1. /*CUSTOM Checkbox
  2. /* Customize the label (the container) */
  3. .form-check-label {display: block; position: relative; padding-left: 26px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
  4. /* Hide the browser's default checkbox */
  5. .form-check-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;}
  6. /* Create a custom checkbox */
  7. .form-check{padding-left: 0px;}
  8. .form-sent .form-check-label input:invalid ~ .checkmark { border-color: #dc3545;}
  9. .form-check-label input:disabled ~ .checkmark {display: none}
  10. .form-check-label input ~ .checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #eee;border: 1px solid var(--primary);}
  11. .form-check-label.big input ~ .checkmark { height: 21px; width: 21px; }
  12. .form-check-label input[type="checkbox"] ~ .checkmark {top: 2px;}
  13. .form-check-label input[type="radio"] ~ .checkmark { top:3px; border-radius: 50%;}
  14. .form-check-label:hover input ~ .checkmark { background-color: #ccc;}
  15. /* When the checkbox is checked, add a blue background */
  16. .form-check-label input:checked ~ .checkmark {background-color: var(--primary);}
  17. /* Create the checkmark/indicator (hidden when not checked) */
  18. .form-check-label .checkmark:after { content: ""; position: absolute; display: none;}
  19. /* Show the checkmark when checked */
  20. .form-check-label input:checked ~ .checkmark:after {display: block;}
  21. /* Style the checkmark/indicator */
  22. .form-check-label .checkmark:after {left: 7px; top: 3px; width: 6px; height: 11px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
  23. .form-check-label input[type="checkbox"] ~ .checkmark:after {left: 6px; top: 2px; width: 6px; height: 10px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
  24. .form-check-label input[type="radio"] ~ .checkmark:after {top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: white;}
  25. .form-check-label.big input[type="checkbox"] ~ .checkmark:after {left: 7px; top: 3px; width: 6px; height: 11px;}
  26. /* Create a custom radio button */