MediaWiki:Citizen.css: mudanças entre as edições
Página de Interface do MediaWiki
Mais ações
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 149: | Linha 149: | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | |||
/* ================================================================= */ | |||
/* MELHORIA DE LAYOUT - PADRÃO CELTA ERP */ | |||
/* ================================================================= */ | |||
/* 1. Títulos H2 (== Título ==) | |||
Cria uma linha de base e uma marcação lateral colorida para separar seções. | |||
Usa a cor primária do tema Citizen automaticamente. | |||
*/ | |||
.mw-body h2 { | |||
border-bottom: 1px solid var(--border-color-base, #eaecf0); /* Linha fina embaixo */ | |||
border-left: 5px solid var(--color-primary, #3366cc); /* Barra grossa na esquerda */ | |||
padding-left: 15px; /* Espaço entre a barra e o texto */ | |||
padding-bottom: 8px; | |||
margin-top: 40px; /* Respiro superior */ | |||
margin-bottom: 20px; | |||
font-weight: 700; | |||
} | |||
/* 2. Títulos H3 (=== Título ===) | |||
Mais discreto, apenas para subdividir o H2. | |||
*/ | |||
.mw-body h3 { | |||
margin-top: 30px; | |||
margin-bottom: 15px; | |||
padding-left: 10px; | |||
border-left: 3px solid var(--border-color-subtle, #c8ccd1); /* Barra cinza discreta */ | |||
font-weight: 600; | |||
color: var(--color-emphasized, #202122); | |||
} | |||
/* 3. Melhoria da tag <big> | |||
Transforma o <big> em um "Texto de Introdução" (Lead), | |||
aumentando o espaçamento e deixando a cor levemente mais suave. | |||
*/ | |||
.mw-body big { | |||
display: block; /* Força o texto a ocupar uma linha própria */ | |||
font-size: 1.15em; /* Um pouco maior que o texto normal */ | |||
line-height: 1.6; /* Melhor leitura */ | |||
color: var(--color-subtle, #54595d); /* Cinza escuro (ou claro no dark mode) */ | |||
margin-bottom: 25px; | |||
margin-top: 10px; | |||
border-left: 4px solid transparent; /* Apenas para alinhar visualmente se precisar */ | |||
} | |||
/* 4. Ajuste nas Tabelas (Wikitable) | |||
Remove o excesso de bordas para ficar mais limpo (estilo SaaS moderno) | |||
*/ | |||
.wikitable { | |||
border: none !important; | |||
border-collapse: collapse; | |||
width: 100%; | |||
margin-top: 15px; | |||
box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Sombra leve */ | |||
} | |||
.wikitable th { | |||
background-color: var(--background-color-interactive-subtle, #f8f9fa) !important; | |||
border-bottom: 2px solid var(--border-color-base, #eaecf0) !important; | |||
border-top: none !important; | |||
border-left: none !important; | |||
border-right: none !important; | |||
text-transform: uppercase; | |||
font-size: 0.85em; | |||
letter-spacing: 0.5px; | |||
padding: 12px !important; | |||
} | |||
.wikitable td { | |||
border-bottom: 1px solid var(--border-color-base, #eaecf0) !important; | |||
border-top: none !important; | |||
border-left: none !important; | |||
border-right: none !important; | |||
padding: 12px !important; | |||
} | } | ||
Edição das 17h51min de 26 de novembro de 2025
/* --- FOOTER CORRIGIDO (PROTEGE A SIDEBAR) --- */
/* 1. Configuração do Container Principal */
.citizen-footer {
padding: 8px 20px !important;
margin-top: 30px !important;
}
/* 2. Forçar layout horizontal (Linha) */
.citizen-footer__content {
display: flex !important;
flex-direction: row !important;
align-items: center !important; /* Centraliza verticalmente */
justify-content: space-between !important; /* Espalha: Esq - Meio - Dir */
gap: 20px !important;
}
/* Oculta o texto "Celta Sistemas Wiki" SÓ no footer */
.citizen-footer .mw-logo-wordmark {
display: none !important;
}
/* Ajusta o tamanho da logo SÓ no footer */
.citizen-footer .citizen-footer__sitetitle {
margin: 0 !important;
padding: 0 !important;
display: block !important;
flex-shrink: 0; /* Impede que a logo seja esmagada */
}
.citizen-footer .mw-logo-icon {
height: 40px !important; /* Altura fixa para garantir que não fique minúscula */
width: auto !important;
display: block !important;
}
/* ----------------------------------------------------------- */
/* 3. TEXTO CENTRAL */
#footer-info {
margin: 0 !important;
padding: 0 !important;
text-align: center !important;
flex-grow: 1; /* Faz o texto ocupar o espaço central */
}
#footer-info li {
display: inline-block !important;
margin: 0 10px !important;
font-size: 0.85em !important;
line-height: 1 !important;
color: #666;
}
/* 4. ÍCONE MEDIAWIKI (DIREITA) */
#footer-icons {
margin: 0 !important;
padding: 0 !important;
flex-shrink: 0;
}
/* Ajuste para Celular (volta a empilhar para não quebrar) */
@media (max-width: 768px) {
.citizen-footer__content {
flex-direction: column !important;
gap: 10px !important;
}
}
/* --- AJUSTE FINO DO LOGO NO TOPO (SIDEBAR) --- */
.citizen-header .mw-logo-icon,
.citizen-drawer__header .mw-logo-icon {
height: 40px !important; /* Reduzi de 55px para 40px */
width: auto !important;
max-height: none !important;
margin-top: 2px !important; /* Um leve ajuste para centralizar */
}
/* --- REMOVER MENU DE PREFERÊNCIAS --- */
/* 1. Bloqueia pelo ID exato que aparece no seu inspetor */
#citizen-preferences-details {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
}
/* 2. Bloqueia pelo texto do título (visto no seu print: "Alternar menu de preferências") */
summary[title="Alternar menu de preferências"],
summary[aria-label="Alternar menu de preferências"] {
display: none !important;
}
/* 3. Garante que suma da barra lateral rodapé
.citizen-sidebar__footer details,
.citizen-sidebar__footer summary {
display: none !important;
} */
/* --- RESPONSIVIDADE DAS TABELAS DA PÁGINA PRINCIPAL --- */
@media (max-width: 768px) {
.categoria-table,
.help-table {
display: block !important;
}
.categoria-table tbody,
.categoria-table tr,
.categoria-table td,
.help-table tbody,
.help-table tr,
.help-table td {
display: block !important;
width: 100% !important;
}
.categoria-table td,
.help-table td {
margin-bottom: 10px !important;
border-spacing: 0 !important;
}
}
/* --- REMOVER FUNDO CINZA DOS LINKS COM SPAN ---
a span,
a:visited span,
a:hover span,
a:active span {
background: none !important;
background-color: transparent !important;
}*/
/* Remove o texto "De Celta Sistemas Wiki" */
#siteSub {
display: none;
}
/* Ajuste do tamanho do título */
.citizen-page-header-inner .firstHeading,
.citizen-page-header .firstHeading,
#firstHeading {
font-size: 1.3em !important;
font-weight: 400 !important;
letter-spacing: -0.03em !important;
line-height: 1.2 !important;
padding-top: 0 !important;
padding-bottom: 0.2em !important;
margin: 0 !important;
}
.citizen-page-header {
padding-top: 0px !important;
padding-bottom: 0px !important;
margin-bottom: -0.8em !important;
}
.citizen-body-header {
padding-top: 0.3em !important;
margin-top: 0 !important;
}
/* Sombra para imagens com a classe screenshot */
.screenshot img {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border: 1px solid #ddd;
border-radius: 4px;
}
/* ================================================================= */
/* MELHORIA DE LAYOUT - PADRÃO CELTA ERP */
/* ================================================================= */
/* 1. Títulos H2 (== Título ==)
Cria uma linha de base e uma marcação lateral colorida para separar seções.
Usa a cor primária do tema Citizen automaticamente.
*/
.mw-body h2 {
border-bottom: 1px solid var(--border-color-base, #eaecf0); /* Linha fina embaixo */
border-left: 5px solid var(--color-primary, #3366cc); /* Barra grossa na esquerda */
padding-left: 15px; /* Espaço entre a barra e o texto */
padding-bottom: 8px;
margin-top: 40px; /* Respiro superior */
margin-bottom: 20px;
font-weight: 700;
}
/* 2. Títulos H3 (=== Título ===)
Mais discreto, apenas para subdividir o H2.
*/
.mw-body h3 {
margin-top: 30px;
margin-bottom: 15px;
padding-left: 10px;
border-left: 3px solid var(--border-color-subtle, #c8ccd1); /* Barra cinza discreta */
font-weight: 600;
color: var(--color-emphasized, #202122);
}
/* 3. Melhoria da tag <big>
Transforma o <big> em um "Texto de Introdução" (Lead),
aumentando o espaçamento e deixando a cor levemente mais suave.
*/
.mw-body big {
display: block; /* Força o texto a ocupar uma linha própria */
font-size: 1.15em; /* Um pouco maior que o texto normal */
line-height: 1.6; /* Melhor leitura */
color: var(--color-subtle, #54595d); /* Cinza escuro (ou claro no dark mode) */
margin-bottom: 25px;
margin-top: 10px;
border-left: 4px solid transparent; /* Apenas para alinhar visualmente se precisar */
}
/* 4. Ajuste nas Tabelas (Wikitable)
Remove o excesso de bordas para ficar mais limpo (estilo SaaS moderno)
*/
.wikitable {
border: none !important;
border-collapse: collapse;
width: 100%;
margin-top: 15px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Sombra leve */
}
.wikitable th {
background-color: var(--background-color-interactive-subtle, #f8f9fa) !important;
border-bottom: 2px solid var(--border-color-base, #eaecf0) !important;
border-top: none !important;
border-left: none !important;
border-right: none !important;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.5px;
padding: 12px !important;
}
.wikitable td {
border-bottom: 1px solid var(--border-color-base, #eaecf0) !important;
border-top: none !important;
border-left: none !important;
border-right: none !important;
padding: 12px !important;
}