Fix all the themes where titlebars had borders, or white backgrounds

This commit is contained in:
Stephen Boddy 2016-12-10 00:47:11 +01:00
parent 0c1ec6467f
commit a3fbd1e33c
1 changed files with 10 additions and 0 deletions

View File

@ -394,6 +394,16 @@ class Terminator(Borg):
.terminator-terminal-searchbar {
background-color: @theme_bg_color; }
"""
# Fix several themes that put a borders, corners, or backgrounds around
# viewports, making the titlebar look bad.
css += """
GtkViewport {
border-width: 0px;
border-radius: 0px;
background-color: transparent; }
"""
style_provider = Gtk.CssProvider()
style_provider.load_from_data(css)
self.style_providers.append(style_provider)