BBVA - Dark mode

By default these pages have too much white.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

/* ==UserStyle==
@name           BBVA - Dark mode
@name:es        BBVA - Modo oscuro
@description    By default these pages have too much white.
@description:es La versión original hace daño a los ojos.
@namespace      https://greasyfork.org/en/users/4813
@author         Swyter
@version        2023.07.17
@license        CC-BY-SA 4.0
@preprocessor   default
==/UserStyle== */

@-moz-document domain("web.bbva.es")
{
    /* swy: dark mode */
    html
    {
        filter: invert(0.88) hue-rotate(180deg);
    }
    
    ph_cabecera,
    div[data-addon=bbva-announcement],
    div[data-autoload=experiencias],
    #app_footer_fyc_normal,
    div#footer,
    header[role=banner],
    nav#header,
    div[class*=megamenu__fixed],
    .m-marquee__media,
    nav-menu
    {
        filter: invert(1) hue-rotate(180deg);
    }
    
    img.o-media__img,
    img.o-heading__img,
    img[class*=cover]:not([class*=complexmarquee__img]),
    img[class*=card],
    video,
    iframe:not([id=initial-loading-spinner]),
    div.o-media__item.width-xxsmall
    {
        filter: invert(1) hue-rotate(180deg) !important;
    }
    
    /* swy: make the bank logo cover the whole cell */
    div.m-products table.o-table th[role=rowheader] img.o-media__img
    {
        width: inherit !important;
    }
}