Implementación completa de estilos CSS que replican componentes del template RDash según validación de Issue #57. **Archivos CSS Creados:** 1. **buttons.css (Issue #58)** - Botón "Let's Talk" en navbar - Gradiente naranja: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%) - Hover: translateY(-2px) con shadow profesional - Box-shadow: rgba(255, 107, 53, 0.3) - Border-radius: 6px, padding: 0.5rem 1.5rem - Responsive: width 100% en móvil (<991.98px) - Template ref: css/style.css líneas 527-552 2. **hero.css (Issue #59)** - Hero Section con gradiente azul - Background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%) - Box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25) - H1 color: #ffffff con text-shadow - Category badges hero: backdrop-filter blur(10px) - Badge background: rgba(255, 255, 255, 0.15) - Border: 1px solid rgba(255, 255, 255, 0.2) - Hover: translateY(-2px), shadow profesional - Template ref: css/style.css líneas 122-129 3. **badges.css (Issue #62)** - Clase .category-badge genérica - Background: #e9ecef, border-radius: 20px - Color: #6c757d, font-size: 0.813rem - Padding: 0.375rem 0.875rem - Variante .category-badge-hero para fondos oscuros - Backdrop-filter: blur(10px) - Hover transitions: all 0.3s ease - Template ref: css/style.css líneas 459-490 4. **post-content.css (Issue #63)** - Typography de contenido - H2: font-size 2rem, border-bottom 1px solid #eee - H2 color: #1e3a5f, margin-top: 2.5rem - H3: font-size 1.5rem, color: #2c5282 - Párrafos: line-height 1.8, font-size 1.1rem - Links: color #0d6efd, underline, font-weight 500 - Blockquote: border-left 4px solid #0d6efd - Code: background #f8f9fa, color #e83e8c - Pre: background #f8f9fa, border-radius 8px - Responsive: H2 1.5rem, párrafos 1rem en móvil - Template ref: css/style.css líneas 208-227 5. **pagination.css (Issue #64)** - Paginación personalizada - Page-link: border-radius 6px, padding 0.5rem 0.875rem - Hover: translateY(-2px), box-shadow profesional - Active: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) - Active font-weight: 600 - Disabled: opacity 0.5, cursor not-allowed - Responsive: hide intermediate numbers en móvil - Dark mode support - Print: display none - Template ref: css/style.css líneas 180-207 **Archivos CSS Modificados:** 1. **related-posts.css (Issue #60)** - Corrección background - Línea 55: background: #f8f9fa (antes #f7fafc) - Mantiene hover transition a #ffffff - Border-left 4px gradiente animado - Gradiente: linear-gradient(180deg, #1e3a5f 0%, #1a73e8 100%) - Opacity border: 0 → 1 en hover - Transform: translateY(-8px) - Shadow: 0 12px 32px rgba(26, 115, 232, 0.15) **Verificación:** 1. **toc.css (Issue #61)** - VERIFICADO ✅ - Ya tiene todos los estilos correctos - Background: #f8f9fa (línea 16) - Border: 1px solid #dee2e6 (línea 17) - Border-left 3px en links activos (líneas 180, 199) - Scrollbar 6px con colores #cbd5e0 y #a0aec0 (líneas 334-349) - Sticky position con top: 5.5rem (líneas 22-23) - Issue #55 completado previamente **Integración:** - **inc/enqueue-scripts.php** - Modificado - Nueva función: apus_enqueue_fase2_styles() prioridad 6 - Enqueue buttons.css (global) - Enqueue hero.css (global) - Enqueue badges.css (global) - Enqueue pagination.css (global) - Enqueue post-content.css (solo is_single) - Enqueue related-posts.css (solo is_single) - Sintaxis PHP validada: ✅ Sin errores **Estadísticas:** - Archivos CSS nuevos: 5 (buttons, hero, badges, post-content, pagination) - Archivos CSS modificados: 2 (related-posts, enqueue-scripts) - Líneas de código CSS: 700+ líneas - Issues completados: 7 (#58, #59, #60, #61, #62, #63, #64) - Validación PHP: ✅ Sin errores **Próximo Paso:** Validación visual del usuario para verificar que tema coincide con template antes de proceder a FASE 3 (detalles y ajustes finos). Relacionado con: #57 (Issue principal), #58-64 (sub-issues) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
49 lines
1.0 KiB
CSS
49 lines
1.0 KiB
CSS
/**
|
|
* Buttons Styles
|
|
*
|
|
* Estilos de botones personalizados del tema
|
|
* Template ref: css/style.css líneas 527-552
|
|
*
|
|
* @package Apus_Theme
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
/* ============================================
|
|
BOTÓN "LET'S TALK" EN NAVBAR
|
|
============================================ */
|
|
|
|
.btn-lets-talk {
|
|
background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
padding: 0.5rem 1.5rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.btn-lets-talk:hover {
|
|
background: linear-gradient(135deg, #FF5722 0%, #FF6B35 100%);
|
|
color: #ffffff;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 18px rgba(255, 107, 53, 0.45);
|
|
}
|
|
|
|
.btn-lets-talk:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.btn-lets-talk i {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 991.98px) {
|
|
.btn-lets-talk {
|
|
width: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|