diff --git a/app/css/app.css b/app/css/app.css index 7bb51300..dbed3b7e 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -619,7 +619,7 @@ a.tg_radio_on:hover i.icon-radio { .tg_form_group { - padding: 8px 0; + padding: 6px 0; } .tg_form_group:first-child { padding-top: 0; @@ -2055,7 +2055,7 @@ img.img_fullsize { } .user_modal_header { font-weight: bold; - margin: 0 0 10px; + margin: 2px 0 7px; } .user_modal_status { color: #999; @@ -2641,6 +2641,46 @@ input.tg_range::-moz-range-thumb { display: none; } +.settings_about_section_body { + padding-right: 0; +} +.settings_about_section_body p { + margin-top: 7px; + margin-bottom: 3px; +} +.settings_external_service { + line-height: 0; + display: inline-block; + padding: 7px 9px; +} +.icon-github { + display: inline-block; + width: 59px; + height: 18px; + background: url(../img/icons/AboutLogos_2x.png) no-repeat 0 -5px; + background-size: 60px 136px; +} +a:hover .icon-github { + background-position: 0 -43px; +} + +.icon-twitter { + display: inline-block; + width: 20px; + height: 15px; + margin-top: 1px; + background: url(../img/icons/AboutLogos_2x.png) no-repeat 0 -81px; + background-size: 60px 136px; +} +a:hover .icon-twitter { + background-position: 0 -116px; +} + +.is_1x .icon-github, +.is_1x .icon-twitter { + background-image: url(../img/icons/AboutLogos_1x.png); +} + /* Contacts modal */ .contacts_modal_window .modal-dialog { max-width: 506px; @@ -3401,3 +3441,4 @@ ce671b orange .changelog_version_changes_list li { line-height: 20px; } + diff --git a/app/img/icons/AboutLogos_1x.png b/app/img/icons/AboutLogos_1x.png new file mode 100644 index 00000000..5f8ee77a Binary files /dev/null and b/app/img/icons/AboutLogos_1x.png differ diff --git a/app/img/icons/AboutLogos_2x.png b/app/img/icons/AboutLogos_2x.png new file mode 100644 index 00000000..16538718 Binary files /dev/null and b/app/img/icons/AboutLogos_2x.png differ diff --git a/app/js/directives.js b/app/js/directives.js index cbd025df..37da2fd2 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -56,6 +56,16 @@ angular.module('myApp.directives', ['myApp.filters']) return true; } + if (e.keyCode == 36 && !e.shiftKey && !e.ctrlKey && e.altKey) { // Alt + Home + var currentSelected = $(scrollableWrap).find('.im_dialog_wrap a')[0]; + if (currentSelected) { + currentSelected.click(); + scrollableWrap.scrollTop = 0; + $(dialogsWrap).nanoScroller({flash: true}); + } + return cancelEvent(e); + } + if (e.keyCode == 27 || e.keyCode == 9 && e.shiftKey) { // ESC or Shift + Tab if (!searchFocused) { searchField.focus(); diff --git a/app/partials/changelog_modal.html b/app/partials/changelog_modal.html index 74ff2584..a78ac329 100644 --- a/app/partials/changelog_modal.html +++ b/app/partials/changelog_modal.html @@ -25,6 +25,12 @@
- Webogram v{{version}}, Recent updates, Source code on GitHub + Recent updates (ver. )
-Follow us on Twitter: @telegram_web