-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
184 lines (157 loc) · 3.24 KB
/
Copy pathstyles.css
File metadata and controls
184 lines (157 loc) · 3.24 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
body {
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Animations */
.fade-in {
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.cart-bounce {
animation: bounce 0.3s ease-in-out;
}
@keyframes bounce {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
/* Custom Styles */
.admin-bg {
background: linear-gradient(135deg, #f9fafb 0%, #dbeafe 100%);
}
.employee-bg {
background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
}
.customer-bg {
background: linear-gradient(135deg, #fdf4ff 0%, #fce7f3 100%);
}
/* Form Styles */
.form-input {
width: 100%;
padding: 12px 16px;
border: 1px solid #d1d5db;
border-radius: 8px;
transition: all 0.2s;
}
.form-input:focus {
outline: none;
ring: 2px;
ring-color: #8b5cf6;
border-color: transparent;
}
/* Button Styles */
.btn-primary {
background-color: #8b5cf6;
color: white;
padding: 12px 24px;
border-radius: 8px;
font-weight: 500;
transition: background-color 0.2s;
}
.btn-primary:hover {
background-color: #7c3aed;
}
.btn-success {
background-color: #10b981;
color: white;
padding: 12px 24px;
border-radius: 8px;
font-weight: 500;
transition: background-color 0.2s;
}
.btn-success:hover {
background-color: #059669;
}
.btn-warning {
background-color: #f59e0b;
color: white;
padding: 12px 24px;
border-radius: 8px;
font-weight: 500;
transition: background-color 0.2s;
}
.btn-warning:hover {
background-color: #d97706;
}
.btn-danger {
background-color: #ef4444;
color: white;
padding: 12px 24px;
border-radius: 8px;
font-weight: 500;
transition: background-color 0.2s;
}
.btn-danger:hover {
background-color: #dc2626;
}
/* Card Styles */
.card {
background: white;
border-radius: 12px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: box-shadow 0.2s;
}
.card:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Modal Styles */
.modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.modal.hidden {
display: none;
}
.modal-content {
background: white;
border-radius: 12px;
max-width: 32rem;
width: 100%;
max-height: 80vh;
overflow-y: auto;
}
/* Status Colors */
.status-new {
background-color: #dcfce7;
color: #166534;
}
.status-preparing {
background-color: #fef3c7;
color: #92400e;
}
.status-delivered {
background-color: #dbeafe;
color: #1e40af;
}
/* Responsive */
@media (max-width: 768px) {
.grid-responsive {
grid-template-columns: 1fr;
}
.modal-content {
margin: 16px;
max-height: 90vh;
}
}