Initialize fresh project without Clerk
This commit is contained in:
219
src/client/index.css
Normal file
219
src/client/index.css
Normal file
@@ -0,0 +1,219 @@
|
||||
@import "tailwindcss";
|
||||
@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap";
|
||||
|
||||
@theme {
|
||||
--font-sans: "IBM Plex Sans", system-ui, sans-serif;
|
||||
--font-display: "IBM Plex Sans", system-ui, sans-serif;
|
||||
|
||||
--color-primary: var(--primary);
|
||||
--color-accent: var(--accent);
|
||||
--color-surface: var(--surface);
|
||||
--color-surface-soft: var(--surface-soft);
|
||||
--color-surface-hover: var(--surface-hover);
|
||||
--color-surface-highlight: var(--surface-highlight);
|
||||
--color-card-dark: var(--card-dark);
|
||||
--color-text-main: var(--text-main);
|
||||
--color-text-secondary: var(--text-secondary);
|
||||
--color-text-muted: var(--text-muted);
|
||||
--color-border: var(--border);
|
||||
--color-success: var(--success);
|
||||
--color-error: var(--error);
|
||||
--color-warning: var(--warning);
|
||||
|
||||
--shadow-soft: 0 10px 40px -6px rgba(180, 150, 100, 0.15);
|
||||
--shadow-premium: 0 20px 60px -12px rgba(180, 150, 100, 0.2);
|
||||
|
||||
--radius-xl: 0.75rem;
|
||||
--radius-2xl: 1.25rem;
|
||||
--radius-3xl: 2rem;
|
||||
|
||||
--tracking-tight: -0.025em;
|
||||
--tracking-wide: 0.05em;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--primary: #fb923c;
|
||||
--primary-light: #fdba74;
|
||||
--accent: #f97316;
|
||||
--accent-green: #22c55e;
|
||||
--background-light: #fffcf0;
|
||||
--surface: #ffffff;
|
||||
--surface-soft: #fffbeb;
|
||||
/* Amber-50 - Fundo da página */
|
||||
--surface-hover: #fef3c7;
|
||||
/* Amber-100 */
|
||||
--surface-highlight: #ffedd5;
|
||||
/* Amber-100ish */
|
||||
--text-main: #1c1917;
|
||||
--text-secondary: #57534e;
|
||||
--text-muted: #a8a29e;
|
||||
--border: #fde6d2;
|
||||
/* Tom de borda pêssego/creme muito suave */
|
||||
--success: #10b981;
|
||||
--error: #ef4444;
|
||||
--warning: #f59e0b;
|
||||
|
||||
/* Input Custom Theme */
|
||||
--input-bg: #fffbeb;
|
||||
/* amber-50 */
|
||||
--input-border: #fed7aa;
|
||||
/* amber-200 */
|
||||
--input-text: #1c1917;
|
||||
/* stone-900 */
|
||||
--input-placeholder: #a8a29e;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--primary: #fb923c;
|
||||
--primary-light: #7c2d12;
|
||||
--accent: #f97316;
|
||||
--accent-green: #22c55e;
|
||||
--background-light: #1c1917;
|
||||
--background-dark: #0c0a09;
|
||||
--card-dark: #292524;
|
||||
--surface: #292524;
|
||||
--surface-soft: #1c1917;
|
||||
--surface-hover: #44403c;
|
||||
--surface-highlight: #57534e;
|
||||
--text-main: #fafaf9;
|
||||
--text-secondary: #d6d3d1;
|
||||
--text-muted: #a8a29e;
|
||||
--border: #44403c;
|
||||
--success: #22c55e;
|
||||
--error: #ef4444;
|
||||
--warning: #f59e0b;
|
||||
|
||||
/* Input Custom Theme - Dark */
|
||||
--input-bg: rgba(12, 10, 9, 0.4);
|
||||
--input-border: rgba(255, 255, 255, 0.1);
|
||||
--input-text: #fafaf9;
|
||||
--input-placeholder: #57534e;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-surface-soft font-sans text-text-main antialiased transition-colors duration-300;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
@apply font-display tracking-tight text-text-main;
|
||||
}
|
||||
|
||||
a,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
@apply transition-all duration-200 ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.glass-card {
|
||||
@apply bg-card-dark/60 backdrop-blur-xl border border-white/5 shadow-xl transition-all duration-300 overflow-hidden;
|
||||
@apply hover:border-primary/30;
|
||||
}
|
||||
}
|
||||
|
||||
/* Date input calendar icon styling for dark mode */
|
||||
.dark input[type="date"]::-webkit-calendar-picker-indicator {
|
||||
filter: invert(0.7) sepia(1) saturate(5) hue-rotate(-10deg);
|
||||
cursor: pointer;
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.dark input[type="date"]::-webkit-calendar-picker-indicator:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Light mode - subtle styling */
|
||||
input[type="date"]::-webkit-calendar-picker-indicator {
|
||||
cursor: pointer;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
input[type="date"]::-webkit-calendar-picker-indicator:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Select dropdown styling for dark mode */
|
||||
.dark select {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
.dark select option {
|
||||
background-color: #292524;
|
||||
color: #fafaf9;
|
||||
}
|
||||
|
||||
.dark select option:hover,
|
||||
.dark select option:focus,
|
||||
.dark select option:checked {
|
||||
background-color: #fb923c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Light mode - select dropdown styling */
|
||||
select option {
|
||||
background-color: #fff7ed;
|
||||
color: #1c1917;
|
||||
}
|
||||
|
||||
select option:hover,
|
||||
select option:focus,
|
||||
select option:checked {
|
||||
background-color: #fb923c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Clerk Branding Removal & UI Harmonization */
|
||||
.cl-internal-ph60ov,
|
||||
.cl-internal-1dauvpw,
|
||||
.cl-internal-1fke6u8,
|
||||
[data-clerk-popover-footer],
|
||||
.cl-card > div:last-child:not(.cl-main) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Clerk Dark Mode Contrast Override */
|
||||
.dark .cl-organizationSwitcherPopoverCard,
|
||||
.dark .cl-card {
|
||||
background-color: var(--surface) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
|
||||
}
|
||||
|
||||
.dark .cl-organizationPreviewMainIdentifier,
|
||||
.dark .cl-userPreviewMainIdentifier {
|
||||
color: var(--text-main) !important;
|
||||
}
|
||||
|
||||
.dark .cl-organizationPreviewSecondaryIdentifier,
|
||||
.dark .cl-userPreviewSecondaryIdentifier,
|
||||
.dark .cl-organizationSwitcherPopoverActionButtonIcon {
|
||||
color: var(--text-muted) !important;
|
||||
}
|
||||
|
||||
.dark .cl-organizationSwitcherPopoverActionButton:hover {
|
||||
background-color: var(--surface-hover) !important;
|
||||
}
|
||||
|
||||
.dynamic-bg-color {
|
||||
background-color: var(--bg-color, #ffffff);
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.3; }
|
||||
}
|
||||
|
||||
.animate-blink {
|
||||
animation: blink 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
Reference in New Issue
Block a user