diff options
author | raveit65 <[email protected]> | 2016-04-12 01:54:25 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-04-12 01:55:09 +0200 |
commit | 485ec36fd2b6b9f2ffe4bacd98a925b13d1e27b3 (patch) | |
tree | a0c1de1c4d123bd683251881490b433635ba45be /desktop-themes | |
parent | 622092aa05f23cdc594a6205b0d93a9937322d18 (diff) | |
download | mate-themes-485ec36fd2b6b9f2ffe4bacd98a925b13d1e27b3.tar.bz2 mate-themes-485ec36fd2b6b9f2ffe4bacd98a925b13d1e27b3.tar.xz |
GTK+-3.20 all other themes: fix text selection in firefox
Diffstat (limited to 'desktop-themes')
5 files changed, 121 insertions, 2 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 8e8b26a7..6603aedf 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -275,6 +275,29 @@ dialog view { color: @theme_fg_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; +} /**************************** * Caret for editable text * diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css index e72fed7c..7856ebc7 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -4073,7 +4073,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);
}
@@ -4083,6 +4083,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
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
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 67a4b16d..afa10edc 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -2938,6 +2938,30 @@ treeview:disabled { color: @insensitive_fg_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; +} + /*************** * GtkTreeview * ***************/ diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index f0451b67..a2de7c8c 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -2938,6 +2938,30 @@ treeview:disabled { color: @insensitive_fg_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; +} + /*************** * GtkTreeview * ***************/ |