summaryrefslogtreecommitdiff
path: root/desktop-themes/Blue-Submarine
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-01 15:00:28 +0200
committerraveit65 <[email protected]>2016-07-01 15:02:11 +0200
commit9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2 (patch)
tree90bb91f641017caf7b9ec8cd857a4dca21edfdb3 /desktop-themes/Blue-Submarine
parent83eceefc680ec1a4a78e16c48542840d9d6e3b82 (diff)
downloadmate-themes-9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2.tar.bz2
mate-themes-9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2.tar.xz
GTK+-3.20 most themes: fix text selection in atril
Diffstat (limited to 'desktop-themes/Blue-Submarine')
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk.css2
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css11
2 files changed, 13 insertions, 0 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css
index 73701f8c..3b1e1142 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css
@@ -91,6 +91,8 @@
@define-color sidebar_selected_bg shade(@theme_selected_bg_color,1.00);
@define-color sidebar_fg_color @theme_text_color;
+@define-color theme_light_unfocused_bg_color @theme_bg_color;
+
@define-color button_base shade(@theme_bg_color, 1.15);
@define-color button_gradient1 shade(@button_base, 0.98);
@define-color button_gradient2 shade(@button_base, 0.95);
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 1c8a1652..fb5267f9 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
@@ -904,6 +904,17 @@ vte-terminal {
border-style: none;
}
+/* 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_light_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
/* atril and eom */
EggToolbarEditor.vertical scrolledwindow {
border-color: @notebook_border;