From c9f7cc1855f36378865c8e14a464b396ef618422 Mon Sep 17 00:00:00 2001 From: WyohKnott Date: Sun, 14 Feb 2016 15:05:48 +0100 Subject: [PATCH] Adding visual cue indicating that a temp rule will be deleted if clicked When clicking a temporary rule that is not in the permanent list, it is deleted, yet no visual cue indicates this is the intended behaviour. I initially thought it would commit the line to the permanent rules. This patch adds a line-through on :hover to signal it. --- src/css/user-rules.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/css/user-rules.css b/src/css/user-rules.css index a36aa6f..51c07e7 100644 --- a/src/css/user-rules.css +++ b/src/css/user-rules.css @@ -128,6 +128,9 @@ body[dir="rtl"] #commitButton:before { #diff .right li.notLeft { color: #000; } +#diff .right li.notLeft:hover { + text-decoration: line-through; + } #diff .right li.notRight { color: #000; }