Tone down the anonymous edit warning for notes
Increase the saturation of our standard warning colour a little so that it is more visible, and then switch notes to using the warning colour instead of the error colour.
This commit is contained in:
parent
10161fb41b
commit
a14abfe90b
2 changed files with 8 additions and 7 deletions
|
@ -940,9 +940,10 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
|||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
&.warning {
|
||||
color: #ff7070;
|
||||
font-weight: bold;
|
||||
.warning {
|
||||
background-color: #ffe0cc;
|
||||
margin: 0px;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
div {
|
||||
clear: left;
|
||||
|
@ -1371,7 +1372,7 @@ p#contributorGuidance {
|
|||
background-color: #ff7070;
|
||||
}
|
||||
&#warning {
|
||||
background-color: #fff6f0;
|
||||
background-color: #ffe0cc;
|
||||
}
|
||||
&#notice {
|
||||
background-color: #CBEEA7;
|
||||
|
@ -1738,7 +1739,7 @@ a.button.submit {
|
|||
|
||||
.warning {
|
||||
display: block;
|
||||
background-color: #ff7070;
|
||||
background-color: #ffe0cc;
|
||||
padding: 4px 6px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
<div class='column-1'>
|
||||
|
||||
<% if @note.comments.find { |comment| comment.author.nil? } -%>
|
||||
<div class='browse-section common warning'>
|
||||
<%= t "javascripts.notes.show.anonymous_warning" %>
|
||||
<div class='browse-section common'>
|
||||
<p class="warning"><%= t "javascripts.notes.show.anonymous_warning" %></p>
|
||||
</div>
|
||||
<% end -%>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue