checkbox-radio.sass 369 B

123456789101112131415161718192021
  1. %checkbox-radio
  2. cursor: pointer
  3. display: inline-block
  4. line-height: 1.25
  5. position: relative
  6. input
  7. cursor: pointer
  8. &:hover
  9. color: $input-hover-color
  10. &[disabled],
  11. fieldset[disabled] &
  12. color: $input-disabled-color
  13. cursor: not-allowed
  14. .checkbox
  15. @extend %checkbox-radio
  16. .radio
  17. @extend %checkbox-radio
  18. & + .radio
  19. margin-left: 0.5em