diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.css b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.css index 9840c6fce2..b6edbb0d6f 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.css +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.css @@ -16,13 +16,13 @@ grid-template-columns: 35px 1fr; gap: 5px; margin: 5px 0; - padding: 7px; + padding: 10px; width: 350px; user-select: none; z-index: 9999; color: #fff; border-radius: 8px; - font-size: 14px; + font-size: 16px; box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02); animation: toastIn 0.3s ease-in-out; } @@ -54,7 +54,7 @@ } .abp-toast-icon .icon { - font-size: 32px; + font-size: 30px; } .abp-toast-content { diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.js b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.js index 115335e585..a23d844ce6 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.js +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toast/abp-toast.js @@ -73,12 +73,12 @@ AbpToastService.prototype.getIconClass = function(severity, options) { } const icons = { - success: 'bi-check', - info: 'bi-info-circle', - warning: 'bi-exclamation-triangle', - error: 'bi-shield-exclamation' + success: 'fa fa-check', + info: 'fa fa-info-circle', + warning: 'fa fa-exclamation-triangle', + error: 'fa fa-exclamation-circle' }; - return icons[severity] || 'bi-exclamation-triangle'; + return icons[severity] || 'fa fa-exclamation-triangle'; }; // Create toast DOM element @@ -88,14 +88,14 @@ AbpToastService.prototype.createToastElement = function(message, title, severity const closeButton = options.closable !== false ? `` : ''; const titleHtml = title ? `