Skip to content

vk.com fixes by ssaperr

Details

Authorssaperr

LicenseNo License

Categoryvk.com

Created

Updated

Size13 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

vk.com fixes

Notes

vk.com fixes

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         vk.com fixes
@version      20230503.12.57
@namespace    userstyles.world/user/ssaperr
@description  vk.com fixes
@author       ssaperr
@license      No License
==/UserStyle== */

@-moz-document domain("vk.com") {

span.LeftMenu__itemLabel, span[class^='LeftMenuItem-module__label']  {
    display: none;
}
.left_menu_nav_wrap {
display:none
}
.side_bar_nav_wrap {
    width: inherit;
    margin: 0 0 0 5px;
}
.side_bar_inner {
    z-index: 10;
    width: fit-content;
    padding: var(--page-block-offset, 16px)0 10px;
    margin-top: var(--header-height);
}
.side_bar {
    width: fit-content;
}
.LeftMenu__icon, div[class^='LeftMenuItem-module__icon'] {
    margin-right:0;
    
}
a[class^='LeftMenuItem-module__item'] {
    width: fit-content;
}
.LeftMenu__itemLink {
    transition: background 0.1s ease-in-out;
    width:fit-content;
}
div#react_rootEcosystemServicesNavigationEntry {
    display: none;
}
div#side_bar {
    position: fixed;
    top: 0 !important;
}
.left_count_wrap {
    position: absolute;
    box-sizing: border-box;
    width: unset;
    height: unset;
    background: none !important;
    top: 14px;
    left: 11px;
}
.left_count {
        padding: 4px !important;
    background: var(--gray_700_alpha60);
    font-size: 7px;
    border-radius: 100px;
    line-height: 5px !important;
}

.im-page .im-page--dialogs {float: right;}
-i-.page_block._im_page_dialogs.im-page--dialogs {position: absolute; right: 0; top: 15px; -i-display: none} /* Люди v2 - УГ */
.im-page .im-page--history {margin-left: 0px /* 317px */; margin-right: 317px;} /* Сообщения */
.im-page .im-page--history {
    border-radius: 6px 0 0 6px !important;
}
.im-page .im-page--dialogs {
    border-radius: 0 6px 6px 0 !important;
}
.im-page .im-page--dialogs-footer {
    border-radius: 0 0 6px 0 !important;
}
.page_block>.ui_search:first-child {
    border-radius: 0 6px 0 0 !important;
}
.im-chat-input {
    border-radius: 0 0 0 6px !important;
}
.im-page--toolsw {
    border-radius: 6px 0 0 0 !important;
}
.im-page--chat-header {
    border-radius: 6px 0 0 0 !important;
}
.im-page--dialogs-search.ui_search {
    border-radius: 0 6px 0 0 !important;
}

.im-page--title {
margin: 0 !important;
        padding-left: 20px !important;
}

/* убрать тень у Подарков */
[dir] .ProfileGift .vkuiAvatar {
    padding: 8px;
    background-color: var(--background_content);
    box-shadow: none /* 0 0 2px var(--black_alpha8),0 2px 14px var(--black_alpha8) */;
}
/* убрать неаккуратность у подарков - НАХУЙ! 
 : Настройка блока Подарков : */
.ProfileGift:first-child::before {content: "";min-width: 5px !important/* var(--scroll-stub-width) */;}
.ProfileGift:last-child::after {content: "";min-width: 5px !important/* var(--scroll-stub-width) */;}
.ProfileGift {display: flex; padding: 4px 2px 0px 2px/*  var(--cell-vertical-padding) var(--cell-horizontal-padding) */ !important;
    user-select: none; --cell-vertical-padding: 10px !important; --cell-horizontal-padding: 15px !important;
    --gift-width: 96px !important; /* 96px; */; margin-bottom: -2px !important;}
/* скрыть активный разделитель в Подарках, чтоб под курсор не лез */
.ProfileGifts .vkuiGroup__inner .vkuiSpacing {z-index: -1;}
/* тест приоритета изменения на строке подарков */
.ProfileGiftsRow__items {will-change: auto !important;}

#top_nav > li.HeaderNav__item.HeaderNav__item--logo > a.TopHomeLink > svg > g > g > path:nth-child(2) {
fill: var(--accent);
}

    /*by Ash @defenders08
Дизайнеры ВК, вы конченные долбаёбы...
С любовью, Эш...*/
    .narrow_column {
        width: 230px;
    }
    .narrow_column_wrap {
        width: 230px;
    }
    /* .narrow_column_wrap {
    width: 346px;
} */
    [dir=ltr] .wide_column_left .wide_column_wrap {
        margin-right: calc(345px + var(--page-block-offset, 15px));
    }
    [dir=ltr] .wide_column_left .wide_column_wrap {
        margin-right: 15px;
        width: 550px;
    }
    #page_body.fl_r {
        width: 795px !important;
    }
   #page_layout, #page_header {
    width: 879px;
    box-sizing: border-box;
    }

    .im-right-menu .ui_rmenu {
        max-width: 230px;
    }
    /* .Profile__column.vkuiSplitCol {
    width: 230px !important;
} */
    .ProfileGroup {
        width: 230px;
    }
    .ProfileGiftsRow {
        width: 230px;
    }
    /* Фикс сообщений */

.ui_scroll_hidden.ui_scroll_default_theme.ui_scroll_container._im_chat_body_abs.im-page--chat-body-abs > .ui_scroll_overflow > .ui_scroll_outer > .tt_noappend.ui_scroll_inner > .clear_fix.ui_scroll_content {
    width: 594px;
    }
.im-page--chat-body-abs._im_chat_body_abs.ui_scroll_container.ui_scroll_default_theme.ui_scroll_hidden {
    width: 594px !important;
    }
  
    ._im-page-wrap.im-page-wrapper {
        width: 911px;
    }
    .im-page--chat-body-abs._im_chat_body_abs.ui_scroll_container.ui_scroll_default_theme.ui_scroll_hidden {
        width: 594px !important;
    }

    /* Старое правое меню */
    body.redesign_web .ui_rmenu_item,
    .ui_rmenu_subitem {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        height: 32px;
        line-height: 31px;
        padding: 0 5px 0 20px;
        color: var(--link_alternate);
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        outline: 0;
        cursor: pointer;
    }
    body.redesign_web .ui_rmenu_item_sel,
    .ui_rmenu_item_sel:hover {
        color: var(--text_primary);
        background-color: var(--background_highlighted);
        font-weight: 500;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        padding-left: 18px;
        border-left: 2px solid var(--accent);
        text-decoration: none;
        border-radius: 1px!important;
    }

    body.redesign_web .ui_rmenu_item_sel.feed_section_photos._ui_item_photos._ui_rmenu_subitem.ui_rmenu_subitem {
        color: var(--text_primary);
        background-color: var(--background_highlighted);
        font-weight: 500;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        padding-left: 18px;
        border-left: 2px solid var(--accent);
        text-decoration: none;
        border-radius: 1px!important;
    }
    body.redesign_web .ui_rmenu_item_sel.feed_section_videos._ui_item_videos._ui_rmenu_subitem.ui_rmenu_subitem {
        color: var(--text_primary);
        background-color: var(--background_highlighted);
        font-weight: 500;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        padding-left: 18px;
        border-left: 2px solid var(--accent);
        text-decoration: none;
        border-radius: 1px!important;
    }
    body.redesign_web .ui_rmenu_item_sel.feed_section_podcasts._ui_item_podcasts._ui_rmenu_subitem.ui_rmenu_subitem {
        color: var(--text_primary);
        background-color: var(--background_highlighted);
        font-weight: 500;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        padding-left: 18px;
        border-left: 2px solid var(--accent);
        text-decoration: none;
        border-radius: 1px!important;
    }
    .ui_rmenu_subitem {
        padding: 0 5px 0 28px;
        color: var(--text_subhead);
    }
    body.redesign_web .ui_rmenu_item, .ui_rmenu_subitem {
    border-radius: 0px;
    display: flex;
    }
    .ui_rmenu_right-icon.feed_lists_icon_content {
        display: none;
    }

    body.redesign_web .ui_rmenu {
        padding: 6px 0;
        position: relative;
    }
    #profile_redesigned > div > div > div > div.vkuiSplitLayout.vkuiPopoutRoot > div > div.ScrollStickyWrapper > div {
        width: 230px !important;
    }
    #profile_redesigned > div > div > div > div.vkuiSplitLayout.vkuiPopoutRoot > div > div.ScrollStickyWrapper {
        width: 230px !important;
    }
    .RedesignedPageBlockContainer .page_block {
        width: 230px !important;
    }
    .RedesignedPageBlockContainer .page_block {
        width: 230px !important;
        box-sizing: border-box;
    }
   [dir] #side_bar {
     padding-left: unset!important; 
     margin-left: unset!important; 
     padding-right: unset!important; 
     margin-right: unset!important; 
}
.HeaderNav__item:nth-child(2), #top_nav > li.HeaderNav__item.HeaderNav__item--logo > a.TopHomeLink > svg > g > g > path:nth-child(1){
    display:none
    }
    li.HeaderNav__item.HeaderNav__item--logo {
    margin: 0 21px 0 9px !important;
}
    .TopHomeLink svg, .TopHomeLink  {
    margin: 0;
    width: 24px;
}
    #audio_layer_tt{
    left: -1px !Important;
    }
 
    #top_nav > li.HeaderNav__item.HeaderNav__btns {
    order: 1 !important;
    }

    #top_nav > li:nth-child(5) > div.TopNavBtn {
    display:none;
    }
    #top_notify_wrap {
    left: unset !important;
        right: 0 !Important;
    }
    #top_profile_menu {
    right: 0 !Important;
    }
    #top_nav > li:nth-child(5) {
    position:relative;
    }
    #side_bar a.left_row .left_count_wrap, .TopNavBtn__notifyCount, .side_bar a.LeftMenu__itemLink .left_count_wrap {

    }
    .top_audio_player {
    max-width: 100% !important;
    }
#page_header {
transition: width 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.TopNavBtn__profileArrow, .CatalogSection__rightColumn {
    display: none;
}
.redesign_web .CatalogSection__leftColumn {
    max-width: 100%;
    padding-right: 0;
    border-right: 0;
}
span.AvatarRich.AvatarRich--sz-64.AvatarRich--shadow, a.AvatarRich.AvatarRich--sz-64.AvatarRich--shadow {
    width: 50px !important;
    heigh...

Reviews

No reviews yet.