Board Thread:Support Requests - Getting Technical/@comment-24995513-20140218195514/@comment-168424-20140220050329

Okay, I've got something working and it was pretty easy (if not elegant). Thanks to Rappy_4187 for the original script.

Put the Javascript below at MediaWiki:Wikia.js/userRightsIconsVaried.js and put the code  on MediaWiki:Common.js.

Here are the lines that define the new background colors (Admins get blue-ish, Bureaucrats get green-ish, Founders get red-ish, and Inactive get gray): var userRightsAdministratorStyle = "background-color: #336896;"; var userRightsBureaucratStyle = "background-color: #339876;"; var userRightsFounderStyle = "background-color: #963836;"; var userRightsInactiveStyle = "background-color: #646464;";

In theory you could blank those variables and setup the following classes in Wikia.css instead, but I haven't tested it: .userRightsAdministratorStyle { background-color: #336896; } .userRightsBureaucratStyle { background-color: #339876; } .userRightsFounderStyle { background-color: #963836; } .userRightsInactiveStyle { background-color: #646464; }

Javascript: // 05:40, February 20, 2014 (UTC) //