|
|
|
@@ -105,8 +105,7 @@ add_action('wp_head', function () {
|
|
|
|
|
--wp--preset--color--base: #0d0d0d;
|
|
|
|
|
--wp--preset--color--contrast: #ececec;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] a,
|
|
|
|
|
html[data-fea-theme="dark"] a:visited { color: <?php echo esc_html($accent_dark); ?>; }
|
|
|
|
|
html[data-fea-theme="dark"] a { color: <?php echo esc_html($accent_dark); ?>; }
|
|
|
|
|
html[data-fea-theme="dark"] a:focus-visible,
|
|
|
|
|
html[data-fea-theme="dark"] button:focus-visible {
|
|
|
|
|
outline-color: <?php echo esc_html($accent_dark); ?> !important;
|
|
|
|
@@ -185,117 +184,6 @@ add_action('wp_head', function () {
|
|
|
|
|
color: #b8afa8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Comentarios al evangelio: el panel usa colores editoriales claros fijos. */
|
|
|
|
|
html[data-fea-theme="dark"] .fea-com-evangelio {
|
|
|
|
|
background: #1a1711;
|
|
|
|
|
border-left-color: #c9973e;
|
|
|
|
|
color: #ececec;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-com-evangelio-details summary {
|
|
|
|
|
color: #f0c674;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Elementos editoriales presentes en artículos y resultados. */
|
|
|
|
|
html[data-fea-theme="dark"] .fea-audio {
|
|
|
|
|
background: #161311;
|
|
|
|
|
border-color: #3a302b;
|
|
|
|
|
border-left-color: <?php echo esc_html($accent_dark); ?>;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-byline-name { color: #ececec; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-byline-cat,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-eed-link .fecha { color: #b8afa8; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-share-rule { border-top-color: #3a302b; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-share-row { color: #d5cbc3; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-share-label,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-share-sep { color: #b8afa8; }
|
|
|
|
|
|
|
|
|
|
/* Formulario y filtros de búsqueda avanzada. */
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-details {
|
|
|
|
|
background: #161311; border-color: #3a302b;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-summary {
|
|
|
|
|
background: #24181c; border-bottom-color: #3a302b;
|
|
|
|
|
color: <?php echo esc_html($accent_dark); ?>;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-label,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-chips-label,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-meta,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-archive-card .fea-adv-byline { color: #b8afa8; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-chip {
|
|
|
|
|
background: #2a1b20; border-color: #56343d; color: #ececec;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-input,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-select {
|
|
|
|
|
background: #1c1c1c; border-color: #3a3a3a; color: #ececec;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-adv-count { color: #b8afa8; }
|
|
|
|
|
|
|
|
|
|
/* Recopilatorios y galería multimedia. */
|
|
|
|
|
html[data-fea-theme="dark"] .fea-recop-year { border-bottom-color: #3a302b; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-recop-list li { border-bottom-color: #2a2320; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-recop-list a,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-mm-title { color: #ececec; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-recop-date,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-mm-date,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-mm-excerpt { color: #b8afa8; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-mm-card { background: #161311; border-color: #2a2320; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-mm-thumb { background: #241f1c; }
|
|
|
|
|
|
|
|
|
|
/* Galerías de pensamientos y navegación del tema base. */
|
|
|
|
|
html[data-fea-theme="dark"] .fea-gallery-item {
|
|
|
|
|
background: #161311; border-color: #3a302b;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-lightbox-frame img { background: #161311; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-lightbox button { background: #2a2320; color: #ececec; }
|
|
|
|
|
html[data-fea-theme="dark"] .wp-block-navigation .wp-block-navigation-item__content {
|
|
|
|
|
color: #ececec;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .wp-block-navigation__submenu-container {
|
|
|
|
|
background: #161311; border-color: #3a302b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Página de apoyo: plantilla propia con colores claros explícitos. */
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-page {
|
|
|
|
|
--fea-support-ink: #ececec;
|
|
|
|
|
--fea-support-warm: #161311;
|
|
|
|
|
--fea-support-line: #3a302b;
|
|
|
|
|
--fea-support-card: #161311;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-hero,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-banner {
|
|
|
|
|
background: #1a1711 !important;
|
|
|
|
|
border-color: #3a302b !important;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-card,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-button.is-secondary {
|
|
|
|
|
background: #161311 !important;
|
|
|
|
|
border-color: #3a302b !important;
|
|
|
|
|
color: #ececec !important;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-card__title,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-progress__numbers span,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-progress__note,
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-sidebar__small { color: #b8afa8; }
|
|
|
|
|
html[data-fea-theme="dark"] .fea-support-progress__track { background: #3a302b; }
|
|
|
|
|
|
|
|
|
|
/* Colaboradores: stylesheet propio del tema con tarjetas claras y !important. */
|
|
|
|
|
html[data-fea-theme="dark"] .entry-content .wrapper {
|
|
|
|
|
background: #161311 !important;
|
|
|
|
|
border-color: #3a302b !important;
|
|
|
|
|
color: #ececec !important;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,.45) !important;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .entry-content .wrapper strong {
|
|
|
|
|
color: #ececec !important;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .entry-content .wrapper a,
|
|
|
|
|
html[data-fea-theme="dark"] .entry-content .wrapper a:visited {
|
|
|
|
|
color: #ececec !important;
|
|
|
|
|
}
|
|
|
|
|
html[data-fea-theme="dark"] .entry-content .wrapper a:hover {
|
|
|
|
|
color: <?php echo esc_html($accent_dark); ?> !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Selector de idioma (fea-homepage.php) */
|
|
|
|
|
html[data-fea-theme="dark"] #fea-lang-btn { border-color: rgba(255,255,255,0.3); }
|
|
|
|
|
html[data-fea-theme="dark"] #fea-lang-btn:hover,
|
|
|
|
@@ -352,10 +240,6 @@ add_action('wp_footer', function () {
|
|
|
|
|
?>
|
|
|
|
|
<script>
|
|
|
|
|
(function() {
|
|
|
|
|
// El footer puede renderizarse más de una vez en algunos templates FSE.
|
|
|
|
|
// Evitamos crear un segundo toggle en ese caso.
|
|
|
|
|
if (document.getElementById('fea-theme-btn')) return;
|
|
|
|
|
|
|
|
|
|
var btn = document.createElement('button');
|
|
|
|
|
btn.id = 'fea-theme-btn';
|
|
|
|
|
btn.type = 'button';
|
|
|
|
|