_button.scss 2.06 KB
button {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  background: none;
  border: none;
  font-size: 1.4rem;
  height: 56px;
  min-width:175px;
  padding: 0 4rem;
  border-radius: 4px;
  text-transform: uppercase;
  color: white;
  font-family: TheMixSemiBold;
  transition:.3s ease;

  .loader_spinner{
    border-top: 2px solid rgba(171, 172, 172, 1);
    border-right: 2px solid #FF463C;
    border-bottom: 2px solid #FF463C;
    border-left: 2px solid #FF463C;
    width: 15px !important;
    height: 15px !important;
  }
  .loader_spinner:after {
    border-radius: 50%;
    width: 15px !important;
    height: 15px !important;
  }
  &:focus{
    outline:none;
  }
  &.is__error {
    background: $red;
    @include rem('margin', 30, 0, 0, 0);
    &:hover,
    &:focus{
      outline:none;
      transform: translateX(3px);
      box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
    }

  }
  &.btn__gray {
    background: $gray;
  }
  &.btn__outline{
    box-shadow:none;
    border:2px solid $darkGray;
    color: $darkGray;
    background:none;
  }
  &.btn__red{
    background: $red;
   min-width:222px;
    &:hover,
    &:focus{
      transform: translateX(3px);
      outline:none;
      box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
    }
  }
  &:hover {
    cursor: pointer;
    transform:translateX(3px);
  }
  &.btn__grayLighter {
    background: $grayLighter;
  }
}
.btn__border{

    box-shadow:none;
    border:2px solid $darkGray !important;
    color: $darkGray !important;
    background:none !important;
}
.btn__outline {
  @include bp-large {
    position: absolute;
    right: 4.8rem;
    top: 50%;
    transform: translateY(-20px);
  }
}


.btn__red{
  background: $red !important;
  &:hover,
  &:focus{
    transform: translateX(3px);
    outline:none;
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
  }
}

.btn_solution{
  width: 248px !important;
}

.btn_go{
  &:hover,
  &:focus{
    transform: translateX(3px);
    outline:none;
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
  }
}