Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
29a0d993
Commit
29a0d993
authored
10 years ago
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factor .add-diff-note active state.
parent
ac516abe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+7
-4
No files found.
app/assets/stylesheets/sections/notes.scss
View file @
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
;
height
:
22px
;
height
:
22px
;
...
@@ -156,8 +161,7 @@ ul.notes {
...
@@ -156,8 +161,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
);
}
}
}
}
...
@@ -166,8 +170,7 @@ ul.notes {
...
@@ -166,8 +170,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
);
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment