[gtk/dnd-gestures-2: 149/173] Adwaita: No drag highlight for expanders
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dnd-gestures-2: 149/173] Adwaita: No drag highlight for expanders
- Date: Thu, 9 Jan 2020 00:01:27 +0000 (UTC)
commit 201a79107600e54fc8effeeb56222eae7eaaf303
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jan 7 15:43:50 2020 -0500
Adwaita: No drag highlight for expanders
This is pretty ugly, because Adwaita has a very
generic drop-highlight implementaiton that we
need to overrule.
gtk/theme/Adwaita/_common.scss | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index e01d2bfb71..9ac6b1beba 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3901,6 +3901,13 @@ expander-widget title:hover > expander {
color: lighten($fg_color,30%); //only lightens the icon
}
+expander-widget {
+ &:not(decoration):not(window):drop(active):focus,
+ &:not(decoration):not(window):drop(active) {
+ box-shadow: none;
+ }
+}
+
/************
* Calendar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]