jithenderchoudary commited on
Commit
d233393
·
verified ·
1 Parent(s): d1bf04d

Create static / styles.css

Browse files
Files changed (1) hide show
  1. static/static / styles.css +391 -0
static/static / styles.css ADDED
@@ -0,0 +1,391 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: Arial, sans-serif;
3
+ margin: 0;
4
+ padding: 0;
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ min-height: 100vh;
9
+ background-color: #f0f2f5;
10
+ overflow: auto;
11
+ }
12
+
13
+ .chat-container {
14
+ width: 100%;
15
+ max-width: 400px;
16
+ height: 80vh;
17
+ max-height: 600px;
18
+ border: 1px solid #ccc;
19
+ border-radius: 10px;
20
+ overflow: hidden;
21
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
22
+ background-color: white;
23
+ display: flex;
24
+ flex-direction: column;
25
+ margin: 10px;
26
+ }
27
+
28
+ .chat-header {
29
+ background-color: #f28c38;
30
+ color: white;
31
+ padding: 10px;
32
+ text-align: center;
33
+ font-size: 20px;
34
+ flex-shrink: 0;
35
+ }
36
+
37
+ .chat-messages {
38
+ flex: 1;
39
+ overflow-y: auto;
40
+ padding: 15px;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ .bot-message {
45
+ background-color: #fffbe6;
46
+ padding: 10px;
47
+ margin: 10px 0;
48
+ border-radius: 5px;
49
+ max-width: 70%;
50
+ word-wrap: break-word;
51
+ font-size: 14px;
52
+ }
53
+
54
+ .user-message {
55
+ background-color: #e1f5fe;
56
+ padding: 10px;
57
+ margin: 10px 0;
58
+ border-radius: 5px;
59
+ max-width: 70%;
60
+ margin-left: auto;
61
+ text-align: right;
62
+ word-wrap: break-word;
63
+ font-size: 14px;
64
+ }
65
+
66
+ .chat-input {
67
+ display: flex;
68
+ padding: 10px;
69
+ border-top: 1px solid #ccc;
70
+ flex-shrink: 0;
71
+ }
72
+
73
+ .chat-input input {
74
+ flex: 1;
75
+ padding: 8px;
76
+ border: 1px solid #ccc;
77
+ border-radius: 5px;
78
+ box-sizing: border-box;
79
+ font-size: 14px;
80
+ min-height: 40px;
81
+ }
82
+
83
+ .chat-input button {
84
+ padding: 8px 15px;
85
+ margin-left: 10px;
86
+ background-color: #f28c38;
87
+ color: white;
88
+ border: none;
89
+ border-radius: 5px;
90
+ cursor: pointer;
91
+ transition: background-color 0.3s;
92
+ font-size: 14px;
93
+ min-height: 40px;
94
+ }
95
+
96
+ .chat-input button:hover {
97
+ background-color: #d8702a;
98
+ }
99
+
100
+ .option-button {
101
+ display: inline-block;
102
+ padding: 10px 15px;
103
+ margin: 5px;
104
+ background-color: #9c27b0;
105
+ color: white;
106
+ border: none;
107
+ border-radius: 5px;
108
+ cursor: pointer;
109
+ transition: background-color 0.3s;
110
+ font-size: 14px;
111
+ min-width: 100px;
112
+ text-align: center;
113
+ }
114
+
115
+ .option-button.green {
116
+ background-color: #4caf50;
117
+ }
118
+
119
+ .option-button.red {
120
+ background-color: #f44336;
121
+ }
122
+
123
+ .option-button:hover {
124
+ opacity: 0.9;
125
+ }
126
+
127
+ /* Styling for the registration form */
128
+ .registration-form {
129
+ display: flex;
130
+ flex-direction: column;
131
+ gap: 10px;
132
+ }
133
+
134
+ .registration-form label {
135
+ font-size: 14px;
136
+ font-weight: bold;
137
+ }
138
+
139
+ .registration-form input,
140
+ .registration-form textarea {
141
+ padding: 8px;
142
+ border: 1px solid #ccc;
143
+ border-radius: 5px;
144
+ font-size: 14px;
145
+ width: 100%;
146
+ box-sizing: border-box;
147
+ }
148
+
149
+ .registration-form textarea {
150
+ min-height: 60px;
151
+ resize: vertical;
152
+ }
153
+
154
+ .registration-form button {
155
+ padding: 8px 15px;
156
+ background-color: #f28c38;
157
+ color: white;
158
+ border: none;
159
+ border-radius: 5px;
160
+ cursor: pointer;
161
+ transition: background-color 0.3s;
162
+ font-size: 14px;
163
+ align-self: flex-start;
164
+ }
165
+
166
+ .registration-form button:hover {
167
+ background-color: #d8702a;
168
+ }
169
+
170
+ /* Horizontal scrollable ingredient list with images */
171
+ .ingredients-list {
172
+ max-height: 200px;
173
+ overflow-x: auto;
174
+ overflow-y: hidden;
175
+ white-space: nowrap;
176
+ padding: 10px;
177
+ margin: 10px 0;
178
+ background-color: #f9f9f9;
179
+ border-radius: 5px;
180
+ display: flex;
181
+ gap: 10px;
182
+ }
183
+
184
+ .ingredients-list .ingredient-item {
185
+ display: inline-flex;
186
+ flex-direction: column;
187
+ align-items: center;
188
+ margin-right: 15px;
189
+ }
190
+
191
+ .ingredients-list img {
192
+ width: 80px;
193
+ height: 80px;
194
+ object-fit: cover;
195
+ border-radius: 5px;
196
+ }
197
+
198
+ .ingredients-list button {
199
+ padding: 5px 10px;
200
+ margin-top: 5px;
201
+ background-color: #4caf50;
202
+ color: white;
203
+ border: none;
204
+ border-radius: 5px;
205
+ cursor: pointer;
206
+ font-size: 12px;
207
+ }
208
+
209
+ .ingredients-list button:hover {
210
+ background-color: #45a049;
211
+ }
212
+
213
+ /* Non-editable selected ingredients box */
214
+ .selected-ingredients {
215
+ padding: 10px;
216
+ margin: 10px 0;
217
+ border: 1px solid #ccc;
218
+ border-radius: 5px;
219
+ background-color: #f0f0f0;
220
+ overflow-y: auto;
221
+ max-height: 100px;
222
+ }
223
+
224
+ .selected-ingredients div {
225
+ margin: 5px 0;
226
+ word-wrap: break-word;
227
+ }
228
+
229
+ /* Menu items list */
230
+ .menu-items-list {
231
+ max-height: 200px;
232
+ overflow-x: auto;
233
+ overflow-y: hidden;
234
+ white-space: nowrap;
235
+ padding: 10px;
236
+ margin: 10px 0;
237
+ background-color: #f9f9f9;
238
+ border-radius: 5px;
239
+ display: flex;
240
+ gap: 10px;
241
+ }
242
+
243
+ .menu-items-list .menu-item {
244
+ display: inline-flex;
245
+ flex-direction: column;
246
+ align-items: center;
247
+ margin-right: 15px;
248
+ }
249
+
250
+ .menu-items-list img {
251
+ width: 80px;
252
+ height: 80px;
253
+ object-fit: cover;
254
+ border-radius: 5px;
255
+ }
256
+
257
+ .menu-items-list button {
258
+ padding: 5px 10px;
259
+ margin-top: 5px;
260
+ background-color: #4caf50;
261
+ color: white;
262
+ border: none;
263
+ border-radius: 5px;
264
+ cursor: pointer;
265
+ font-size: 12px;
266
+ }
267
+
268
+ .menu-items-list button:hover {
269
+ background-color: #45a049;
270
+ }
271
+
272
+ /* Customization input box */
273
+ .customization-input {
274
+ padding: 10px;
275
+ margin: 10px 0;
276
+ border: 1px solid #ccc;
277
+ border-radius: 5px;
278
+ background-color: #f0f0f0;
279
+ }
280
+
281
+ .customization-input textarea {
282
+ width: 100%;
283
+ padding: 8px;
284
+ border: 1px solid #ccc;
285
+ border-radius: 5px;
286
+ font-size: 14px;
287
+ min-height: 60px;
288
+ }
289
+
290
+ /* Media Queries */
291
+ @media (max-width: 768px) {
292
+ .chat-container {
293
+ max-width: 100%;
294
+ height: 90vh;
295
+ margin: 5px;
296
+ }
297
+
298
+ .chat-header {
299
+ font-size: 18px;
300
+ }
301
+
302
+ .chat-messages {
303
+ padding: 10px;
304
+ }
305
+
306
+ .chat-input input,
307
+ .chat-input button {
308
+ padding: 6px;
309
+ font-size: 12px;
310
+ min-height: 35px;
311
+ }
312
+
313
+ .option-button {
314
+ padding: 8px 12px;
315
+ font-size: 12px;
316
+ min-width: 90px;
317
+ }
318
+
319
+ .ingredients-list,
320
+ .menu-items-list {
321
+ max-height: 150px;
322
+ }
323
+
324
+ .ingredients-list img,
325
+ .menu-items-list img {
326
+ width: 60px;
327
+ height: 60px;
328
+ }
329
+
330
+ .selected-ingredients {
331
+ max-height: 80px;
332
+ }
333
+
334
+ .registration-form label,
335
+ .registration-form input,
336
+ .registration-form textarea {
337
+ font-size: 12px;
338
+ }
339
+
340
+ .registration-form button {
341
+ padding: 6px 12px;
342
+ font-size: 12px;
343
+ }
344
+ }
345
+
346
+ @media (min-width: 769px) {
347
+ .chat-container {
348
+ margin: 20px;
349
+ }
350
+
351
+ .chat-header {
352
+ font-size: 22px;
353
+ }
354
+
355
+ .bot-message,
356
+ .user-message {
357
+ font-size: 16px;
358
+ }
359
+
360
+ .chat-input input,
361
+ .chat-input button {
362
+ font-size: 16px;
363
+ min-height: 45px;
364
+ }
365
+
366
+ .option-button {
367
+ font-size: 16px;
368
+ min-width: 120px;
369
+ }
370
+
371
+ .ingredients-list,
372
+ .menu-items-list {
373
+ max-height: 250px;
374
+ }
375
+
376
+ .ingredients-list img,
377
+ .menu-items-list img {
378
+ width: 100px;
379
+ height: 100px;
380
+ }
381
+
382
+ .selected-ingredients {
383
+ max-height: 120px;
384
+ }
385
+
386
+ .registration-form label,
387
+ .registration-form input,
388
+ .registration-form textarea {
389
+ font-size: 14px;
390
+ }
391
+ }