Skip to content
Permalink
Browse files
Merge branch 'MDL-64102-master' of git://github.com/bmbrands/moodle
  • Loading branch information
David Monllaó authored and stronk7 committed Apr 23, 2019
2 parents 2f3c8da + a4300f3 commit 04f41dc247e83918e9c742ea8c9e4621d1280b18
@@ -35,13 +35,14 @@

}}
<div
class="message clickable d-flex flex-column p-2 {{#fromloggedinuser}}bg-secondary{{/fromloggedinuser}}{{^fromloggedinuser}}bg-white{{/fromloggedinuser}} rounded mb-2 mt-2"
class="message clickable d-flex flex-column p-2 mx-1 position-relative {{#fromloggedinuser}}send bg-secondary{{/fromloggedinuser}}{{^fromloggedinuser}}received bg-white{{/fromloggedinuser}} rounded mb-2 mt-2"
data-region="message"
data-message-id="{{id}}"
role="checkbox"
aria-checked="false"
tabindex="0"
>
<div class="tail position-absolute"></div>
<div class="d-flex align-items-center {{^fromloggedinuser}}pb-2{{/fromloggedinuser}}">
{{^fromloggedinuser}}
<div style="flex-shrink: 0">
@@ -67,4 +68,4 @@
<span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checkedcircle, core {{/pix}}</span>
</div>
<div dir="auto" align="initial">{{{text}}}</div>
</div>
</div>
@@ -600,7 +600,26 @@ $message-drawer-width: 320px;
overflow: hidden;
}
}

.message {
.tail {
content: '';
bottom: 0;
width: 0;
height: 0;
border: 0.5rem solid transparent;
position: relative;
}
&.send .tail {
right: 0;
margin-right: -0.5rem;
border-bottom-color: map-get($theme-colors, 'secondary');
}
&.received .tail {
left: 0;
margin-left: -0.5rem;
border-bottom-color: $white;
}
}
.lazy-load-list {
overflow-y: auto;
}
@@ -13771,6 +13771,21 @@ a.ygtvspacer:hover {
min-height: 1.5rem; }
.message-app .section .collapsing {
overflow: hidden; }
.message-app .message .tail {
content: '';
bottom: 0;
width: 0;
height: 0;
border: 0.5rem solid transparent;
position: relative; }
.message-app .message.send .tail {
right: 0;
margin-right: -0.5rem;
border-bottom-color: #ced4da; }
.message-app .message.received .tail {
left: 0;
margin-left: -0.5rem;
border-bottom-color: #fff; }
.message-app .lazy-load-list {
overflow-y: auto; }

@@ -14018,6 +14018,21 @@ a.ygtvspacer:hover {
min-height: 1.5rem; }
.message-app .section .collapsing {
overflow: hidden; }
.message-app .message .tail {
content: '';
bottom: 0;
width: 0;
height: 0;
border: 0.5rem solid transparent;
position: relative; }
.message-app .message.send .tail {
right: 0;
margin-right: -0.5rem;
border-bottom-color: #e9ecef; }
.message-app .message.received .tail {
left: 0;
margin-left: -0.5rem;
border-bottom-color: #fff; }
.message-app .lazy-load-list {
overflow-y: auto; }

0 comments on commit 04f41dc

Please sign in to comment.