MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* 1. | /* 1. Remove a imagem original (máscara) do ícone */ | ||
.vector-dropdown-label[aria-label="Toggle the table of contents"] | .vector-dropdown-label[aria-label="Toggle the table of contents"] .vector-icon, | ||
.vector-dropdown-label[aria-label="Toggle the table of contents"] | .vector-dropdown-label[aria-label="Toggle the table of contents"]::after { | ||
background-image: none !important; | |||
-webkit-mask-image: none !important; | |||
mask-image: none !important; | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* 2. | /* 2. Configura o botão para aceitar o novo ícone */ | ||
.vector-dropdown-label[aria-label="Toggle the table of contents"] { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
text-decoration: none !important; | |||
} | |||
/* 3. Injeta o Material Symbol */ | |||
.vector-dropdown-label[aria-label="Toggle the table of contents"]::before { | .vector-dropdown-label[aria-label="Toggle the table of contents"]::before { | ||
font-family: 'Material Symbols Outlined' !important; | font-family: 'Material Symbols Outlined' !important; | ||
content: " | content: "toc" !important; /* Podes usar "toc", "format_list_bulleted" ou "menu_open" */ | ||
font-size: | font-size: 24px !important; | ||
color: #000000 !important; | color: #000000 !important; | ||
display: inline-block; | display: inline-block !important; | ||
font-variation-settings: 'FILL' 0, 'wght' 400; | font-variation-settings: 'FILL' 0, 'wght' 400; | ||
margin-right: 0 !important; /* Ajusta se houver texto ao lado */ | |||
} | } | ||