toggle.component.scss 486 B

12345678910111213141516171819202122232425262728293031
  1. :host {
  2. flex: none;
  3. $toggle-size: 18px;
  4. $height: 30px;
  5. $padding: 2px;
  6. display: inline-flex;
  7. border-radius: 3px;
  8. line-height: $height;
  9. height: $height;
  10. transition: 0.25s opacity;
  11. align-items: center;
  12. padding-right: 10px;
  13. padding-left: 10px;
  14. margin-left: -10px;
  15. .form-check {
  16. margin: 0;
  17. }
  18. &.disabled {
  19. opacity: 0.5;
  20. }
  21. * {
  22. cursor: pointer;
  23. }
  24. label {
  25. display: none;
  26. }
  27. }