Skip to content

gear buttons by radimous

Details

Authorradimous

LicenseMIT

Categoryhttps://vault-hunters.netlify.app

Created

Updated

Size692 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Slightly lowers gear button brightness and removes the translation effect on hover

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         gear buttons
@version      20230822.09.01
@namespace    ?
==/UserStyle== */

@-moz-document url-prefix("https://vault-hunters.netlify.app") {
/* remove button shift on hover */
.iconBox_container__7MzQg:hover {
    transform: initial;
    filter: brightness(1.15); /*sometimes didn't work without this for some reason ¯\_(ツ)_/¯*/
}

/* make brightness of whole button (gear piece + background) same as hover */
.gearPiece_active__F7VoN {
    filter: brightness(1.15);
}

/* make only background (not gear piece) brighter (less than original -  1.38 (1.15*1.2) < 1.5) */
.gearPiece_active__F7VoN > img {
    filter: brightness(1.2);
}
}

Reviews

No reviews yet.