109 lines
1.8 KiB
SCSS
109 lines
1.8 KiB
SCSS
$toast-width: 400px;
|
|
|
|
.toast-container .ngx-toastr,
|
|
.inline-dialog-toast {
|
|
padding: 11px 16px;
|
|
border-radius: 8px;
|
|
background-image: none;
|
|
font-family: Inter, sans-serif;
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
width: $toast-width;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: none;
|
|
|
|
> *:not(:last-child) {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
&:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.actions-wrapper {
|
|
margin-top: 24px;
|
|
display: flex;
|
|
|
|
> *:not(:last-child) {
|
|
margin-right: 24px;
|
|
}
|
|
|
|
a {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 14px;
|
|
color: var(--iqser-accent);
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.toast-top-right {
|
|
top: 128px;
|
|
right: calc(50% - #{$toast-width} / 2);
|
|
}
|
|
|
|
.toast-file-preview {
|
|
top: 160px;
|
|
right: 405px;
|
|
}
|
|
|
|
.toast-close-button {
|
|
position: initial;
|
|
opacity: 1;
|
|
text-shadow: none;
|
|
|
|
mat-icon {
|
|
width: 10px;
|
|
}
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.toast-warning,
|
|
.toast-success {
|
|
.toast-message {
|
|
color: var(--iqser-accent);
|
|
}
|
|
|
|
.toast-close-button {
|
|
color: var(--iqser-accent);
|
|
}
|
|
}
|
|
|
|
.toast-error,
|
|
.toast-info {
|
|
.toast-close-button:hover {
|
|
color: var(--iqser-white);
|
|
}
|
|
}
|
|
|
|
.toast-success {
|
|
background-color: var(--iqser-green-2);
|
|
}
|
|
|
|
.toast-error {
|
|
background-color: var(--iqser-red-1);
|
|
color: var(--iqser-white);
|
|
}
|
|
|
|
.toast-warning {
|
|
background-color: var(--iqser-yellow-2);
|
|
color: var(--iqser-accent);
|
|
}
|
|
|
|
.toast-info {
|
|
background-color: var(--iqser-accent);
|
|
}
|
|
|
|
.inline-dialog-toast {
|
|
width: calc(100% - 96px);
|
|
margin-left: 32px;
|
|
margin-top: 14px;
|
|
}
|