octoblu/zooid-switch

View on GitHub
src/Switch/styles.css

Summary

Maintainability
Test Coverage
.root {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
}

.checkbox {
  opacity: 0;
}

.is-disabled {
  cursor: default;
}

.is-on {}

.alignLabel-right {
  flex-direction: row-reverse;
}