From 9dd781c18bbd1d1e4a0a9f5caed058649b3b0cf1 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 22 Feb 2016 10:55:53 +0000 Subject: [PATCH] Give drag handle an increased opacity on hover Change-Id: Ic7f283b4d20cc8ba35924d4f79be6ba7d3414a78 --- modules/ext.templateDataGenerator.ui.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ext.templateDataGenerator.ui.css b/modules/ext.templateDataGenerator.ui.css index b0c0d463..26788a99 100644 --- a/modules/ext.templateDataGenerator.ui.css +++ b/modules/ext.templateDataGenerator.ui.css @@ -32,6 +32,11 @@ opacity: 0.2; } +/* Hover events sometimes fire while dragging, so limit to highlighted widgets */ +.tdg-templateDataParamWidget.oo-ui-optionWidget-highlighted .oo-ui-iconElement-icon:hover { + opacity: 0.5; +} + .tdg-templateDataParamWidget-param-name, .tdg-templateDataParamWidget-param-aliases, .tdg-templateDataParamWidget-param-description {