Update styles.css
Browse files- styles.css +176 -49
styles.css
CHANGED
@@ -1,64 +1,191 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
overflow-y: auto;
|
25 |
-
border-bottom: 2px solid #eee;
|
26 |
}
|
27 |
|
28 |
-
.
|
29 |
-
|
30 |
-
padding: 10px;
|
31 |
-
border: 1px solid #ccc;
|
32 |
-
border-radius: 5px;
|
33 |
-
margin: 10px;
|
34 |
-
font-size: 14px;
|
35 |
}
|
36 |
|
37 |
-
.
|
38 |
-
|
39 |
-
|
40 |
-
color: white;
|
41 |
-
border: none;
|
42 |
-
border-radius: 5px;
|
43 |
-
cursor: pointer;
|
44 |
}
|
45 |
|
46 |
-
.
|
47 |
-
|
48 |
}
|
49 |
|
50 |
-
.
|
51 |
-
|
52 |
-
padding: 10px;
|
53 |
-
border-radius: 10px;
|
54 |
-
margin-bottom: 10px;
|
55 |
}
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
}
|
|
|
|
1 |
+
@tailwind base;
|
2 |
+
@tailwind components;
|
3 |
+
@tailwind utilities;
|
4 |
+
|
5 |
+
@layer base {
|
6 |
+
:root {
|
7 |
+
--background: 0 0% 100%;
|
8 |
+
--foreground: 222.2 84% 4.9%;
|
9 |
+
|
10 |
+
--card: 0 0% 100%;
|
11 |
+
--card-foreground: 222.2 84% 4.9%;
|
12 |
+
|
13 |
+
--popover: 0 0% 100%;
|
14 |
+
--popover-foreground: 222.2 84% 4.9%;
|
15 |
+
|
16 |
+
--primary: 350 80% 25%; /* Burgundy primary color */
|
17 |
+
--primary-foreground: 45 80% 52%; /* Gold text on primary */
|
18 |
+
|
19 |
+
--secondary: 45 80% 52%; /* Gold secondary color */
|
20 |
+
--secondary-foreground: 350 80% 25%; /* Burgundy text on secondary */
|
21 |
+
|
22 |
+
--muted: 39 100% 97%;
|
23 |
+
--muted-foreground: 350 40% 25%;
|
24 |
+
|
25 |
+
--accent: 45 70% 85%;
|
26 |
+
--accent-foreground: 350 80% 25%;
|
27 |
+
|
28 |
+
--destructive: 0 84.2% 60.2%;
|
29 |
+
--destructive-foreground: 210 40% 98%;
|
30 |
+
|
31 |
+
--border: 39 30% 90%;
|
32 |
+
--input: 39 30% 90%;
|
33 |
+
--ring: 350 80% 25%;
|
34 |
+
|
35 |
+
--radius: 0.5rem;
|
36 |
+
|
37 |
+
--sidebar-background: 0 0% 98%;
|
38 |
+
|
39 |
+
--sidebar-foreground: 240 5.3% 26.1%;
|
40 |
+
|
41 |
+
--sidebar-primary: 240 5.9% 10%;
|
42 |
+
|
43 |
+
--sidebar-primary-foreground: 0 0% 98%;
|
44 |
+
|
45 |
+
--sidebar-accent: 240 4.8% 95.9%;
|
46 |
+
|
47 |
+
--sidebar-accent-foreground: 240 5.9% 10%;
|
48 |
+
|
49 |
+
--sidebar-border: 220 13% 91%;
|
50 |
+
|
51 |
+
--sidebar-ring: 217.2 91.2% 59.8%;
|
52 |
+
}
|
53 |
+
|
54 |
+
.dark {
|
55 |
+
--background: 222.2 84% 4.9%;
|
56 |
+
--foreground: 210 40% 98%;
|
57 |
+
|
58 |
+
--card: 222.2 84% 4.9%;
|
59 |
+
--card-foreground: 210 40% 98%;
|
60 |
+
|
61 |
+
--popover: 222.2 84% 4.9%;
|
62 |
+
--popover-foreground: 210 40% 98%;
|
63 |
+
|
64 |
+
--primary: 210 40% 98%;
|
65 |
+
--primary-foreground: 222.2 47.4% 11.2%;
|
66 |
+
|
67 |
+
--secondary: 217.2 32.6% 17.5%;
|
68 |
+
--secondary-foreground: 210 40% 98%;
|
69 |
+
|
70 |
+
--muted: 217.2 32.6% 17.5%;
|
71 |
+
--muted-foreground: 215 20.2% 65.1%;
|
72 |
+
|
73 |
+
--accent: 217.2 32.6% 17.5%;
|
74 |
+
--accent-foreground: 210 40% 98%;
|
75 |
+
|
76 |
+
--destructive: 0 62.8% 30.6%;
|
77 |
+
--destructive-foreground: 210 40% 98%;
|
78 |
+
|
79 |
+
--border: 217.2 32.6% 17.5%;
|
80 |
+
--input: 217.2 32.6% 17.5%;
|
81 |
+
--ring: 212.7 26.8% 83.9%;
|
82 |
+
--sidebar-background: 240 5.9% 10%;
|
83 |
+
--sidebar-foreground: 240 4.8% 95.9%;
|
84 |
+
--sidebar-primary: 224.3 76.3% 48%;
|
85 |
+
--sidebar-primary-foreground: 0 0% 100%;
|
86 |
+
--sidebar-accent: 240 3.7% 15.9%;
|
87 |
+
--sidebar-accent-foreground: 240 4.8% 95.9%;
|
88 |
+
--sidebar-border: 240 3.7% 15.9%;
|
89 |
+
--sidebar-ring: 217.2 91.2% 59.8%;
|
90 |
+
}
|
91 |
}
|
92 |
|
93 |
+
@layer base {
|
94 |
+
* {
|
95 |
+
@apply border-border;
|
96 |
+
}
|
97 |
+
|
98 |
+
body {
|
99 |
+
@apply bg-background text-foreground;
|
100 |
+
font-family: 'Lato', sans-serif;
|
101 |
+
}
|
102 |
+
|
103 |
+
h1, h2, h3, .font-serif {
|
104 |
+
font-family: 'Playfair Display', serif;
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
@layer components {
|
109 |
+
.chat-container {
|
110 |
+
@apply max-w-3xl mx-auto h-[80vh] bg-restaurant-light rounded-xl shadow-lg flex flex-col overflow-hidden border border-restaurant-gold/20;
|
111 |
+
}
|
112 |
+
|
113 |
+
.chat-header {
|
114 |
+
@apply bg-restaurant-burgundy text-white py-4 px-6 flex items-center justify-between border-b border-restaurant-gold/30;
|
115 |
+
}
|
116 |
+
|
117 |
+
.chat-messages {
|
118 |
+
@apply flex-1 overflow-y-auto p-4 space-y-4 bg-gradient-to-b from-restaurant-cream to-white;
|
119 |
+
}
|
120 |
+
|
121 |
+
.message {
|
122 |
+
@apply max-w-[80%] p-3 rounded-xl animate-fade-in;
|
123 |
+
}
|
124 |
+
|
125 |
+
.bot-message {
|
126 |
+
@apply bg-white border border-restaurant-burgundy/20 text-restaurant-dark rounded-tr-xl rounded-br-xl rounded-bl-xl shadow-sm;
|
127 |
+
}
|
128 |
+
|
129 |
+
.user-message {
|
130 |
+
@apply bg-restaurant-burgundy text-white ml-auto rounded-tl-xl rounded-tr-xl rounded-bl-xl shadow-sm;
|
131 |
+
}
|
132 |
+
|
133 |
+
.chat-input-container {
|
134 |
+
@apply p-4 bg-white border-t border-restaurant-gold/30;
|
135 |
+
}
|
136 |
+
|
137 |
+
.quick-replies {
|
138 |
+
@apply flex flex-wrap gap-2 mb-4;
|
139 |
+
}
|
140 |
+
|
141 |
+
.quick-reply-btn {
|
142 |
+
@apply px-4 py-2 bg-restaurant-cream text-restaurant-burgundy rounded-full border border-restaurant-gold/40 hover:bg-restaurant-gold hover:text-white transition-colors duration-200 text-sm whitespace-nowrap animate-fade-in;
|
143 |
+
}
|
144 |
+
}
|
145 |
+
|
146 |
+
@keyframes fade-in {
|
147 |
+
from {
|
148 |
+
opacity: 0;
|
149 |
+
transform: translateY(10px);
|
150 |
+
}
|
151 |
+
to {
|
152 |
+
opacity: 1;
|
153 |
+
transform: translateY(0);
|
154 |
+
}
|
155 |
+
}
|
156 |
+
|
157 |
+
.animate-fade-in {
|
158 |
+
animation: fade-in 0.3s ease-out forwards;
|
159 |
}
|
160 |
|
161 |
+
@keyframes typing {
|
162 |
+
0% { width: 0 }
|
163 |
+
100% { width: 100% }
|
|
|
|
|
164 |
}
|
165 |
|
166 |
+
.typing-indicator {
|
167 |
+
@apply inline-flex space-x-1 mt-1;
|
|
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
+
.typing-indicator span {
|
171 |
+
@apply w-2 h-2 bg-restaurant-burgundy/60 rounded-full;
|
172 |
+
animation: bounce 1.4s infinite ease-in-out both;
|
|
|
|
|
|
|
|
|
173 |
}
|
174 |
|
175 |
+
.typing-indicator span:nth-child(1) {
|
176 |
+
animation-delay: -0.32s;
|
177 |
}
|
178 |
|
179 |
+
.typing-indicator span:nth-child(2) {
|
180 |
+
animation-delay: -0.16s;
|
|
|
|
|
|
|
181 |
}
|
182 |
|
183 |
+
@keyframes bounce {
|
184 |
+
0%, 80%, 100% {
|
185 |
+
transform: scale(0);
|
186 |
+
}
|
187 |
+
40% {
|
188 |
+
transform: scale(1.0);
|
189 |
+
}
|
190 |
}
|
191 |
+
|