From 9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 1 Jul 2016 15:00:28 +0200 Subject: GTK+-3.20 most themes: fix text selection in atril --- desktop-themes/TraditionalOk/gtk-3.0/gtk.css | 2 ++ desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css | 11 +++++++++++ 2 files changed, 13 insertions(+) (limited to 'desktop-themes/TraditionalOk') diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk.css index f7b55589..8fc7253c 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk.css @@ -56,6 +56,8 @@ @define-color internal_element_hover_color @theme_text_color; @define-color internal_element_insensitive_color @insensitive_fg_color; +@define-color theme_unfocused_bg_color @theme_bg_color; + /* border */ @define-color border_color shade(@core_color_b, 0.67); diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index a2df4d03..70a29c64 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -385,6 +385,17 @@ EggToolbarEditor.vertical scrolledwindow { border-style: solid; } +/* broken text selection */ +.atril-window scrolledwindow.frame > widget:selected { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.atril-window scrolledwindow.frame > widget:active { + background-color: shade(@theme_unfocused_bg_color, 0.94); + color: @theme_fg_color; +} + .lock-dialog { border-radius: 4px; border-style: solid; -- cgit v1.2.1