ehsan-dashboards/dashboards/crm/app/globals.css

82 lines
1.8 KiB
CSS

@font-face {
font-family: 'Vazirmatn';
src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2');
font-weight: 100 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Vazirmatn';
src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2');
font-weight: 600 900;
font-style: normal;
font-display: swap;
}
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--font-vazir: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* {
box-sizing: border-box;
}
body {
font-family: var(--font-vazir);
direction: rtl;
text-align: right;
background-color: #f8fafc;
color: #0f172a;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Tabular figures for all numeric counters, badges, and metrics */
.tabular-nums,
[data-tabular="true"],
.font-mono-num {
font-feature-settings: 'tnum' 1, 'ss01' 1;
}
/* Smooth sleek scrollbars */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Glassmorphism & Card elevation tokens */
.card-bento {
background: #ffffff;
border: 1px solid rgba(226, 232, 240, 0.8);
box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
border-radius: 1rem;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-bento:hover {
border-color: rgba(203, 213, 225, 0.9);
box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
}
/* Pill Navigation & interactive states */
.nav-tab-active {
background-color: #ffffff;
color: #0284c7;
font-weight: 700;
box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.08);
}