MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* 1. Esconde o ícone de lista original da Wiki */ | |||
.vector-dropdown-label[aria-label="Toggle the table of contents"]::after, | |||
.vector-dropdown-label[aria-label="Toggle the table of contents"] .vector-icon { | |||
display: none !important; | |||
} | |||
/* 2. Injeta o novo ícone Material Symbol */ | |||
.vector-dropdown-label[aria-label="Toggle the table of contents"]::before { | |||
font-family: 'Material Symbols Outlined' !important; | |||
content: "format_list_bulleted" !important; /* Podes mudar para "toc" ou "menu_open" */ | |||
font-size: 20px !important; | |||
color: #000000 !important; | |||
display: inline-block; | |||
vertical-align: middle; | |||
margin-right: 4px; /* Ajusta se o ícone estiver muito colado */ | |||
font-variation-settings: 'FILL' 0, 'wght' 400; | |||
} | |||
/* 3. Ajuste de alinhamento do botão para não ficar torto */ | |||
.vector-dropdown-label[aria-label="Toggle the table of contents"] { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
padding: 6px !important; | |||
} | |||
/* Remove o ícone original vazio que está a criar o espaço no Logout */ | /* Remove o ícone original vazio que está a criar o espaço no Logout */ | ||
#pt-logout a .vector-icon { | #pt-logout a .vector-icon { | ||