MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
/* Esconde as subpáginas | /* Esconde as subpáginas */ | ||
.atlas-submenu { | .atlas-submenu { | ||
display: none !important; | display: none !important; | ||
padding-left: | padding-left: 15px !important; | ||
font-size: 0.95em !important; | font-size: 0.95em !important; | ||
opacity: 0.85; | opacity: 0.85; | ||
} | } | ||
.atlas-submenu.is-open { | .atlas-submenu.is-open { | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* | /* O Segredo: Desenha a seta idêntica à do índice da Datasheet */ | ||
.atlas-toggle-btn { | .atlas-toggle-btn { | ||
cursor: pointer; | |||
display: inline-block; | display: inline-block; | ||
width: 12px; | |||
height: 12px; | |||
margin-left: 8px; | |||
/* Usa o SVG oficial do MediaWiki para garantir o mesmo design */ | |||
background-image: url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M3.22 2.22a.75.75 0 011.06 0l3.5 3.5a.75.75 0 010 1.06l-3.5 3.5a.75.75 0 11-1.06-1.06L6.19 6 3.22 3.03a.75.75 0 010-1.06z" fill="%2354595d"/></svg>); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
transition: transform 0.2s ease-in-out; | |||
} | |||
/* Quando clicado (Aberto), roda para baixo igual à imagem image_5452b6.png */ | |||
.atlas-toggle-btn.is-active { | |||
transform: rotate(90deg); | |||
} | } | ||