@import './variables.scss';

@mixin colorBtn($color) {
  background: $color;

  &:hover {
    color: $color;

    &:before,
    &:after {
      background: $color;
    }
  }
}

// element-admin

.blue-btn {
  @include colorBtn($blue)
}

.light-blue-btn {
  @include colorBtn($light-blue)
}

.red-btn {
  @include colorBtn($red)
}

.pink-btn {
  @include colorBtn($pink)
}

.green-btn {
  @include colorBtn($green)
}

.tiffany-btn {
  @include colorBtn($tiffany)
}

.yellow-btn {
  @include colorBtn($yellow)
}

.gray-btn {
  @include colorBtn($gray)
}

// adminlte

.navy-btn {
  @include colorBtn($navy)
}

.teal-btn {
  @include colorBtn($teal)
}

.olive-btn {
  @include colorBtn($olive)
}

.orange-btn {
  @include colorBtn($orange)
}

.fuchsia-btn {
  @include colorBtn($fuchsia)
}

.purple-btn {
  @include colorBtn($purple)
}

.maroon-btn {
  @include colorBtn($maroon)
}

.pan-btn {
  font-size: 14px;
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  border: none;
  outline: none;
  transition: 600ms ease all;
  position: relative;
  display: inline-block;

  &:hover {
    background: #fff;

    &:before,
    &:after {
      width: 100%;
      transition: 600ms ease all;
    }
  }

  &:before,
  &:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    transition: 400ms ease all;
  }

  &::after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
  }
}

.custom-btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline-style: double;   //dotted;
  margin: 0;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
}

.document-btn {
  float: left;
  margin-left: 50px;
  display: block;
  cursor: pointer;
  background: black;
  color: white;
  height: 60px;
  width: 200px;
  line-height: 60px;
  font-size: 20px;
  text-align: center;
}
