Fixed screen width, disabled transitions
This commit is contained in:
parent
88e3cb9b80
commit
a5d92adaa7
@ -879,13 +879,17 @@ a.tg_radio_on:hover i.icon-radio {
|
||||
background : rgba(0,0,0,0.0);
|
||||
width : 12px;
|
||||
right: 0px;
|
||||
-webkit-transition : .2s;
|
||||
-moz-transition : .2s;
|
||||
-o-transition : .2s;
|
||||
transition : .2s;
|
||||
-moz-border-radius : 0;
|
||||
-webkit-border-radius : 0;
|
||||
border-radius : 0;
|
||||
/*-webkit-transition : .2s;
|
||||
-moz-transition : .2s;
|
||||
-o-transition : .2s;
|
||||
transition : .2s;*/
|
||||
-webkit-transition : none;
|
||||
-moz-transition : none;
|
||||
-o-transition : none;
|
||||
transition : none;
|
||||
}
|
||||
.im_dialogs_col .nano > .pane > .slider {
|
||||
background: #A5B1B9;
|
||||
@ -1136,13 +1140,18 @@ a.im_dialog_selected .im_dialog_date {
|
||||
width : 9px;
|
||||
right: 0;
|
||||
top: 0;
|
||||
-webkit-transition : .2s;
|
||||
/*-webkit-transition : .2s;
|
||||
-moz-transition : .2s;
|
||||
-o-transition : .2s;
|
||||
transition : .2s;
|
||||
transition : .2s;*/
|
||||
-moz-border-radius : 2px;
|
||||
-webkit-border-radius : 2px;
|
||||
border-radius : 2px;
|
||||
|
||||
-webkit-transition : none;
|
||||
-moz-transition : none;
|
||||
-o-transition : none;
|
||||
transition : none;
|
||||
}
|
||||
|
||||
.contacts_modal_col .nano > .pane {
|
||||
|
@ -321,8 +321,10 @@ angular.module('myApp.controllers', [])
|
||||
if ($routeParams.q !== lastSearch) {
|
||||
$scope.search.query = lastSearch = $routeParams.q;
|
||||
$scope.search.messages = true;
|
||||
if ($scope.curDialog !== undefined) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
lastSearch = false;
|
||||
}
|
||||
|
@ -35,8 +35,8 @@ Config.Navigator = {
|
||||
osX: (navigator.platform || '').toLowerCase().indexOf('mac') != -1 ||
|
||||
(navigator.userAgent || '').toLowerCase().indexOf('mac') != -1,
|
||||
retina: window.devicePixelRatio > 1,
|
||||
touch: $(window).width() <= 768,
|
||||
mobile: $(window).width() < 480
|
||||
touch: screen.width <= 768,
|
||||
mobile: screen.width < 480
|
||||
};
|
||||
|
||||
Config.Schema = Config.Schema || {};
|
||||
|
Loading…
Reference in New Issue
Block a user