Factor .add-diff-note active state.
Merge pull request #7795 from cirosantilli/factor-notes-css

Factor .add-diff-note active state.