From aac3d19f6febc607fbeca96c8c2317495a7ca476 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 27 Aug 2017 22:04:56 +0200 Subject: Gtk+-3.20 Submarine themes: fix focus state of pluma-statusbar-button --- desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css | 11 ++++++++--- desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css | 11 +++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index fbec3009..47070942 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -1022,6 +1022,7 @@ vte-terminal { /* Pluma status bar */ .pluma-window statusbar.horizontal frame button.flat.toggle { border-style: none; + border-image: none; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@nautilus_cluebar_color, 1.08)), @@ -1053,9 +1054,13 @@ vte-terminal { inset -1px 0px shade (@theme_selected_bg_color, 1.3), inset 0px -1px shade (@theme_selected_bg_color, 1.3); color: shade(@theme_fg_color, 1.00); - text-shadow: 0px 1px @theme_shadow_color; - border-radius: 4px; - padding: 2px 5px; +} + +.pluma-window statusbar.horizontal frame button.flat.toggle:focus { + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); } /* Printpreview */ diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css index d6bd054b..d48872f5 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -1034,6 +1034,7 @@ vte-terminal { /* Pluma status bar */ .pluma-window statusbar.horizontal frame button.flat.toggle { border-style: none; + border-image: none; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@nautilus_cluebar_color, 1.08)), @@ -1053,7 +1054,6 @@ vte-terminal { } .pluma-window statusbar.horizontal frame button.flat.toggle:hover { - border-style: none; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@button_gradient1, 1.03)), @@ -1065,11 +1065,14 @@ vte-terminal { inset -1px 0px shade(@selected_bg_color, 0.93), inset 0px -1px shade(@selected_bg_color, 0.93); color: shade(@theme_fg_color, 1.00); - text-shadow: 0px 1px @theme_shadow_color; - border-radius: 4px; - padding: 2px 5px; } +.pluma-window statusbar.horizontal frame button.flat.toggle:focus { + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); +} /* Printpreview */ .pluma-print-preview toolbar.horizontal { background-image: -gtk-gradient (linear, -- cgit v1.2.1