QTfrontend/ui/widget/about.cpp
changeset 14438 1bfb50187286
parent 14436 3f679f2fb45a
child 14439 05de066ab212
--- a/QTfrontend/ui/widget/about.cpp	Fri Dec 14 00:16:05 2018 +0100
+++ b/QTfrontend/ui/widget/about.cpp	Fri Dec 14 00:28:31 2018 +0100
@@ -173,6 +173,10 @@
             else if(type == "E")
             {
                 QString showName = QString("");
+                if(!name.isEmpty())
+                    name = "<span class=\"name\">"+name+"</span>";
+                if(!nick.isEmpty())
+                    nick= "<span class=\"nick\">"+nick+"</span>";
                 if(!name.isEmpty() && !nick.isEmpty())
                     showName = tr("%1 (alias %2)").arg(name).arg(nick);
                 else if(name.isEmpty() && !nick.isEmpty())
@@ -288,8 +292,9 @@
         "<style type=\"text/css\">"
         "     body { color: orange; }"
         "     a { color: #ffe270; }"
-        "     a:hover { color: yellow; }"
         "     ul { list-style-type: none; }"
+        "     .name { color: #ffffff; font-weight: bold; }"
+        "     .nick { color: #00ff00; font-weight: bold; }"
         "</style>"
         "</head>"
         "<body>"