style: add minor adjustments to history log (#28782)

This commit is contained in:
Frédéric Péters 2018-12-09 11:14:54 +01:00
parent 5d67c72b7b
commit 135788d5e2
2 changed files with 34 additions and 1 deletions

View File

@ -1664,3 +1664,36 @@ table small,
ul.user-formdatas small {
display: block;
}
ul#evolutions div.evolution-metadata {
border: none;
margin-left: 70px;
padding: 0.5rem;
padding-left: 0;
}
ul#evolutions li span.item.no-status-change {
width: 5px;
height: 5px;
left: 28px;
top: 39px;
}
ul#evolutions li div.msg {
border: none;
box-shadow: none;
padding-left: 10px;
}
ul#evolutions span.user {
opacity: 1;
font-style: italic;
}
ul#evolutions li.msg-in div.msg {
background: #edf9f7;
}
ul#evolutions li.msg-out div.msg {
background: #f1f8fe;
}

View File

@ -8,7 +8,7 @@
<li class="{% if evolution.who == '_submitter' %}msg-in{% elif evolution.who %}msg-out{% else %}msg-system{% endif %}
{% if status.is_endpoint %}endpoint{% endif %}
{{ status.extra_css_class }}">
<span class="item" style="background: #{{ status.colour }}; color: {{ status.get_contrast_color}}"></span>
<span class="item {% if not evolution.status %}no-status-change{% endif %}" style="background: #{{ status.colour }}; color: {{ status.get_contrast_color}}"></span>
<div>
{% if evolution.status %}
<div class="evolution-metadata">