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
Jérome Perrin
gitlab-ce
Commits
01a8f388
Commit
01a8f388
authored
May 29, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3970 from jacargentina/notes-highlight
Style target notes for easy visual identification
parents
a52936f3
4e4d99ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+12
-0
No files found.
app/assets/stylesheets/sections/notes.scss
View file @
01a8f388
/**
/**
* Notes
* Notes
*/
*/
@-webkit-keyframes
target-note
{
from
{
background
:
#fffff0
;
}
50
%
{
background
:
#ffffd3
;
}
to
{
background
:
#fffff0
;
}
}
ul
.notes
{
ul
.notes
{
display
:
block
;
display
:
block
;
list-style
:
none
;
list-style
:
none
;
...
@@ -91,6 +98,11 @@ ul.notes {
...
@@ -91,6 +98,11 @@ ul.notes {
}
}
}
}
.note
:target
{
-webkit-animation
:target-note
2s
linear
;
background
:
#fffff0
;
}
// paint top or bottom borders depending on notes direction
// paint top or bottom borders depending on notes direction
&
:not
(
.reversed
)
.note
,
&
:not
(
.reversed
)
.note
,
&
:not
(
.reversed
)
.discussion
{
&
:not
(
.reversed
)
.discussion
{
...
...
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