Browse Source

Improved GIF styles

master
Igor Zhukov 10 years ago
parent
commit
c8c2a1e764
  1. 3
      app/css/app.css
  2. 1
      app/js/lib/mtproto.js
  3. 2
      app/partials/message.html

3
app/css/app.css

@ -2976,6 +2976,8 @@ ce671b orange @@ -2976,6 +2976,8 @@ ce671b orange
-ms-filter: blur(2px);
filter: blur(2px);
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='2');
margin: -1px;
padding: 1px;
}
.img_gif_image {
@ -3010,6 +3012,7 @@ ce671b orange @@ -3010,6 +3012,7 @@ ce671b orange
right: 0;
}
.img_gif_progress_wrap .tg_progress {
background: rgba(0,0,0, 0.6);
border-color: rgba(0,0,0, 0.6);
border-width: 8px;
height: 18px;

1
app/js/lib/mtproto.js

@ -1261,6 +1261,7 @@ factory('MtpAuthorizer', function (MtpDcConfigurator, MtpRsaKeysManager, MtpSecu @@ -1261,6 +1261,7 @@ factory('MtpAuthorizer', function (MtpDcConfigurator, MtpRsaKeysManager, MtpSecu
mtpSendReqDhParams(auth);
}
}, function (error) {
console.log(dT(), 'req_pq error', error.message);
deferred.reject(error);
});

2
app/partials/message.html

@ -199,7 +199,7 @@ @@ -199,7 +199,7 @@
</div>
<div class="im_message_audio_player_wrap" ng-if="historyMessage.media.audio.url">
<audio my-audio-autoplay audio="historyMessage.media.audio" controls="controls">
<source bo-src="historyMessage.media.audio.url" type="audio/mpeg" />
<source bo-src="historyMessage.media.audio.url" type="audio/ogg" />
<embed bo-src="historyMessage.media.audio.url" hidden="true" autostart="true" loop="false" />
</audio>
</div>

Loading…
Cancel
Save