ux(timeline): different background for comment (#6021)

This commit is contained in:
Rushabh Mehta 2018-08-28 15:29:27 +05:30 committed by GitHub
parent e88cbee727
commit 7362a0151f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
<div class="media timeline-item {% if (data.user_content) { %} user-content {% } else { %} notification-content {% } %}" data-doctype="{{ data.doctype }}" data-name="{%= data.name %}">
<div class="media timeline-item {% if (data.user_content) { %} user-content {% } else { %} notification-content {% } %}" data-doctype="{{ data.doctype }}" data-name="{%= data.name %}" data-communication-type = "{{ data.communication_type }}">
{% if (data.user_content) { %}
<span class="pull-left avatar avatar-medium hidden-xs" style="margin-top: 1px">
{% if(data.user_info.image) { %}

View file

@ -352,6 +352,12 @@ h6.uppercase, .h6.uppercase {
}
}
.timeline-item[data-communication-type="Comment"] {
.reply {
background-color: @light-yellow;
}
}
.timeline-items {
position: relative;
}