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 12: | Linha 12: | ||
/* ========================================================= | /* ========================================================= | ||
🔄 RESET GLOBAL | 🔄 RESET GLOBAL (versão segura) | ||
========================================================= */ | ========================================================= */ | ||
* { | * { | ||
box-sizing: border-box; | |||
box- | |||
} | } | ||
| Linha 65: | Linha 64: | ||
#mw-panel .vector-menu-content { | #mw-panel .vector-menu-content { | ||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
} | } | ||
| Linha 88: | Linha 83: | ||
========================================================= */ | ========================================================= */ | ||
.vector-menu-tabs, | .vector-menu-tabs, | ||
#p-personal { | |||
#p-personal | |||
background-color: var(--bg-main) !important; | background-color: var(--bg-main) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
| Linha 118: | Linha 111: | ||
/* ========================================================= | /* ========================================================= | ||
📊 TABELAS ( | 📊 TABELAS (CORRIGIDO TOTAL) | ||
========================================================= */ | ========================================================= */ | ||
table, | table, | ||
| Linha 128: | Linha 121: | ||
} | } | ||
table *, | table *, | ||
.wikitable *, | .wikitable *, | ||
| Linha 135: | Linha 127: | ||
} | } | ||
th { | th { | ||
background-color: var(--bg-hover) !important; | background-color: var(--bg-hover) !important; | ||
| Linha 151: | Linha 132: | ||
} | } | ||
td { | td { | ||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
| Linha 157: | Linha 137: | ||
} | } | ||
/* remove | /* remove cores inline problemáticas */ | ||
[style*="color:black"], | [style*="color:black"], | ||
[style*="color:#000"], | [style*="color:#000"], | ||
[style*="color: | [style*="color: black"] { | ||
color: var(--text) !important; | color: var(--text) !important; | ||
} | } | ||
| Linha 175: | Linha 154: | ||
color: var(--text) !important; | color: var(--text) !important; | ||
border: 1px solid var(--border) !important; | border: 1px solid var(--border) !important; | ||
} | } | ||
| Linha 193: | Linha 168: | ||
========================================================= */ | ========================================================= */ | ||
[style*="background:#fff"], | [style*="background:#fff"], | ||
[style*="background:white"] { | |||
[style*="background: white"] { | |||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
| Linha 200: | Linha 174: | ||
/* ========================================================= | /* ========================================================= | ||
🧠 EDITOR ( | 🧠 EDITOR (CLARO) | ||
========================================================= */ | ========================================================= */ | ||
body.action-edit, | body.action-edit, | ||
| Linha 212: | Linha 186: | ||
color: #000000 !important; | color: #000000 !important; | ||
border: 1px solid #ccc !important; | border: 1px solid #ccc !important; | ||
} | } | ||
| Linha 226: | Linha 195: | ||
} | } | ||
/* toolbar não quebrada */ | |||
color: # | .ve-ui-toolbar * { | ||
color: #000 !important; | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
🧠 | 🧠 JANELAS OOUI (UPLOAD / MODAIS) - FIX COMPLETO | ||
========================================================= */ | ========================================================= */ | ||
. | .oo-ui-window, | ||
. | .oo-ui-dialog, | ||
.oo-ui-processDialog, | |||
.oo-ui-window-frame, | |||
.oo-ui-window-body, | |||
.oo-ui-window-content, | |||
.oo-ui-dialog-content, | |||
.oo-ui-processDialog-content { | |||
background-color: #ffffff !important; | |||
color: #000000 !important; | color: #000000 !important; | ||
} | } | ||
. | .oo-ui-window-content *, | ||
.oo-ui-dialog-content *, | |||
.oo-ui-processDialog-content * { | |||
color: #000000 !important; | |||
} | } | ||
.oo-ui-labelElement-label, | |||
.oo-ui- | .oo-ui-fieldLayout-body, | ||
.oo-ui-messageDialog-message { | |||
color: #000000 !important; | color: #000000 !important; | ||
} | } | ||
.oo-ui-window-content input, | .oo-ui-window-content input, | ||
.oo-ui-window-content textarea, | .oo-ui-window-content textarea, | ||
| Linha 257: | Linha 232: | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
color: #000000 !important; | color: #000000 !important; | ||
border: 1px solid #ccc !important; | |||
} | } | ||
/* | /* overlay escuro */ | ||
.oo-ui- | .oo-ui-defaultOverlay, | ||
color: | .oo-ui-overlay { | ||
background-color: rgba(0,0,0,0.6) !important; | |||
} | } | ||
Edição das 15h13min 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 (versão segura)
========================================================= */
* {
box-sizing: border-box;
}
/* =========================================================
🌙 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;
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,
#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 (CORRIGIDO TOTAL)
========================================================= */
table,
.wikitable,
.mw-parser-output table {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border: 1px solid var(--border) !important;
}
table *,
.wikitable *,
.mw-parser-output table * {
color: var(--text) !important;
}
th {
background-color: var(--bg-hover) !important;
color: var(--text) !important;
}
td {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* remove cores inline problemáticas */
[style*="color:black"],
[style*="color:#000"],
[style*="color: black"] {
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;
}
/* =========================================================
📝 TEXTOS
========================================================= */
h1, h2, h3, h4, h5, h6,
p, span, li {
color: var(--text) !important;
}
/* =========================================================
🚫 REMOVE BRANCO INLINE
========================================================= */
[style*="background:#fff"],
[style*="background:white"] {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* =========================================================
🧠 EDITOR (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;
}
body.action-edit input,
body.action-edit textarea,
body.action-edit select {
background-color: #ffffff !important;
color: #000000 !important;
}
/* toolbar não quebrada */
.ve-ui-toolbar * {
color: #000 !important;
}
/* =========================================================
🧠 JANELAS OOUI (UPLOAD / MODAIS) - FIX COMPLETO
========================================================= */
.oo-ui-window,
.oo-ui-dialog,
.oo-ui-processDialog,
.oo-ui-window-frame,
.oo-ui-window-body,
.oo-ui-window-content,
.oo-ui-dialog-content,
.oo-ui-processDialog-content {
background-color: #ffffff !important;
color: #000000 !important;
}
.oo-ui-window-content *,
.oo-ui-dialog-content *,
.oo-ui-processDialog-content * {
color: #000000 !important;
}
.oo-ui-labelElement-label,
.oo-ui-fieldLayout-body,
.oo-ui-messageDialog-message {
color: #000000 !important;
}
.oo-ui-window-content input,
.oo-ui-window-content textarea,
.oo-ui-window-content select {
background-color: #ffffff !important;
color: #000000 !important;
border: 1px solid #ccc !important;
}
/* overlay escuro */
.oo-ui-defaultOverlay,
.oo-ui-overlay {
background-color: rgba(0,0,0,0.6) !important;
}