From 04be048955570c0f2b111c60c9cfe59d9af5d79b Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sun, 20 Sep 2015 17:32:42 +0200 Subject: gedit: fix headerbar transparency with 3.18 --- common/gtk-3.0/3.18/sass/_transparent_widgets.scss | 25 ++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'common/gtk-3.0/3.18/sass/_transparent_widgets.scss') diff --git a/common/gtk-3.0/3.18/sass/_transparent_widgets.scss b/common/gtk-3.0/3.18/sass/_transparent_widgets.scss index 49d0436..340f757 100644 --- a/common/gtk-3.0/3.18/sass/_transparent_widgets.scss +++ b/common/gtk-3.0/3.18/sass/_transparent_widgets.scss @@ -161,10 +161,27 @@ GeditWindow.background.csd { .pane-separator, .pane-separator:hover { background-color: $dark_sidebar_border; } - .titlebar .pane-separator, - &.maximized .titlebar .pane-separator, - .titlebar .pane-separator:backdrop, - &.maximized .titlebar .pane-separator:backdrop { background-color: $header_border; } + .gedit-headerbar-paned.titlebar .pane-separator, + &.maximized .gedit-headerbar-paned.titlebar .pane-separator, + .gedit-headerbar-paned.titlebar .pane-separator:backdrop, + &.maximized .gedit-headerbar-paned.titlebar .pane-separator:backdrop { background-color: $header_border; } + + .gedit-headerbar-paned.titlebar { background-color: transparent; } + + .gedit-titlebar-left, + .gedit-titlebar-right { + background-color: $header_bg; + + &:backdrop { background-color: $header_bg_backdrop; } + } + + &.maximized .gedit-titlebar-left, + &.maximized .gedit-titlebar-right { + background-color: opacify($header_bg, 1); + + &:backdrop { background-color: opacify($header_bg_backdrop, 1); } + } + } .gedit-bottom-panel-paned { background-color: $base_color; } -- cgit v1.2.3