[COMPONENTE 06] Reorganizar CSS de Navbar según documentación
PROBLEMA:
- CSS de Navbar estaba en custom-style.css (líneas 86-161)
- Documentación especifica que debe estar en assets/css/style.css
- Causaba inconsistencia con estructura modular del tema
SOLUCIÓN:
1. style.css:
- Agregado CSS de Navbar completo al final (líneas 687-764)
- Incluye: .navbar, .navbar.scrolled, .navbar-brand, .nav-link,
.dropdown-menu, .dropdown-item
- Comentario separador: /* === NAVBAR === */
2. custom-style.css:
- Comentado CSS duplicado de Navbar (líneas 86-166)
- Agregado comentario indicando nueva ubicación
- Mantiene .btn-lets-talk y otros componentes
IMPLEMENTACIÓN COMPLETA:
✅ HTML: header.php (líneas 34-87) - SUPERIOR a template fuente
✅ CSS: assets/css/style.css (líneas 687-764) - IDÉNTICO a template
✅ JS: assets/js/main.js (líneas 4-14) - IDÉNTICO a template
REFERENCIAS:
- Template HTML: apus-theme-template/index.html líneas 74-137
- Template CSS: apus-theme-template/css/style.css líneas 86-162
- Template JS: apus-theme-template/js/main.js líneas 6-15
- Documentación: theme-documentation/06-componente-navbar/
ISSUE: #100
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -683,3 +683,82 @@ img {
|
||||
.top-notification-bar a:hover {
|
||||
color: var(--color-orange-primary);
|
||||
}
|
||||
|
||||
/* === NAVBAR === */
|
||||
|
||||
.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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user