Summary Files Commits Branches @commit @diff @stats
path: root / src / toasts.less
blob: 8fe2a4454a107c29ac78071d737f6f53bfed659e (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
31
32
33
34
35
36
37
// Toasts
.toast {
  border: .1rem solid @core-dark-color;
  border-radius: .3rem;
  color: @core-light-color;
  display: block;
  padding: 1.4rem;
  .toast-variant(@core-dark-color);
  width: 100%;

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

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

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

  a {
    color: @core-light-color;
    text-decoration: underline;

    &:hover,
    &:focus,
    &:active {
      opacity: .75;
    }
  }

  .btn-clear {
    color: @core-light-color;
  }
}