mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
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:
@@ -167,14 +167,3 @@ end %>
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= context_menu %>
|
<%= 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 %>
|
|
||||||
|
|||||||
@@ -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;}
|
body.avatars-on div.journal {padding-left:32px;}
|
||||||
div.journal h4 img.gravatar {margin-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 dl, #search-results { margin-left: 2em; }
|
||||||
div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
|
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; }
|
div#activity dt.me .time { border-bottom: 1px solid #999; }
|
||||||
|
|||||||
Reference in New Issue
Block a user