Skip to content

Sankaku Tooltip Tweak(s) by galinoa

Details

Authorgalinoa

LicenseMIT

Categorychan.sankakucomplex.com

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Modification(s) made to the post tooltips.

Notes

Upon request.

Changelog:

v0.0.1 - 02-02-2024
Release. Edit the maximum height for the displayed tags in the post tooltips.

Source code

/* ==UserStyle==
@name           Sankaku Tooltip Tweak(s)
@namespace      sankakucomplex.com
@description    Modification(s) made to the post tooltips.
@author         Galinoa
@preprocessor   stylus
@version        0.0.4
@license        MIT

@var range      tooltip-height  "📐 Taglist height"             [50, 50, 500, 10, "px"]
@var checkbox   expand-taglist  "🔍 Expand taglist on hover"    0

==/UserStyle== */

// Format: UserCSS
// This userstyle uses the Stylus-lang preprocessor.
// Complete preprocessor documentation at: https://stylus-lang.com
// Writing UserCSS: https://github.com/openstyles/stylus/wiki/Writing-UserCSS


@-moz-document domain("chan.sankakucomplex.com"), domain("legacy.sankakucomplex.com")
    
    #tooltips
        if expand-taglist
            &:hover
                .p--tooltip_bottom
                    max-height: tooltip-height
                    transition: max-height 1.2s ease-out
            .p--tooltip_bottom
                transition: max-height 1.2s ease-in
                transition-delay: 0.6s
        else
            .p--tooltip_bottom
                max-height: tooltip-height

Reviews

No reviews yet.