Software /
code /
prosody-modules
Diff
mod_muc_badge/mod_muc_badge.lua @ 3286:4d1f6d47c889
mod_muc_badge: Reduce the opacity of the text shadows.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 25 Aug 2018 17:55:16 +0200 |
parent | 3285:38892f9f3fe9 |
child | 4982:8a4b17e2e984 |
line wrap: on
line diff
--- a/mod_muc_badge/mod_muc_badge.lua Sat Aug 25 17:54:18 2018 +0200 +++ b/mod_muc_badge/mod_muc_badge.lua Sat Aug 25 17:55:16 2018 +0200 @@ -50,9 +50,9 @@ <path fill="url(#b)" d="M0 0h{width}v20H0z"/> </g> <g fill="#fff" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11" xml:space="preserve"> - <text fill="#010101" y="14" x="0" textLength="{labelwidth}">{label}</text> + <text fill="#010101" fill-opacity=".3" y="14" x="0" textLength="{labelwidth}">{label}</text> <text y="13" x="0" textLength="{labelwidth}">{label}</text> - <text fill="#010101" y="14" x="{labelwidth}" textLength="{countwidth}">{number}</text> + <text fill="#010101" fill-opacity=".3" y="14" x="{labelwidth}" textLength="{countwidth}">{number}</text> <text y="13" x="{labelwidth}" textLength="{countwidth}">{number}</text> </g> </svg>