BBVA - Dark mode

By default these pages have too much white.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

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