button.less 1.66 KB

.btn {
  outline: none;

  &:active, &:focus {
    outline: none;
  }

  &:active {
    &:focus {
      outline: none;
    }
  }

  &__attention {
    background-color: #fb1e42;
    border: 1px solid #fb1e42;
    color: white;

    &:hover, &:focus {
      background-color: #fb1e42;
      border: 1px solid #fb1e42;
      color: white;

      &:active {
        background-color: #fb1e42;
        color: white;
      }
    }

    &--blue {
      background-color: #125f8e;
      border: 1px solid #125f8e;

      &:hover, &:focus {
        background-color: #125f8e;
        border: 1px solid #125f8e;
        color: white;

        &:active {
          background-color: #125f8e;
          color: white;
        }
      }
    }
  }

  &__big {
    line-height: 24px;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    background-color: #125f8e;
    border: 1px solid #125f8e;
    padding: 18px 40px 18px;
    letter-spacing: 0.09em;
    transition: all 0.2s ease;
    text-transform: uppercase;

    &:hover {
      background-color: rgba(18, 95, 142, 0.8);
      color: white;
    }

    &:focus {
      text-decoration: none;
      background-color: #125f8e;
      color: white;
    }

    &:active {
      background-color: rgba(18, 95, 142, 0.8);
      color: white;

      &:focus {
        background-color: rgba(18, 95, 142, 0.8);
        color: white;
      }
    }
  }

  &__thin {
    font-weight: normal;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.4px;
    padding: 4px 10px 5px 10px;
    height: auto;
    line-height: 14px;
    border-radius: 8px;
    background: #fb1e42;
    color: white;

    &:hover, &:focus {
      color: white;
    }
  }
}