MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 232: | Line 232: | ||
/* --- FIX DOS ÍCONES ( | /* --- FIX DE CONTRASTE DOS ÍCONES (ATRONIA) --- */ | ||
/* 1. | /* 1. Alvo: Todos os ícones na Header e na Sticky Header */ | ||
.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 { | ||
/* Forçamos a inversão: o que era preto/cinza vira branco */ | |||
filter: brightness(0) invert(1) !important; | |||
/* | /* Mantemos o fundo transparente para o filtro atuar apenas no desenho */ | ||
background-color: transparent !important; | |||
/* | /* Garantimos que o ícone está visível e com tamanho correto */ | ||
opacity: 1 !important; | |||
visibility: visible !important; | |||
display: inline-block !important; | |||
width: 20px !important; | |||
height: 20px !important; | |||
/* Forçamos a máscara a preencher o espaço sem repetir */ | |||
-webkit-mask-size: contain !important; | -webkit-mask-size: contain !important; | ||
mask-size: contain !important; | mask-size: contain !important; | ||
-webkit-mask-repeat: no-repeat !important; | -webkit-mask-repeat: no-repeat !important; | ||
mask-repeat: no-repeat !important; | mask-repeat: no-repeat !important; | ||
} | } | ||
/* | /* 2. Remove os quadrados brancos que aparecem nos botões "Quiet" */ | ||
.cdx-button--weight-quiet.cdx-button--icon-only { | .cdx-button--weight-quiet.cdx-button--icon-only { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
| Line 269: | Line 265: | ||
} | } | ||
/* | /* 3. Fix para a seta do Dropdown (WikiManagement) */ | ||
.vector-dropdown-label::after { | .vector-dropdown-label::after { | ||
filter: brightness(0) invert(1) !important; | |||
} | } | ||