Files
2026-06-18 16:00:11 +02:00

210 lines
9.0 KiB
CSS

/**
* Beatwise (test2.beatwise.nl) dark-mode fixes.
* Tuned to Blocksy 2.1.38 global palette from the Customizer.
*/
html.theme-dark {
/* Beatwise brand — keep lavender purple, never blue */
--blc-beatwise-purple: #442b79;
--blc-beatwise-purple-hover: #5a3d9a;
--blc-beatwise-purple-light: #9b8fd4;
--blc-beatwise-purple-soft: #c4b5fd;
--theme-palette-color-1: var(--blc-beatwise-purple);
--theme-palette-color-2: var(--blc-beatwise-purple-hover);
--theme-palette-color-3: #e0e0e0;
--theme-palette-color-4: #f5f5f5;
--theme-palette-color-5: #404040;
--theme-palette-color-6: #1e1e1e;
--theme-palette-color-7: #121212;
--theme-palette-color-8: #ffffff;
--theme-text-color: var(--theme-palette-color-3);
--theme-headings-color: var(--theme-palette-color-4);
--theme-link-initial-color: var(--blc-beatwise-purple-light);
--theme-link-hover-color: var(--blc-beatwise-purple-soft);
--theme-button-background-initial-color: var(--blc-beatwise-purple);
--theme-button-background-hover-color: var(--blc-beatwise-purple-hover);
--theme-selection-background-color: var(--blc-beatwise-purple);
--theme-selection-text-color: #ffffff;
}
html.theme-dark body {
background-color: var(--theme-palette-color-7);
color: var(--theme-text-color);
}
/* -------------------------------------------------------------------------
1 & 3 — Header menu + dropdown (Blocksy header type-1)
------------------------------------------------------------------------- */
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a,
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .ct-menu-link {
--theme-link-initial-color: #ffffff !important;
color: #ffffff !important;
}
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover,
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .ct-menu-link:hover {
--theme-link-initial-color: var(--blc-beatwise-purple-soft) !important;
color: var(--blc-beatwise-purple-soft) !important;
}
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
background-color: #2b2b2b !important;
--dropdown-background-color: #2b2b2b !important;
}
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .ct-menu-link,
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a {
--theme-link-initial-color: #ffffff !important;
color: #ffffff !important;
}
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .ct-menu-link:hover,
html.theme-dark [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:hover {
color: var(--blc-beatwise-purple-soft) !important;
background-color: rgba(255, 255, 255, 0.06) !important;
}
html.theme-dark [data-header*="type-1"] [data-id="mobile-menu"] a,
html.theme-dark [data-header*="type-1"] #offcanvas .ct-menu-link,
html.theme-dark [data-header*="type-1"] #offcanvas a {
--theme-link-initial-color: #ffffff !important;
color: #ffffff !important;
}
/* Account dropdown */
html.theme-dark [data-header*="type-1"] [data-id="account"] .ct-header-account-dropdown {
--theme-text-color: #ffffff !important;
--dropdown-background-color: #2b2b2b !important;
}
/* -------------------------------------------------------------------------
5 — Footer: purple background + white text (same as light mode)
------------------------------------------------------------------------- */
html.theme-dark [data-footer*="type-1"] .ct-footer {
background-color: var(--blc-beatwise-purple) !important;
color: #ffffff !important;
}
html.theme-dark [data-footer*="type-1"] .ct-footer,
html.theme-dark [data-footer*="type-1"] .ct-footer p,
html.theme-dark [data-footer*="type-1"] .ct-footer li,
html.theme-dark [data-footer*="type-1"] .ct-footer span,
html.theme-dark [data-footer*="type-1"] .ct-footer div,
html.theme-dark [data-footer*="type-1"] .ct-footer h1,
html.theme-dark [data-footer*="type-1"] .ct-footer h2,
html.theme-dark [data-footer*="type-1"] .ct-footer h3,
html.theme-dark [data-footer*="type-1"] .ct-footer h4,
html.theme-dark [data-footer*="type-1"] .ct-footer h5,
html.theme-dark [data-footer*="type-1"] .ct-footer h6,
html.theme-dark [data-footer*="type-1"] .ct-footer .widget-title,
html.theme-dark [data-footer*="type-1"] .ct-footer .ct-widget,
html.theme-dark [data-footer*="type-1"] [data-id="copyright"] {
--theme-text-color: #ffffff !important;
--theme-heading-color: #ffffff !important;
--theme-link-initial-color: #ffffff !important;
--theme-link-hover-color: var(--blc-beatwise-purple-soft) !important;
color: #ffffff !important;
}
html.theme-dark [data-footer*="type-1"] .ct-footer a:hover,
html.theme-dark [data-footer*="type-1"] [data-id="copyright"] a:hover {
color: var(--blc-beatwise-purple-soft) !important;
}
/* -------------------------------------------------------------------------
6 — /codes page: dark text on light hero/header area
------------------------------------------------------------------------- */
html.theme-dark.page-codes [data-header*="type-1"] .ct-header [data-row*="middle"],
html.theme-dark.blc-ldt-page-codes [data-header*="type-1"] .ct-header [data-row*="middle"] {
background-color: rgba(255, 255, 255, 0.94) !important;
}
html.theme-dark.page-codes [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a,
html.theme-dark.page-codes [data-header*="type-1"] .ct-header [data-id="menu"] .ct-menu-link,
html.theme-dark.page-codes [data-header*="type-1"] .ct-header a,
html.theme-dark.blc-ldt-page-codes [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a,
html.theme-dark.blc-ldt-page-codes [data-header*="type-1"] .ct-header [data-id="menu"] .ct-menu-link {
--theme-link-initial-color: #181818 !important;
color: #181818 !important;
}
html.theme-dark.page-codes [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover,
html.theme-dark.blc-ldt-page-codes [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover {
color: var(--blc-beatwise-purple) !important;
}
html.theme-dark.page-codes .hero-section,
html.theme-dark.page-codes .entry-header,
html.theme-dark.page-codes .wp-block-cover,
html.theme-dark.blc-ldt-page-codes .hero-section,
html.theme-dark.blc-ldt-page-codes .entry-header,
html.theme-dark.blc-ldt-page-codes .wp-block-cover {
color: #181818 !important;
}
html.theme-dark.page-codes .hero-section h1,
html.theme-dark.page-codes .hero-section p,
html.theme-dark.page-codes .entry-header h1,
html.theme-dark.page-codes .entry-header p,
html.theme-dark.blc-ldt-page-codes .hero-section h1,
html.theme-dark.blc-ldt-page-codes .hero-section p {
color: #181818 !important;
}
/* -------------------------------------------------------------------------
2 — /reservations page: dark date labels on light schedule cards
------------------------------------------------------------------------- */
html.theme-dark.page-reservations .has-white-background-color,
html.theme-dark.page-reservations .has-base-background-color,
html.theme-dark.page-reservations .has-palette-color-8-background-color,
html.theme-dark.page-reservations .has-palette-color-6-background-color,
html.theme-dark.blc-ldt-page-reservations .has-white-background-color,
html.theme-dark.blc-ldt-page-reservations .has-base-background-color,
html.theme-dark.blc-ldt-page-reservations .has-palette-color-8-background-color,
html.theme-dark.blc-ldt-page-reservations .has-palette-color-6-background-color {
color: #181818 !important;
}
html.theme-dark.page-reservations .has-white-background-color strong,
html.theme-dark.page-reservations .has-white-background-color span,
html.theme-dark.page-reservations .has-base-background-color strong,
html.theme-dark.page-reservations .has-base-background-color span,
html.theme-dark.blc-ldt-page-reservations .has-white-background-color strong,
html.theme-dark.blc-ldt-page-reservations .has-white-background-color span,
html.theme-dark.blc-ldt-page-reservations .has-base-background-color strong,
html.theme-dark.blc-ldt-page-reservations .has-base-background-color span {
color: #181818 !important;
}
/* Reservation schedule grid (day headers like "Zondag 7 jun") */
html.theme-dark.page-reservations article strong,
html.theme-dark.page-reservations article .wp-block-group strong,
html.theme-dark.blc-ldt-page-reservations article strong,
html.theme-dark.blc-ldt-page-reservations article .wp-block-group strong {
color: #181818 !important;
}
html.theme-dark.page-reservations article .wp-block-group span,
html.theme-dark.blc-ldt-page-reservations article .wp-block-group span {
color: #181818 !important;
}
/* Buttons stay Beatwise purple */
html.theme-dark .wp-block-button__link,
html.theme-dark .ct-button {
background-color: var(--blc-beatwise-purple) !important;
border-color: var(--blc-beatwise-purple) !important;
color: #ffffff !important;
}
html.theme-dark .wp-block-button__link:hover,
html.theme-dark .ct-button:hover {
background-color: var(--blc-beatwise-purple-hover) !important;
border-color: var(--blc-beatwise-purple-hover) !important;
}
html.theme.dark .bwam-day-header {
color: #000 !important;
}