From 21973012ab06a93dd901821dbbe078eb793bac4d Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 2 Apr 2020 11:37:49 +0200 Subject: More discrete close icon for toast --- client/src/sass/primeng-custom.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 0a3634c94..06cd3f057 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -411,18 +411,18 @@ p-inputswitch { p-toast { .ui-toast { z-index: z(notification) !important; - } - .ui-toast-close-icon { - font-family: "Glyphicons Halflings"; + .ui-toast-close-icon { + font-family: "Glyphicons Halflings"; + opacity: 0; - opacity: .3; - &:hover { - opacity: .5; + &:after { + content: "\e014"; + } } - &:after { - content: "\e014"; + &:hover .ui-toast-close-icon { + opacity: .3; } } -- cgit v1.2.3