Merge branch 'MDL-63674-master' of git://github.com/rezaies/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 27 Feb 2019 05:01:08 +0000 (13:01 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 27 Feb 2019 05:01:08 +0000 (13:01 +0800)
message/templates/message_drawer_view_conversation_body_message.mustache
message/templates/message_drawer_view_conversation_footer_content.mustache
theme/boost/scss/moodle/message.scss
theme/boost/style/moodle.css
theme/bootstrapbase/less/moodle/message.less
theme/bootstrapbase/style/moodle.css
theme/bootstrapbase/templates/core_message/message_drawer_view_conversation_body_message.mustache
theme/bootstrapbase/templates/core_message/message_drawer_view_conversation_footer_content.mustache

index 5bfca2d..bd3c2c2 100644 (file)
@@ -66,5 +66,5 @@
         <span class="hidden ml-2 small text-dark" data-region="not-selected-icon">{{#pix}} i/uncheckedcircle, core {{/pix}}</span>
         <span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checkedcircle, core {{/pix}}</span>
     </div>
-    <div>{{{text}}}</div>
+    <div dir="auto" align="initial">{{{text}}}</div>
 </div>
\ No newline at end of file
index a26501d..2d5f488 100644 (file)
@@ -37,6 +37,7 @@
 
 <div class="d-flex mt-1">
     <textarea
+        dir="auto"
         data-region="send-message-txt"
         class="form-control bg-light"
         rows="3"
index 28055ec..99a4780 100644 (file)
@@ -469,6 +469,10 @@ $message-drawer-width: 320px;
     .footer-container {
         flex-shrink: 0;
         overflow-x: hidden;
+
+        textarea {
+            direction: ltr;
+        }
     }
 
     .matchtext {
index 5853b52..f7d6e70 100644 (file)
@@ -13655,6 +13655,8 @@ a.ygtvspacer:hover {
   .message-app .footer-container {
     flex-shrink: 0;
     overflow-x: hidden; }
+    .message-app .footer-container textarea {
+      direction: ltr; }
   .message-app .matchtext {
     background-color: #b5d9f9;
     color: #373a3c;
index 6ab7c1b..5cff514 100644 (file)
     .footer-container {
         flex-shrink: 0;
         overflow-x: hidden;
+
+        textarea {
+            direction: ltr;
+        }
     }
 
     .matchtext {
     }
 }
 
+.dir-rtl {
+    .message-drawer {
+        box-shadow: 2px 2px 4px rgba(0, 0, 0, .08);
+    }
+}
+
 @media (max-width: 480px) {
     .messaging-area-container {
         .messaging-area {
index dc275e0..74616fe 100644 (file)
@@ -8555,6 +8555,9 @@ a.ygtvspacer:hover {
   flex-shrink: 0;
   overflow-x: hidden;
 }
+.message-app .footer-container textarea {
+  direction: ltr;
+}
 .message-app .matchtext {
   background-color: #ade6fe;
   color: #333;
@@ -8644,6 +8647,9 @@ a.ygtvspacer:hover {
 .message-app .lazy-load-list {
   overflow-y: auto;
 }
+.dir-rtl .message-drawer {
+  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
+}
 @media (max-width: 480px) {
   .messaging-area-container .messaging-area .messages-area.editing .messages-header {
     height: 80px;
index a8173b6..f6ee0e1 100644 (file)
@@ -70,5 +70,5 @@
         <span class="hidden ml-2 small text-primary" data-region="not-selected-icon">{{#pix}} i/uncheckedcircle, core {{/pix}}</span>
         <span class="hidden ml-2 small text-primary" data-region="selected-icon">{{#pix}} i/checkedcircle, core {{/pix}}</span>
     </div>
-    <div>{{{text}}}</div>
+    <div dir="auto" align="initial">{{{text}}}</div>
 </div>