File size: 1,141 Bytes
da96562
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.system.notification {
  .alert;

  border: 2px solid;
  color: #212121 !important;

  a {
   color: #212121 !important;
  }

  p:not(:first-child) {
    margin-top: 1em;
  }

  .notification-body {
    min-width: 50px;
  }

  // We have to use !important because the default button style is crazy
  .close {
    position: relative;
    top: -2px;
    right: -5px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    float: right;
    font-size: 24px !important;
    font-weight: bold;
    line-height: 24px !important;
    color: #212121 !important;
    cursor: pointer;
  }

  &:before {
    margin-top: -3px;
  }

  &.notification-success {
    .alert-success;
  }
  &.notification-warning {
    .alert-warning;
  }
  &.notification-danger,
  &.notification-error {
    .alert-danger;
  }
  &.notification-info {
    .alert-info;
  }

  &.help-notification.notification-info {

    &:before {
      content: "\e61f";
    }
  }
}

// toast-slide-up transition
.toast-slide-up-enter-active {
  transition: transform .3s ease;
}

.toast-slide-up-enter-from {
  transform: translateY(-100%);
}