TraceMDM's picture
Create an outline and a drop shadow like the other blocks
7c3e056 verified
Raw History Blame Contribute Delete
2.57 kB
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
:root {
--primary: #4F46E5;
--primary-light: #6366F1;
--success: #10B981;
--warning: #F59E0B;
--danger: #EF4444;
--gray-50: #F9FAFB;
--gray-100: #F3F4F6;
--gray-200: #E5E7EB;
--gray-300: #D1D5DB;
--gray-400: #9CA3AF;
--gray-500: #6B7280;
--gray-600: #4B5563;
--gray-700: #374151;
--gray-800: #1F2937;
--gray-900: #111827;
}
body {
font-family: 'DM Sans', sans-serif;
background-color: var(--gray-50);
color: var(--gray-800);
line-height: 1.5;
}
.container {
max-width: 1440px;
margin: 0 auto;
padding: 0 2rem;
}
.card {
background: white;
border-radius: 1rem;
padding: 1.5rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
transition: all 0.2s ease;
border: 1px solid rgba(0,0,0,0.05);
}
.card:hover {
box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.shadow-card {
box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
border: 1px solid rgba(0,0,0,0.05);
}
.metric-value {
font-size: 2.5rem;
font-weight: 700;
color: var(--gray-900);
margin: 0.5rem 0;
}
.metric-label {
font-size: 0.875rem;
color: var(--gray-500);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.trend-improved {
color: var(--success);
}
.trend-stable {
color: var(--warning);
}
.trend-worsened {
color: var(--danger);
}
.table-container {
background: white;
border-radius: 1rem;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
}
.table-header {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--gray-100);
}
.table-header h2 {
font-size: 1.25rem;
font-weight: 600;
color: var(--gray-800);
}
.table-row {
transition: background-color 0.2s ease;
}
.table-row:hover {
background-color: var(--gray-50);
}
.icon-container {
width: 3rem;
height: 3rem;
border-radius: 0.75rem;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--gray-100);
color: var(--primary);
}
.progress-bar {
height: 0.5rem;
border-radius: 0.25rem;
background-color: var(--gray-200);
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 0.25rem;
background-color: var(--primary);
}
.space-y-6 > * + * {
margin-top: 1.5rem;
}
.text-muted {
color: var(--gray-500);
}