@import './variables';

/* mixin */
@mixin kind($color) {
  color: $brand-white;
  background-color: $color;
  opacity: .95;
  cursor: pointer;

  &:hover {
    opacity: 1;
  }
}
/**/

.container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 2rem 2.5rem;
  color: $brand-default;
  background-color: $brand-white;
}

.title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

.body {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1.4rem;
}

.success {
  @include kind($toastr-success);
}

.danger {
  @include kind($toastr-danger);
}

.warning {
  @include kind($toastr-warning);
}

.info {
  @include kind($toastr-info);
}
