Browse Source

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.
pull/2/head
WyohKnott 9 years ago
parent
commit
c9f7cc1855
  1. 3
      src/css/user-rules.css

3
src/css/user-rules.css

@ -128,6 +128,9 @@ body[dir="rtl"] #commitButton:before {
#diff .right li.notLeft { #diff .right li.notLeft {
color: #000; color: #000;
} }
#diff .right li.notLeft:hover {
text-decoration: line-through;
}
#diff .right li.notRight { #diff .right li.notRight {
color: #000; color: #000;
} }

Loading…
Cancel
Save