Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 211: Line 211:


/* ========================================================= */
/* ========================================================= */
/* ================= HEADER ATRONIA (FIXED) ================= */
/* ================= HEADER ATRONIA ========================= */
/* ========================================================= */
/* ========================================================= */


/* Background da barra */
/* Background */
.skin-vector-2022 .mw-header,
.skin-vector-2022 .mw-header,
.skin-vector-2022 .vector-sticky-header {
.skin-vector-2022 .vector-sticky-header {
Line 222: Line 222:
}
}


/* Links e títulos no cabeçalho */
/* Links + title */
.skin-vector-2022 .mw-header a,
.skin-vector-2022 .mw-header a,
.skin-vector-2022 .vector-sticky-header a,
.skin-vector-2022 .vector-sticky-header a,
Line 229: Line 229:
}
}


/* CORREÇÃO DOS ÍCONES: Usar filter em vez de background-color */
/* Force ALL header icons to white */
.skin-vector-2022 .mw-header .vector-icon,
.skin-vector-2022 .mw-header .vector-icon,
.skin-vector-2022 .vector-sticky-header .vector-icon,
.skin-vector-2022 .vector-sticky-header .vector-icon,
.skin-vector-2022 .mw-header .mw-ui-icon,
.skin-vector-2022 .mw-header .mw-ui-icon,
.skin-vector-2022 .vector-sticky-header .mw-ui-icon {
.skin-vector-2022 .vector-sticky-header .mw-ui-icon {
    /* Em vez de background branco (que tapa tudo), invertemos a cor para branco */
     background-color: #ffffff !important;
    filter: brightness(0) invert(1) !important;
     background-color: transparent !important; /* Remove o quadrado branco */
}
 
/* Exceção: Manter ícones pretos dentro da barra de pesquisa (fundo branco) */
#p-search .mw-ui-icon,
#p-search .vector-icon {
    filter: none !important;
}
}