diff --git a/app/img/icons/IconsetW.png b/app/img/icons/IconsetW.png index 3549e808..dfbe1362 100644 Binary files a/app/img/icons/IconsetW.png and b/app/img/icons/IconsetW.png differ diff --git a/app/img/icons/IconsetW_2x.png b/app/img/icons/IconsetW_2x.png index 3d8c27d3..19e6472b 100644 Binary files a/app/img/icons/IconsetW_2x.png and b/app/img/icons/IconsetW_2x.png differ diff --git a/app/js/controllers.js b/app/js/controllers.js index 5a4aa67c..8a71052a 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -725,7 +725,11 @@ angular.module('myApp.controllers', ['myApp.i18n']) }) $scope.$on('dialogs_multiupdate', function (e, dialogsUpdated) { - if ($scope.search.query !== undefined && $scope.search.query.length) { + if (searchMessages) { + return false + } + if ($scope.search.query !== undefined && + $scope.search.query.length) { return false } diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 66fff794..0bc813c6 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -470,8 +470,6 @@ "im_open_settings": "Open settings", "im_select_a_chat": "Please select a chat to start messaging", "im_loading_history": "Loading history", - "im_info": "Info", - "im_select": "Select", "im_media": "Media", "im_media_photos": "Photos", "im_media_video": "Videos", diff --git a/app/less/app.less b/app/less/app.less index 7aa099f3..ca67e54d 100644 --- a/app/less/app.less +++ b/app/less/app.less @@ -4727,7 +4727,7 @@ a.countries_modal_search_clear { body .im_dialogs_col_wrap, body .im_bottom_panel_wrap, body .tg_head_logo_wrap, - body .tg_head_msgs_edit_btn, + body .tg_head_peer_search_btn, body .tg_head_peer_return_btn, body .tg_head_peer_dropdown { display: none; diff --git a/app/less/desktop.less b/app/less/desktop.less index c8252414..113d7d5d 100644 --- a/app/less/desktop.less +++ b/app/less/desktop.less @@ -272,8 +272,10 @@ } } -.tg_head_msgs_edit_btn { +.tg_head_peer_search_btn { float: right; + padding-top: 15px; + padding-bottom: 15px; } .tg_head_peer { @@ -291,6 +293,10 @@ border-radius: 0; padding: 9px 0; + float: none; + right: 0; + left: auto; + margin: -1px 0 0 0; border: 1px solid rgba(15, 60, 96, 0.2); @@ -369,6 +375,37 @@ } } +.icon-search { + display: inline-block; + width: 17px; + height: 17px; + .image-2x('../img/icons/IconsetW.png', 42px, 1171px); + background-position: -12px -1037px; + vertical-align: middle; + opacity: 0.9; +} + + +.tg_head_peer_media_dropdown { + .dropdown-toggle { + display: block; + + .icon-bar { + display: block; + background-color: #d7e5f0; + width: 4px; + height: 4px; + border-radius: 2px; + margin-left: 3px; + margin-right: 3px; + + & + .icon-bar { + margin-top: 2px; + } + } + } +} + .icon-filter { &-photos, &-video, diff --git a/app/partials/desktop/head.html b/app/partials/desktop/head.html index 1c16118f..01adf310 100644 --- a/app/partials/desktop/head.html +++ b/app/partials/desktop/head.html @@ -40,19 +40,26 @@
- - + + + +