Reverse bg/fg for vote weight in night mode

To tone down the white/green/red background on the vote weight in night
mode, switch to setting the foreground colour, rather than the default
background colour.
Swap querySelector from 8325ad8 for module check
Merge pull request #491 from gavin19/master

Reverse bg/fg for vote weight in night mode