MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição Etiqueta: Revertido |
Sem resumo de edição Etiqueta: Revertido |
||
| Linha 11: | Linha 11: | ||
/* ========================= | /* ========================= | ||
RESET | RESET GLOBAL | ||
========================= */ | ========================= */ | ||
* { | * { | ||
| Linha 41: | Linha 41: | ||
} | } | ||
/* | /* Links */ | ||
#mw-panel a { | #mw-panel a { | ||
background-color: var(--bg-main) !important; | background-color: var(--bg-main) !important; | ||
| Linha 48: | Linha 48: | ||
} | } | ||
/* | /* Hover */ | ||
#mw-panel a:hover { | #mw-panel a:hover { | ||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
} | } | ||
/* Remove | /* Remove inconsistência */ | ||
#mw-panel *, #mw-panel div, #mw-panel li { | #mw-panel *, #mw-panel div, #mw-panel li { | ||
background-color: var(--bg-main) !important; | background-color: var(--bg-main) !important; | ||
| Linha 65: | Linha 65: | ||
} | } | ||
#mw-head a { | #mw-head a { | ||
background-color: var(--bg-main) !important; | background-color: var(--bg-main) !important; | ||
| Linha 116: | Linha 115: | ||
/* ========================= | /* ========================= | ||
INPUTS (modo escuro | INPUTS (modo escuro) | ||
========================= */ | ========================= */ | ||
input, textarea { | input, textarea { | ||
| Linha 125: | Linha 124: | ||
/* ========================= | /* ========================= | ||
LIMPEZA DE FUNDOS | |||
========================= */ | ========================= */ | ||
div, span { | div, span { | ||
| Linha 152: | Linha 151: | ||
/* ========================= | /* ========================= | ||
EXCEÇÃO: EDITOR ( | EXCEÇÃO: EDITOR + MEDIA (FIX DEFINITIVO) | ||
========================= */ | ========================= */ | ||
/* | /* Fundo branco garantido */ | ||
.ve-ui-surface, | .ve-ui-surface, | ||
. | .oo-ui-window-content, | ||
.oo-ui-dialog, | |||
.oo-ui-processDialog, | |||
#wpTextbox1 { | |||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
} | } | ||
/* | /* TEXTO PRETO FORÇADO (resolve seu problema atual) */ | ||
.ve-ui-surface *, | |||
.oo-ui-window-content *, | |||
.oo-ui-dialog *, | |||
.oo-ui-processDialog *, | |||
#wpTextbox1 { | #wpTextbox1 { | ||
color: #000000 !important; | color: #000000 !important; | ||
} | } | ||
| Linha 183: | Linha 177: | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
color: #000000 !important; | color: #000000 !important; | ||
} | |||
/* Placeholder visível */ | |||
input::placeholder, | |||
textarea::placeholder { | |||
color: #555 !important; | |||
} | } | ||
Edição das 14h23min de 7 de maio de 2026
/* =========================
PALETA GLOBAL
========================= */
:root {
--bg-main: #2b2b2b;
--bg-soft: #3a3a3a;
--border: #555;
--text: #ffffff;
--link: #8ab4f8;
}
/* =========================
RESET GLOBAL
========================= */
* {
border: none !important;
box-shadow: none !important;
}
/* =========================
FUNDO GERAL
========================= */
html, body {
background-color: var(--bg-main) !important;
color: var(--text) !important;
}
/* =========================
CONTEÚDO PRINCIPAL
========================= */
#content, .mw-body, .mw-body-content {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* =========================
SIDEBAR
========================= */
#mw-panel {
background-color: var(--bg-main) !important;
}
/* Links */
#mw-panel a {
background-color: var(--bg-main) !important;
color: var(--text) !important;
transition: all 0.25s ease;
}
/* Hover */
#mw-panel a:hover {
background-color: var(--bg-soft) !important;
}
/* Remove inconsistência */
#mw-panel *, #mw-panel div, #mw-panel li {
background-color: var(--bg-main) !important;
}
/* =========================
TOPO
========================= */
#mw-head, #mw-page-base {
background-color: var(--bg-main) !important;
}
#mw-head a {
background-color: var(--bg-main) !important;
color: var(--text) !important;
transition: all 0.25s ease;
}
#mw-head a:hover {
background-color: var(--bg-soft) !important;
}
/* =========================
LINKS
========================= */
a {
color: var(--link) !important;
}
a:hover {
color: #ffffff !important;
}
/* =========================
TABELAS
========================= */
table, th, td {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border: 1px solid var(--border) !important;
}
/* =========================
ÍNDICE (TOC)
========================= */
#toc, .toc {
background-color: var(--bg-soft) !important;
border: 1px solid var(--border) !important;
}
#toc * {
color: var(--text) !important;
}
/* =========================
SUBTÍTULOS
========================= */
h1, h2, h3, h4, h5, h6 {
color: var(--text) !important;
}
/* =========================
INPUTS (modo escuro)
========================= */
input, textarea {
background-color: var(--bg-main) !important;
color: var(--text) !important;
border: 1px solid var(--border) !important;
}
/* =========================
LIMPEZA DE FUNDOS
========================= */
div, span {
background-color: transparent !important;
}
/* =========================
SCROLLBAR
========================= */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #777;
}
/* =========================
EXCEÇÃO: EDITOR + MEDIA (FIX DEFINITIVO)
========================= */
/* Fundo branco garantido */
.ve-ui-surface,
.oo-ui-window-content,
.oo-ui-dialog,
.oo-ui-processDialog,
#wpTextbox1 {
background-color: #ffffff !important;
}
/* TEXTO PRETO FORÇADO (resolve seu problema atual) */
.ve-ui-surface *,
.oo-ui-window-content *,
.oo-ui-dialog *,
.oo-ui-processDialog *,
#wpTextbox1 {
color: #000000 !important;
}
/* Inputs dentro dessas janelas */
.oo-ui-window-content input,
.oo-ui-window-content textarea {
background-color: #ffffff !important;
color: #000000 !important;
}
/* Placeholder visível */
input::placeholder,
textarea::placeholder {
color: #555 !important;
}