Skip to content

Wide vk.com chat by rainbow-spike

Details

Authorrainbow-spike

LicenseCC BY-NC-SA 4.0

Categoryvk.com

Created

Updated

Size2.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Расширение чата ВКонтакте, работоспособно как минимум на экране 1920 × 1080

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Wide vk.com chat
@namespace      Comicslate
@version        2021.7.28
@preprocessor   less
@license        CC-BY-NC-SA-4.0
@author         Rainbow-Spike
@supportURL     https://userstyles.world/api/style/225.user.css
==/UserStyle== */

@-moz-document domain("vk.com") {
	body {
		.scroll_fix {
			overflow: hidden;
			width: 100% !important;
			#page_layout {
				padding: 0;
				width: auto;
				#side_bar {
					margin: 0;
					padding: 0;
				}
				#page_body {
					font-size: 16px;
					width: calc(100% - 149px) !important;
					.im-page {
						height: calc(100vh - 50px);
						padding: 0;
						.im-page--history {
							margin: 0 0 0 317px !important;
							.im-page--chat-header {
								/* обжать позже */
							}
							.im-page--chat-body-abs {
								width: 100% !important;
								.im-mess-stack {
									.im-mess-stack--photo {
										left: 23px;
									}
									.im-mess-stack {
										.im-mess-stack--photo {
											left: 5px;
										}
									}
									.im-mess-stack--content {
										.im-mess-stack--info .im-mess-stack--pname {
											left: 66px;
											font-size: 16px;
										}
										.im-mess-stack--mess .im-mess {
											border-top: 1px #ddd solid;
											margin: 0 !important;
											padding: 5px 0 !important;
											.im-mess--check {
												left: 3px;
											}
											.im-mess--text {
												hyphens: auto;
												margin: 6px 0 0 66px !important;
												.media_link__media {
													width: calc(100% - 10px) !important;
												}
											}
										}
									}
								}
							}
							.im-chat-input {
								padding: 3px 0 !important;
								.im-chat-input--textarea {
									width: calc(100% - 80px) !important;
									.im-chat-input--txt-wrap {
										margin: 0 !important;
										.im_chat-input--buttons .emoji_smile {
											padding: 6px 7px 6px 0;
										}
										.im-chat-input--text {
											font-size: 16px;
											line-height: 16px;
											min-height: 60px;
											padding: 3px 0 0 10px !important;
										}
										.placeholder {
											left: 8px;
											top: 21px;
										}
										.im-chat-input--send {
											right: -47px;
										}
									}
									.im-chat-input--attaches {
										margin: 0 !important;
									}
									#_im_keyboard_container {
										margin: 0 !important;
									}
								}
							}
						}
					}
				}
			}
		}
		#fastchat-reforged,
		#chat_onl_wrap { /* блок микрочата */
			display: none !important;
		}
	}
}

Reviews

No reviews yet.