From 38f94194a62bc23eb7725e3692dc7a262e5b2e11 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Tue, 29 Mar 2016 15:06:11 +0200 Subject: [PATCH] Adwaita: set caret-color for drop targets --- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 0d219e73e7..25de61f42d 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -4277,6 +4277,7 @@ button.circular { // FIXME: aggregate to buttons *:drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die border-color: $drop_target_color; box-shadow: inset 0 0 0 1px $drop_target_color; + caret-color: $drop_target_color; } stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 4ca5eb1e7a..8966f2e2ea 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -4504,7 +4504,8 @@ button.circular { *:drop(active):focus, *:drop(active) { border-color: #4e9a06; - box-shadow: inset 0 0 0 1px #4e9a06; } + box-shadow: inset 0 0 0 1px #4e9a06; + caret-color: #4e9a06; } stackswitcher button.text-button { min-width: 100px; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 99adfee62c..5e0e1e0c89 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -4534,7 +4534,8 @@ button.circular { *:drop(active):focus, *:drop(active) { border-color: #4e9a06; - box-shadow: inset 0 0 0 1px #4e9a06; } + box-shadow: inset 0 0 0 1px #4e9a06; + caret-color: #4e9a06; } stackswitcher button.text-button { min-width: 100px; }