MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
| Line 232: | Line 232: | ||
/* --- | /* --- FIX DEFINITIVO ATRONIA: ÍCONES NAVBAR --- */ | ||
/* 1. Alvo ultra-específico para ganhar do sistema CodEx */ | |||
.skin-vector-2022 .mw-header .vector-icon, | .skin-vector-2022 .mw-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 .vector-icon, | .skin-vector-2022 .vector-sticky-header .vector-icon, | ||
.skin-vector-2022 .vector-sticky-header .mw-ui-icon { | .skin-vector-2022 .vector-sticky-header .mw-ui-icon { | ||
/* | background-color: #ffffff !important; /* Cor do ícone */ | ||
-webkit-mask-repeat: no-repeat !important; | |||
mask-repeat: no-repeat !important; | |||
-webkit-mask-position: center !important; | |||
mask-position: center !important; | |||
-webkit-mask-size: contain !important; | |||
mask-size: contain !important; | |||
/* | /* Esta linha é o segredo: ela mantém o desenho original da Wiki mas permite mudar a cor */ | ||
-webkit-mask-image: inherit !important; | -webkit-mask-image: inherit !important; | ||
mask-image: inherit !important; | mask-image: inherit !important; | ||
/* Remove sombras ou fundos que criam o quadrado */ | |||
background-image: none !important; | |||
box-shadow: none !important; | |||
} | |||
/* 2. Forçar a seta do dropdown (Appearance/User) a ser branca também */ | |||
.skin-vector-2022 .mw-header .vector-dropdown-label::after, | |||
.skin-vector-2022 .vector-sticky-header .vector-dropdown-label::after { | |||
background-color: #ffffff !important; | |||
-webkit-mask-size: contain !important; | -webkit-mask-size: contain !important; | ||
mask-size: contain !important; | mask-size: contain !important; | ||
} | } | ||
/* | /* 3. Ajuste de Hover: Quando passas o rato, o ícone continua branco */ | ||
.cdx-button | .cdx-button:hover .vector-icon, | ||
.cdx-button | .cdx-button:hover .mw-ui-icon { | ||
background-color: #ffffff !important; | |||
} | } | ||