Summary Files Commits Branches @commit @diff @stats
path: root / src / toasts.less
blob: 0bc61d6b74b568c442a5bbda92da7af532a656e2 (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
38
39
40
41
// Toasts
.toast {
  border: @border-width solid @dark-color;
  border-radius: @border-radius;
  color: @light-color;
  display: block;
  padding: @layout-spacing;
  .toast-variant(@dark-color);
  width: 100%;

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

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

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

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

  a {
    color: @light-color;
    text-decoration: underline;
    &:focus,
    &:hover,
    &:active,
    &.active {
      opacity: .75;
    }
  }

  .btn-clear {
    margin: 2px -2px 2px 4px;
  }
}