Newer
Older
GestionHoteleria / src / assets / scss / custom / plugins / _sweatalert2.scss

//
//  Sweetalert2
//
@import '~sweetalert2/dist/sweetalert2.min.css';

.swal2-container {
  .swal2-title{
    font-size: 24px;
    font-weight: $font-weight-medium;
  }  
}

.swal2-content{
  font-size: 16px;
}
.swal2-styled.swal2-confirm {
  background-color: $primary !important;
}
.swal2-icon{
  &.swal2-question{
    border-color: $info !important;
    color: $info !important;
  }
  &.swal2-success {
    [class^=swal2-success-line]{
      background-color: $success !important;
    }

    .swal2-success-ring{
      border-color: rgba($success, 0.3) !important;
    }
  }
  &.swal2-warning{
    border-color: $warning;
    color: $warning;
  }
}

.swal2-styled{
  &:focus{
    box-shadow: none;
  }
}

.swal2-progress-steps {
  .swal2-progress-step{
    &.swal2-active-progress-step{
      background: $primary;
      &~.swal2-progress-step, &~.swal2-progress-step-line{
        background: rgba($primary, 0.3);
      }
    }
  }
}