From 7ccbba8500ffd5f12f9ff8c9eacf8e5a818da2bb Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 12 Apr 2016 01:54:25 +0200 Subject: GTK+-3.20 all other themes: fix text selection in firefox --- .../Green-Submarine/gtk-3.0/gtk-widgets.css | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'desktop-themes/Green-Submarine') diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index 9f3b4bcd..ecd6a194 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -4072,7 +4072,7 @@ view text selection:focus, text-shadow: none; } -/* ie. coloe of selected icons if unfocused */ +/* ie. color of selected icons if unfocused */ .view:active { background-color: shade(@theme_bg_color, 0.8); } @@ -4082,6 +4082,30 @@ view text selection:focus, text-shadow: 0px 1px @theme_selected_shadow_color; } +/* for firefox and probably other apps */ +label:selected, +label selection, +label selection:focus, +label selection:hover { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +label:disabled:selected, +label selection:disabled { + color: @insensitive_fg_color; +} + +label:backdrop:selected, +label selection:backdrop { + color: @theme_fg_color; +} + +label:backdrop:disabled:selected, +label selection:backdrop:disabled { + color: @insensitive_fg_color; +} + treeview, treeview.view { padding: 4px -- cgit v1.2.1