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 Etiqueta: Revertido |
||
| Linha 1: | Linha 1: | ||
/* | /* CELTA WIKI FRAMEWORK */ | ||
:root { | |||
/* COLORS */ | |||
--celta-primary: #3366cc; | |||
--celta-primary-hover: #2a52a3; | |||
/* Darker shade for hover */ | |||
--celta-dark: #2c3e50; | |||
--celta-success: #198754; | |||
--celta-success-bg: #d1e7dd; | |||
--celta-success-border: #badbcc; | |||
--celta-success-text: #0f5132; | |||
--celta-warning: #ffc107; | |||
--celta-warning-bg: #fff3cd; | |||
--celta-warning-border: #ffc107; | |||
--celta-warning-text: #856404; | |||
--celta-danger: #dc3545; | |||
--celta-danger-bg: #fff5f5; | |||
--celta-danger-text: #dc3545; | |||
--celta-info-bg: #f0f7ff; | |||
/* | /* TEXT & FONTS */ | ||
* { | --celta-text-main: #333; | ||
box- | --celta-text-dark: #0f172a; | ||
--celta-text-muted: #64748b; | |||
--celta-text-light: #94a3b8; | |||
--celta-font-main: 'Segoe UI', Roboto, sans-serif; | |||
--celta-font-mono: 'Consolas', 'Monaco', monospace; | |||
/* UI ELEMENTS */ | |||
--celta-bg-light: #f8f9fa; | |||
--celta-bg-white: #ffffff; | |||
--celta-border: #e2e8f0; | |||
--celta-border-light: #f1f5f9; | |||
--celta-radius: 8px; | |||
--celta-radius-sm: 4px; | |||
--celta-radius-lg: 12px; | |||
--celta-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02); | |||
--celta-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.05); | |||
--celta-shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.06); | |||
} | |||
/* MONOSPACE & CODE */ | |||
code { | |||
font-family: var(--celta-font-mono) !important; | |||
font-size: 0.9em; | |||
background-color: #e2e8f0; | |||
padding: 2px 6px; | |||
border-radius: var(--celta-radius-sm); | |||
color: var(--celta-text-dark); | |||
border: 1px solid #cbd5e1; | |||
} | |||
/* ALERTS (NOTAS) */ | |||
.celta-box { | |||
padding: 12px 16px; | |||
margin: 16px 0; | |||
border-radius: 6px; | |||
border-left: 4px solid #ccc; | |||
background-color: #f9f9f9; | |||
font-size: 0.93em; | |||
font-family: var(--celta-font-main) !important; | |||
} | |||
.celta-box-title { | |||
font-weight: 700; | |||
margin-bottom: 4px; | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
text-transform: uppercase; | |||
font-size: 0.9em; | |||
} | |||
.celta-info { | |||
background: var(--celta-info-bg); | |||
border-color: var(--celta-primary); | |||
} | |||
.celta-info .celta-box-title { | |||
color: var(--celta-primary); | |||
} | |||
.celta-success { | |||
background: var(--celta-success-bg); | |||
border-color: var(--celta-success); | |||
} | |||
.celta-success .celta-box-title { | |||
color: #155724; | |||
/* Bootstrap default for success text, keeping for contrast */ | |||
} | |||
.celta-warning { | |||
background: var(--celta-warning-bg); | |||
border-color: var(--celta-warning); | |||
} | |||
.celta-warning .celta-box-title { | |||
color: var(--celta-warning-text); | |||
} | |||
.celta-danger { | |||
background: var(--celta-danger-bg); | |||
border-color: var(--celta-danger); | |||
} | |||
.celta-danger .celta-box-title { | |||
color: var(--celta-danger-text); | |||
} | |||
/* BADGES */ | |||
.celta-badge { | |||
display: inline-block; | |||
padding: 2px 8px; | |||
border-radius: var(--celta-radius-sm); | |||
font-size: 0.75em; | |||
font-weight: 700; | |||
text-transform: uppercase; | |||
margin-left: 8px; | |||
vertical-align: middle; | |||
position: relative; | |||
top: -1px; | |||
} | |||
.celta-badge-novo { | |||
background: var(--celta-success-bg); | |||
color: var(--celta-success-text); | |||
border: 1px solid var(--celta-success-border); | |||
} | |||
.celta-badge-versao { | |||
background: #e2e3e5; | |||
color: #383d41; | |||
border: 1px solid #d6d8db; | |||
} | |||
/* TABELAS (DATA GRID) */ | |||
.celta-table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
border-radius: var(--celta-radius); | |||
overflow: hidden; | |||
box-shadow: 0 0 0 1px #e0e0e0; | |||
margin-top: 15px !important; | |||
margin-bottom: 25px !important; | |||
font-family: var(--celta-font-main) !important; | |||
} | |||
.celta-table th { | |||
background-color: var(--celta-dark); | |||
color: white; | |||
padding: 12px 15px; | |||
text-align: left; | |||
font-weight: 600; | |||
font-size: 1em; | |||
} | |||
.celta-table td { | |||
padding: 12px 15px; | |||
border-bottom: 1px solid #eee; | |||
vertical-align: top; | |||
font-size: 1em; | |||
color: var(--celta-text-main); | |||
} | |||
.celta-table tr:last-child td { | |||
border-bottom: none; | |||
} | |||
.celta-col-key { | |||
background-color: var(--celta-bg-light); | |||
font-weight: 600; | |||
color: var(--celta-dark); | |||
width: 30%; | |||
} | |||
.celta-col-value { | |||
width: 70%; | |||
} | |||
.celta-table ul { | |||
margin: 5px 0 !important; | |||
padding-left: 20px !important; | |||
} | |||
.celta-table li { | |||
margin-bottom: 2px !important; | |||
} | |||
/* PRINTS DE TELA */ | |||
.celta-print-container { | |||
margin: 30px auto; | |||
text-align: center; | |||
max-width: 100%; | |||
} | |||
.celta-print-img { | |||
max-width: 100%; | |||
height: auto; | |||
border: 1px solid var(--celta-border); | |||
border-radius: var(--celta-radius); | |||
box-shadow: var(--celta-shadow-md); | |||
display: block; | |||
margin: 0 auto; | |||
width: auto; | |||
max-height: 600px; | |||
} | |||
.celta-print-caption { | |||
margin-top: 10px; | |||
font-size: 0.85em; | |||
color: var(--celta-text-muted); | |||
font-style: italic; | |||
text-align: center; | |||
padding: 0 10px; | |||
line-height: 1.4; | |||
} | |||
/* CARDS E GRID */ | |||
.celta-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |||
gap: 10px; | |||
margin: 20px 0; | |||
width: 100%; | |||
} | |||
.celta-card { | |||
border: 1px solid var(--celta-border); | |||
border-radius: var(--celta-radius-lg); | |||
background: var(--celta-bg-white); | |||
padding: 0; | |||
transition: transform 0.2s, box-shadow 0.2s; | |||
display: flex; | |||
flex-direction: column; | |||
overflow: hidden; | |||
box-sizing: border-box; | |||
box-shadow: var(--celta-shadow-sm); | |||
} | } | ||
.celta-card:hover { | |||
. | transform: translateY(-3px); | ||
box-shadow: var(--celta-shadow-hover); | |||
} | } | ||
. | .celta-card-header { | ||
padding: | font-weight: 700; | ||
color: #1e293b; | |||
padding: 20px 20px 15px 20px; | |||
font-size: 1em; | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
background: var(--celta-bg-white); | |||
} | } | ||
. | .celta-card-body { | ||
padding: 0 20px 20px 20px; | |||
font-size: 0.95em; | |||
color: var(--celta-text-muted); | |||
flex-grow: 1; | |||
} | } | ||
.celta-card-body ul { | |||
list-style: none !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
. | .celta-card-body li { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
background: transparent !important; | |||
border: none !important; | |||
} | |||
.celta-card-body li a { | |||
display: block; | |||
padding: 8px 0; | |||
border-bottom: 1px solid var(--celta-border-light); | |||
color: #475569; | |||
text-decoration: none; | |||
font-weight: 500; | |||
transition: all 0.2s; | |||
} | |||
.celta-card-body li a:hover { | |||
color: var(--celta-primary); | |||
padding-left: 5px; | |||
border-bottom-color: var(--celta-border); | |||
} | |||
.celta-card-body li a::before { | |||
content: "›"; | |||
margin-right: 8px; | |||
font-size: 1.2em; | |||
position: relative; | |||
top: 1px; | |||
color: #cbd5e1; | |||
} | } | ||
. | .celta-card-body li a:hover::before { | ||
color: var(--celta-primary); | |||
} | } | ||
. | .celta-card-body li:last-child a { | ||
border-bottom: none; | |||
width: | } | ||
/* CARDS ACCENTS */ | |||
.celta-card.accent-blue { | |||
border-top: 4px solid var(--celta-primary); | |||
} | |||
.celta-card.accent-blue .celta-card-header i { | |||
color: var(--celta-primary); | |||
} | |||
.celta-card.accent-dark { | |||
border-top: 4px solid var(--celta-dark); | |||
} | |||
.celta-card.accent-dark .celta-card-header i { | |||
color: var(--celta-dark); | |||
} | |||
.celta-card.accent-orange { | |||
border-top: 4px solid #fd7e14; | |||
} | |||
.celta-card.accent-orange .celta-card-header i { | |||
color: #fd7e14; | |||
} | |||
.celta-card.accent-green { | |||
border-top: 4px solid var(--celta-success); | |||
} | |||
.celta-card.accent-green .celta-card-header i { | |||
color: var(--celta-success); | |||
} | |||
.celta-card.accent-red { | |||
border-top: 4px solid var(--celta-danger); | |||
} | |||
.celta-card.accent-red .celta-card-header i { | |||
color: var(--celta-danger); | |||
} | |||
@media (min-width: 768px) { | |||
.celta-grid.celta-grid-2 { | |||
grid-template-columns: 1fr 1fr !important; | |||
} | |||
} | } | ||
/* MENU LATERAL DO SISTEMA */ | |||
.celta-sys-menu { | |||
background-color: var(--celta-bg-white) !important; | |||
border: 1px solid #e0e0e0 !important; | |||
border-radius: var(--celta-radius) !important; | |||
padding: 20px !important; | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important; | |||
min-width: 260px; | |||
height: fit-content; | |||
} | } | ||
# | .celta-sys-header { | ||
font-weight: 700; | |||
color: #9ca3af; | |||
font-size: 0.8em; | |||
text-transform: uppercase; | |||
letter-spacing: 1.5px; | |||
margin-bottom: 15px; | |||
padding-bottom: 10px; | |||
border-bottom: 1px solid #f0f0f0; | |||
text-align: center; | |||
} | } | ||
.celta-sys-btn { | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important | align-items: center !important; | ||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
padding: 10px 15px !important; | |||
background-color: var(--celta-bg-white) !important; | |||
border: 1px solid #e5e7eb !important; | |||
border-radius: 6px !important; | |||
color: #4b5563 !important; | |||
font-weight: 600 !important; | |||
font-size: 0.95em !important; | |||
line-height: 1.2 !important; | |||
text-decoration: none !important; | |||
margin-bottom: 8px !important; | |||
transition: all 0.2s !important; | |||
} | |||
.celta-sys-btn:hover { | |||
background-color: var(--celta-bg-light) !important; | |||
border-color: #cbd5e1 !important; | |||
color: #1e293b !important; | |||
transform: translateX(3px) !important; | |||
box-shadow: var(--celta-shadow-md) !important; | |||
} | } | ||
.celta-sys-btn i { | |||
font-size: 1.1em !important; | |||
width: | color: var(--celta-text-light) !important; | ||
margin-right: 12px !important; | |||
width: 20px !important; | |||
text-align: center !important; | |||
display: inline-block !important; | |||
} | } | ||
.celta-sys-btn:hover i { | |||
color: #3b82f6 !important; | |||
} | } | ||
. | .celta-sys-menu a { | ||
text-decoration: none !important; | |||
display: block !important; | display: block !important; | ||
} | |||
/* BARRA DE CONTATOS */ | |||
.celta-contact-section { | |||
max-width: 900px; | |||
margin: 20px auto 20px auto; | |||
text-align: center; | |||
} | |||
.celta-contact-badge { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 8px; | |||
background: var(--celta-border-light); | |||
color: var(--celta-text-muted); | |||
padding: 6px 16px; | |||
border-radius: 20px; | |||
font-size: 0.75em; | |||
font-weight: 700; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
margin-bottom: 15px; | |||
} | |||
.celta-contact-box { | |||
background: var(--celta-bg-white); | |||
border: 1px solid #cbd5e1 !important; | |||
border-bottom: 3px solid #cbd5e1 !important; | |||
border-radius: var(--celta-radius-lg); | |||
display: flex; | |||
flex-wrap: wrap; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); | |||
overflow: hidden; | |||
} | |||
.celta-contact-item { | |||
flex: 1; | |||
min-width: 200px; | |||
padding: 10px 15px !important; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
border-right: 1px solid var(--celta-border-light); | |||
transition: background 0.2s; | |||
gap: 4px !important; | |||
} | |||
.celta-contact-item:last-child { | |||
border-right: none; | |||
} | |||
.celta-contact-item:hover { | |||
background: var(--celta-bg-light); | |||
} | |||
.celta-contact-icon { | |||
font-size: 1.4em; | |||
margin-bottom: 2px; | |||
} | |||
.icon-red { | |||
color: #ef4444; | |||
} | |||
.icon-green { | |||
color: #22c55e; | |||
} | |||
.icon-blue { | |||
color: #3b82f6; | |||
} | |||
.icon-purple { | |||
color: #8b5cf6; | |||
} | |||
.celta-contact-label { | |||
font-size: 0.7em; | |||
font-weight: 700; | |||
text-transform: uppercase; | |||
color: var(--celta-text-light); | |||
margin-bottom: 2px; | |||
} | |||
.celta-contact-value { | |||
font-size: 0.9em; | |||
font-weight: 600; | |||
color: #334155; | |||
} | |||
.celta-contact-box a.external { | |||
background-image: none !important; | |||
padding-right: 0 !important; | |||
color: inherit !important; | |||
text-decoration: none !important; | |||
} | |||
.celta-contact-item:hover .celta-contact-value { | |||
color: var(--celta-primary); | |||
} | |||
@media (max-width: 700px) { | |||
.celta-contact-box { | |||
flex-direction: column; | |||
} | |||
.celta-contact-item { | |||
border-right: none; | |||
border-bottom: 1px solid var(--celta-border-light); | |||
} | |||
} | |||
/* HEADER DA PÁGINA */ | |||
.celta-page-header { | |||
background: transparent !important; | |||
border: none !important; | |||
border-bottom: 1px solid var(--celta-border) !important; | |||
padding: 0 0 15px 0 !important; | |||
margin-bottom: 25px !important; | |||
box-shadow: none !important; | |||
} | |||
.celta-page-header.celta-header-clean { | |||
border-bottom: none !important; | |||
margin-bottom: 10px !important; | |||
} | |||
.celta-breadcrumbs { | |||
background: transparent !important; | |||
padding: 0 !important; | |||
font-size: 0.8em !important; | |||
color: var(--celta-text-muted) !important; | |||
text-transform: uppercase; | |||
font-weight: 600; | |||
margin-bottom: 5px !important; | |||
} | |||
.celta-main-title { | |||
background: transparent !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
font-size: 1.8em !important; | |||
font-weight: 800 !important; | |||
color: var(--celta-text-dark) !important; | |||
line-height: 1.2 !important; | |||
border: none !important; | |||
} | |||
.celta-meta-info { | |||
background: transparent !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
margin-top: 5px !important; | |||
font-size: 0.8em !important; | |||
color: var(--celta-text-light) !important; | |||
border: none !important; | |||
} | } | ||
. | /* LISTAS DE LINKS */ | ||
.celta-link-list ul { | |||
list-style: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
} | |||
.celta-link-list li { | |||
margin-bottom: 12px !important; | |||
padding-left: 0 !important; | |||
background: none !important; | |||
} | |||
.celta-link-list a { | |||
text-decoration: none; | |||
color: #334155; | |||
font-weight: 500; | |||
font-size: 0.95em; | |||
display: flex; | |||
align-items: center; | |||
transition: color 0.2s; | |||
} | |||
.celta-link-list a:hover { | |||
color: var(--celta-primary); | |||
} | |||
.celta-link-list a::before { | |||
content: "\F285"; | |||
/* Chevron Right */ | |||
font-family: "bootstrap-icons"; | |||
color: #cbd5e1; | |||
margin-right: 10px; | |||
font-size: 1.1em; | |||
font-weight: bold; | |||
} | |||
.celta-link-list a.external::before { | |||
content: "\F30A"; | |||
/* Download Icon */ | |||
} | |||
/* LOGO SVG (BG) */ | |||
.celta-logo-svg { | |||
background-image: url('/resources/assets/celta-logo.svg'); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
display: block; | |||
margin: 0 auto; | |||
width: 100%; | |||
max-width: 350px; | |||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .celta-logo-svg { | ||
max-width: 280px; | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||
} | } | ||
/* | /* HERO CARD */ | ||
.celta-hero-card { | |||
background: var(--celta-bg-white); | |||
border-radius: 16px; | |||
border: 1px solid var(--celta-border); | |||
overflow: hidden; | |||
margin-bottom: 35px; | |||
display: grid; | |||
grid-template-columns: 2fr 1fr; | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); | |||
} | |||
.celta-hero-main { | |||
padding: 40px; | |||
border-right: 1px solid var(--celta-border-light); | |||
} | } | ||
.celta-hero-sidebar { | |||
background: var(--celta-bg-light); | |||
padding: 30px; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
} | } | ||
. | @media (max-width: 768px) { | ||
.celta-hero-card { | |||
grid-template-columns: 1fr; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.celta-hero-main { | |||
border-right: none; | |||
border-bottom: 1px solid var(--celta-border-light); | |||
padding: 30px 20px; | |||
} | |||
.celta-hero-sidebar { | |||
padding: 30px 20px; | |||
} | |||
} | } | ||
/* | /* ERP SIMULATOR (DESKTOP) */ | ||
.erp-container { | |||
display: flex; | |||
flex-direction: column; | |||
height: 85vh; | |||
background-color: #f0f2f5; | |||
border: 1px solid #d1d5db; | |||
border | border-radius: 4px; | ||
overflow: hidden; | |||
font-family: var(--celta-font-main); | |||
position: relative; | position: relative; | ||
} | } | ||
@media (min-width: 768px) { | |||
.erp-container { | |||
grid-template-columns: 1fr 1fr !important; | |||
} | |||
} | } | ||
.erp-top-bar { | |||
background-color: #31c131; | |||
height: 50px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 0 20px; | |||
color: white; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |||
z-index: 10; | |||
} | } | ||
.erp-brand { | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
} | } | ||
.erp-user-actions { | |||
display: flex; | |||
gap: 15px; | |||
} | } | ||
.erp-icon-circle { | |||
border: 1px solid rgba(255, 255, 255, 0.6); | |||
border-radius: 50%; | |||
width: 32px; | |||
height: 32px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 1.1em; | |||
} | } | ||
.erp-body { | |||
display: flex; | |||
. | flex: 1; | ||
display: | overflow: hidden; | ||
} | } | ||
.erp-sidebar { | |||
width: 260px; | |||
background-color: var(--celta-bg-white); | |||
border-right: 1px solid #e0e0e0; | |||
flex-direction: column; | |||
padding-top: 10px; | |||
overflow-y: auto; | |||
flex-shrink: 0; | |||
} | } | ||
.erp-menu-item { | |||
padding: 12px 20px; | |||
color: var(--celta-text-main); | |||
display: flex; | |||
align-items: center; | |||
border- | text-decoration: none !important; | ||
font-size: 0.95em; | |||
font-weight: 500; | |||
transition: background 0.2s, color 0.2s; | |||
border-left: 4px solid transparent; | |||
} | } | ||
.erp-menu-item i { | |||
font-size: 1.3em; | |||
margin: | margin-right: 15px; | ||
width: 24px; | |||
text-align: center; | |||
color: #555; | |||
} | } | ||
. | .erp-menu-item:hover { | ||
background-color: #f5f5f5; | |||
color: #000; | |||
} | } | ||
.erp-menu-item.active { | |||
background-color: #e8f5e9; | |||
color: #2e7d32; | |||
border-left-color: #3bd648; | |||
} | } | ||
.erp-menu-item.active i { | |||
color: #2e7d32; | |||
} | } | ||
.erp-content-stage { | |||
flex: 1; | |||
position: relative; | |||
padding: 30px; | |||
overflow-y: auto; | |||
} | } | ||
.erp-bg-logo { | |||
position: absolute; | |||
bottom: 20px; | |||
right: 20px; | |||
width: 300px; | |||
height: 300px; | |||
background-image: url('/resources/assets/celta-logo.svg'); | |||
background-repeat: no-repeat; | |||
background-position: bottom right; | |||
background-size: contain; | |||
opacity: 1; | |||
pointer-events: none; | |||
z-index: 0; | |||
} | } | ||
. | .erp-widgets-area { | ||
position: relative; | |||
z-index: 1; | |||
display: flex; | |||
flex-direction: column; | |||
gap: 20px; | |||
max-width: 800px; | |||
} | } | ||
. | .erp-footer-bar { | ||
background-color: #31c131; | |||
font-size: 0. | height: 30px; | ||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 0 15px; | |||
font-size: 0.75em; | |||
color: #fff; | |||
font-weight: 600; | |||
} | } | ||
/* | /* ERP SIMULATOR (MOBILE FIX) */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .erp-container { | ||
height: auto !important; | |||
min-height: 80vh; | |||
} | |||
.erp-body { | |||
flex-direction: column !important; | |||
} | |||
.erp-sidebar { | |||
width: 100% !important; | |||
height: auto !important; | |||
max-height: 250px; | |||
border-right: none !important; | |||
border-bottom: 1px solid #e0e0e0; | |||
} | } | ||
. | .erp-bg-logo { | ||
display: none !important; | |||
} | } | ||
. | .erp-content-stage { | ||
padding: 15px !important; | |||
padding: | |||
} | } | ||
.erp-user-actions { | |||
display: none !important; | |||
} | } | ||
} | } | ||
Edição das 14h16min de 3 de dezembro de 2025
/* CELTA WIKI FRAMEWORK */
:root {
/* COLORS */
--celta-primary: #3366cc;
--celta-primary-hover: #2a52a3;
/* Darker shade for hover */
--celta-dark: #2c3e50;
--celta-success: #198754;
--celta-success-bg: #d1e7dd;
--celta-success-border: #badbcc;
--celta-success-text: #0f5132;
--celta-warning: #ffc107;
--celta-warning-bg: #fff3cd;
--celta-warning-border: #ffc107;
--celta-warning-text: #856404;
--celta-danger: #dc3545;
--celta-danger-bg: #fff5f5;
--celta-danger-text: #dc3545;
--celta-info-bg: #f0f7ff;
/* TEXT & FONTS */
--celta-text-main: #333;
--celta-text-dark: #0f172a;
--celta-text-muted: #64748b;
--celta-text-light: #94a3b8;
--celta-font-main: 'Segoe UI', Roboto, sans-serif;
--celta-font-mono: 'Consolas', 'Monaco', monospace;
/* UI ELEMENTS */
--celta-bg-light: #f8f9fa;
--celta-bg-white: #ffffff;
--celta-border: #e2e8f0;
--celta-border-light: #f1f5f9;
--celta-radius: 8px;
--celta-radius-sm: 4px;
--celta-radius-lg: 12px;
--celta-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
--celta-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.05);
--celta-shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.06);
}
/* MONOSPACE & CODE */
code {
font-family: var(--celta-font-mono) !important;
font-size: 0.9em;
background-color: #e2e8f0;
padding: 2px 6px;
border-radius: var(--celta-radius-sm);
color: var(--celta-text-dark);
border: 1px solid #cbd5e1;
}
/* ALERTS (NOTAS) */
.celta-box {
padding: 12px 16px;
margin: 16px 0;
border-radius: 6px;
border-left: 4px solid #ccc;
background-color: #f9f9f9;
font-size: 0.93em;
font-family: var(--celta-font-main) !important;
}
.celta-box-title {
font-weight: 700;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 8px;
text-transform: uppercase;
font-size: 0.9em;
}
.celta-info {
background: var(--celta-info-bg);
border-color: var(--celta-primary);
}
.celta-info .celta-box-title {
color: var(--celta-primary);
}
.celta-success {
background: var(--celta-success-bg);
border-color: var(--celta-success);
}
.celta-success .celta-box-title {
color: #155724;
/* Bootstrap default for success text, keeping for contrast */
}
.celta-warning {
background: var(--celta-warning-bg);
border-color: var(--celta-warning);
}
.celta-warning .celta-box-title {
color: var(--celta-warning-text);
}
.celta-danger {
background: var(--celta-danger-bg);
border-color: var(--celta-danger);
}
.celta-danger .celta-box-title {
color: var(--celta-danger-text);
}
/* BADGES */
.celta-badge {
display: inline-block;
padding: 2px 8px;
border-radius: var(--celta-radius-sm);
font-size: 0.75em;
font-weight: 700;
text-transform: uppercase;
margin-left: 8px;
vertical-align: middle;
position: relative;
top: -1px;
}
.celta-badge-novo {
background: var(--celta-success-bg);
color: var(--celta-success-text);
border: 1px solid var(--celta-success-border);
}
.celta-badge-versao {
background: #e2e3e5;
color: #383d41;
border: 1px solid #d6d8db;
}
/* TABELAS (DATA GRID) */
.celta-table {
width: 100%;
border-collapse: collapse;
border-radius: var(--celta-radius);
overflow: hidden;
box-shadow: 0 0 0 1px #e0e0e0;
margin-top: 15px !important;
margin-bottom: 25px !important;
font-family: var(--celta-font-main) !important;
}
.celta-table th {
background-color: var(--celta-dark);
color: white;
padding: 12px 15px;
text-align: left;
font-weight: 600;
font-size: 1em;
}
.celta-table td {
padding: 12px 15px;
border-bottom: 1px solid #eee;
vertical-align: top;
font-size: 1em;
color: var(--celta-text-main);
}
.celta-table tr:last-child td {
border-bottom: none;
}
.celta-col-key {
background-color: var(--celta-bg-light);
font-weight: 600;
color: var(--celta-dark);
width: 30%;
}
.celta-col-value {
width: 70%;
}
.celta-table ul {
margin: 5px 0 !important;
padding-left: 20px !important;
}
.celta-table li {
margin-bottom: 2px !important;
}
/* PRINTS DE TELA */
.celta-print-container {
margin: 30px auto;
text-align: center;
max-width: 100%;
}
.celta-print-img {
max-width: 100%;
height: auto;
border: 1px solid var(--celta-border);
border-radius: var(--celta-radius);
box-shadow: var(--celta-shadow-md);
display: block;
margin: 0 auto;
width: auto;
max-height: 600px;
}
.celta-print-caption {
margin-top: 10px;
font-size: 0.85em;
color: var(--celta-text-muted);
font-style: italic;
text-align: center;
padding: 0 10px;
line-height: 1.4;
}
/* CARDS E GRID */
.celta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 10px;
margin: 20px 0;
width: 100%;
}
.celta-card {
border: 1px solid var(--celta-border);
border-radius: var(--celta-radius-lg);
background: var(--celta-bg-white);
padding: 0;
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
overflow: hidden;
box-sizing: border-box;
box-shadow: var(--celta-shadow-sm);
}
.celta-card:hover {
transform: translateY(-3px);
box-shadow: var(--celta-shadow-hover);
}
.celta-card-header {
font-weight: 700;
color: #1e293b;
padding: 20px 20px 15px 20px;
font-size: 1em;
display: flex;
align-items: center;
gap: 10px;
background: var(--celta-bg-white);
}
.celta-card-body {
padding: 0 20px 20px 20px;
font-size: 0.95em;
color: var(--celta-text-muted);
flex-grow: 1;
}
.celta-card-body ul {
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}
.celta-card-body li {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: none !important;
}
.celta-card-body li a {
display: block;
padding: 8px 0;
border-bottom: 1px solid var(--celta-border-light);
color: #475569;
text-decoration: none;
font-weight: 500;
transition: all 0.2s;
}
.celta-card-body li a:hover {
color: var(--celta-primary);
padding-left: 5px;
border-bottom-color: var(--celta-border);
}
.celta-card-body li a::before {
content: "›";
margin-right: 8px;
font-size: 1.2em;
position: relative;
top: 1px;
color: #cbd5e1;
}
.celta-card-body li a:hover::before {
color: var(--celta-primary);
}
.celta-card-body li:last-child a {
border-bottom: none;
}
/* CARDS ACCENTS */
.celta-card.accent-blue {
border-top: 4px solid var(--celta-primary);
}
.celta-card.accent-blue .celta-card-header i {
color: var(--celta-primary);
}
.celta-card.accent-dark {
border-top: 4px solid var(--celta-dark);
}
.celta-card.accent-dark .celta-card-header i {
color: var(--celta-dark);
}
.celta-card.accent-orange {
border-top: 4px solid #fd7e14;
}
.celta-card.accent-orange .celta-card-header i {
color: #fd7e14;
}
.celta-card.accent-green {
border-top: 4px solid var(--celta-success);
}
.celta-card.accent-green .celta-card-header i {
color: var(--celta-success);
}
.celta-card.accent-red {
border-top: 4px solid var(--celta-danger);
}
.celta-card.accent-red .celta-card-header i {
color: var(--celta-danger);
}
@media (min-width: 768px) {
.celta-grid.celta-grid-2 {
grid-template-columns: 1fr 1fr !important;
}
}
/* MENU LATERAL DO SISTEMA */
.celta-sys-menu {
background-color: var(--celta-bg-white) !important;
border: 1px solid #e0e0e0 !important;
border-radius: var(--celta-radius) !important;
padding: 20px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
min-width: 260px;
height: fit-content;
}
.celta-sys-header {
font-weight: 700;
color: #9ca3af;
font-size: 0.8em;
text-transform: uppercase;
letter-spacing: 1.5px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid #f0f0f0;
text-align: center;
}
.celta-sys-btn {
display: flex !important;
align-items: center !important;
width: 100% !important;
box-sizing: border-box !important;
padding: 10px 15px !important;
background-color: var(--celta-bg-white) !important;
border: 1px solid #e5e7eb !important;
border-radius: 6px !important;
color: #4b5563 !important;
font-weight: 600 !important;
font-size: 0.95em !important;
line-height: 1.2 !important;
text-decoration: none !important;
margin-bottom: 8px !important;
transition: all 0.2s !important;
}
.celta-sys-btn:hover {
background-color: var(--celta-bg-light) !important;
border-color: #cbd5e1 !important;
color: #1e293b !important;
transform: translateX(3px) !important;
box-shadow: var(--celta-shadow-md) !important;
}
.celta-sys-btn i {
font-size: 1.1em !important;
color: var(--celta-text-light) !important;
margin-right: 12px !important;
width: 20px !important;
text-align: center !important;
display: inline-block !important;
}
.celta-sys-btn:hover i {
color: #3b82f6 !important;
}
.celta-sys-menu a {
text-decoration: none !important;
display: block !important;
}
/* BARRA DE CONTATOS */
.celta-contact-section {
max-width: 900px;
margin: 20px auto 20px auto;
text-align: center;
}
.celta-contact-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--celta-border-light);
color: var(--celta-text-muted);
padding: 6px 16px;
border-radius: 20px;
font-size: 0.75em;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 15px;
}
.celta-contact-box {
background: var(--celta-bg-white);
border: 1px solid #cbd5e1 !important;
border-bottom: 3px solid #cbd5e1 !important;
border-radius: var(--celta-radius-lg);
display: flex;
flex-wrap: wrap;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
overflow: hidden;
}
.celta-contact-item {
flex: 1;
min-width: 200px;
padding: 10px 15px !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-right: 1px solid var(--celta-border-light);
transition: background 0.2s;
gap: 4px !important;
}
.celta-contact-item:last-child {
border-right: none;
}
.celta-contact-item:hover {
background: var(--celta-bg-light);
}
.celta-contact-icon {
font-size: 1.4em;
margin-bottom: 2px;
}
.icon-red {
color: #ef4444;
}
.icon-green {
color: #22c55e;
}
.icon-blue {
color: #3b82f6;
}
.icon-purple {
color: #8b5cf6;
}
.celta-contact-label {
font-size: 0.7em;
font-weight: 700;
text-transform: uppercase;
color: var(--celta-text-light);
margin-bottom: 2px;
}
.celta-contact-value {
font-size: 0.9em;
font-weight: 600;
color: #334155;
}
.celta-contact-box a.external {
background-image: none !important;
padding-right: 0 !important;
color: inherit !important;
text-decoration: none !important;
}
.celta-contact-item:hover .celta-contact-value {
color: var(--celta-primary);
}
@media (max-width: 700px) {
.celta-contact-box {
flex-direction: column;
}
.celta-contact-item {
border-right: none;
border-bottom: 1px solid var(--celta-border-light);
}
}
/* HEADER DA PÁGINA */
.celta-page-header {
background: transparent !important;
border: none !important;
border-bottom: 1px solid var(--celta-border) !important;
padding: 0 0 15px 0 !important;
margin-bottom: 25px !important;
box-shadow: none !important;
}
.celta-page-header.celta-header-clean {
border-bottom: none !important;
margin-bottom: 10px !important;
}
.celta-breadcrumbs {
background: transparent !important;
padding: 0 !important;
font-size: 0.8em !important;
color: var(--celta-text-muted) !important;
text-transform: uppercase;
font-weight: 600;
margin-bottom: 5px !important;
}
.celta-main-title {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
font-size: 1.8em !important;
font-weight: 800 !important;
color: var(--celta-text-dark) !important;
line-height: 1.2 !important;
border: none !important;
}
.celta-meta-info {
background: transparent !important;
padding: 0 !important;
margin-top: 5px !important;
font-size: 0.8em !important;
color: var(--celta-text-light) !important;
border: none !important;
}
/* LISTAS DE LINKS */
.celta-link-list ul {
list-style: none !important;
padding: 0 !important;
margin: 0 !important;
}
.celta-link-list li {
margin-bottom: 12px !important;
padding-left: 0 !important;
background: none !important;
}
.celta-link-list a {
text-decoration: none;
color: #334155;
font-weight: 500;
font-size: 0.95em;
display: flex;
align-items: center;
transition: color 0.2s;
}
.celta-link-list a:hover {
color: var(--celta-primary);
}
.celta-link-list a::before {
content: "\F285";
/* Chevron Right */
font-family: "bootstrap-icons";
color: #cbd5e1;
margin-right: 10px;
font-size: 1.1em;
font-weight: bold;
}
.celta-link-list a.external::before {
content: "\F30A";
/* Download Icon */
}
/* LOGO SVG (BG) */
.celta-logo-svg {
background-image: url('/resources/assets/celta-logo.svg');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
display: block;
margin: 0 auto;
width: 100%;
max-width: 350px;
}
@media (max-width: 768px) {
.celta-logo-svg {
max-width: 280px;
margin-left: auto;
margin-right: auto;
}
}
/* HERO CARD */
.celta-hero-card {
background: var(--celta-bg-white);
border-radius: 16px;
border: 1px solid var(--celta-border);
overflow: hidden;
margin-bottom: 35px;
display: grid;
grid-template-columns: 2fr 1fr;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.celta-hero-main {
padding: 40px;
border-right: 1px solid var(--celta-border-light);
}
.celta-hero-sidebar {
background: var(--celta-bg-light);
padding: 30px;
display: flex;
flex-direction: column;
justify-content: center;
}
@media (max-width: 768px) {
.celta-hero-card {
grid-template-columns: 1fr;
display: flex;
flex-direction: column;
}
.celta-hero-main {
border-right: none;
border-bottom: 1px solid var(--celta-border-light);
padding: 30px 20px;
}
.celta-hero-sidebar {
padding: 30px 20px;
}
}
/* ERP SIMULATOR (DESKTOP) */
.erp-container {
display: flex;
flex-direction: column;
height: 85vh;
background-color: #f0f2f5;
border: 1px solid #d1d5db;
border-radius: 4px;
overflow: hidden;
font-family: var(--celta-font-main);
position: relative;
}
@media (min-width: 768px) {
.erp-container {
grid-template-columns: 1fr 1fr !important;
}
}
.erp-top-bar {
background-color: #31c131;
height: 50px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
color: white;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
z-index: 10;
}
.erp-brand {
font-weight: 600;
text-transform: uppercase;
display: flex;
align-items: center;
gap: 10px;
}
.erp-user-actions {
display: flex;
gap: 15px;
}
.erp-icon-circle {
border: 1px solid rgba(255, 255, 255, 0.6);
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1em;
}
.erp-body {
display: flex;
flex: 1;
overflow: hidden;
}
.erp-sidebar {
width: 260px;
background-color: var(--celta-bg-white);
border-right: 1px solid #e0e0e0;
flex-direction: column;
padding-top: 10px;
overflow-y: auto;
flex-shrink: 0;
}
.erp-menu-item {
padding: 12px 20px;
color: var(--celta-text-main);
display: flex;
align-items: center;
text-decoration: none !important;
font-size: 0.95em;
font-weight: 500;
transition: background 0.2s, color 0.2s;
border-left: 4px solid transparent;
}
.erp-menu-item i {
font-size: 1.3em;
margin-right: 15px;
width: 24px;
text-align: center;
color: #555;
}
.erp-menu-item:hover {
background-color: #f5f5f5;
color: #000;
}
.erp-menu-item.active {
background-color: #e8f5e9;
color: #2e7d32;
border-left-color: #3bd648;
}
.erp-menu-item.active i {
color: #2e7d32;
}
.erp-content-stage {
flex: 1;
position: relative;
padding: 30px;
overflow-y: auto;
}
.erp-bg-logo {
position: absolute;
bottom: 20px;
right: 20px;
width: 300px;
height: 300px;
background-image: url('/resources/assets/celta-logo.svg');
background-repeat: no-repeat;
background-position: bottom right;
background-size: contain;
opacity: 1;
pointer-events: none;
z-index: 0;
}
.erp-widgets-area {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: 20px;
max-width: 800px;
}
.erp-footer-bar {
background-color: #31c131;
height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
font-size: 0.75em;
color: #fff;
font-weight: 600;
}
/* ERP SIMULATOR (MOBILE FIX) */
@media (max-width: 768px) {
.erp-container {
height: auto !important;
min-height: 80vh;
}
.erp-body {
flex-direction: column !important;
}
.erp-sidebar {
width: 100% !important;
height: auto !important;
max-height: 250px;
border-right: none !important;
border-bottom: 1px solid #e0e0e0;
}
.erp-bg-logo {
display: none !important;
}
.erp-content-stage {
padding: 15px !important;
}
.erp-user-actions {
display: none !important;
}
}