Use bootstrap backgrounds and text utilities for read issue reports

This commit is contained in:
Andy Allan 2020-07-15 12:12:35 +02:00
parent e157b37ce5
commit d89a30421c
2 changed files with 2 additions and 7 deletions

View file

@ -2297,8 +2297,3 @@ input.richtext_title[type="text"] {
display: none; display: none;
} }
} }
.read-reports {
background: $lightgrey;
opacity: 0.7;
}

View file

@ -24,14 +24,14 @@
<h3><%= t ".reports_of_this_issue" %></h3> <h3><%= t ".reports_of_this_issue" %></h3>
<% if @read_reports.present? %> <% if @read_reports.present? %>
<div class="read-reports"> <div class="bg-light text-muted">
<h4><%= t ".read_reports" %></h4> <h4><%= t ".read_reports" %></h4>
<%= render "reports", :reports => @read_reports %> <%= render "reports", :reports => @read_reports %>
</div> </div>
<% end %> <% end %>
<% if @unread_reports.any? %> <% if @unread_reports.any? %>
<div class="unread-reports"> <div>
<h4><%= t ".new_reports" %></h4> <h4><%= t ".new_reports" %></h4>
<%= render "reports", :reports => @unread_reports %> <%= render "reports", :reports => @unread_reports %>
</div> </div>