Use CSS to highlight the journal title (#22978).

git-svn-id: http://svn.redmine.org/redmine/trunk@16912 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-07-29 12:18:53 +00:00
parent 607a82aa86
commit ca3f39f5fd
2 changed files with 2 additions and 11 deletions

View File

@@ -167,14 +167,3 @@ end %>
<% end %>
<%= context_menu %>
<%= javascript_tag do %>
$(document).ready(function(){
$(window).on('load hashchange',function(){
var hash = location.hash;
if (hash.match(/^#(change|note)-\d+$/)){
$('div' + hash).addClass('highlight').removeClass('highlight', 4000)
}
});
});
<% end %>

View File

@@ -512,6 +512,8 @@ div.journal ul.details a:hover, ul.revision-info a:hover {color:#D14848;}
body.avatars-on div.journal {padding-left:32px;}
div.journal h4 img.gravatar {margin-left:-32px;}
#history div:target h4 {background-color:#DDEEFF;}
div#activity dl, #search-results { margin-left: 2em; }
div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
div#activity dt.me .time { border-bottom: 1px solid #999; }