From 4e4d99ec74a4a2830e774396aff085c694165f32 Mon Sep 17 00:00:00 2001 From: Javier Castro Date: Thu, 16 May 2013 13:15:26 -0300 Subject: [PATCH] Style target notes for easy visual identification --- app/assets/stylesheets/sections/notes.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 {