-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.css
More file actions
91 lines (73 loc) · 1.85 KB
/
Copy pathinput.css
File metadata and controls
91 lines (73 loc) · 1.85 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
/* Tailwind CSS directives */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Custom base styles */
@layer base {
body {
@apply bg-gray-50 text-gray-900 antialiased;
}
* {
@apply border-gray-300;
}
}
/* Custom component styles */
@layer components {
/* Button styles */
.btn {
@apply px-4 py-2 rounded-lg font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2;
}
.btn-primary {
@apply btn bg-primary-600 text-white hover:bg-primary-700 focus:ring-primary-500;
}
.btn-secondary {
@apply btn bg-gray-200 text-gray-900 hover:bg-gray-300 focus:ring-gray-500;
}
.btn-sm {
@apply px-3 py-1.5 text-sm;
}
/* Card styles */
.card {
@apply bg-white rounded-lg shadow-sm border border-gray-200 p-4;
}
/* Input styles */
.input {
@apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500;
}
/* Badge styles */
.badge {
@apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}
.badge-success {
@apply badge bg-green-100 text-green-800;
}
.badge-warning {
@apply badge bg-yellow-100 text-yellow-800;
}
.badge-info {
@apply badge bg-blue-100 text-blue-800;
}
/* Privacy badge */
.privacy-badge {
@apply inline-flex items-center gap-2 px-4 py-2 bg-green-50 border border-green-200 rounded-lg text-green-900 text-sm font-medium;
}
}
/* Custom utility classes */
@layer utilities {
.text-balance {
text-wrap: balance;
}
.scrollbar-thin::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
@apply bg-gray-100;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
@apply bg-gray-300 rounded-full;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
@apply bg-gray-400;
}
}