MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 241: | Linha 241: | ||
filter: invert(1); | filter: invert(1); | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
🧠 JANELAS ( | 🧠 JANELAS (CORRIGIDO - SEM QUEBRAR TOOLBAR) | ||
========================================================= */ | ========================================================= */ | ||
.oo-ui-window-content | /* Apenas conteúdo interno das janelas */ | ||
.oo-ui-window-content { | |||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
color: #000000 !important; | |||
} | |||
/* Inputs dentro das janelas */ | |||
.oo-ui-window-content input, | |||
.oo-ui-window-content textarea, | |||
.oo-ui-window-content select { | |||
background-color: #ffffff !important; | |||
color: #000000 !important; | |||
} | |||
/* Labels */ | |||
.oo-ui-window-content .oo-ui-labelElement-label { | |||
color: #000000 !important; | color: #000000 !important; | ||
} | } | ||
Edição das 15h05min de 7 de maio de 2026
/* =========================================================
🌙 PALETA GLOBAL
========================================================= */
:root {
--bg-main: #202225;
--bg-soft: #2c2f33;
--bg-hover: #23272a;
--border: #444;
--text: #ffffff;
--text-soft: #dddddd;
}
/* =========================================================
🔄 RESET GLOBAL
========================================================= */
* {
border: none !important;
box-shadow: none !important;
}
/* =========================================================
🌙 FUNDO GLOBAL
========================================================= */
body,
#content,
.mw-body,
#mw-head,
#footer {
background-color: var(--bg-main) !important;
color: var(--text) !important;
}
/* =========================================================
✨ TRANSIÇÕES
========================================================= */
a,
button,
input,
select,
textarea,
#mw-panel a,
.vector-menu-tabs a,
#p-personal a {
transition: all 0.25s ease;
}
/* =========================================================
🔗 LINKS
========================================================= */
a {
color: var(--text) !important;
text-decoration: none;
}
a:hover {
color: var(--text-soft) !important;
}
/* =========================================================
📂 SIDEBAR
========================================================= */
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#mw-panel .vector-menu-content {
background-color: var(--bg-soft) !important;
}
#mw-panel,
#mw-panel * {
color: var(--text) !important;
}
#mw-panel a {
display: block;
padding: 6px 10px;
border-radius: 4px;
background-color: var(--bg-soft) !important;
}
#mw-panel a:hover {
background-color: var(--bg-hover) !important;
transform: translateX(3px);
}
/* =========================================================
🔝 TOPO
========================================================= */
.vector-menu-tabs,
.vector-menu-tabs *,
#p-personal,
#p-personal * {
background-color: var(--bg-main) !important;
color: var(--text) !important;
}
.vector-menu-tabs a:hover,
#p-personal a:hover {
background-color: var(--bg-soft) !important;
}
/* =========================================================
🔘 INPUTS
========================================================= */
button,
input,
select,
textarea {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
button:hover,
input:hover,
select:hover {
background-color: var(--bg-hover) !important;
}
/* =========================================================
📊 TABELAS (CORREÇÃO TOTAL)
========================================================= */
table,
.wikitable,
.mw-parser-output table {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border: 1px solid var(--border) !important;
}
/* força texto branco em tudo */
table *,
.wikitable *,
.mw-parser-output table * {
color: var(--text) !important;
}
/* elementos internos */
table span,
table div,
table small,
table b,
table i,
table a {
color: var(--text) !important;
}
/* cabeçalho */
th {
background-color: var(--bg-hover) !important;
color: var(--text) !important;
}
/* células */
td {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* remove estilos inline */
[style*="color:black"],
[style*="color: black"],
[style*="color:#000"],
[style*="color: #000"] {
color: var(--text) !important;
}
/* =========================================================
📦 CAIXAS
========================================================= */
.infobox,
.navbox,
#toc,
.toc {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border: 1px solid var(--border) !important;
}
#toc a:hover {
background-color: var(--bg-hover) !important;
}
/* =========================================================
📝 TEXTOS
========================================================= */
h1, h2, h3, h4, h5, h6,
p, span, li {
color: var(--text) !important;
}
/* =========================================================
🚫 REMOVE BRANCO INLINE
========================================================= */
[style*="background:#fff"],
[style*="background-color:#fff"],
[style*="background: white"] {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* =========================================================
🧠 EDITOR (MODO CLARO)
========================================================= */
body.action-edit,
body.action-submit {
background-color: #ffffff !important;
color: #000000 !important;
}
#wpTextbox1 {
background-color: #ffffff !important;
color: #000000 !important;
border: 1px solid #ccc !important;
}
.ve-ui-surface {
background-color: #ffffff !important;
color: #000000 !important;
}
body.action-edit input,
body.action-edit textarea,
body.action-edit select {
background-color: #ffffff !important;
color: #000000 !important;
}
body.action-edit a {
color: #0645ad !important;
}
/* =========================================================
🧠 TOOLBAR
========================================================= */
.ve-ui-toolbar .oo-ui-buttonElement-button,
.ve-ui-toolbar .oo-ui-labelElement-label {
color: #000000 !important;
}
.ve-ui-toolbar .oo-ui-iconElement-icon {
filter: invert(1);
}
/* =========================================================
🧠 JANELAS (CORRIGIDO - SEM QUEBRAR TOOLBAR)
========================================================= */
/* Apenas conteúdo interno das janelas */
.oo-ui-window-content {
background-color: #ffffff !important;
color: #000000 !important;
}
/* Inputs dentro das janelas */
.oo-ui-window-content input,
.oo-ui-window-content textarea,
.oo-ui-window-content select {
background-color: #ffffff !important;
color: #000000 !important;
}
/* Labels */
.oo-ui-window-content .oo-ui-labelElement-label {
color: #000000 !important;
}