Reestructuración modular integral de servicios, reorganización de gestión en docs/ y limpieza profunda del repositorio

This commit is contained in:
Ricardo Monla
2026-03-06 18:03:07 -03:00
parent 15725e0b3c
commit ac9bdf516b
286 changed files with 36187 additions and 112775 deletions
@@ -0,0 +1,468 @@
/* dtic-BITACORAs — Estética del Dashboard P2601 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #667eea;
--secondary: #764ba2;
--gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--info: #3b82f6;
--bg: #0f172a;
--bg-card: #1e293b;
--bg-card-hover: #334155;
--bg-input: #1e293b;
--text: #f1f5f9;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--border: #334155;
--radius: 12px;
--shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
}
/* Layout */
.app {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.navbar {
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
padding: 1rem 2rem;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 100;
}
.navbar-brand {
font-size: 1.4rem;
font-weight: 700;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
gap: 0.5rem;
}
.navbar-brand i {
-webkit-text-fill-color: initial;
color: var(--primary);
}
.badge {
display: inline-block;
padding: 0.2rem 0.6rem;
border-radius: 20px;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.05em;
}
.badge-gradient {
background: var(--gradient);
color: white;
}
/* Main content */
.main {
flex: 1;
padding: 2rem;
max-width: 1400px;
margin: 0 auto;
width: 100%;
}
/* Cards */
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.5rem;
transition: var(--transition);
animation: fadeIn 0.5s ease-out;
}
.card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow);
border-color: var(--primary);
}
.card-header {
background: var(--gradient);
color: white;
padding: 1rem 1.5rem;
border-radius: var(--radius) var(--radius) 0 0;
margin: -1.5rem -1.5rem 1.5rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 0.5rem;
}
/* Table I-F-D-E */
.table-ifde {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
}
.table-ifde th {
background: rgba(102, 126, 234, 0.15);
color: var(--primary);
padding: 0.75rem 1rem;
text-align: left;
font-weight: 600;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border-bottom: 2px solid var(--border);
}
.table-ifde td {
padding: 0.75rem 1rem;
border-bottom: 1px solid var(--border);
vertical-align: top;
}
.table-ifde tr:hover td {
background: rgba(102, 126, 234, 0.05);
}
.table-ifde .col-time {
width: 60px;
font-family: 'JetBrains Mono', monospace;
color: var(--text-secondary);
font-size: 0.85rem;
}
.table-ifde .col-status {
width: 80px;
text-align: center;
}
.table-ifde .col-desc {
color: var(--text);
}
.table-ifde .ia-tag {
background: rgba(102, 126, 234, 0.2);
color: var(--primary);
padding: 0.1rem 0.4rem;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
margin-right: 0.3rem;
}
/* Nodo section */
.nodo-section {
margin-bottom: 2rem;
}
.nodo-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--border);
}
.nodo-title i {
color: var(--primary);
}
.nodo-ip {
color: var(--text-muted);
font-size: 0.8rem;
font-weight: 400;
}
/* Form inline */
.form-inline {
display: flex;
gap: 0.5rem;
align-items: center;
padding: 1rem;
background: rgba(102, 126, 234, 0.05);
border-radius: var(--radius);
margin-top: 1rem;
flex-wrap: wrap;
}
.form-inline input,
.form-inline select {
background: var(--bg-input);
border: 1px solid var(--border);
color: var(--text);
padding: 0.5rem 0.75rem;
border-radius: 8px;
font-size: 0.85rem;
font-family: inherit;
transition: var(--transition);
}
.form-inline input:focus,
.form-inline select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
.form-inline .input-time {
width: 80px;
}
.form-inline .input-desc {
flex: 1;
min-width: 200px;
}
/* Buttons */
.btn {
padding: 0.5rem 1rem;
border-radius: 8px;
border: none;
font-weight: 500;
cursor: pointer;
transition: var(--transition);
font-size: 0.85rem;
display: inline-flex;
align-items: center;
gap: 0.3rem;
}
.btn:hover {
transform: translateY(-1px);
}
.btn-primary {
background: var(--gradient);
color: white;
}
.btn-primary:hover {
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn-sm {
padding: 0.3rem 0.6rem;
font-size: 0.75rem;
}
.btn-danger {
background: var(--danger);
color: white;
}
.btn-success {
background: var(--success);
color: white;
}
/* Date selector */
.date-selector {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 2rem;
}
.date-selector input[type="date"] {
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text);
padding: 0.6rem 1rem;
border-radius: 8px;
font-size: 1rem;
font-family: inherit;
}
.date-selector input[type="date"]:focus {
outline: none;
border-color: var(--primary);
}
/* Stats bar */
.stats-bar {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem 1.5rem;
flex: 1;
min-width: 150px;
text-align: center;
transition: var(--transition);
}
.stat-card:hover {
border-color: var(--primary);
}
.stat-value {
font-size: 2rem;
font-weight: 700;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-label {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 0.3rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* Responsive */
@media (max-width: 768px) {
.main {
padding: 1rem;
}
.navbar {
padding: 0.75rem 1rem;
}
.stats-bar {
flex-direction: column;
}
.form-inline {
flex-direction: column;
}
.form-inline .input-desc {
min-width: 100%;
}
}
/* Modal de confirmación */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
animation: fadeIn 0.2s ease-out;
}
.modal-box {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0;
max-width: 420px;
width: 90%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: fadeIn 0.3s ease-out;
}
.modal-header {
background: var(--danger);
color: white;
padding: 1rem 1.5rem;
border-radius: var(--radius) var(--radius) 0 0;
font-weight: 600;
display: flex;
align-items: center;
gap: 0.5rem;
}
.modal-body {
padding: 1.5rem;
color: var(--text-secondary);
line-height: 1.5;
}
.modal-actions {
padding: 0 1.5rem 1.5rem;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}
/* Campos de edición inline */
.edit-input {
background: var(--bg-input);
border: 1px solid var(--primary);
color: var(--text);
padding: 0.35rem 0.5rem;
border-radius: 6px;
font-size: 0.8rem;
font-family: inherit;
transition: var(--transition);
}
.edit-input:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}