+
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.scss b/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.scss
index 047b516d15..04bc4d6f84 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.scss
+++ b/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.scss
@@ -6,6 +6,7 @@
left: 0;
display: none;
place-items: center;
+ z-index: 1060;
&.show {
display: grid;
}
@@ -16,7 +17,7 @@
width: 100vw;
height: 100vh;
background-color: rgba(#000, 0.7);
- z-index: 1040;
+ z-index: 1061 !important;
}
.confirmation-dialog {
display: flex;
@@ -29,7 +30,7 @@
min-height: 300px;
background-color: #fff;
box-shadow: 0 0 10px -5px rgba(#000, 0.5);
- z-index: 1050;
+ z-index: 1062 !important;
.icon-container {
display: flex;
align-items: center;
@@ -40,8 +41,27 @@
width: 100px;
height: 100px;
stroke-width: 1;
- stroke: #f89406;
fill: #fff;
+ font-size: 80px;
+ text-align: center;
+ }
+ &.neutral .icon {
+ }
+ &.info .icon {
+ stroke: #2f96b4;
+ color: #2f96b4;
+ }
+ &.success .icon {
+ stroke: #51a351;
+ color: #51a351;
+ }
+ &.warning .icon {
+ stroke: #f89406;
+ color: #f89406;
+ }
+ &.error .icon {
+ stroke: #bd362f;
+ color: #bd362f;
}
}
.content {
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.ts b/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.ts
index 6c4d232b99..ad052a2772 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.ts
+++ b/npm/ng-packs/packages/theme-shared/src/lib/components/confirmation/confirmation.component.ts
@@ -20,15 +20,15 @@ export class ConfirmationComponent {
get iconClass(): string {
switch (this.data.severity) {
case 'info':
- return 'info-circle';
+ return 'fa-info-circle';
case 'success':
- return 'check-circle';
+ return 'fa-check-circle';
case 'warning':
- return 'exclamation-triangle';
+ return 'fa-exclamation-triangle';
case 'error':
- return 'times-circle';
+ return 'fa-times-circle';
default:
- return 'question-circle-o';
+ return 'fa-question-circle';
}
}
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.scss b/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.scss
index 98ce628954..1bd780815c 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.scss
+++ b/npm/ng-packs/packages/theme-shared/src/lib/components/toast/toast.component.scss
@@ -18,9 +18,11 @@
padding: 10px;
border-radius: 0px;
width: 350px;
- @include fillColor(#f0f0f0, #000);
user-select: none;
box-shadow: 0 0 10px -5px rgba(#000, 0.4);
+ z-index: 9999;
+ @include fillColor(#f0f0f0, #000);
+ opacity: 1;
&.toast-success {
@include fillColor(#51a351, #fff);
}
@@ -38,6 +40,7 @@
align-items: center;
justify-content: center;
.icon {
+ font-size: 36px;
}
}
.toast-content {