Files
admin/src/style.css
T

44 lines
1.1 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif;
}
}
@layer components {
.btn {
@apply inline-flex items-center justify-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-brand/40 disabled:cursor-not-allowed disabled:opacity-60;
}
.btn-primary {
@apply btn bg-brand text-white hover:bg-brand-500;
}
.btn-secondary {
@apply btn border border-slate-200 bg-white text-slate-700 hover:bg-slate-50;
}
.btn-danger {
@apply btn bg-red-500 text-white hover:bg-red-600;
}
.input {
@apply w-full rounded-lg border border-slate-200 bg-white px-3 py-2 text-sm text-slate-800 placeholder:text-slate-400 focus:border-brand focus:outline-none focus:ring-2 focus:ring-brand/20;
}
.label {
@apply mb-1 block text-sm font-medium text-slate-700;
}
.card {
@apply rounded-xl border border-slate-200 bg-white p-6 shadow-sm;
}
.page-title {
@apply text-2xl font-bold text-slate-900;
}
}