MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 211: | Line 211: | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* ================= HEADER ATRONIA | /* ================= HEADER ATRONIA (FIXED) ================= */ | ||
/* ========================================================= */ | /* ========================================================= */ | ||
/* Background */ | /* Background da barra */ | ||
.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 | /* Links e títulos no cabeçalho */ | ||
.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 */ | ||
.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 { | ||
background-color: # | /* Em vez de background branco (que tapa tudo), invertemos a cor para branco */ | ||
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; | |||
} | } | ||