canina/frontend/application/app/globals.css

79 lines
1.8 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&family=Inter:wght@400;500;600;700;800;900&display=swap');
@import "tailwindcss";
@theme {
--font-sans: "Vazirmatn", "Inter", sans-serif;
--font-vazir: "Vazirmatn", sans-serif;
--font-inter: "Inter", sans-serif;
--color-canino-blue: #004182;
--color-medical-gray-50: #f8fafc;
--color-medical-gray-100: #f1f5f9;
--color-medical-gray-200: #e2e8f0;
--color-medical-gray-300: #cbd5e1;
--color-medical-gray-400: #94a3b8;
--color-medical-gray-500: #64748b;
--color-medical-gray-600: #475569;
--color-medical-gray-700: #334155;
--color-medical-gray-800: #1e293b;
--color-medical-gray-900: #0f172a;
}
@layer base {
:root {
font-family: "Vazirmatn", "Inter", sans-serif !important;
}
html, body, #root {
font-family: "Vazirmatn", "Inter", sans-serif !important;
@apply bg-medical-gray-50 text-medical-gray-900 antialiased;
font-feature-settings: "ss01", "ss02", "cv01", "cv11";
}
button, a {
cursor: pointer;
}
button, a, [role="button"], .cursor-pointer {
@apply cursor-pointer;
}
/* Smooth hover transitions for all interactive elements */
button, a, .group, .transition-all {
@apply transition-all duration-300;
}
/* Default mild hover effects */
button:hover, .cursor-pointer:hover {
@apply opacity-90;
}
a:hover {
@apply opacity-80;
}
}
@layer utilities {
.font-vazir {
font-family: "Vazirmatn", sans-serif;
}
}
/* Custom scrollbar for a professional look */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--color-medical-gray-100);
}
::-webkit-scrollbar-thumb {
background: var(--color-medical-gray-300);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-canino-blue);
}