feat(ui): cockpit y diseño garita con paridad visual 1:1 de escritorio

This commit is contained in:
Carlos Tello
2026-10-14 21:17:52 -03:00
parent 0ab81a8c9c
commit a09cb6a95b
2 changed files with 1263 additions and 1968 deletions
+195
View File
@@ -538,3 +538,198 @@ button:disabled, .btn:disabled, .touch-button:disabled {
background-color: var(--hover-bg);
border-color: var(--accent);
}
/* ==============================================================================
ESTILO REPLICA ESCRITORIO ONEVERACCESS (PARIDAD 1:1 CON SCREENSHOTS)
============================================================================== */
.desktop-shell {
display: flex;
height: 100vh;
width: 100vw;
background-color: #070D1E;
color: #E2E8F0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
overflow: hidden;
}
.desktop-sidebar {
width: 50px;
background-color: #050A18;
border-right: 1px solid #14203B;
display: flex;
flex-direction: column;
align-items: center;
padding: 8px 0;
gap: 8px;
flex-shrink: 0;
user-select: none;
overflow-y: auto;
}
.desktop-rail-item {
width: 38px;
height: 38px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: none;
background: transparent;
transition: all 0.15s ease;
}
.desktop-rail-item:hover {
background-color: #121E38;
}
.desktop-rail-item.active {
background-color: #2563EB;
box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}
.desktop-main-area {
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.desktop-top-header {
height: 48px;
background-color: #070D1E;
border-bottom: 1px solid #14203B;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
flex-shrink: 0;
}
.desktop-tab-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 0 18px;
height: 48px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
border: none;
background: transparent;
color: #94A3B8;
border-bottom: 3px solid transparent;
transition: all 0.15s ease;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.desktop-tab-btn.active {
color: #38BDF8;
border-bottom: 3px solid #2563EB;
}
.desktop-cockpit-grid {
flex: 1;
display: grid;
grid-template-columns: 240px 1fr 210px;
gap: 10px;
padding: 8px 12px;
overflow-y: auto;
background-color: #070D1E;
}
.desktop-groupbox {
background-color: #0B132B;
border: 1px solid #1E2D56;
border-radius: 8px;
padding: 10px 12px;
display: flex;
flex-direction: column;
gap: 8px;
box-sizing: border-box;
}
.desktop-groupbox-title {
font-size: 12px;
font-weight: 600;
color: #8E9CAE;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.desktop-input {
background-color: #091124;
border: 1px solid #1E2D56;
border-radius: 4px;
color: #F1F5F9;
font-size: 12px;
padding: 4px 8px;
height: 28px;
width: 100%;
box-sizing: border-box;
outline: none;
transition: border-color 0.15s ease;
}
.desktop-input:focus {
border-color: #3B82F6;
box-shadow: 0 0 4px rgba(59, 130, 246, 0.4);
}
.desktop-select {
background-color: #091124;
border: 1px solid #1E2D56;
border-radius: 4px;
color: #F1F5F9;
font-size: 12px;
padding: 2px 6px;
height: 28px;
outline: none;
}
.desktop-label {
font-size: 11px;
font-weight: 600;
color: #94A3B8;
white-space: nowrap;
}
.desktop-btn-action {
font-size: 11px;
font-weight: 700;
padding: 5px 8px;
height: 30px;
border-radius: 4px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
white-space: nowrap;
transition: filter 0.15s ease;
}
.desktop-btn-action:hover {
filter: brightness(1.15);
}
@media (max-width: 1100px) {
.desktop-cockpit-grid {
grid-template-columns: 220px 1fr 190px !important;
}
}
@media (max-width: 880px) {
.desktop-sidebar {
display: none !important;
}
.desktop-cockpit-grid {
grid-template-columns: 1fr !important;
}
}
File diff suppressed because it is too large Load Diff