0e626451e7
- CSS foundation: theme-aware scrollbars, section glows, glass cards with gold shadows, stronger animated borders and glow effects for light mode - Hero: consistent dark-video treatment for both themes, brighter gold gradient text, glowing CTA button - Gradient text: auto-switch to warm gold tones on light backgrounds via html:not(.dark) selector - Team profile: inverted ambient photo bg with white overlay for light, dark text/borders, gold-dark labels for contrast - All sections: text-neutral-500→600 upgrades for WCAG AA contrast, gold shadow accents on cards (About, Pricing, FAQ, DayCard, News) - Admin: replaced hardcoded #c9a96e with theme tokens, fixed select options, array editor borders, booking badges contrast - Header: white text on transparent hero, dark text after scroll - UI components: BackToTop, FloatingHearts, ShowcaseLayout tabs, SignupModal, NewsModal, GroupCard adapted for light backgrounds - Updated CLAUDE.md to reflect dual theme support
141 lines
2.5 KiB
CSS
141 lines
2.5 KiB
CSS
@import "tailwindcss";
|
|
@import "./styles/theme.css";
|
|
@import "./styles/components.css";
|
|
@import "./styles/animations.css";
|
|
|
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
|
|
@theme inline {
|
|
--font-display: var(--font-oswald);
|
|
--font-sans: var(--font-inter);
|
|
--color-gold: #c9a96e;
|
|
--color-gold-light: #d4b87a;
|
|
--color-gold-dark: #a08050;
|
|
--color-surface-deep: #050505;
|
|
--color-surface-dark: #0a0a0a;
|
|
}
|
|
|
|
/* ===== Base ===== */
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* ===== Selection ===== */
|
|
|
|
::selection {
|
|
background-color: rgba(201, 169, 110, 0.3);
|
|
color: inherit;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
/* ===== Focus ===== */
|
|
|
|
:focus-visible {
|
|
@apply outline-2 outline-offset-2 outline-gold;
|
|
}
|
|
|
|
/* ===== Scrollbar hide utility ===== */
|
|
|
|
.scrollbar-hide {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* ===== Admin dark scrollbar ===== */
|
|
|
|
.admin-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
|
|
}
|
|
|
|
.admin-scrollbar::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.admin-scrollbar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-scrollbar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.admin-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
/* ===== Hide number input spinners ===== */
|
|
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
input[type="number"] {
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
/* ===== Global page scrollbar ===== */
|
|
|
|
html {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(160, 160, 160, 0.5) #f5f5f5;
|
|
}
|
|
|
|
html.dark {
|
|
scrollbar-color: rgba(201, 169, 110, 0.3) var(--color-surface-dark);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
html.dark ::-webkit-scrollbar-track {
|
|
background: var(--color-surface-dark);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(160, 160, 160, 0.5);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
html.dark ::-webkit-scrollbar-thumb {
|
|
background: rgba(201, 169, 110, 0.3);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(120, 120, 120, 0.6);
|
|
}
|
|
|
|
html.dark ::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(201, 169, 110, 0.5);
|
|
}
|