MediaWiki:Common.css: mudanças entre as edições
Aparência
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 206: | Linha 206: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* Container Geral da Caixa */ | /* Container Geral da Caixa */ | ||
.caixa-orbital-container { | .caixa-orbital-container { | ||
| Linha 211: | Linha 213: | ||
} | } | ||
/* O Espaço onde os anexos orbitam */ | /* O Espaço onde os anexos orbitam (Aumentado para dar mais espaço) */ | ||
.espaco-orbital { | .espaco-orbital { | ||
position: relative; | position: relative; | ||
width: 200px | width: 240px; /* Aumentado de 200px para 240px */ | ||
height: 200px | height: 240px; /* Aumentado de 200px para 240px */ | ||
margin: | margin: 25px auto; | ||
background: #fcfcfc; | background: #fcfcfc; | ||
border-radius: 50%; | border-radius: 50% !important; | ||
border: 1px dashed #dcdcdc !important; | |||
border: 1px dashed # | |||
} | } | ||
/* | /* O Sol / Centro do Sistema (Forçado para ficar redondo e escuro) */ | ||
.bolha-centro { | .bolha-centro { | ||
position: absolute; | position: absolute !important; | ||
width: | width: 76px !important; | ||
height: | height: 76px !important; | ||
background: #34495e; | background-color: #34495e !important; /* Cor escura corporativa */ | ||
color: #ffffff; | color: #ffffff !important; | ||
border-radius: 50%; | border-radius: 50% !important; /* Força ficar perfeitamente redondo */ | ||
top: | top: 82px !important; /* Centralizado na nova caixa de 240px */ | ||
left: | left: 82px !important; | ||
display: flex; | display: flex !important; | ||
justify-content: center; | justify-content: center !important; | ||
align-items: center; | align-items: center !important; | ||
font-weight: bold; | font-weight: bold !important; | ||
font-size: 14px; | font-size: 14px !important; | ||
box-shadow: 0 4px | box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; | ||
z-index: 10; | z-index: 10 !important; | ||
border: 3px solid # | border: 3px solid #ffffff !important; | ||
font-family: sans-serif; | } | ||
/* Força o texto de dentro a não herdar links ou decorações */ | |||
.nome-norma-centro { | |||
color: #ffffff !important; | |||
font-family: sans-serif !important; | |||
} | |||
/* Contêiner dos planetas */ | |||
.container-satelites { | |||
position: absolute !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
width: 100% !important; | |||
height: 100% !important; | |||
} | } | ||
/* Os Planetas Orbitando ( | /* Os Planetas Orbitando (Ajustados para o novo tamanho) */ | ||
.planeta-satelite { | .planeta-satelite { | ||
position: absolute; | position: absolute !important; | ||
width: | width: 52px !important; /* Tamanho perfeito para leitura */ | ||
height: | height: 52px !important; | ||
background: #ffffff; | background: #ffffff !important; | ||
border: 2px solid #27ae60; /* Verde | border: 2px solid #27ae60 !important; /* Verde vigente */ | ||
color: #2c3e50; | color: #2c3e50 !important; | ||
border-radius: 50%; | border-radius: 50% !important; | ||
display: flex; | display: flex !important; | ||
justify-content: center; | justify-content: center !important; | ||
align-items: center; | align-items: center !important; | ||
font-size: 10px; | font-size: 10px !important; | ||
font-weight: bold; | font-weight: bold !important; | ||
text-align: center; | text-align: center !important; | ||
box-shadow: 0 | box-shadow: 0 3px 8px rgba(0,0,0,0.1) !important; | ||
transition: transform 0. | transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important; | ||
z-index: 5 | z-index: 5 !important; | ||
} | } | ||
.planeta-satelite span { | .planeta-satelite span { | ||
line-height: 1.1; | line-height: 1.1 !important; | ||
font-family: sans-serif !important; | |||
} | } | ||
/* | /* Interação sensacional ao passar o mouse */ | ||
.planeta-satelite:hover { | .planeta-satelite:hover { | ||
transform: scale(1. | transform: scale(1.18) !important; | ||
background: #27ae60; | background: #27ae60 !important; | ||
color: #ffffff; | color: #ffffff !important; | ||
} | |||
/* Esconde o link "Mais..." gerado pelo Cargo para limpar o visual */ | |||
.container-satelites a.cargo-more-links, | |||
.container-satelites .cargoMoreLinks { | |||
display: none !important; | |||
} | } | ||
Edição das 14h35min de 8 de julho de 2026
/* Container do Card com Sombra Sutil e Borda Escura */
.norma-container {
display: block;
clear: both;
width: 100%;
margin-bottom: 16px;
box-sizing: border-box;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
border: 1px solid #bbb !important;
border-radius: 6px;
overflow: hidden;
}
/* Cores Unificadas por Classe (Cabeçalho e Conteúdo) */
.norma-box-Geral th, .norma-box-Geral td {
background-color: #e3f2fd !important;
}
.norma-box-Especial th, .norma-box-Especial td {
background-color: #fff3e0 !important;
}
.norma-box-Setorial th, .norma-box-Setorial td {
background-color: #e8f5e9 !important;
}
.norma-box-Revogada th, .norma-box-Revogada td {
background-color: #ffebee !important;
}
/* Container Principal: Divide em duas colunas (70% para o texto, 30% para a barra lateral) */
.norma-page-layout {
display: flex;
gap: 20px;
width: 100%;
box-sizing: border-box;
}
/* Coluna da Esquerda (Texto Principal) */
.norma-main-column {
flex: 70%;
}
/* Coluna da Direita (Painéis Laterais) */
.norma-sidebar-column {
flex: 30%;
display: flex;
flex-direction: column;
gap: 15px; /* Espaço vertical entre as caixas da direita */
}
/* Estilo padrão de cada caixa/bloco desenhado */
.norma-block-box {
background: #ffffff;
border: 3px solid #000000; /* Borda grossa preta do desenho */
border-radius: 4px;
padding: 5px;
box-sizing: border-box;
}
/* Títulos internos de cada caixa */
.norma-block-box h4 {
margin-top: 0;
font-size: 1.3em;
font-weight: bold;
border-bottom: 2px solid #000000;
padding-bottom: 8px;
}
/* Container principal do infográfico */
.info-historico-infografico {
display: flex;
flex-direction: column;
width: 100%;
max-width: 220px;
margin: 5px auto;
gap: 10px; /* Espaço entre as grandes caixas unificadas */
font-family: sans-serif;
}
/* A grande caixa mãe que envolve o R e seus A */
.bloco-grupo {
display: flex;
flex-direction: column;
width: 100%;
border-radius: 8px; /* Cantos arredondados na caixa maior */
padding: 1px;
box-sizing: border-box;
gap: 1px; /* Espaçamento fino entre as linhas internas */
}
/* Base de cada item/ano empilhado internamente */
.timeline-item {
display: flex;
align-items: center;
justify-content: center;
padding: 5px 12px;
font-size: 16px;
font-weight: bold;
box-sizing: border-box;
width: 50% !important; /* Mantém a divisão das duas colunas */
}
/* --- POSICIONAMENTO LATERAL INTERNO --- */
.timeline-item.tipo-R {
align-self: flex-start !important;
margin-right: auto !important;
margin-left: 0 !important;
}
.timeline-item.tipo-A {
align-self: flex-end !important;
margin-left: auto !important;
margin-right: 0 !important;
}
/* Remove fundos individuais e define cor do texto padrão interna */
.timeline-item .timeline-text {
color: inherit;
}
/* --- CORES APLICADAS DIRETAMENTE NAS CAIXAS MAIORES --- */
/* Bloco 1: Verde Vigente (Texto Branco) */
.bloco-grupo.bloco-1 {
background-color: #2ecc71 !important;
color: #ffffff !important;
}
/* Bloco 2: Cinza Claro (Texto Escuro para Contraste) */
.bloco-grupo.bloco-2 {
background-color: #d1d5db !important;
color: #1f2937 !important;
}
/* Bloco 3: Cinza Médio (Texto Branco) */
.bloco-grupo.bloco-3 {
background-color: #9ca3af !important;
color: #ffffff !important;
}
/* Bloco 4: Cinza Escuro (Texto Branco) */
.bloco-grupo.bloco-4 {
background-color: #6b7280 !important;
color: #ffffff !important;
}
/* Bloco 5 em diante: Tons escuros profundos (Texto Branco) */
.bloco-grupo.bloco-5, .bloco-grupo.bloco-6, .bloco-grupo.bloco-7 {
background-color: #374151 !important;
color: #ffffff !important;
}
/* Garante que o link nativo herde as cores corretas do infográfico e ocupe o espaço correto */
.timeline-item .timeline-text a {
color: inherit !important;
text-decoration: none !important;
display: inline-block;
width: 100%;
text-align: center;
}
/* Efeito visual ao passar o mouse sobre o ano com link */
.timeline-item .timeline-text a:hover {
text-decoration: underline !important;
opacity: 0.85;
}
/* Remove o ícone padrão de link externo do MediaWiki apenas dentro do infográfico */
.timeline-item .timeline-text a.external {
background: none !important;
padding-right: 0 !important;
}
/* Container do Preview Histórico */
.container-preview-historico {
display: flex;
justify-content: center;
align-items: center;
padding: 10px 0;
background: #fdfbf7; /* Fundo levemente amarelado imitando papel antigo */
border-radius: 4px;
border: 1px dashed #bba887;
margin-top: 10px;
}
/* O Documento Antigo Estilizado */
.preview-velho {
max-width: 130px;
height: auto;
border: 1px solid #c2b49a;
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
background: #fff;
padding: 5px;
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
/* Inclinado ligeiramente para parecer um documento sobre a mesa */
transform: rotate(3deg);
filter: sepia(0.1); /* Sutil toque envelhecido */
}
/* Interação ao passar o mouse */
.preview-velho:hover {
transform: rotate(0deg) scale(1.12); /* Alinha e destaca na tela */
box-shadow: 0 12px 24px rgba(65, 50, 30, 0.25);
filter: sepia(0); /* Mostra a cor original do arquivo */
cursor: pointer;
}
/* Força o link em volta da imagem a respeitar o alinhamento centralizado */
.container-preview-historico a {
display: block;
text-align: center;
text-decoration: none !important;
}
/* Container Geral da Caixa */
.caixa-orbital-container {
overflow: hidden;
}
/* O Espaço onde os anexos orbitam (Aumentado para dar mais espaço) */
.espaco-orbital {
position: relative;
width: 240px; /* Aumentado de 200px para 240px */
height: 240px; /* Aumentado de 200px para 240px */
margin: 25px auto;
background: #fcfcfc;
border-radius: 50% !important;
border: 1px dashed #dcdcdc !important;
}
/* O Sol / Centro do Sistema (Forçado para ficar redondo e escuro) */
.bolha-centro {
position: absolute !important;
width: 76px !important;
height: 76px !important;
background-color: #34495e !important; /* Cor escura corporativa */
color: #ffffff !important;
border-radius: 50% !important; /* Força ficar perfeitamente redondo */
top: 82px !important; /* Centralizado na nova caixa de 240px */
left: 82px !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
font-weight: bold !important;
font-size: 14px !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
z-index: 10 !important;
border: 3px solid #ffffff !important;
}
/* Força o texto de dentro a não herdar links ou decorações */
.nome-norma-centro {
color: #ffffff !important;
font-family: sans-serif !important;
}
/* Contêiner dos planetas */
.container-satelites {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
}
/* Os Planetas Orbitando (Ajustados para o novo tamanho) */
.planeta-satelite {
position: absolute !important;
width: 52px !important; /* Tamanho perfeito para leitura */
height: 52px !important;
background: #ffffff !important;
border: 2px solid #27ae60 !important; /* Verde vigente */
color: #2c3e50 !important;
border-radius: 50% !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
font-size: 10px !important;
font-weight: bold !important;
text-align: center !important;
box-shadow: 0 3px 8px rgba(0,0,0,0.1) !important;
transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
z-index: 5 !important;
}
.planeta-satelite span {
line-height: 1.1 !important;
font-family: sans-serif !important;
}
/* Interação sensacional ao passar o mouse */
.planeta-satelite:hover {
transform: scale(1.18) !important;
background: #27ae60 !important;
color: #ffffff !important;
}
/* Esconde o link "Mais..." gerado pelo Cargo para limpar o visual */
.container-satelites a.cargo-more-links,
.container-satelites .cargoMoreLinks {
display: none !important;
}