More discrete close icon for toast

This commit is contained in:
Rigel Kent 2020-04-02 11:37:49 +02:00
parent ded739eb38
commit 21973012ab
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 8 additions and 8 deletions

View File

@ -411,21 +411,21 @@ p-inputswitch {
p-toast { p-toast {
.ui-toast { .ui-toast {
z-index: z(notification) !important; z-index: z(notification) !important;
}
.ui-toast-close-icon { .ui-toast-close-icon {
font-family: "Glyphicons Halflings"; font-family: "Glyphicons Halflings";
opacity: 0;
opacity: .3;
&:hover {
opacity: .5;
}
&:after { &:after {
content: "\e014"; content: "\e014";
} }
} }
&:hover .ui-toast-close-icon {
opacity: .3;
}
}
.ui-toast-message { .ui-toast-message {
font-family: $main-fonts; font-family: $main-fonts;
background-color: var(--mainBackgroundColor) !important; background-color: var(--mainBackgroundColor) !important;