Summary Files Commits Branches @commit @diff @stats
path: root / src / toasts.less
blob: 47d86c99116bb746e68840d9625ee8d445b3e616 (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
// Toasts
.toast {
  border: @border-width solid @gray-color-darker;
  border-radius: @border-radius;
  color: @gray-color-lighter;
  display: block;
  padding: 1.4rem;
  .toast-variant(@gray-color-darker);
  width: 100%;
  z-index: @z-index-z3;

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

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

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

  a {
    color: @gray-color-lighter;
    text-decoration: underline;

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