Ativa o menu
Alternar menu de preferências
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

Página de Interface do MediaWiki
Revisão de 05h03min de 6 de dezembro de 2025 por Raul (discussão | contribs)

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
  • Opera: Pressione Ctrl-F5.
/* ==========================================================================
   2. CELTA ERP SIMULATOR (LAYOUT FIEL AO SISTEMA)
   ========================================================================== */

/* Container Principal (A Janela do Sistema) */
.celta-full-width {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.erp-container {
  display: flex;
  flex-direction: column;
  height: 85vh;
  min-height: 600px;
  background-color: #e9ecef; /* Cinza Fundo Padrão do Windows */
  border: 1px solid #999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin-bottom: 30px;
}

/* Topo Verde (Barra de Título) */
.erp-top-bar {
  background: linear-gradient(to bottom, #3cc93c 0%, #2db62d 100%);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  color: white;
  border-bottom: 1px solid #1e8e1e;
}

.erp-brand {
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.erp-user-actions {
  display: flex;
  gap: 10px;
}

.erp-icon-circle {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  cursor: pointer;
}

.erp-icon-circle:hover {
  background: rgba(255,255,255,0.2);
}

/* Corpo (Sidebar + Área de Conteúdo) */
.erp-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Menu Lateral (Sidebar Estilo Sistema) */
.erp-sidebar {
  width: 230px;
  background-color: #f0f0f0;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.erp-menu-item {
  padding: 11px 15px;
  color: #333;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.1s;
}

.erp-menu-item:hover {
  background-color: #e5e5e5;
}

.erp-menu-item.active {
  background-color: #dcdcdc;
  color: #000;
  font-weight: 700;
  border-left: 4px solid #2db62d; /* Indicador Verde */
}

.erp-menu-item i {
  margin-right: 12px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #555;
}

/* Área Cinza de Conteúdo */
.erp-content-stage {
  flex: 1;
  position: relative;
  padding: 15px;
  overflow-y: auto;
  background: #e4e4e4; /* Fundo Cinza Interno */
}

/* Abas (Esconder/Mostrar) */
.erp-tab-content {
  display: none;
  height: 100%;
}

.erp-tab-content.active {
  display: block;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Barra de Título Interna (ex: PRINCIPAL) */
.screen-title-bar {
  background: linear-gradient(to bottom, #999 0%, #777 100%);
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* --- GRID DAS COLUNAS (Menu Interno) --- */
.sys-menu-grid {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}

.sys-column {
  width: 190px;
  background: #fff;
  border: 1px solid #999;
  display: flex;
  flex-direction: column;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

/* Cabeçalho Verde das Colunas */
.sys-col-header {
  background: linear-gradient(to bottom, #44c244 0%, #33a333 100%);
  color: white;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 0;
  border-bottom: 1px solid #288028;
  letter-spacing: 0.3px;
}

/* Links dentro das colunas */
.sys-column a, 
.sys-btn-link {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 12px;
  padding: 7px 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-weight: 400;
}

.sys-column a:hover, 
.sys-btn-link:hover {
  background-color: #fdfdfd;
  color: blue;
  text-decoration: underline;
}

.sys-column a:last-child {
  border-bottom: none;
}

/* Linha separadora fina */
.sys-spacer {
  height: 1px;
  background: #ccc;
  margin: 4px 10px;
}

/* Rodapé Verde */
.erp-footer-bar {
  background: #33a333;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 11px;
  color: white;
  border-top: 1px solid #288028;
  font-weight: 600;
}

/* Responsividade Básica */
@media (max-width: 768px) {
  .erp-body { flex-direction: column; }
  .erp-sidebar { width: 100%; height: auto; }
  .erp-container { height: auto; }
}