fix: correct dark mode search and slider
Co-authored-by: rafa <rcalvotorrejon@gmail.com> Signed-off-by: rafa <rcalvotorrejon@gmail.com>
This commit is contained in:
@@ -105,6 +105,23 @@ add_action('wp_head', function () {
|
|||||||
border-color: #3a3a3a;
|
border-color: #3a3a3a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Search block uses more-specific own color rules. */
|
||||||
|
html[data-fea-theme="dark"] .wp-block-search__inside-wrapper,
|
||||||
|
html[data-fea-theme="dark"] .wp-block-search__input,
|
||||||
|
html[data-fea-theme="dark"] .wp-block-search__button {
|
||||||
|
background-color: #1c1c1c;
|
||||||
|
color: #ececec;
|
||||||
|
border-color: #3a3a3a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Crop the white edge embedded in slide images in dark mode only. */
|
||||||
|
html[data-fea-theme="dark"] .fea-hero-slider .n2-ss-slide-background-image {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
html[data-fea-theme="dark"] .fea-hero-slider .n2-ss-slide-background-image img {
|
||||||
|
transform: scale(1.015);
|
||||||
|
}
|
||||||
|
|
||||||
/* Portada — franja hero (fea-homepage.php) */
|
/* Portada — franja hero (fea-homepage.php) */
|
||||||
html[data-fea-theme="dark"] .fea-hero-band {
|
html[data-fea-theme="dark"] .fea-hero-band {
|
||||||
background: linear-gradient(180deg, #1a1512, #0d0d0d);
|
background: linear-gradient(180deg, #1a1512, #0d0d0d);
|
||||||
|
|||||||
Reference in New Issue
Block a user