2997 lines
62 KiB
CSS
2997 lines
62 KiB
CSS
/**
|
|
* a2host - Components Design System (Zero-Build)
|
|
* Tablas, Cards Mobile, Modales, Terminal de Rollback, Toasts, Visor Docs y Login.
|
|
*/
|
|
|
|
/* ==========================================================================
|
|
Toolbars y Controles de Filtro
|
|
========================================================================== */
|
|
|
|
.panel-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.toolbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex: 1;
|
|
min-width: min(100%, 320px);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.toolbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Buscador con Icono */
|
|
.search-input-wrapper {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 200px;
|
|
max-width: 380px;
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 0.85rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--text-muted);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-search {
|
|
width: 100%;
|
|
padding: 0.55rem 0.85rem 0.55rem 2.4rem;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-size: 0.88rem;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.input-search:focus {
|
|
outline: none;
|
|
border-color: var(--accent-lime);
|
|
box-shadow: 0 0 0 3px var(--accent-lime-glow);
|
|
}
|
|
|
|
/* Selectores de Filtro */
|
|
.select-filter {
|
|
padding: 0.55rem 2rem 0.55rem 0.85rem;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20' stroke='%23a3e635'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.6rem center;
|
|
background-size: 1rem;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.select-filter:focus {
|
|
outline: none;
|
|
border-color: var(--accent-lime);
|
|
box-shadow: 0 0 0 3px var(--accent-lime-glow);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Botones del Sistema (Micro-interacciones y Glass Sheen)
|
|
========================================================================== */
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.55rem 1.15rem;
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--accent-lime), #84cc16);
|
|
color: #051405;
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
box-shadow: var(--glass-sheen-strong), 0 2px 12px var(--accent-lime-glow);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, var(--accent-lime-hover), var(--accent-lime));
|
|
box-shadow: var(--glass-sheen-strong), 0 4px 18px rgba(163, 230, 53, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-primary);
|
|
border-color: var(--border-subtle);
|
|
box-shadow: var(--glass-sheen);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.09);
|
|
border-color: var(--border-medium);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #fca5a5;
|
|
border-color: rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: rgba(239, 68, 68, 0.25);
|
|
border-color: rgba(239, 68, 68, 0.5);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
border-radius: var(--radius-md);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid var(--border-subtle);
|
|
color: var(--text-secondary);
|
|
min-height: 36px;
|
|
}
|
|
|
|
.btn-icon:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-primary);
|
|
border-color: var(--border-medium);
|
|
}
|
|
|
|
.btn-icon-danger:hover:not(:disabled) {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
border-color: rgba(239, 68, 68, 0.4);
|
|
color: #f87171;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Badges y Chips
|
|
========================================================================== */
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.2rem 0.55rem;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-full);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.badge-mode-static {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: #34d399;
|
|
border: 1px solid rgba(16, 185, 129, 0.25);
|
|
}
|
|
|
|
.badge-mode-proxy {
|
|
background: rgba(56, 189, 248, 0.12);
|
|
color: #38bdf8;
|
|
border: 1px solid rgba(56, 189, 248, 0.25);
|
|
}
|
|
|
|
.badge-port {
|
|
font-family: ui-monospace, SFMono-Regular, monospace;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
color: #fbbf24;
|
|
border: 1px solid rgba(245, 158, 11, 0.25);
|
|
padding: 0.15rem 0.45rem;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.badge-protected {
|
|
background: rgba(168, 85, 247, 0.12);
|
|
color: #c084fc;
|
|
border: 1px solid rgba(168, 85, 247, 0.25);
|
|
}
|
|
|
|
.badge-status-active {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: #34d399;
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.badge-status-disabled {
|
|
background: rgba(100, 116, 139, 0.15);
|
|
color: #94a3b8;
|
|
border: 1px solid rgba(100, 116, 139, 0.25);
|
|
}
|
|
|
|
.badge-sgid-ok {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: #34d399;
|
|
border: 1px solid rgba(16, 185, 129, 0.28);
|
|
}
|
|
|
|
.badge-sgid-warn {
|
|
background: rgba(245, 158, 11, 0.14);
|
|
color: #fbbf24;
|
|
border: 1px solid rgba(245, 158, 11, 0.32);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Tablas Estilo Glassmorphism (Tier 2) - Desktop
|
|
========================================================================== */
|
|
|
|
.table-glass-card {
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--glass-sheen), var(--shadow-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.table-responsive {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.data-table thead {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.data-table th {
|
|
padding: 0.85rem 1.15rem;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.data-table td {
|
|
padding: 0.95rem 1.15rem;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
color: var(--text-primary);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.data-table tbody tr {
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.data-table tbody tr:hover {
|
|
background: var(--bg-surface-hover);
|
|
}
|
|
|
|
.data-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Enlaces Externos en Tablas */
|
|
.subdomain-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.subdomain-link:hover {
|
|
color: var(--accent-lime);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.external-icon {
|
|
width: 13px;
|
|
height: 13px;
|
|
opacity: 0.6;
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.subdomain-link:hover .external-icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Switch Toggle Accesible */
|
|
.switch-label {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.switch-input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.switch-slider {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 22px;
|
|
background-color: rgba(255, 255, 255, 0.12);
|
|
border-radius: var(--radius-full);
|
|
transition: background-color var(--transition-fast);
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.switch-slider::before {
|
|
content: "";
|
|
position: absolute;
|
|
height: 16px;
|
|
width: 16px;
|
|
left: 2px;
|
|
bottom: 2px;
|
|
background-color: #ffffff;
|
|
border-radius: 50%;
|
|
transition: transform var(--transition-fast);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.switch-input:checked + .switch-slider {
|
|
background-color: var(--accent-lime);
|
|
border-color: rgba(163, 230, 53, 0.4);
|
|
}
|
|
|
|
.switch-input:checked + .switch-slider::before {
|
|
transform: translateX(18px);
|
|
background-color: #061506;
|
|
}
|
|
|
|
.switch-input:focus-visible + .switch-slider {
|
|
box-shadow: 0 0 0 3px var(--accent-lime-glow);
|
|
}
|
|
|
|
.switch-input:disabled + .switch-slider {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Tarjetas Responsivas en Mobile (< 768px)
|
|
========================================================================== */
|
|
|
|
.mobile-cards-grid {
|
|
display: none;
|
|
grid-template-columns: 1fr;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.mobile-card {
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1rem 1.15rem;
|
|
box-shadow: var(--glass-sheen), var(--shadow-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.mobile-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.mobile-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.mobile-card-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.mobile-card-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 0.6rem;
|
|
padding-top: 0.5rem;
|
|
border-top: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
/* Empty States */
|
|
.empty-state-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3.5rem 1.5rem;
|
|
text-align: center;
|
|
background: var(--bg-surface);
|
|
border: 1px dashed var(--border-medium);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.empty-state-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: var(--radius-xl);
|
|
background: rgba(163, 230, 53, 0.08);
|
|
border: 1px solid rgba(163, 230, 53, 0.18);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent-lime);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.empty-state-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.empty-state-desc {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
max-width: 400px;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Modales Accesibles (Tier 3 Glassmorphism)
|
|
========================================================================== */
|
|
|
|
.modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
z-index: 100;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity var(--transition-fast), visibility var(--transition-fast);
|
|
}
|
|
|
|
.modal-backdrop.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.modal-dialog {
|
|
background: var(--bg-modal);
|
|
backdrop-filter: blur(32px);
|
|
-webkit-backdrop-filter: blur(32px);
|
|
border: 1px solid var(--border-medium);
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: var(--glass-sheen-strong), var(--shadow-lg);
|
|
width: 100%;
|
|
max-width: 540px;
|
|
max-height: 90vh;
|
|
max-height: 90dvh;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transform: scale(0.96) translateY(8px);
|
|
transition: transform var(--transition-base);
|
|
}
|
|
|
|
.modal-backdrop.active .modal-dialog {
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1.25rem 1.5rem;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.modal-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.modal-icon-badge {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--radius-md);
|
|
background: rgba(163, 230, 53, 0.12);
|
|
border: 1px solid rgba(163, 230, 53, 0.25);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent-lime);
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.modal-close-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.modal-close-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.15rem;
|
|
}
|
|
|
|
.modal-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 0.75rem;
|
|
padding: 1.15rem 1.5rem;
|
|
border-top: 1px solid var(--border-subtle);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Formularios y Modos de Creación
|
|
========================================================================== */
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.form-label {
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 0.65rem 0.95rem;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-size: 0.9rem;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: var(--accent-lime);
|
|
box-shadow: 0 0 0 3px var(--accent-lime-glow);
|
|
}
|
|
|
|
.form-input.has-error {
|
|
border-color: var(--color-danger);
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.input-feedback {
|
|
font-size: 0.75rem;
|
|
color: var(--color-danger);
|
|
margin-top: 0.2rem;
|
|
}
|
|
|
|
/* Selector Modo A vs Modo B */
|
|
.mode-selector-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.mode-card-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.45rem;
|
|
padding: 0.9rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.mode-card-btn:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: var(--border-medium);
|
|
}
|
|
|
|
.mode-card-btn.active {
|
|
background: rgba(163, 230, 53, 0.08);
|
|
border-color: var(--accent-lime);
|
|
box-shadow: 0 0 16px var(--accent-lime-glow);
|
|
}
|
|
|
|
.mode-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 600;
|
|
font-size: 0.88rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.mode-card-desc {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
/* Live URL Preview */
|
|
.url-preview-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.55rem 0.85rem;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.url-preview-card strong {
|
|
color: var(--accent-lime);
|
|
font-family: ui-monospace, SFMono-Regular, monospace;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Terminal de Diagnóstico de Rollback (RFC 7807 Stderr)
|
|
========================================================================== */
|
|
|
|
.rollback-terminal-container {
|
|
display: none;
|
|
flex-direction: column;
|
|
background: #040704;
|
|
border: 1px solid rgba(239, 68, 68, 0.35);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
|
|
animation: slideDownTerminal var(--transition-base);
|
|
}
|
|
|
|
.rollback-terminal-container.active {
|
|
display: flex;
|
|
}
|
|
|
|
@keyframes slideDownTerminal {
|
|
from { opacity: 0; transform: translateY(-8px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.terminal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.55rem 0.85rem;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-bottom: 1px solid rgba(239, 68, 68, 0.25);
|
|
font-size: 0.76rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.terminal-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.terminal-badge {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
background: rgba(239, 68, 68, 0.25);
|
|
color: #fca5a5;
|
|
padding: 0.1rem 0.4rem;
|
|
border-radius: var(--radius-full);
|
|
}
|
|
|
|
.terminal-body {
|
|
padding: 0.85rem;
|
|
max-height: 160px;
|
|
overflow-y: auto;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 0.78rem;
|
|
line-height: 1.45;
|
|
color: #f87171;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
user-select: text;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Toasts Flotantes Accesibles
|
|
========================================================================== */
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 1.25rem;
|
|
right: 1.25rem;
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
max-width: 400px;
|
|
width: calc(100% - 2.5rem);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.85rem 1rem;
|
|
background: var(--bg-surface-elevated);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border: 1px solid var(--border-medium);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--glass-sheen-strong), var(--shadow-lg);
|
|
color: var(--text-primary);
|
|
pointer-events: auto;
|
|
overflow: hidden;
|
|
animation: toastSlideIn var(--transition-base);
|
|
}
|
|
|
|
.toast.toast-leaving {
|
|
animation: toastSlideOut var(--transition-fast) forwards;
|
|
}
|
|
|
|
@keyframes toastSlideIn {
|
|
from { opacity: 0; transform: translateX(30px) scale(0.95); }
|
|
to { opacity: 1; transform: translateX(0) scale(1); }
|
|
}
|
|
|
|
@keyframes toastSlideOut {
|
|
from { opacity: 1; transform: translateX(0); }
|
|
to { opacity: 0; transform: translateX(30px); }
|
|
}
|
|
|
|
.toast-icon-wrapper {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
margin-top: 0.1rem;
|
|
}
|
|
|
|
.toast-icon-success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
|
|
.toast-icon-error { background: rgba(239, 68, 68, 0.15); color: #f87171; }
|
|
.toast-icon-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
|
|
.toast-icon-info { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
|
|
|
|
.toast-body {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.toast-title {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toast-message {
|
|
font-size: 0.78rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.toast-close {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
padding: 0.2rem;
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.toast-close:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.toast-progress {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 3px;
|
|
width: 100%;
|
|
background: var(--accent-lime);
|
|
animation: toastProgress linear forwards;
|
|
}
|
|
|
|
.toast-error .toast-progress { background: var(--color-danger); }
|
|
.toast-warning .toast-progress { background: var(--color-warning); }
|
|
|
|
@keyframes toastProgress {
|
|
from { width: 100%; }
|
|
to { width: 0%; }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Lector de Documentación Técnica (/docs)
|
|
========================================================================== */
|
|
|
|
.docs-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
gap: 1.5rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.docs-sidebar {
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.15rem;
|
|
box-shadow: var(--glass-sheen), var(--shadow-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
max-height: calc(100vh - 180px);
|
|
max-height: calc(100dvh - 180px);
|
|
overflow-y: auto;
|
|
position: sticky;
|
|
top: 90px;
|
|
}
|
|
|
|
.docs-category-title {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-muted);
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.docs-nav-list {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.docs-nav-item-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
width: 100%;
|
|
padding: 0.45rem 0.65rem;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-secondary);
|
|
font-size: 0.82rem;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.docs-nav-item-btn:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.docs-nav-item-btn.active {
|
|
background: rgba(163, 230, 53, 0.1);
|
|
color: var(--accent-lime);
|
|
border-color: rgba(163, 230, 53, 0.25);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.docs-content-viewer {
|
|
background: var(--bg-surface);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 2rem 2.5rem;
|
|
box-shadow: var(--glass-sheen), var(--shadow-md);
|
|
min-height: 500px;
|
|
}
|
|
|
|
.docs-header-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.docs-heading {
|
|
color: var(--text-primary);
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
margin-top: 1.75rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.docs-h1 { font-size: 1.85rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.5rem; }
|
|
.docs-h2 { font-size: 1.45rem; }
|
|
.docs-h3 { font-size: 1.2rem; }
|
|
.docs-h4 { font-size: 1rem; }
|
|
|
|
.docs-paragraph {
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.94rem;
|
|
}
|
|
|
|
.docs-blockquote {
|
|
border-left: 3px solid var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.05);
|
|
padding: 0.75rem 1.15rem;
|
|
border-radius: 0 var(--radius-md) var(--radius-md) 0;
|
|
margin: 1.25rem 0;
|
|
color: var(--text-primary);
|
|
font-style: italic;
|
|
}
|
|
|
|
.docs-inline-code {
|
|
font-family: ui-monospace, SFMono-Regular, monospace;
|
|
font-size: 0.85em;
|
|
padding: 0.15rem 0.35rem;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid var(--border-subtle);
|
|
color: var(--accent-lime);
|
|
}
|
|
|
|
.code-block-wrapper {
|
|
margin: 1.25rem 0;
|
|
background: #050805;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.code-block-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.45rem 0.85rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.code-lang-tag {
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.btn-copy-code {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.75rem;
|
|
padding: 0.2rem 0.45rem;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.btn-copy-code:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.code-pre {
|
|
padding: 1.15rem;
|
|
overflow-x: auto;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 0.84rem;
|
|
line-height: 1.5;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.docs-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 1.25rem 0;
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.docs-table th, .docs-table td {
|
|
padding: 0.65rem 0.95rem;
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.docs-table th {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.docs-ul, .docs-ol {
|
|
margin: 1rem 0 1rem 1.5rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.docs-divider {
|
|
border: none;
|
|
border-top: 1px solid var(--border-subtle);
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Pantalla de Login (public/login.html)
|
|
========================================================================== */
|
|
|
|
.login-page-wrapper {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1.5rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.login-card {
|
|
width: 100%;
|
|
max-width: 440px;
|
|
background: var(--bg-surface-elevated);
|
|
backdrop-filter: blur(28px);
|
|
-webkit-backdrop-filter: blur(28px);
|
|
border: 1px solid var(--border-medium);
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: var(--glass-sheen-strong), var(--shadow-lg);
|
|
padding: 2.25rem 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.login-header {
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.login-brand-icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: var(--radius-lg);
|
|
background: linear-gradient(135deg, rgba(163, 230, 53, 0.2), rgba(16, 185, 129, 0.15));
|
|
border: 1px solid var(--border-active);
|
|
box-shadow: var(--glass-sheen-strong), 0 0 24px var(--accent-lime-glow);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent-lime);
|
|
}
|
|
|
|
.login-title {
|
|
font-size: 1.45rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
background: linear-gradient(135deg, #ffffff 40%, var(--accent-lime) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.login-subtitle {
|
|
font-size: 0.84rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.password-input-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.password-input-wrapper input {
|
|
padding-right: 2.75rem;
|
|
}
|
|
|
|
.password-toggle-btn {
|
|
position: absolute;
|
|
right: 0.5rem;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.password-toggle-btn:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.login-alert {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
padding: 0.75rem 0.95rem;
|
|
background: var(--color-danger-bg);
|
|
border: 1px solid var(--color-danger-border);
|
|
border-radius: var(--radius-md);
|
|
color: #fca5a5;
|
|
font-size: 0.82rem;
|
|
animation: fadeInTab var(--transition-fast);
|
|
}
|
|
|
|
.login-alert.active {
|
|
display: flex;
|
|
}
|
|
|
|
.login-footer-meta {
|
|
text-align: center;
|
|
font-size: 0.74rem;
|
|
color: var(--text-muted);
|
|
border-top: 1px solid var(--border-subtle);
|
|
padding-top: 1.15rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Responsive Breakpoints (Mobile-First)
|
|
========================================================================== */
|
|
|
|
@media (max-width: 900px) {
|
|
.docs-wrapper {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.docs-sidebar {
|
|
position: static;
|
|
max-height: 220px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.table-glass-card {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-cards-grid {
|
|
display: grid;
|
|
}
|
|
|
|
.header-inner {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.telemetry-bar {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.modal-dialog {
|
|
max-width: 100%;
|
|
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
|
|
position: fixed;
|
|
bottom: 0;
|
|
margin: 0;
|
|
max-height: 85vh;
|
|
max-height: 85dvh;
|
|
}
|
|
|
|
.mode-selector-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.docs-content-viewer {
|
|
padding: 1.25rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.main-container {
|
|
padding: 0.75rem 0.85rem 2rem;
|
|
}
|
|
|
|
.top-header {
|
|
padding: 0.65rem 0.85rem;
|
|
}
|
|
|
|
.telemetry-bar {
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.telemetry-card {
|
|
padding: 0.35rem 0.55rem;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.ram-bar-container {
|
|
width: 48px;
|
|
}
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Nuevas Interfaces y Módulos: Terminal, Monitor, File Manager y Editor
|
|
========================================================================== */
|
|
|
|
/* Diálogo Extra Ancho para File Manager y Code Editor */
|
|
.modal-dialog-xl {
|
|
max-width: 1040px;
|
|
width: 95vw;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
1. MÓDULO TERMINAL (CONSOLA BASH INTERACTIVA)
|
|
========================================================================== */
|
|
|
|
.terminal-quick-actions-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
padding: 0.75rem 1rem;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.quick-actions-label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.quick-buttons-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-quick-cmd {
|
|
padding: 0.35rem 0.65rem;
|
|
font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 0.78rem;
|
|
color: var(--text-secondary);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-quick-cmd:hover {
|
|
color: var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.08);
|
|
border-color: var(--accent-lime-hover);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.terminal-window-card {
|
|
background: #060907;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.terminal-window-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(18, 26, 20, 0.95);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.terminal-dots-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.dot-circle {
|
|
width: 11px;
|
|
height: 11px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dot-red { background: #ef4444; }
|
|
.dot-yellow { background: #f59e0b; }
|
|
.dot-green { background: #10b981; }
|
|
|
|
.terminal-window-title {
|
|
font-family: ui-monospace, 'JetBrains Mono', monospace;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.terminal-window-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.terminal-meta-tag {
|
|
font-size: 0.72rem;
|
|
padding: 0.2rem 0.5rem;
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: var(--accent-emerald);
|
|
border: 1px solid rgba(16, 185, 129, 0.25);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.terminal-screen-body {
|
|
height: 480px;
|
|
max-height: 55vh;
|
|
overflow-y: auto;
|
|
padding: 1.25rem 1.25rem 0.75rem;
|
|
font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
font-size: 0.88rem;
|
|
line-height: 1.55;
|
|
color: #e2e8f0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.terminal-banner {
|
|
padding: 0.85rem 1rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px dashed rgba(255, 255, 255, 0.12);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: 0.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.terminal-banner-brand {
|
|
color: var(--accent-lime);
|
|
font-weight: 700;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.terminal-banner-sub {
|
|
color: var(--text-muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.terminal-entry {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.terminal-cmd-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--accent-lime);
|
|
font-weight: 600;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.terminal-prompt-sym {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.terminal-output-block {
|
|
padding: 0.65rem 0.85rem;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
border-left: 3px solid var(--accent-lime);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 0.84rem;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.terminal-output-block.has-error {
|
|
border-left-color: #ef4444;
|
|
background: rgba(239, 68, 68, 0.05);
|
|
}
|
|
|
|
.terminal-stderr-text {
|
|
color: #fca5a5;
|
|
margin-top: 0.35rem;
|
|
}
|
|
|
|
.terminal-entry-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
margin-top: 0.15rem;
|
|
}
|
|
|
|
.terminal-badge-ok {
|
|
color: #4ade80;
|
|
background: rgba(74, 222, 128, 0.12);
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.terminal-badge-err {
|
|
color: #f87171;
|
|
background: rgba(248, 113, 113, 0.12);
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.terminal-cli-form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(14, 22, 16, 0.95);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.terminal-prompt-prefix {
|
|
font-family: ui-monospace, 'JetBrains Mono', monospace;
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
color: var(--accent-lime);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.terminal-cli-input {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: none;
|
|
font-family: ui-monospace, 'JetBrains Mono', monospace;
|
|
font-size: 0.88rem;
|
|
color: #f8fafc;
|
|
outline: none;
|
|
caret-color: var(--accent-lime);
|
|
}
|
|
|
|
.terminal-cli-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.25);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.terminal-execute-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
padding: 0.4rem 0.85rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.kbd-hint {
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.68rem;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 0.1rem 0.35rem;
|
|
border-radius: 3px;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
2. MÓDULO MONITOR DEL SERVIDOR
|
|
========================================================================== */
|
|
|
|
.auto-refresh-selector-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.monitor-cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.25rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.monitor-metric-card {
|
|
background: var(--bg-surface-elevated);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
backdrop-filter: blur(16px);
|
|
box-shadow: var(--shadow-sm), var(--glass-sheen);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
transition: transform var(--transition-fast), border-color var(--transition-fast);
|
|
}
|
|
|
|
.monitor-metric-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--border-medium);
|
|
}
|
|
|
|
.metric-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.metric-card-icon-wrap {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.metric-card-title-wrap {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.metric-title {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.metric-subtitle {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.metric-percentage {
|
|
font-size: 1.25rem;
|
|
font-weight: 800;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.metric-progress-track {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: var(--radius-full);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.metric-progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #38bdf8, #0ea5e9);
|
|
border-radius: var(--radius-full);
|
|
transition: width 400ms ease;
|
|
box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
|
|
}
|
|
|
|
.metric-progress-fill.fill-lime {
|
|
background: linear-gradient(90deg, #10b981, #a3e635);
|
|
box-shadow: 0 0 10px rgba(163, 230, 53, 0.3);
|
|
}
|
|
|
|
.metric-progress-fill.fill-purple {
|
|
background: linear-gradient(90deg, #a855f7, #c084fc);
|
|
box-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
|
|
}
|
|
|
|
.metric-progress-fill.fill-orange {
|
|
background: linear-gradient(90deg, #f97316, #fb923c);
|
|
box-shadow: 0 0 10px rgba(251, 146, 60, 0.3);
|
|
}
|
|
|
|
.metric-progress-fill.fill-warning {
|
|
background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
|
|
box-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
|
|
}
|
|
|
|
.metric-progress-fill.fill-danger {
|
|
background: linear-gradient(90deg, #ef4444, #f87171) !important;
|
|
box-shadow: 0 0 14px rgba(239, 68, 68, 0.5) !important;
|
|
}
|
|
|
|
.metric-card-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
padding-top: 0.4rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.metric-stat-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.76rem;
|
|
}
|
|
|
|
.stat-name {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.stat-value {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Badges de Procesos del VPS */
|
|
.process-cmd-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: var(--radius-sm);
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.proc-apache {
|
|
background: rgba(56, 189, 248, 0.12);
|
|
color: #38bdf8;
|
|
border: 1px solid rgba(56, 189, 248, 0.25);
|
|
}
|
|
|
|
.proc-node {
|
|
background: rgba(74, 222, 128, 0.12);
|
|
color: #4ade80;
|
|
border: 1px solid rgba(74, 222, 128, 0.25);
|
|
}
|
|
|
|
.proc-gitea {
|
|
background: rgba(192, 132, 252, 0.12);
|
|
color: #c084fc;
|
|
border: 1px solid rgba(192, 132, 252, 0.25);
|
|
}
|
|
|
|
.proc-mysql {
|
|
background: rgba(251, 146, 60, 0.12);
|
|
color: #fb923c;
|
|
border: 1px solid rgba(251, 146, 60, 0.25);
|
|
}
|
|
|
|
.proc-system {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--text-muted);
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
3. GESTOR DE ARCHIVOS (FILE MANAGER)
|
|
========================================================================== */
|
|
|
|
.fm-path-subtitle {
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.76rem;
|
|
color: var(--accent-lime);
|
|
}
|
|
|
|
.fm-breadcrumbs-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.65rem 1.25rem;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fm-breadcrumb-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.82rem;
|
|
color: var(--text-muted);
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0.2rem 0.45rem;
|
|
border-radius: 4px;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.fm-breadcrumb-item:hover {
|
|
color: var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.08);
|
|
}
|
|
|
|
.fm-breadcrumb-active {
|
|
color: var(--text-primary);
|
|
font-weight: 700;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.fm-breadcrumb-separator {
|
|
color: rgba(255, 255, 255, 0.2);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.fm-toolbar-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.75rem 1.25rem;
|
|
background: var(--bg-surface);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fm-toolbar-left, .fm-toolbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.fm-create-item-panel {
|
|
padding: 0.75rem 1.25rem;
|
|
background: rgba(16, 185, 129, 0.05);
|
|
border-bottom: 1px solid rgba(16, 185, 129, 0.2);
|
|
}
|
|
|
|
.fm-create-item-form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.fm-create-input {
|
|
max-width: 320px;
|
|
height: 34px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.fm-modal-body {
|
|
padding: 0;
|
|
max-height: 480px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.fm-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.fm-table tbody tr {
|
|
cursor: default;
|
|
}
|
|
|
|
.fm-table tbody tr.fm-dir-row {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fm-file-name-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.fm-icon-folder { color: #f59e0b; }
|
|
.fm-icon-php { color: #60a5fa; }
|
|
.fm-icon-js { color: #facc15; }
|
|
.fm-icon-html { color: #fb923c; }
|
|
.fm-icon-css { color: #38bdf8; }
|
|
.fm-icon-json { color: #4ade80; }
|
|
.fm-icon-img { color: #f472b6; }
|
|
.fm-icon-default { color: var(--text-muted); }
|
|
|
|
.fm-folder-link {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.fm-folder-link:hover {
|
|
color: var(--accent-lime);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
4. EDITOR DE CÓDIGO
|
|
========================================================================== */
|
|
|
|
.code-editor-dialog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 85vh;
|
|
}
|
|
|
|
.code-editor-header {
|
|
padding: 0.85rem 1.25rem;
|
|
}
|
|
|
|
.code-editor-path {
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.74rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.code-editor-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.code-editor-status-tag {
|
|
font-size: 0.74rem;
|
|
padding: 0.25rem 0.55rem;
|
|
border-radius: var(--radius-sm);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-clean {
|
|
color: var(--text-muted);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.status-dirty {
|
|
color: #fbbf24;
|
|
background: rgba(245, 158, 11, 0.15);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.status-saving {
|
|
color: #38bdf8;
|
|
background: rgba(56, 189, 248, 0.15);
|
|
}
|
|
|
|
.status-saved {
|
|
color: #4ade80;
|
|
background: rgba(74, 222, 128, 0.15);
|
|
}
|
|
|
|
.code-editor-body {
|
|
flex: 1;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: #080c09;
|
|
}
|
|
|
|
.code-editor-workspace {
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.code-editor-gutter {
|
|
width: 52px;
|
|
background: #050806;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 0.85rem;
|
|
line-height: 1.6;
|
|
text-align: right;
|
|
padding: 0.75rem 0.5rem 0.75rem 0.25rem;
|
|
user-select: none;
|
|
overflow: hidden;
|
|
white-space: pre;
|
|
}
|
|
|
|
.code-editor-textarea {
|
|
flex: 1;
|
|
height: 100%;
|
|
background: transparent;
|
|
border: none;
|
|
color: #e2e8f0;
|
|
font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 0.85rem;
|
|
line-height: 1.6;
|
|
padding: 0.75rem 1rem;
|
|
outline: none;
|
|
resize: none;
|
|
white-space: pre;
|
|
overflow: auto;
|
|
tab-size: 2;
|
|
caret-color: var(--accent-lime);
|
|
}
|
|
|
|
.code-editor-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.65rem 1.25rem;
|
|
background: var(--bg-surface-elevated);
|
|
}
|
|
|
|
.code-editor-footer-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.code-editor-shortcut-hint {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
5. RIESGOS DE SUBDOMINIOS Y USUARIOS INMUTABLES
|
|
========================================================================== */
|
|
|
|
.risk-alert-container {
|
|
margin: 1rem 0;
|
|
padding: 0.9rem 1rem;
|
|
background: rgba(239, 68, 68, 0.08);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.risk-alert-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.risk-alert-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.05em;
|
|
padding: 0.2rem 0.45rem;
|
|
border-radius: 4px;
|
|
background: #ef4444;
|
|
color: #fff;
|
|
}
|
|
|
|
.risk-alert-title {
|
|
font-size: 0.88rem;
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.risk-alert-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.risk-alert-item {
|
|
font-size: 0.8rem;
|
|
line-height: 1.45;
|
|
color: #fecaca;
|
|
padding: 0.45rem 0.65rem;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-left: 3px solid #ef4444;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.risk-alert-item.risk-warning {
|
|
border-left-color: #f59e0b;
|
|
color: #fde68a;
|
|
}
|
|
|
|
.risk-confirmation-box {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.85rem 1rem;
|
|
margin: 0.85rem 0;
|
|
background: rgba(245, 158, 11, 0.08);
|
|
border: 1px solid rgba(245, 158, 11, 0.35);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.risk-checkbox {
|
|
margin-top: 0.25rem;
|
|
width: 17px;
|
|
height: 17px;
|
|
accent-color: var(--accent-lime);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.risk-checkbox-label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.15rem;
|
|
font-size: 0.84rem;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.risk-checkbox-sub {
|
|
font-size: 0.74rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Badge de Usuario Inmutable / Root */
|
|
.badge-immutable {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.25rem 0.6rem;
|
|
font-size: 0.72rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.04em;
|
|
color: #d8b4fe;
|
|
background: rgba(168, 85, 247, 0.16);
|
|
border: 1px solid rgba(168, 85, 247, 0.45);
|
|
border-radius: var(--radius-sm);
|
|
box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Módulo 1: Proyectos Web (/var/www/<proyecto>)
|
|
========================================================================== */
|
|
|
|
.projects-cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
gap: 1.25rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.projects-cards-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
box-shadow: var(--shadow-sm);
|
|
transition: all var(--transition-base);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--border-highlight, rgba(16, 185, 129, 0.3)), transparent);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--border-highlight, rgba(16, 185, 129, 0.3));
|
|
box-shadow: var(--shadow-md), 0 0 20px var(--accent-glow, rgba(16, 185, 129, 0.1));
|
|
}
|
|
|
|
.project-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.project-title-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.project-icon-badge {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(163, 230, 53, 0.1);
|
|
color: var(--accent-lime);
|
|
border: 1px solid rgba(163, 230, 53, 0.2);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.project-name {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.project-type-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.2rem 0.55rem;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-sm);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.type-tag-static {
|
|
color: var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.12);
|
|
border: 1px solid rgba(163, 230, 53, 0.3);
|
|
}
|
|
|
|
.type-tag-node {
|
|
color: #38bdf8;
|
|
background: rgba(56, 189, 248, 0.12);
|
|
border: 1px solid rgba(56, 189, 248, 0.3);
|
|
}
|
|
|
|
.type-tag-python {
|
|
color: #fbbf24;
|
|
background: rgba(251, 191, 36, 0.12);
|
|
border: 1px solid rgba(251, 191, 36, 0.3);
|
|
}
|
|
|
|
.type-tag-custom {
|
|
color: #c084fc;
|
|
background: rgba(192, 132, 252, 0.12);
|
|
border: 1px solid rgba(192, 132, 252, 0.3);
|
|
}
|
|
|
|
.project-meta-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
padding: 0.75rem 0.85rem;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-subtle);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.project-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.project-meta-label {
|
|
color: var(--text-muted);
|
|
font-size: 0.76rem;
|
|
}
|
|
|
|
.project-meta-value {
|
|
color: var(--text-secondary);
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
/* Subdominios Vinculados */
|
|
.project-subdomains-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.project-subdomains-title {
|
|
font-size: 0.76rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.project-subdomains-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.subdomain-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.25rem 0.55rem;
|
|
background: var(--bg-surface-elevated);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-full);
|
|
font-size: 0.78rem;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.subdomain-chip:hover {
|
|
border-color: var(--accent-lime);
|
|
background: var(--bg-surface-hover);
|
|
}
|
|
|
|
.subdomain-chip-link {
|
|
color: var(--accent-primary, #10b981);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.subdomain-chip-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.subdomain-chip-remove {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 0.95rem;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
padding: 0 0.15rem;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.subdomain-chip-remove:hover {
|
|
color: #f87171;
|
|
}
|
|
|
|
.project-actions-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid var(--border-subtle);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.project-actions-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.project-actions-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
/* Selector Radial de Tipo de Proyecto en Modal */
|
|
.project-type-selector-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.project-type-selector-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.project-type-option {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.project-type-option input[type="radio"] {
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.project-type-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
padding: 0.75rem;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.project-type-option input[type="radio"]:checked + .project-type-box {
|
|
border-color: var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.08);
|
|
box-shadow: 0 0 0 1px var(--accent-lime);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Módulo 2: Gestión FTP & Carga Masiva (Bulk Upload)
|
|
========================================================================== */
|
|
|
|
.ftp-connection-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.5rem;
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
margin-bottom: 1.5rem;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.ftp-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ftp-header-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ftp-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.ftp-subtitle {
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.ftp-credentials-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.ftp-credential-item {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
padding: 0.85rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.credential-label {
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.credential-val-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.credential-value {
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 0.92rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-copy-mini {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-secondary);
|
|
padding: 0.25rem 0.4rem;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.btn-copy-mini:hover {
|
|
background: var(--bg-surface-hover);
|
|
color: var(--accent-lime);
|
|
border-color: var(--accent-lime);
|
|
}
|
|
|
|
/* Bulk Upload */
|
|
.bulk-upload-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.5rem;
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.bulk-upload-header {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.bulk-upload-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.bulk-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.bulk-desc {
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.bulk-upload-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.bulk-form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.bulk-form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.ftp-drop-zone {
|
|
border: 2px dashed rgba(255, 255, 255, 0.15);
|
|
border-radius: var(--radius-lg);
|
|
padding: 2.5rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.65rem;
|
|
cursor: pointer;
|
|
background: rgba(0, 0, 0, 0.18);
|
|
transition: all var(--transition-base);
|
|
text-align: center;
|
|
}
|
|
|
|
.ftp-drop-zone:hover,
|
|
.ftp-drop-zone.dragover {
|
|
border-color: var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.05);
|
|
box-shadow: 0 0 25px rgba(163, 230, 53, 0.15);
|
|
}
|
|
|
|
.drop-zone-icon {
|
|
color: var(--accent-lime);
|
|
animation: pulse-subtle 2.5s infinite ease-in-out;
|
|
}
|
|
|
|
.drop-zone-text {
|
|
font-size: 0.95rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.drop-zone-sub {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.selected-file-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(163, 230, 53, 0.08);
|
|
border: 1px solid rgba(163, 230, 53, 0.25);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.selected-file-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.selected-file-name {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.selected-file-size {
|
|
color: var(--text-muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.btn-remove-selection {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 1.25rem;
|
|
cursor: pointer;
|
|
padding: 0 0.25rem;
|
|
}
|
|
|
|
.btn-remove-selection:hover {
|
|
color: #f87171;
|
|
}
|
|
|
|
.bulk-form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.extract-status-banner {
|
|
padding: 0.85rem 1rem;
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.85rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.extract-status-banner.success {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
color: var(--accent-emerald);
|
|
}
|
|
|
|
.extract-status-banner.error {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
color: #f87171;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Módulo 3: Terminal Remota con Bloqueo de Usuario VPS
|
|
========================================================================== */
|
|
|
|
.terminal-lock-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 420px;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
.terminal-lock-card {
|
|
max-width: 440px;
|
|
width: 100%;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-xl);
|
|
padding: 2rem 1.75rem;
|
|
text-align: center;
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.terminal-lock-icon-wrap {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(245, 158, 11, 0.12);
|
|
color: var(--color-warning);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 1.25rem;
|
|
box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
|
|
}
|
|
|
|
.terminal-lock-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.terminal-lock-desc {
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.5;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.terminal-auth-form {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.terminal-auth-error {
|
|
padding: 0.65rem 0.85rem;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
border-radius: var(--radius-md);
|
|
color: #f87171;
|
|
font-size: 0.82rem;
|
|
text-align: left;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Módulo 4: Configuraciones (Usuarios, Temas, Identidad)
|
|
========================================================================== */
|
|
|
|
.settings-subnav-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 0.35rem;
|
|
margin-bottom: 1.5rem;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.settings-subnav-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.55rem 1rem;
|
|
font-size: 0.86rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.settings-subnav-btn:hover {
|
|
color: var(--text-primary);
|
|
background: var(--bg-surface-hover);
|
|
}
|
|
|
|
.settings-subnav-btn.active {
|
|
color: var(--accent-lime);
|
|
background: rgba(163, 230, 53, 0.1);
|
|
border-color: rgba(163, 230, 53, 0.25);
|
|
}
|
|
|
|
.settings-section-header {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.settings-section-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.settings-section-desc {
|
|
font-size: 0.84rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Galería de Temas */
|
|
.themes-gallery-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.theme-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
box-shadow: var(--shadow-sm);
|
|
transition: all var(--transition-base);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.theme-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--border-medium);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.theme-card.active {
|
|
border-color: var(--accent-lime);
|
|
box-shadow: var(--shadow-md), 0 0 20px var(--accent-lime-glow);
|
|
}
|
|
|
|
.theme-card-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.theme-name {
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.theme-card-desc {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.theme-swatches-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
margin-top: 0.35rem;
|
|
}
|
|
|
|
.theme-swatch {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: var(--radius-full);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.theme-card-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
/* Editor JSON de Tema */
|
|
.theme-json-editor-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.theme-editor-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.theme-editor-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.theme-editor-title {
|
|
font-size: 0.98rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.theme-editor-sub {
|
|
font-size: 0.76rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.theme-editor-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.theme-json-textarea {
|
|
width: 100%;
|
|
background: #050805;
|
|
color: #a3e635;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
padding: 1rem;
|
|
font-family: ui-monospace, 'Cascadia Code', monospace;
|
|
font-size: 0.85rem;
|
|
line-height: 1.5;
|
|
resize: vertical;
|
|
}
|
|
|
|
.theme-json-textarea:focus {
|
|
outline: none;
|
|
border-color: var(--accent-lime);
|
|
box-shadow: 0 0 0 2px var(--accent-lime-glow);
|
|
}
|
|
|
|
/* Formulario de Identidad */
|
|
.identity-form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1.15rem;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.identity-form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.color-picker-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.color-picker-native {
|
|
width: 42px;
|
|
height: 40px;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-subtle);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Footer de la Aplicación */
|
|
.app-footer {
|
|
margin-top: 3rem;
|
|
padding: 1.5rem 1rem;
|
|
border-top: 1px solid var(--border-subtle);
|
|
color: var(--text-muted);
|
|
font-size: 0.82rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.footer-inner {
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--accent-lime);
|
|
}
|
|
|
|
.footer-slogan {
|
|
color: var(--text-muted);
|
|
}
|
|
|