liuxiaolong
2019-05-06 2ab7a76a38fbf8fa107bf6371f5410ba54e1d394
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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;
  }
}