diff --git a/app/assets/images/comment_add.png b/app/assets/images/comment_add.png deleted file mode 100644 index 836557ac..00000000 Binary files a/app/assets/images/comment_add.png and /dev/null differ diff --git a/app/assets/images/diff_note_add.png b/app/assets/images/diff_note_add.png new file mode 100644 index 00000000..8ec15b70 Binary files /dev/null and b/app/assets/images/diff_note_add.png differ diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index a32ecf0c..2535d9f4 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -191,14 +191,14 @@ p.notify_controls span{ */ .diff_file tr.line_holder { .add-diff-note { - position:absolute; - margin-left:-70px; - margin-top:-10px; - z-index:10; - background: url("comment_add.png") no-repeat left 0; - width:32px; - height:32px; + background: url("diff_note_add.png") no-repeat left 0; + height: 22px; + margin-left: -65px; + position: absolute; + width: 22px; + z-index: 10; + // "hide" it by default opacity: 0.0; filter: alpha(opacity=0); @@ -208,6 +208,7 @@ p.notify_controls span{ } } + // "show" the icon also if we just hover somwhere over the line &:hover > td { background: $hover !important;