AdminLTE/build/scss/plugins/_toastr.scss
REJack ec008a693f
added Toasts.js & enhanced toasts style
- created Toasts.js
- updated build/js/scss/plugins/_toastr.scss
- added toast-variant mixin in build/scss/_mixinis.scss
- created build/scss/_toasts.scss
- added zindex-toasts variable in build/scss/_variables.scss
- updated build/scss/AdminLTE.scss & build/scss/AdminLTE-raw.scss
- updated pages/UI/modals.html
- created docs/javascript/toasts.md
- updated docs/_config.yml
2019-09-16 12:05:25 +02:00

55 lines
1.1 KiB
SCSS

//
// Plugin: Toastr
//
// Background to FontAwesome Icons
// #toast-container > .toast {
// background-image: none !important;
// }
// #toast-container > .toast .toast-message:before {
// font-family: 'Font Awesome 5 Free';
// font-size: 24px;
// font-weight: 900;
// line-height: 18px;
// float: left;
// color: #FFF;
// padding-right: 0.5em;
// margin: auto 0.5em auto -1.5em;
// }
// #toast-container > .toast-warning .toast-message:before {
// content: "\f06a";
// }
// #toast-container > .toast-error .toast-message:before {
// content: "\f071";
// }
// #toast-container > .toast-info .toast-message:before {
// content: "\f05a";
// }
// #toast-container > .toast-success .toast-message:before {
// content: "\f058";
// }
#toast-container {
// Background color
.toast {
background-color: $primary;
}
.toast-success {
background-color: $success;
}
.toast-error {
background-color: $danger;
}
.toast-info {
background-color: $info;
}
.toast-warning {
background-color: $warning;
}
}