Fix tp-yt-paper-tooltip.yt-live-chat-text-message-renderer

It is to fix tp-yt-paper-tooltip.yt-live-chat-text-message-renderer

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name           Fix tp-yt-paper-tooltip.yt-live-chat-text-message-renderer
@namespace      github.com/openstyles/stylus
@version        1.0.3
@description    It is to fix tp-yt-paper-tooltip.yt-live-chat-text-message-renderer
@author         CY Fung
@license MIT
==/UserStyle== */

@-moz-document url-prefix("https://www.youtube.com/live_chat") {
    /* Insert code here... */
    tp-yt-paper-tooltip.style-scope.yt-live-chat-text-message-renderer[role="tooltip"],
    tp-yt-paper-tooltip.style-scope.yt-live-chat-author-badge-renderer[role="tooltip"] {
        
        border-radius: 4px;
        margin: 8px;
        text-transform: none;
        word-break: normal;
        font-family: "Roboto","Arial",sans-serif;
        font-size: 1.2rem;
        line-height: 1.8rem;
        font-weight: 400;
                background-color: var(--paper-tooltip-background, #616161);
        color: var(--paper-tooltip-text-color, white);
        padding: 8px;
            -webkit-font-smoothing: antialiased;
            outline: none;
        
        
        opacity: 0.8;
        transform:translate(0px, -10px);
        display: var(--mtooltip-display);
        
    }
    
    .yt-live-chat-item-list-renderer:not(:hover){
        --mtooltip-display: none;
    }
    
}