Skip to content

Hide Scrollbars for DemoFx by smissingham

Details

Authorsmissingham

LicenseNo License

Categorydemo-us.demo1.pricefx.com

Created

Updated

Size957 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hides scrollbars on demofx

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Hide Scrollbars
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */

@-moz-document domain("pricefx.com") {
    .ucTablePingedStatus{ display: none; }
    
    :root {
        --scroll-bar-color: #c5c5c5;
        --scroll-bar-bg-color: #f6f6f6;
    }    
    
    ::-webkit-scrollbar-corner { background: rgba(0,0,0,0.5); }

    * {
        scrollbar-width: thin;
        scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
    }

    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        
        width: 10px;
        height: 10px;
    }

    *::-webkit-scrollbar-track {
        background: var(--scroll-bar-bg-color);
    }

    *::-webkit-scrollbar-thumb {
        background-color: var(--scroll-bar-color);
        border-radius: 20px;
        border: 3px solid var(--scroll-bar-bg-color);
    }
}

Reviews

No reviews yet.