add-class.patch

Mizuki ISHIKAWA, 2019-08-26 08:13

Download (2.17 KB)

View differences:

app/views/issues/tabs/_history.html.erb
11 11
      <span class="journal-actions"><%= render_journal_actions(issue, journal, :reply_links => reply_links) %></span>
12 12
      <a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a>
13 13
    </div>
14
    <h4>
14
    <h4 class='note-header'>
15 15
      <%= avatar(journal.user) %>
16 16
      <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
17 17
      <%= render_private_notes_indicator(journal) %>
app/views/messages/show.html.erb
65 65
            :class => 'icon icon-del'
66 66
          ) if message.destroyable_by?(User.current) %>
67 67
    </div>
68
  <h4>
68
  <h4 class='reply-header'>
69 69
    <%= avatar(message.author) %>
70 70
    <%= link_to message.subject, { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %>
71 71
    -
public/stylesheets/application.css
311 311
tr.message.sticky td.subject { font-weight: bold; }
312 312

  
313 313
body.avatars-on #replies .message.reply {padding-left: 32px;}
314
#replies .reply:target > h4 {background-color:#DDEEFF;}
314
#replies .reply:target h4.reply-header {background-color:#DDEEFF;}
315 315
#replies h4 img.gravatar {margin-left:-32px;}
316 316

  
317 317
tr.version.closed, tr.version.closed a { color: #999; }
......
557 557
  border-radius: 0 0 3px 3px / 0 0 3px 3px;
558 558
}
559 559

  
560
#history div:target > h4 {background-color:#DDEEFF;}
560
#history div:target h4.note-header {background-color:#DDEEFF;}
561 561
#history p.nodata {display: none;}
562 562

  
563 563
div#activity dl, #search-results { margin-left: 2em; }