| .system.notification { | |
| .alert; | |
| border: 2px solid; | |
| color: #212121 ; | |
| a { | |
| color: #212121 ; | |
| } | |
| 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 ; | |
| background: transparent ; | |
| border: none ; | |
| float: right; | |
| font-size: 24px ; | |
| font-weight: bold; | |
| line-height: 24px ; | |
| color: #212121 ; | |
| 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%); | |
| } | |