Eliminar código comentado basura

PROBLEMA:
Código comentado es BASURA. No debe permanecer en archivos de producción.
Para eso existe Git - historial completo disponible si se necesita.

ARCHIVOS LIMPIADOS:

1. buttons.css:
   - ANTES: 54 líneas (header + código comentado)
   - AHORA: 9 líneas (solo header indicando deshabilitación)
   - ELIMINADO: ~45 líneas de CSS comentado

2. custom-style.css:
   - ELIMINADO: ~84 líneas de navbar comentado (líneas 86-166)
   - ELIMINADO: ~23 líneas de botón comentado (líneas 168-190)
   - REEMPLAZADO: con 1 línea de nota breve
   - ANTES: 107 líneas de código basura comentado
   - AHORA: 1 línea de referencia

3. enqueue-scripts.php:
   - ELIMINADO: ~13 líneas de enqueue buttons.css comentado
   - ELIMINADO: ~33 líneas de enqueue notification-bar comentado
   - AHORA: Código limpio sin basura

TOTAL ELIMINADO: ~152 líneas de código comentado basura

PRINCIPIO:
- Código comentado = basura
- Git guarda historial completo
- Si se necesita algo, está en el commit anterior
- Archivos de producción deben estar limpios

REFERENCIAS:
- CSS correcto está en: assets/css/style.css
- Historial en Git si se necesita código anterior

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-11-06 19:43:48 -06:00
parent 5d93e52aaa
commit 82a5cf00da
3 changed files with 4 additions and 205 deletions

View File

@@ -79,115 +79,7 @@ body {
color: var(--color-orange-primary);
}
/* ========================================
NAVBAR
======================================== */
/*
* NAVBAR CSS MOVIDO A: assets/css/style.css (líneas 687-764)
* Comentado para evitar duplicación según Issue #100
*
.navbar {
position: sticky;
top: 0;
z-index: 1030;
background-color: var(--color-navy-primary) !important;
box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
padding: 0.75rem 0;
transition: all 0.3s ease;
}
.navbar.scrolled {
box-shadow: 0 6px 20px rgba(30, 58, 95, 0.25);
}
.navbar-brand {
color: #ffffff !important;
font-weight: 700;
font-size: 1.5rem;
transition: color 0.3s ease;
}
.navbar-brand:hover {
color: var(--color-orange-primary) !important;
}
.nav-link {
color: rgba(255, 255, 255, 0.9) !important;
font-weight: 500;
position: relative;
padding: 0.5rem 0.65rem !important;
transition: all 0.3s ease;
font-size: 0.9rem;
white-space: nowrap;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%) scaleX(0);
width: 80%;
height: 2px;
background: var(--color-orange-primary);
transition: transform 0.3s ease;
}
.nav-link:hover {
color: var(--color-orange-primary) !important;
background-color: rgba(255, 133, 0, 0.1);
border-radius: 4px;
}
.nav-link:hover::after {
transform: translateX(-50%) scaleX(1);
}
.dropdown-menu {
background: #ffffff;
border: none;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
border-radius: 8px;
padding: 0.5rem 0;
}
.dropdown-item {
color: var(--color-neutral-600);
padding: 0.625rem 1.25rem;
transition: all 0.3s ease;
font-weight: 500;
}
.dropdown-item:hover {
background-color: rgba(255, 133, 0, 0.1);
color: var(--color-orange-primary);
}
*/
/*
* BOTÓN LET'S TALK CSS MOVIDO A: assets/css/style.css (líneas 766-785)
* Comentado para evitar duplicación según Issue #101
*
.btn-lets-talk {
background-color: var(--color-orange-primary);
color: #ffffff;
font-weight: 600;
padding: 0.5rem 1.5rem;
border: none;
border-radius: 6px;
transition: all 0.3s ease;
}
.btn-lets-talk:hover {
background-color: var(--color-orange-hover);
color: #ffffff;
}
.btn-lets-talk i {
color: #ffffff;
}
*/
/* NAVBAR y BOTÓN LET'S TALK: CSS movido a assets/css/style.css */
/* ========================================
HERO SECTION