-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
149 lines (125 loc) · 2.76 KB
/
styles.css
File metadata and controls
149 lines (125 loc) · 2.76 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/* Custom styles for Quotes Dashboard */
/* Table row hover effects */
.grid.grid-cols-5:hover {
background-color: #f9fafb;
}
/* Status badges styling */
.status-badge {
display: inline-flex;
align-items: center;
padding: 4px 12px;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 500;
text-transform: capitalize;
}
.status-inProgress {
background-color: #fef3c7;
color: #92400e;
border: 1px solid #f59e0b;
}
.status-pending {
background-color: #fce7f3;
color: #be185d;
border: 1px solid #ec4899;
}
.status-completed {
background-color: #d1fae5;
color: #065f46;
border: 1px solid #10b981;
}
.status-cancelled {
background-color: #fee2e2;
color: #991b1b;
border: 1px solid #ef4444;
}
.status-unknown {
background-color: #f3f4f6;
color: #374151;
border: 1px solid #6b7280;
}
/* Loading skeleton animation */
.loading-skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Text truncation utility */
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Focus states for accessibility */
button:focus,
select:focus {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
/* Button hover effects */
button.bg-blue-600:hover {
background-color: #2563eb;
}
button.text-blue-600:hover {
color: #1d4ed8;
}
button.text-gray-600:hover {
color: #111827;
}
/* Statistics cards hover effect */
.bg-white.p-4.rounded-lg.border:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.2s ease-in-out;
}
/* Table styling */
.bg-blue-50 {
background-color: #eff6ff;
}
/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a1a1a1;
}
/* Print styles */
@media print {
.bg-white {
box-shadow: none;
border: 1px solid #ddd;
}
button {
display: none;
}
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.status-badge {
border-width: 2px;
font-weight: 600;
}
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
.loading-skeleton,
button {
transition: none;
animation: none;
}
}