@media (max-width: 479px) { html { background: #FFF; } .tg_page_head .navbar > .container .navbar-brand { padding-left: 9px; } .im_history_panel_edit_link { margin-right: 0; } .navbar-header { float: none; } .navbar-toggle-wrap { float: right; display: block; margin: 0; } .navbar-toggle-wrap .navbar-toggle { float: none; display: block; margin: 0; padding: 11px 20px 10px; border-radius: 0; } .navbar_peer_not_selected .navbar-toggle-wrap .navbar-toggle { padding: 15px 16px; /*padding: 9px 10px;*/ } .navbar-toggle-wrap .navbar-toggle .icon-bar { background-color: #d7e5f0; width: 5px; height: 5px; border-radius: 3px; margin-left: 6px; margin-right: 6px; } .navbar-toggle-wrap .navbar-toggle .icon-bar + .icon-bar { margin-top: 3px; } .navbar_peer_not_selected .navbar-toggle-wrap .navbar-toggle .icon-bar { background-color: #fefeff; width: 21px; height: 2px; border-radius: 1px; margin-left: 0; margin-right: 0; } .navbar-toggle-wrap .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; } .navbar-toggle .dropdown-toggle { display: block; } .navbar-toggle-wrap .dropdown-menu { margin-top: 4px; right: -49px; left: auto; } .navbar_peer_not_selected .navbar-toggle-wrap .dropdown-menu { right: 0; } .navbar-search-wrap { display: none; float: right; margin: 0; line-height: 0; padding: 12px 14px 11px; border: 1px solid transparent; border-radius: 4px; } .navbar-search-wrap:link, .navbar-search-wrap:active { background-color: rgba(255,255,255,0.1); } .icon-search { display: inline-block; width: 21px; height: 21px; background: url(../img/icons/MobileIcons_2x.png) 0 0 no-repeat; background-size: 21px 52px; } .is_1x .icon-search { background-image: url(../img/icons/MobileIcons_1x.png); } .tg_page_head .navbar_peer_not_selected .navbar-search-wrap { display: block; } .tg_page_head .navbar-quick-nav { display: block; margin: 0; } .tg_page_head .navbar-quick-nav li { float: left; } .tg_page_head .navbar-quick-nav a { padding-top: 15px; padding-bottom: 15px; } .icon-back { display: inline-block; width: 10px; height: 18px; vertical-align: text-top; background: url(../img/icons/IconsetW.png) -15px -419px no-repeat; background-size: 42px 710px; opacity: 0.8; } .is_1x .icon-back { background-image: url(../img/icons/IconsetW_1x.png); } .tg_page_head .navbar-quick-nav a:active .icon-back { opacity: 1; } .tg_page_head .navbar > .container .navbar-brand { display: none; } .tg_page_head .navbar { min-height: 46px; } .tg_page_head .navbar_peer_not_selected > .container .navbar-brand { display: block; } .tg_page_head .navbar-inverse .navbar-quick-nav > li > a { padding-left: 15px; padding: 6px 10px 2px 25px; color: #b9cfe3; font-size: 13px; height: 46px; } .tg_page_head .navbar-inverse .navbar-quick-nav > li > a:hover { color: #b9cfe3; } .tg_page_head .navbar-inverse .navbar-quick-nav > li > a:active { background-color: rgba(255,255,255,0.1); } .navbar-quick-nav .icon-back { position: absolute; margin-left: -15px; margin-top: 10px; } .navbar-quick-nav h4 { font-size: 15px; color: #FFF; margin: 0; white-space: nowrap; } .navbar-quick-back-title { max-width: 130px; overflow: hidden; text-overflow: ellipsis; } .navbar-quick-media-back h4 { margin: 9px 0 12px 0; } .navbar-quick-profile-back small, .navbar-quick-group-back small { font-size: 12px; color: #FFF; white-space: nowrap; overflow: hidden; margin-left: 0; } .navbar-menu { display: none; } .navbar_offline .navbar-menu { display: block; } .navbar_offline .navbar-offline { float: left; margin: 0; } .navbar_offline .tg_head_logo { display: none; } .navbar-offline > li > a { padding-right: 0; padding-left: 0; } .navbar-offline-text { color: #FFF; padding-left: 0px; font-size: 15px; } .tg_page_head .navbar-inverse .navbar-offline > li > a { padding-top: 13px; padding-bottom: 12px; color: #FFF; font-size: 15px; } .tg_page_head .navbar_offline > .container .navbar-brand { margin-right: 0; } .navbar_offline .navbar-quick-nav li > a > .navbar-quick-back-title, .navbar_offline .im_head_attach, .navbar_offline .navbar-search-wrap { display: none; } .navbar-peer-wrap { display: block; float: right; width: 46px; height: 46px; padding: 5px; } .navbar-peer-wrap img { width: 36px; height: 36px; border-radius: 18px; overflow: hidden; } .navbar_peer_not_selected .navbar-peer-wrap { display: none; } .login_form_wrap { border-radius: 0; max-width: auto; box-shadow: none; -webkit-box-shadow: none; margin: 30px auto 20px; } .im_page_wrap { background: none; box-shadow: none; border: 0; overflow: hidden; } .im_page_footer { display: none; } .im_panel_own_photo, .im_panel_peer_photo { display: none; } .im_message_text, .im_message_document { /*float: left;*/ padding: 7px 10px; border-radius: 3px; background: #f1f1f1; } .im_message_out .im_message_text, .im_message_out .im_message_document { background: #e4ecf2; /*float: right;*/ } .im_message_document { padding: 5px; width: 250px; } .im_message_document_thumbed .im_message_document_name_wrap, .im_message_document_thumbed .im_message_audio_name_wrap, .im_message_document_thumbed .im_message_upload_progress_wrap, .im_message_document_thumbed .im_message_download_progress_wrap { width: 130px; } .im_message_document_thumbed .im_message_document_name { max-width: 70px; } /*.im_message_document, .im_message_audio, .im_message_upload_file { width: auto; }*/ /*.im_message_document_info { float: none; } .im_message_document_thumb_wrap { float: none; } .im_message_document_thumbed .im_message_document_name { max-width: 100%; }*/ .im_message_grouped1 .im_message_body, .im_message_grouped2 .im_message_body, .im_message_grouped3 .im_message_body, .im_message_grouped4 .im_message_body { margin-left: 0; } .im_history_panel_wrap { display: none; margin: 0 15px; } .im_send_panel_wrap { padding: 10px 5px; } .icon-select-tick { margin: 10px 0 0 -24px } .im_history { position: static; } .im_message_wrap { padding: 0 10px; } .im_content_message_wrap { font-size: 1.2em; margin-right: 65px; margin-left: 0; float: left; position: relative; } .im_message_out.im_content_message_wrap { margin-right: 0; margin-left: 80px; float: right; } .im_message_meta { float: none; position: absolute; bottom: 6px; right: -44px; } .im_message_date { font-size: 13px; } .im_message_out .im_message_meta { right: auto; left: -60px; } a.im_message_from_photo, a.im_message_author { display: none; } .im_message_out .icon-message-status-tick { border: 0; display: inline-block; width: 10px; height: 10px; line-height: 18px; border-radius: 7px; position: static; vertical-align: text-top; margin-right: 2px; opacity: 1; margin-top: 5px; } .im_message_out .icon-message-status-tick, .is_1x .im_message_out .icon-message-status-tick { background: none; } .im_message_unread .icon-message-status-tick, .is_1x .im_message_unread .icon-message-status-tick { background: #43A4DB; } .im_message_pending .icon-message-status-tick, .is_1x .im_message_pending .icon-message-status-tick { background: #9fd2ee; } .form-control { font-size: 1.2em; } .im_history_typing { padding: 0 15px 0 56px; } .im_history_panel_info_link { display: none; } .im_send_form { left: 0; right: 0; max-width: none; } .im_edit_flush_link, .im_edit_cancel_link, .im_edit_delete_btn, .im_edit_forward_btn { padding-left: 5px; padding-right: 5px; margin: 6px 4px; } .im_edit_panel_border { margin: 0 18px 22px 3px; } .im_edit_panel_wrap { margin: 0 5px; padding-bottom: 18px; } .im_history_col .nano > .nano-pane { top: 3px; right: 3px; width: 6px; } .im_history_col .nano > .nano-pane > .nano-slider, .contacts_modal_col .nano > .nano-pane > .nano-slider, .im_dialogs_modal_col .nano > .nano-pane > .nano-slider { background : rgba(3,46,79,0.22); border-radius: 3px; margin: 0; } .im_dialogs_col_wrap { border: 0; padding-bottom: 0; } .im_dialogs_col_wrap, .im_history_col_wrap { float: none; width: auto; max-width: auto; min-width: auto; } .im_dialogs_col_wrap, .im_page_peer_not_selected .im_history_col_wrap { display: none; } .im_page_peer_not_selected .im_dialogs_col_wrap { display: block; } .im_dialogs_col { margin-right: 0; } .im_page_peer_not_selected .im_dialogs_col_wrap .nano-pane { width: 6px; right: 3px; } .im_page_peer_not_selected .im_dialogs_col_wrap .nano-pane > .nano-slider { background : rgba(3,46,79,0.22); border-radius: 3px; margin: 0; } .im_dialogs_panel { display: none; padding-left: 9px; padding-right: 9px; } .im_dialogs_panel_search.im_dialogs_panel { display: block; } .im_dialogs_panel_dropdown { display: none; } .im_page_split .im_dialogs_search { margin-right: 0; } .im_dialogs_modal_col .im_dialogs_scrollable_wrap, .im_dialogs_scrollable_wrap { padding: 0; } .im_dialogs_scrollable_wrap a.im_dialog { border-bottom: 1px solid #d4d4d4; border-top: 1px solid #d4d4d4; margin-top: -1px; border-radius: 0 !important; padding-right: 11px; } .im_dialog_wrap:last-child a.im_dialog { border-bottom: 0; } .im_dialog_photo { width: 54px; height: 54px; border-radius: 27px; margin-right: 12px; } .im_dialog_peer, .im_dialog_message { font-size: 1.2em; } .im_dialog_peer { margin-bottom: 7px; margin-top: 6px; } .im_dialog_meta { margin-top: 5px; } .im_dialog_date, a.im_dialog:hover .im_dialog_date, a.im_dialog_selected .im_dialog_date { color: #b3b3b3; font-size: 13px; margin-right: 3px; } .im_dialog_badge { background: #64c270; font-size: 11px; padding: 5px; border-radius: 10px; min-width: 21px; text-align: center; } .im_dialog_unread, .active .im_dialog_unread, a.im_dialog:hover .im_dialog_unread, a.im_dialog_selected .im_dialog_unread { background: #7cacc7; } .im_dialog_message_text { color: #8f8f8f; } .im_dialogs_scrollable_wrap a.im_dialog:hover, .im_dialogs_scrollable_wrap a.im_dialog_selected, .im_dialogs_scrollable_wrap .active a.im_dialog, .im_dialogs_scrollable_wrap .active a.im_dialog:hover, .im_dialogs_scrollable_wrap .active a.im_dialog_selected { border-radius: 0; background-color: #f0f0f0; } .peer_select_modal_wrap .modal-body { padding-left: 0; padding-right: 0; } .modal.page_modal { background: #FFF; } .page_modal .modal-content { border-radius: 0; box-shadow: none; } .page_modal .modal-dialog { margin: 0; } .page_modal .modal-content .modal-body { padding-left: 0; padding-right: 0; } .page_modal .modal-footer { padding-left: 0; padding-right: 0; padding-bottom: 0; } .user_modal_other_btn button { padding-right: 0; } .user_modal_other_btn .dropdown-menu { left: auto; right: -9px; } .chat_modal_actions_wrap { clear: both; } .chat_modal_other_btn button { padding-right: 0; } .chat_modal_other_btn .dropdown-menu { left: auto; right: -9px; } .photo_modal_window .modal-content, .video_modal_window .modal-content { border-radius: 0; } .media_modal_wrap .modal-body { padding: 0 0 0; } .media_modal_actions, .media_modal_info{ margin: 10px; } .im_send_form { position: relative; } .im_send_field_wrap { margin-right: 50px; margin-left: 42px; } .im_media_attach, .im_attach { display: none; } .im_submit { background: none; border: 0; color: #1877c3; font-weight: bold; font-size: 15px; padding: 0 6px; position: absolute; right: 0; top: 0; width: 45px; min-width: 0; line-height: 32px; } .im_submit:hover { color: #1877c3; background: none; } .im_submit:active { box-shadow: none; } .im_emoji_btn { position: absolute; left: 7px; top: -1px; } .emoji-wysiwyg-editor { min-height: 32px; max-height: 150px; } .emoji-menu { margin-left: -19px; margin-top: -257px; } .im_edit_panel_wrap { padding-top: 2px; padding-bottom: 4px; } .im_edit_panel_border { margin-bottom: 3px; } .im_head_attach { display: block; float: right; cursor: pointer; overflow: hidden; position: relative; margin: 5px 0 5px 5px; height: 34px; border-radius: 4px; padding: 3px 7px; border: 1px solid #497495; } .navbar_peer_not_selected .im_head_attach { display: none; } .im_head_attach:active { background-color: rgba(255,255,255,0.1); } .im_head_attach .icon-paperclip { display: inline-block; width: 21px; height: 22px; vertical-align: text-top; opacity: 0.8; background: url(../img/icons/MobileIcons_2x.png) 0 -30px no-repeat; background-size: 21px 52px; } .is_1x .im_head_attach .icon-paperclip { background-image: url(../img/icons/MobileIcons_1x.png); } .im_head_attach:active .icon-paperclip { opacity: 1; } }