No Description
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.

_custom-radio.scss 893B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // Custom radio
  3. //
  4. .custom-radio {
  5. .custom-control-input ~ .custom-control-label {
  6. cursor: pointer;
  7. font-size: $font-size-sm;
  8. }
  9. .custom-control-input {
  10. &:checked {
  11. ~ .custom-control-label {
  12. &::before {
  13. border-color: $custom-control-indicator-checked-border-color;
  14. }
  15. &::after {
  16. background-image: $custom-radio-indicator-icon-checked;
  17. }
  18. }
  19. }
  20. &:disabled {
  21. ~ .custom-control-label {
  22. &::before {
  23. border-color: $custom-control-indicator-disabled-bg;
  24. }
  25. }
  26. &:checked {
  27. &::before {
  28. border-color: $custom-control-indicator-checked-disabled-bg;
  29. }
  30. }
  31. }
  32. }
  33. }