Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:




/* Recuo visual para subpáginas do Atlas no menu lateral */
/* Esconde as subpáginas */
#mw-panel a[href*="SENSBLUE_ATLAS/"] {
.atlas-submenu {
    display: none !important;
     padding-left: 15px !important;
     padding-left: 15px !important;
     font-size: 0.9em !important;
     font-size: 0.95em !important;
     opacity: 0.85;
     opacity: 0.85;
}
.atlas-submenu.is-open {
    display: block !important;
}
/* O Segredo: Desenha a seta idêntica à do índice da Datasheet */
.atlas-toggle-btn {
    cursor: pointer;
    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);
}
}