COMPLETADO: Fase 1 de la migración a Clean Architecture + POO ## Estructura de Carpetas - ✓ Estructura completa de 4 capas (Domain, Application, Infrastructure, Presentation) - ✓ Carpetas de Use Cases (SaveComponent, GetComponent, DeleteComponent, SyncSchema) - ✓ Estructura de tests (Unit, Integration, E2E) - ✓ Carpetas de schemas y templates ## Composer y Autoloading - ✓ PSR-4 autoloading configurado para ROITheme namespace - ✓ Autoloader optimizado regenerado ## DI Container - ✓ DIContainer implementado con patrón Singleton - ✓ Métodos set(), get(), has() para gestión de servicios - ✓ Getters específicos para ComponentRepository, ValidationService, CacheService - ✓ Placeholders que serán implementados en Fase 5 - ✓ Prevención de clonación y deserialización ## Interfaces - ✓ ComponentRepositoryInterface (Domain) - ✓ ValidationServiceInterface (Application) - ✓ CacheServiceInterface (Application) - ✓ Component entity placeholder (Domain) ## Bootstrap - ✓ functions.php actualizado con carga de Composer autoloader - ✓ Inicialización del DIContainer - ✓ Helper function roi_container() disponible globalmente ## Tests - ✓ 10 tests unitarios para DIContainer (100% cobertura) - ✓ Total: 13 tests unitarios, 28 assertions - ✓ Suite de tests pasando correctamente ## Validación - ✓ Script de validación automatizado (48/48 checks pasados) - ✓ 100% de validaciones exitosas La arquitectura base está lista para la Fase 2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
135 lines
2.5 KiB
CSS
135 lines
2.5 KiB
CSS
/**
|
|
* Post Content Component
|
|
*
|
|
* Estilos para el contenedor y contenido de posts
|
|
* Source: roi-theme-template/css/style.css líneas 245-298
|
|
*
|
|
* @package ROI_Theme
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
/* ============================================
|
|
POST CONTENT CONTAINER
|
|
============================================ */
|
|
|
|
.post-content {
|
|
background: #ffffff;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
/* ============================================
|
|
POST CONTENT TYPOGRAPHY
|
|
============================================ */
|
|
|
|
.post-content h2 {
|
|
color: var(--color-navy-primary);
|
|
font-weight: 700;
|
|
margin-top: 2.5rem;
|
|
margin-bottom: 1.25rem;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 3px solid var(--color-orange-primary);
|
|
}
|
|
|
|
.post-content h3 {
|
|
color: var(--color-navy-light);
|
|
font-weight: 600;
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.post-content h4 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.75rem;
|
|
color: #495057;
|
|
}
|
|
|
|
.post-content p {
|
|
color: var(--color-neutral-600);
|
|
line-height: 1.8;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.post-content ul,
|
|
.post-content ol {
|
|
margin-bottom: 1.5rem;
|
|
padding-left: 2rem;
|
|
}
|
|
|
|
.post-content li {
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-neutral-600);
|
|
}
|
|
|
|
.post-content strong {
|
|
color: var(--color-navy-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.post-content a {
|
|
color: var(--color-orange-primary);
|
|
text-decoration: underline;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.post-content a:hover {
|
|
color: var(--color-orange-hover);
|
|
}
|
|
|
|
.post-content blockquote {
|
|
border-left: 4px solid #0d6efd;
|
|
padding-left: 1.5rem;
|
|
margin: 2rem 0;
|
|
font-style: italic;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.post-content code {
|
|
background: #f8f9fa;
|
|
padding: 0.2rem 0.4rem;
|
|
border-radius: 4px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.95rem;
|
|
color: #e83e8c;
|
|
}
|
|
|
|
.post-content pre {
|
|
background: #f8f9fa;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
overflow-x: auto;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.post-content pre code {
|
|
background: transparent;
|
|
padding: 0;
|
|
color: #212529;
|
|
}
|
|
|
|
/* ============================================
|
|
RESPONSIVE
|
|
============================================ */
|
|
|
|
@media (max-width: 767.98px) {
|
|
.post-content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.post-content h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.post-content h3 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.post-content p,
|
|
.post-content li {
|
|
font-size: 1rem;
|
|
}
|
|
}
|