From a3fbd1e33cef9e3dcef48b33b96025f6f5779d5b Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Sat, 10 Dec 2016 00:47:11 +0100 Subject: [PATCH] Fix all the themes where titlebars had borders, or white backgrounds --- terminatorlib/terminator.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 0ee0a8be..16b47509 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -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)