MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 232: | Line 232: | ||
/* --- ATRONIA ICON REPAIR --- */ | /* --- ATRONIA ICON REPAIR: FORÇAR ESTADO NORMAL --- */ | ||
/* 1. | /* 1. Garante que o span do ícone nunca tenha fundo branco */ | ||
.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, | ||
| Line 240: | Line 240: | ||
.skin-vector-2022 .vector-sticky-header .mw-ui-icon { | .skin-vector-2022 .vector-sticky-header .mw-ui-icon { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
opacity: 1 !important; | |||
visibility: visible !important; | |||
} | } | ||
/* 2. | /* 2. Força o "desenho" do ícone a ser branco ANTES do hover */ | ||
.skin-vector-2022 .mw-header .vector-icon::before, | .skin-vector-2022 .mw-header .vector-icon::before, | ||
.skin-vector-2022 .mw-header .mw-ui-icon::before, | .skin-vector-2022 .mw-header .mw-ui-icon::before, | ||
| Line 248: | Line 250: | ||
.skin-vector-2022 .vector-sticky-header .mw-ui-icon::before { | .skin-vector-2022 .vector-sticky-header .mw-ui-icon::before { | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
opacity: 1 !important; | |||
-webkit-mask-size: contain; | -webkit-mask-size: contain; | ||
mask-size: contain; | mask-size: contain; | ||
} | } | ||
/* 3. | /* 3. Remove filtros de cinzento que o sistema aplica por padrão */ | ||
. | .cdx-button.cdx-button--weight-quiet:not(:disabled):not(.cdx-button--is-active) .vector-icon, | ||
.vector-sticky-header .cdx-button { | .cdx-button.cdx-button--weight-quiet:not(:disabled):not(.cdx-button--is-active) .mw-ui-icon { | ||
filter: brightness(0) invert(1) !important; | |||
} | |||
/* 4. Fix para os botões do Sticky Header */ | |||
.vector-sticky-header-icons .cdx-button { | |||
background-color: transparent !important; | background-color: transparent !important; | ||
} | } | ||