/*!
 * Created by PhpStorm.
 * Developer: Tariq Ayman ( tariq.ayman94@gmail.com )
 * Date: 1/5/20, 1:53 AM
 * Last Modified: 12/22/19, 10:14 PM
 * Project Name: Wafaq
 * File Name: _alert.scss
 */

/*!
 * Created by PhpStorm.
 * Developer: Tariq Ayman ( tariq.ayman94@gmail.com )
 * Date: 12/22/19, 10:14 PM
 * Last Modified: 11/1/19, 5:58 PM
 *
 * File Name: _alert.scss
 */

// Alerts
//

@each $color, $value in $theme-colors {
  @if $color != primary and $color != light {
    @include appwork-alert-variant('.alert-#{$color}', $value);
    @include appwork-alert-dark-variant('.alert-dark-#{$color}', $value);
  }
}

// *******************************************************************************
// * RTL

@include rtl-only {
  .alert-dismissible {
    padding-right: $alert-padding-x;
    padding-left: ($close-font-size + $alert-padding-x * 2);
  }

  .alert-dismissible .close {
    right: auto;
    left: 0;
  }
}
