Changeset

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
parents 3285:38892f9f3fe9
children 3287:f0e19a77f81e
files mod_muc_badge/mod_muc_badge.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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>