Greasy Fork is available in English.

BBVA - Dark mode

By default these pages have too much white.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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