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,18 +411,18 @@ 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; &:after {
&:hover { content: "\e014";
opacity: .5; }
} }
&:after { &:hover .ui-toast-close-icon {
content: "\e014"; opacity: .3;
} }
} }