Skip to content

textUp by maxhack1337

Details

Authormaxhack1337

LicenseNo License

Categoryvk

Created

Updated

Code size2.3 kB

Code checksum8df59c4c

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A new userstyle

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           textUp
@namespace      github.com/openstyles/stylus
@version        1.1.2
@description    A new userstyle
@author         Me
==/UserStyle== */

@-moz-document domain("vk.com") {
    /*Обычные сообщения*/

    .ConvoMessage__content:has(.ConvoMessage__mediaAttachments):has(.ConvoMessage__text) {
        display: flex;
        flex-direction: column;

        .ConvoMessageHeader {
            order: -4 !important;
        }
        
        .ConvoMessage__reply {
            order: -3 !important;
            max-height: 42px;
        }
        
        .ConvoMessage__text {
            order: -2 !important;
            margin-top: 0px;
            margin-bottom: 12px;
        }

        .ConvoMessage__mediaAttachments {
            order: -1 !important;
        }

        .ConvoMessageBottomInfo {
            display: flex;
            justify-content: flex-end;
        }
    }


    .ConvoMessageWithoutBubble__content:has(.ConvoMessageWithoutBubble__mediaAttachments):has(.ConvoMessageWithoutBubble__text) {
        display: flex;
        flex-direction: column;

        .ConvoMessageHeader {
            order: -4 !important;
        }
        
        .ConvoMessageWithoutBubble__reply {
            order: -3 !important;
        }
        
        .ConvoMessageWithoutBubble__text {
            order: -2 !important;
            margin-top: 0px;
            margin-bottom: 4px;
        }

        .ConvoMessageWithoutBubble__mediaAttachments {
            order: -1 !important;
        }
    }

    /*Пересланные сообщения*/
    .ForwardedMessageNew__content {
        display: flex;
        flex-direction: column;

        .ForwardedMessageNew__text {
            order: -1 !important;
        }
        
        .Reply {
            order: -2 !important;
            max-height: 42px;
        }
    }

    /*Пост*/
    .AttachWallNew__content {
        display: flex;
        flex-direction: column;

        .AttachWallNew__WallReply {
            order: -4 !important;
        }
        
        .AttachWallNew__header {
            order: -3 !important;
        }
        
        .AttachWallNew__message {
            order: -2 !important;
        }
        
        .AttachWallNew__attaches {
            order: -1 !important;
        }
    }
}

Reviews

No reviews yet.