switchery.css 611 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. *
  3. * Main stylesheet for Switchery.
  4. * http://abpetkov.github.io/switchery/
  5. *
  6. */
  7. .switchery {
  8. background-color: #fff;
  9. border: 1px solid #dfdfdf;
  10. border-radius: 20px;
  11. cursor: pointer;
  12. display: inline-block;
  13. height: 30px;
  14. position: relative;
  15. vertical-align: middle;
  16. width: 50px;
  17. -webkit-box-sizing: content-box;
  18. -moz-box-sizing: content-box;
  19. box-sizing: content-box;
  20. }
  21. .switchery > small {
  22. background: #fff;
  23. border-radius: 100%;
  24. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  25. height: 30px;
  26. position: absolute;
  27. top: 0;
  28. width: 30px;
  29. }