.fit-switch {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: middle;
  border: 1px solid #eee;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; }
  .fit-switch .inner {
    color: #fff;
    position: absolute;
    left: 0; }
    .fit-switch .inner:after {
      position: absolute;
      border-radius: 100%;
      background-color: #fff;
      content: " ";
      cursor: pointer;
      transition: left 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
      box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25); }
  .fit-switch.size-normal {
    width: 44px;
    height: 22px;
    line-height: 20px;
    border-radius: 20px 20px; }
    .fit-switch.size-normal .inner {
      font-size: 12px; }
      .fit-switch.size-normal .inner:after {
        width: 18px;
        height: 18px;
        left: 0;
        top: 1px; }
  .fit-switch.size-small {
    width: 30px;
    height: 15px;
    line-height: 15px;
    border-radius: 15px 15px; }
    .fit-switch.size-small .inner {
      font-size: 10px; }
      .fit-switch.size-small .inner:after {
        width: 12px;
        height: 12px;
        left: 0;
        top: 0; }
  .fit-switch.size-large {
    width: 60px;
    height: 30px;
    line-height: 30px;
    border-radius: 30px 30px; }
    .fit-switch.size-large .inner {
      font-size: 10px; }
      .fit-switch.size-large .inner:after {
        width: 26px;
        height: 26px;
        left: 0;
        top: 1px; }
  .fit-switch.checked.size-normal .inner:after {
    left: 25px; }
  .fit-switch.checked.size-small .inner:after {
    left: 17px; }
  .fit-switch.checked.size-large .inner:after {
    left: 33px; }
  .fit-switch.checked.info {
    background-color: #23b7e5;
    border-color: #23b7e5; }
  .fit-switch.checked.success {
    background-color: #27c24c;
    border-color: #27c24c; }
  .fit-switch.checked.primary {
    background-color: #7266ba;
    border-color: #7266ba; }
  .fit-switch.checked.danger {
    background-color: #f05050;
    border-color: #f05050; }
  .fit-switch.checked.warning {
    background-color: #fad733;
    border-color: #fad733; }
  .fit-switch.checked.dark {
    background-color: #3a3f51;
    border-color: #3a3f51; }
  .fit-switch.disabled {
    background: #eee; }
    .fit-switch.disabled .inner:after {
      background-color: #eee; }
