Summary Files Commits Branches @commit @diff @stats
path: root / src / toasts.less
blob: 2ca54874970f0e25b051a63a01b31cd965129ffe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Toasts
.toast {
  background: @core-border-color;
  border: .1rem solid darken(@core-border-color, 2%);
  border-radius: .3rem;
  color: #666;
  display: block;
  padding: 1.4rem;
  width: 100%;

  &.toast-primary {
    .toast-variant(@core-color);
  }

  &.toast-success {
    .toast-variant(@control-color-success);
  }

  &.toast-danger {
    .toast-variant(@control-color-danger);
  }

  &.toast-primary,
  &.toast-success,
  &.toast-danger {
    .btn-clear {
      color: #fff;
    }
  }
}