style improvements
This commit is contained in:
parent
b255481c03
commit
b0130531f8
@ -883,6 +883,15 @@ img.im_message_video_thumb {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.im_message_video_thumb {
|
||||||
|
-webkit-filter: blur(2px);
|
||||||
|
-moz-filter: blur(2px);
|
||||||
|
-o-filter: blur(2px);
|
||||||
|
-ms-filter: blur(2px);
|
||||||
|
filter: blur(2px);
|
||||||
|
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='2');
|
||||||
|
}
|
||||||
|
|
||||||
div.im_message_video_thumb {
|
div.im_message_video_thumb {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -965,6 +974,13 @@ div.im_message_video_thumb {
|
|||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.im_message_document_thumb {
|
||||||
|
border-radius: 2px;
|
||||||
|
overflow: hidden;
|
||||||
|
max-width: 100px;
|
||||||
|
max-height: 100px;
|
||||||
|
}
|
||||||
.im_message_document_name_wrap {
|
.im_message_document_name_wrap {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -1667,8 +1667,8 @@ angular.module('myApp.services', [])
|
|||||||
|
|
||||||
function wrapForHistory (videoID) {
|
function wrapForHistory (videoID) {
|
||||||
var video = angular.copy(videos[videoID]),
|
var video = angular.copy(videos[videoID]),
|
||||||
width = 100,
|
width = 200,
|
||||||
height = 100,
|
height = 200,
|
||||||
thumbPhotoSize = video.thumb,
|
thumbPhotoSize = video.thumb,
|
||||||
thumb = {
|
thumb = {
|
||||||
placeholder: 'img/placeholders/VideoThumbConversation.gif',
|
placeholder: 'img/placeholders/VideoThumbConversation.gif',
|
||||||
|
@ -115,6 +115,12 @@
|
|||||||
<div ng-switch-when="messageMediaDocument" class="im_message_document">
|
<div ng-switch-when="messageMediaDocument" class="im_message_document">
|
||||||
<a href="" ng-click="openDoc(historyMessage.media.document.id)" ng-if="!historyMessage.media.document.progress.enabled">
|
<a href="" ng-click="openDoc(historyMessage.media.document.id)" ng-if="!historyMessage.media.document.progress.enabled">
|
||||||
<i class="icon icon-document"></i>
|
<i class="icon icon-document"></i>
|
||||||
|
<!-- <img
|
||||||
|
class="im_message_document_thumb"
|
||||||
|
my-load-thumb
|
||||||
|
thumb="historyMessage.media.document.thumb"
|
||||||
|
ng-if="historyMessage.media.document.thumb"
|
||||||
|
/> -->
|
||||||
</a>
|
</a>
|
||||||
<i class="icon icon-document" ng-if="historyMessage.media.document.progress.enabled"></i>
|
<i class="icon icon-document" ng-if="historyMessage.media.document.progress.enabled"></i>
|
||||||
|
|
||||||
|
@ -281,7 +281,8 @@
|
|||||||
|
|
||||||
this.setup();
|
this.setup();
|
||||||
|
|
||||||
this.$button.on('mousedown', function() {
|
/* MODIFICATION: Following line was modified by Igor Zhukov, in order to improve emoji insert behaviour */
|
||||||
|
$(document.body).on('mousedown', function() {
|
||||||
if (self.hasFocus) {
|
if (self.hasFocus) {
|
||||||
self.selection = util.saveSelection();
|
self.selection = util.saveSelection();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user