Skip to content

HH(Compact notifications bar) by stalker666

Details

Authorstalker666

LicenseNo License

Categoryhentaiheroes

Created

Updated

Size3.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Compact translucent notification bar without unnecessary animations

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           HH(Compact notifications bar)
@namespace      github.com/openstyles/stylus
@version        1.0.0.3
@description    Compact translucent notification bar without unnecessary animations
@author         stalker666
@preprocessor stylus

@var select   noti_box_pos 'Notification bar position' {
 "on the left*": "left",
 "on the right": "right"
}

==/UserStyle== */

@-moz-document domain("hentaiheroes.com"),
domain("haremheroes.com"),
domain("comixharem.com"),
domain("pornstarharem.com"),
domain("mangarpg.com"),
domain("amouragent.com") {
if noti_box_pos == left {
    #toast-popups #objective_popup {
        right: unset;
        left: 0px;
    }

    #toast-popups #objective_popup .noti_box:before {
        background: transparent linear-gradient(90deg, rgba(62, 255, 255, .5) 0, rgba(62, 255, 200, 0) 100%) 0 0 no-repeat padding-box;
        border-radius: 0 .5rem .5rem 0;
    }

    #toast-popups #objective_popup .noti_box:after {
        border-radius: 0 .25rem .25rem 0;
        background: transparent linear-gradient(90deg, rgba(0, 9, 8, .5) 0, rgba(0, 98, 85, .5) 100%) 0 0 no-repeat padding-box
    }
}

if noti_box_pos == right {
    #toast-popups #objective_popup {
        right: 0px;
        left: unset;
    }

    #toast-popups #objective_popup .noti_box::before {
        background: transparent linear-gradient(90deg, rgba(62, 255, 200, 0) 0, rgba(62, 255, 255, .5) 100%) 0 0 no-repeat padding-box;
    }

    #toast-popups #objective_popup .noti_box::after {
        background: transparent linear-gradient(90deg, rgba(0, 98, 85, .5) 0, rgba(0, 9, 8, .5) 100%) 0 0 no-repeat padding-box;
    }
}

#toast-popups #objective_popup {
    top: 4rem;
}


#toast-popups * {
    pointer-events: none !important;
}

#toast-popups #objective_popup .noti_box {
    border-radius: 0 .5rem .5rem 0;
    padding: 0 0 0 0;
}

#toast-popups #objective_popup .noti_box:before,
#toast-popups #objective_popup .noti_box:after,
#toast-popups #objective_popup .points .row {
	transition: all 1ms;
}

#toast-popups #objective_popup .points .row .contest_name {
    padding: 2px 10px 0 10px;
    color: #ffab00;
    text-shadow: 2px -2px 5px rgb(0 0 0 / 90%), 2px 2px 5px rgb(0 0 0 / 90%), -2px 2px 5px rgb(0 0 0 / 90%), -2px -2px 5px rgb(0 0 0 / 90%);
    animation: slide_left 1ms ease-out;
}

#toast-popups #objective_popup .points .row .contest_points {
	animation: slide_left 1ms ease-out;
}

#toast-popups #objective_popup .points .row .contest_points .points_name {
    padding: 0 0 2px 10px;
    color: #ff723d;
    text-shadow: 2px -2px 5px rgb(0 0 0 / 90%), 2px 2px 5px rgb(0 0 0 / 90%), -2px 2px 5px rgb(0 0 0 / 90%), -2px -2px 5px rgb(0 0 0 / 90%);
    animation: slide_left 1ms ease-out;
}

#toast-popups #objective_popup .points .row .contest_points .points_num {
    animation: slide_left 1ms ease-out;
}

#toast-popups #objective_popup .points .row .contest_points .points_num .points_i {
    padding: 0 10px 2px 0;
    color: #43ce39;
    text-shadow: 2px -2px 5px rgb(0 0 0 / 90%), 2px 2px 5px rgb(0 0 0 / 90%), -2px 2px 5px rgb(0 0 0 / 90%), -2px -2px 5px rgb(0 0 0 / 90%);
    animation: slide_left 1ms ease-out;
}
}

Reviews

No reviews yet.