BBVA - Dark mode

By default these pages have too much white.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

/* ==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;
    }
}