virtManager: Convert to CSS for most color usage

* Add CSS data in config.py and install it
* Strip out all hardcoded colors and use style class annotations
* Fix colors to be more theme appropriate to fix dark theme look

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson
2020-02-01 17:16:45 -05:00
parent 1ad470c021
commit 67ef81895e
24 changed files with 215 additions and 84 deletions

View File

@@ -51,7 +51,7 @@ def _get_pool_size_percent(pool):
per = 0
else:
per = int(((float(alloc) / float(cap)) * 100))
return "<span size='small' color='#484848'>%s%%</span>" % int(per)
return "<span size='small'>%s%%</span>" % int(per)
class vmmHostStorage(vmmGObjectUI):