_button.scss 1.33 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;


  &:focus{
    outline:none;
    transition:.3s ease;
  }
  &.is__error {
    background: $red;
    @include rem('margin', 30, 0, 0, 0);
    &:hover{
      transform: translateY(-1px);
      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;
  }
  &.btn__red{
    background: $red;
    width: 90vw;
    &:hover{
      transform: translateY(-1px);
      box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
    }
  }
  &:hover {
    cursor: pointer;
    transition:.3s ease;
  }
  &.btn__grayLighter {
    background: $grayLighter;
  }
}



.btn__outline {
  @include bp-large {
    position: absolute;
    right: 4.8rem;
    top: 50%;
    transform: translateY(-20px);
  }
}

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