File size: 2,502 Bytes
255cbd1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | @tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: #FDFBF7;
--foreground: #3D2B1F;
--primary: #C4795D;
--primary-foreground: #FFFFFF;
--secondary: #8FA895;
--secondary-foreground: #FFFFFF;
--muted: #E8E4DC;
--muted-foreground: #6B5B4F;
--accent: #D4A574;
--card: #FFFFFF;
--card-foreground: #3D2B1F;
--border: #E8E4DC;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
background: var(--background);
color: var(--foreground);
}
a {
color: inherit;
text-decoration: none;
}
/* Utility classes */
@layer utilities {
.text-balance {
text-wrap: balance;
}
}
/* Button styles */
.btn-primary {
background-color: var(--primary);
color: var(--primary-foreground);
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 500;
transition: opacity 0.2s;
border: none;
cursor: pointer;
}
.btn-primary:hover {
opacity: 0.9;
}
.btn-secondary {
background-color: var(--muted);
color: var(--muted-foreground);
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 500;
transition: background-color 0.2s;
border: none;
cursor: pointer;
}
.btn-secondary:hover {
background-color: var(--accent);
}
/* Card styles */
.card {
background: var(--card);
border-radius: 0.75rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Input styles */
input, textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border);
border-radius: 0.5rem;
background: white;
color: var(--foreground);
font-size: 1rem;
}
input:focus, textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(196, 121, 93, 0.2);
}
/* Progress bar */
.progress-bar {
width: 100%;
height: 0.5rem;
background: var(--muted);
border-radius: 9999px;
overflow: hidden;
}
.progress-bar-fill {
height: 100%;
background: var(--primary);
transition: width 0.3s ease;
}
/* Badge */
.badge {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.875rem;
font-weight: 500;
background: var(--secondary);
color: var(--secondary-foreground);
}
|