MediaWiki:Common.css: mudanças entre as edições

De Wiki PokeLegends
Ir para navegação Ir para pesquisar
Sem resumo de edição
Etiqueta: Reversão manual
Sem resumo de edição
Linha 14: Linha 14:


/* =========================================================
/* =========================================================
   ✨ TRANSIÇÕES SUAVES
   ✨ TRANSIÇÕES SUAVES (UPGRADE)
========================================================= */
========================================================= */
a,
a,
Linha 24: Linha 24:
.vector-menu-tabs a,
.vector-menu-tabs a,
#p-personal a {
#p-personal a {
     transition: all 0.2s ease-in-out !important;
     transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}
}


Linha 37: Linha 41:
a:hover {
a:hover {
     color: #dddddd !important;
     color: #dddddd !important;
     opacity: 0.85;
     opacity: 0.9;
}
}


Linha 57: Linha 61:
     padding: 6px 10px;
     padding: 6px 10px;
     border-radius: 4px;
     border-radius: 4px;
    border: none !important;
}
}


/* HOVER MAIS SUAVE */
#mw-panel a:hover {
#mw-panel a:hover {
     background-color: #23272a !important;
     background-color: #23272a !important;
     transform: translateX(4px);
     transform: translateX(3px);
}
}


Linha 83: Linha 87:
}
}


/* HOVER SUAVE */
.vector-menu-tabs a:hover,
.vector-menu-tabs a:hover,
#p-personal a:hover {
#p-personal a:hover {
Linha 89: Linha 94:
}
}


/* Aba ativa */
.vector-menu-tabs li.selected a {
.vector-menu-tabs li.selected a {
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
Linha 105: Linha 111:
}
}


/* HOVER MELHORADO */
button:hover,
button:hover,
input:hover,
input:hover,
select:hover {
select:hover {
     background-color: #23272a !important;
     background-color: #23272a !important;
     transform: scale(1.03);
     transform: scale(1.02);
}
}


Linha 154: Linha 161:
#toc {
#toc {
     border: 1px solid #444 !important;
     border: 1px solid #444 !important;
}
#toc a {
    color: #ffffff !important;
}
}


Linha 185: Linha 188:


/* =========================================================
/* =========================================================
   🧠 IMPORTANTE: NÃO QUEBRAR EDIÇÃO
   🧠 NÃO QUEBRAR EDIÇÃO
========================================================= */
========================================================= */
/* NÃO aplica dark na edição */
body.action-edit,
body.action-edit,
body.action-submit {
body.action-submit {

Edição das 14h30min de 7 de maio de 2026

/* =========================================================
   🌙 DARK THEME GLOBAL (WIKI)
========================================================= */
body,
#content,
.mw-body,
#mw-head,
#footer {
    background-color: #202225 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* =========================================================
   ✨ TRANSIÇÕES SUAVES (UPGRADE)
========================================================= */
a,
button,
input,
select,
textarea,
#mw-panel a,
.vector-menu-tabs a,
#p-personal a {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

/* =========================================================
   🔗 LINKS
========================================================= */
a, a:visited, a:link {
    color: #ffffff !important;
    text-decoration: none;
}

a:hover {
    color: #dddddd !important;
    opacity: 0.9;
}

/* =========================================================
   📂 SIDEBAR
========================================================= */
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#mw-panel .vector-menu-content {
    background-color: #2c2f33 !important;
    border: none !important;
}

#mw-panel a {
    display: block;
    background-color: #2c2f33 !important;
    color: #ffffff !important;
    padding: 6px 10px;
    border-radius: 4px;
}

/* HOVER MAIS SUAVE */
#mw-panel a:hover {
    background-color: #23272a !important;
    transform: translateX(3px);
}

/* =========================================================
   🔝 TOPO (BOTÕES)
========================================================= */
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-menu-tabs li,
.vector-menu-tabs a,
.vector-menu-tabs li a,
.vector-menu-tabs li.selected a,
#p-personal,
#p-personal a,
.mw-portlet,
.vector-menu {
    background-color: #202225 !important;
    color: #ffffff !important;
    border: none !important;
}

/* HOVER SUAVE */
.vector-menu-tabs a:hover,
#p-personal a:hover {
    background-color: #2c2f33 !important;
    transform: translateY(-1px);
}

/* Aba ativa */
.vector-menu-tabs li.selected a {
    background-color: #2c2f33 !important;
}

/* =========================================================
   🔘 BOTÕES / INPUTS
========================================================= */
button,
input,
select,
textarea {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
    border: none !important;
}

/* HOVER MELHORADO */
button:hover,
input:hover,
select:hover {
    background-color: #23272a !important;
    transform: scale(1.02);
}

/* =========================================================
   📊 TABELAS
========================================================= */
table,
.wikitable {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
}

th {
    background-color: #23272a !important;
}

td {
    background-color: #2c2f33 !important;
}

/* =========================================================
   📦 INFOBOX / NAVBOX
========================================================= */
.infobox,
.navbox {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
}

/* =========================================================
   📑 ÍNDICE (TOC COMPLETO)
========================================================= */
#toc,
.toc,
.toc ul,
.toc li,
.tocnumber,
.toctext {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
}

#toc {
    border: 1px solid #444 !important;
}

#toc a:hover {
    background-color: #23272a !important;
}

/* =========================================================
   📝 TEXTO E TÍTULOS
========================================================= */
h1, h2, h3, h4, h5, h6,
.mw-headline,
p, span, li {
    color: #ffffff !important;
}

/* =========================================================
   🚫 REMOVE BRANCOS INLINE
========================================================= */
[style*="background:#fff"],
[style*="background: white"],
[style*="background-color:#fff"],
[style*="background-color: white"] {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
}

/* =========================================================
   🧠 NÃO QUEBRAR EDIÇÃO
========================================================= */
body.action-edit,
body.action-submit {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* textarea edição */
body.action-edit textarea,
body.action-submit textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

/* editor visual */
body.action-edit .ve-ui-surface,
body.action-edit .ve-ce-attachedRootNode {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* toolbar */
body.action-edit .oo-ui-toolbar,
body.action-edit .ve-ui-toolbar {
    background-color: #f0f0f0 !important;
}

/* inputs na edição */
body.action-edit input,
body.action-edit select,
body.action-edit button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

/* links na edição */
body.action-edit a {
    color: #0645ad !important;
}