yesnoswitch.less 549 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // Misago yes-no switch
  3. // --------------------------------------------------
  4. // Css class added to original input, that hides it outside viewport
  5. .hidden-original-switch {
  6. position: absolute;
  7. top: -9999px;
  8. left: -9999px;
  9. }
  10. // Real input
  11. .yes-no-switch {
  12. margin-top: 5px;
  13. margin-bottom: 0px;
  14. cursor: pointer;
  15. .fa {
  16. color: @yesno-switch-default;
  17. }
  18. &.active {
  19. .fa {
  20. color: @yesno-switch-active;
  21. }
  22. }
  23. .yes-no-label {
  24. margin-left: @font-size-base / 2;
  25. position: relative;
  26. bottom: 5px;
  27. }
  28. }