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
Boxiang Sun
gitlab-ce
Commits
66955bba
Commit
66955bba
authored
Sep 23, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7795 from cirosantilli/factor-notes-css
Factor .add-diff-note active state.
parents
6e328d55
29a0d993
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 @
66955bba
...
@@ -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
);
}
}
}
}
}
}
...
...
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