BigW Consortium Gitlab

Commit 66955bba by Dmitriy Zaporozhets

Merge pull request #7795 from cirosantilli/factor-notes-css

Factor .add-diff-note active state.
parents 6e328d55 29a0d993
...@@ -143,6 +143,11 @@ ul.notes { ...@@ -143,6 +143,11 @@ ul.notes {
*/ */
.diff-file tr.line_holder { .diff-file tr.line_holder {
@mixin show-add-diff-note {
filter: alpha(opacity=100);
opacity: 1.0;
}
.add-diff-note { .add-diff-note {
background: image-url("diff_note_add.png") no-repeat left 0; background: image-url("diff_note_add.png") no-repeat left 0;
border: none; border: none;
...@@ -157,8 +162,7 @@ ul.notes { ...@@ -157,8 +162,7 @@ ul.notes {
filter: alpha(opacity=0); filter: alpha(opacity=0);
&:hover { &:hover {
opacity: 1.0; @include show-add-diff-note;
filter: alpha(opacity=100);
} }
} }
...@@ -167,8 +171,7 @@ ul.notes { ...@@ -167,8 +171,7 @@ ul.notes {
background: $hover !important; background: $hover !important;
.add-diff-note { .add-diff-note {
opacity: 1.0; @include show-add-diff-note;
filter: alpha(opacity=100);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment