mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 02:56:06 +10:00
Merge pull request #7795 from cirosantilli/factor-notes-css
Factor .add-diff-note active state.
This commit is contained in:
@@ -143,6 +143,11 @@ ul.notes {
|
||||
*/
|
||||
|
||||
.diff-file tr.line_holder {
|
||||
@mixin show-add-diff-note {
|
||||
filter: alpha(opacity=100);
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.add-diff-note {
|
||||
background: image-url("diff_note_add.png") no-repeat left 0;
|
||||
border: none;
|
||||
@@ -157,8 +162,7 @@ ul.notes {
|
||||
filter: alpha(opacity=0);
|
||||
|
||||
&:hover {
|
||||
opacity: 1.0;
|
||||
filter: alpha(opacity=100);
|
||||
@include show-add-diff-note;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,8 +171,7 @@ ul.notes {
|
||||
background: $hover !important;
|
||||
|
||||
.add-diff-note {
|
||||
opacity: 1.0;
|
||||
filter: alpha(opacity=100);
|
||||
@include show-add-diff-note;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user