From 6cc5f857d0955224ddf71d2153b45051824733bd Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 26 Feb 2017 14:26:46 +0100 Subject: Gtk+-3.20 Traditional themes: use a border for the whole GtkInfobar Fixes https://github.com/mate-desktop/mate-themes/issues/161 --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 18 ++++++++++-------- desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 17 ++++++----------- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 3a7bad41..4b3b7c73 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -3772,17 +3772,19 @@ entry.error:focus, border-width: 1px; } -infobar:last-child, -.info:last-child, -.warning:last-child, -.question:last-child, -.error:last-child { - /* only apply a border on the last infobar if - * there's more than one packed in */ - border-bottom-width: 1px; +infobar, +.info, +.warning, +.question, +.error { + border-width: 1px; border-style: solid; } +infobar { + border-color: shade(@border_color, 0.9); +} + .info, .info > * { background-color: @info_bg_color; diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index dab6239b..ce7129ab 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -3776,21 +3776,16 @@ entry.error:focus, } infobar, -infobar:first-child, -infobar:only-child { +.info, +.warning, +.question, +.error { border-width: 1px; border-style: solid; } -infobar:last-child, -.info:last-child, -.warning:last-child, -.question:last-child, -.error:last-child { - /* only apply a border on the last infobar if - * there's more than one packed in */ - border-bottom-width: 1px; - border-style: solid; +infobar { + border-color: shade(@border_color, 0.9); } .info, -- cgit v1.2.1