-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (75 loc) · 2.81 KB
/
style.css
File metadata and controls
91 lines (75 loc) · 2.81 KB
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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Inter", system-ui, -apple-system, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
@layer components {
.input-field {
@apply w-full rounded border border-surface-200 bg-white px-3 py-2 text-sm text-gray-900
transition-all duration-200 placeholder:text-gray-400
focus:border-brand-500 focus:outline-none focus:ring-2 focus:ring-brand-500/20
dark:border-gray-600 dark:bg-surface-800 dark:text-gray-100 dark:placeholder:text-gray-500
dark:focus:border-brand-400 dark:focus:ring-brand-400/20;
}
.btn-primary {
@apply inline-flex items-center justify-center rounded bg-brand-600 px-4 py-2 text-sm
font-semibold text-white shadow-sm transition-all duration-200
hover:bg-brand-700 hover:shadow-md active:scale-[0.98]
disabled:cursor-not-allowed disabled:opacity-50
dark:bg-brand-500 dark:hover:bg-brand-600;
}
.btn-secondary {
@apply inline-flex items-center justify-center rounded border border-surface-200
bg-white px-4 py-2 text-sm font-medium text-gray-700 shadow-sm
transition-all duration-200 hover:bg-surface-50 active:scale-[0.98]
dark:border-gray-600 dark:bg-surface-800 dark:text-gray-200 dark:hover:bg-surface-700;
}
.card {
@apply rounded border border-surface-200 bg-white p-4 shadow-sm
transition-all duration-200
dark:border-gray-700 dark:bg-surface-800;
}
.tab-active {
@apply border-b-2 border-brand-500 text-brand-600 dark:border-brand-400 dark:text-brand-400;
}
.tab-inactive {
@apply border-b-2 border-transparent text-gray-500 hover:text-gray-700
dark:text-gray-400 dark:hover:text-gray-200;
}
.badge-green {
@apply inline-flex items-center rounded-full bg-emerald-100 px-2 py-0.5 text-xs font-medium
text-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-400;
}
.badge-yellow {
@apply inline-flex items-center rounded-full bg-amber-100 px-2 py-0.5 text-xs font-medium
text-amber-700 dark:bg-amber-900/30 dark:text-amber-400;
}
.badge-red {
@apply inline-flex items-center rounded-full bg-red-100 px-2 py-0.5 text-xs font-medium
text-red-700 dark:bg-red-900/30 dark:text-red-400;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
@apply rounded-full bg-gray-300 dark:bg-gray-600;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-gray-400 dark:bg-gray-500;
}