From: Rigel Kent Date: Thu, 2 Apr 2020 09:37:49 +0000 (+0200) Subject: More discrete close icon for toast X-Git-Tag: v2.2.0-rc.1~312 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21973012ab06a93dd901821dbbe078eb793bac4d;p=oweals%2Fpeertube.git More discrete close icon for toast --- 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; } }