mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
24 lines
573 B
CSS
24 lines
573 B
CSS
@import "~ngx-toastr/toastr";
|
|
@import "./toast.tokens.css";
|
|
|
|
/* Override all default styles from `ngx-toaster` */
|
|
.toast-container .ngx-toastr {
|
|
all: unset;
|
|
display: block;
|
|
width: var(--bit-toast-width);
|
|
|
|
/* Needed to make hover states work in Electron, since the toast appears in the draggable region. */
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
/* Disable hover styles */
|
|
.toast-container .ngx-toastr:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.toast-container.toast-bottom-full-width .ngx-toastr {
|
|
width: var(--bit-toast-width-full);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|