summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-29 23:52:12 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-29 23:52:12 -0700
commit01a8f3886e0071bc65e4516f3b3c949dfd33a55e (patch)
tree14a1fe13b09386e84b372374927f2424ff840156 /app
parenta52936f36a867dbdf40f0f45fd23db95e149480f (diff)
parent4e4d99ec74a4a2830e774396aff085c694165f32 (diff)
downloadgitlab-ce-01a8f3886e0071bc65e4516f3b3c949dfd33a55e.tar.gz
Merge pull request #3970 from jacargentina/notes-highlight
Style target notes for easy visual identification
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/sections/notes.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss
index a86384dc2ef..9fe7a24b461 100644
--- a/app/assets/stylesheets/sections/notes.scss
+++ b/app/assets/stylesheets/sections/notes.scss
@@ -1,6 +1,13 @@
/**
* Notes
*/
+
+@-webkit-keyframes target-note {
+ from { background:#fffff0; }
+ 50% { background:#ffffd3; }
+ to { background:#fffff0; }
+}
+
ul.notes {
display: block;
list-style: none;
@@ -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
&:not(.reversed) .note,
&:not(.reversed) .discussion {