Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +64 -20
static/styles.css
CHANGED
@@ -68,6 +68,8 @@ body {
|
|
68 |
flex-shrink: 0;
|
69 |
background-color: white;
|
70 |
box-sizing: border-box;
|
|
|
|
|
71 |
}
|
72 |
|
73 |
.chat-input input {
|
@@ -76,7 +78,7 @@ body {
|
|
76 |
border: 1px solid #ccc;
|
77 |
border-radius: 8px;
|
78 |
font-size: 0.875rem;
|
79 |
-
min-height:
|
80 |
box-sizing: border-box;
|
81 |
}
|
82 |
|
@@ -89,8 +91,9 @@ body {
|
|
89 |
border-radius: 8px;
|
90 |
cursor: pointer;
|
91 |
font-size: 0.875rem;
|
92 |
-
min-height:
|
93 |
-
min-width:
|
|
|
94 |
}
|
95 |
|
96 |
.chat-input button:hover {
|
@@ -99,7 +102,7 @@ body {
|
|
99 |
|
100 |
.items-grid {
|
101 |
display: grid;
|
102 |
-
grid-template-columns: repeat(auto-fit, minmax(
|
103 |
gap: 12px;
|
104 |
padding: 12px;
|
105 |
margin: 8px 0;
|
@@ -171,6 +174,8 @@ body {
|
|
171 |
font-size: 0.75rem;
|
172 |
flex: 1;
|
173 |
min-width: 50px;
|
|
|
|
|
174 |
}
|
175 |
|
176 |
.show-button {
|
@@ -206,7 +211,9 @@ body {
|
|
206 |
border-radius: 8px;
|
207 |
cursor: pointer;
|
208 |
font-size: 0.875rem;
|
209 |
-
min-width:
|
|
|
|
|
210 |
}
|
211 |
|
212 |
.option-button.green { background-color: #4caf50; }
|
@@ -226,6 +233,7 @@ body {
|
|
226 |
align-items: center;
|
227 |
gap: 8px;
|
228 |
position: relative;
|
|
|
229 |
}
|
230 |
|
231 |
.selection-box::before {
|
@@ -237,8 +245,10 @@ body {
|
|
237 |
padding: 8px;
|
238 |
border-radius: 8px 8px 0 0;
|
239 |
font-size: 0.875rem;
|
|
|
240 |
width: 100%;
|
241 |
box-sizing: border-box;
|
|
|
242 |
}
|
243 |
|
244 |
.selection-box span {
|
@@ -274,7 +284,9 @@ body {
|
|
274 |
border-radius: 8px;
|
275 |
cursor: pointer;
|
276 |
font-size: 0.875rem;
|
277 |
-
min-width:
|
|
|
|
|
278 |
}
|
279 |
|
280 |
.submit-button:hover {
|
@@ -290,6 +302,8 @@ body {
|
|
290 |
border-radius: 8px;
|
291 |
cursor: pointer;
|
292 |
font-size: 0.75rem;
|
|
|
|
|
293 |
}
|
294 |
|
295 |
.remove-button:hover {
|
@@ -298,10 +312,11 @@ body {
|
|
298 |
|
299 |
.manual-input, .order-name-input {
|
300 |
padding: 6px;
|
301 |
-
border: 1px solid
|
302 |
border-radius: 8px;
|
303 |
font-size: 0.875rem;
|
304 |
width: 120px;
|
|
|
305 |
}
|
306 |
|
307 |
.quantity-input {
|
@@ -310,6 +325,23 @@ body {
|
|
310 |
border-radius: 8px;
|
311 |
font-size: 0.875rem;
|
312 |
width: 60px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
}
|
314 |
|
315 |
.spinner {
|
@@ -368,15 +400,15 @@ body {
|
|
368 |
|
369 |
.chat-input input {
|
370 |
font-size: 0.75rem;
|
371 |
-
min-height:
|
372 |
padding: 6px;
|
373 |
}
|
374 |
|
375 |
.chat-input button {
|
376 |
font-size: 0.75rem;
|
377 |
-
min-height:
|
378 |
padding: 6px 10px;
|
379 |
-
min-width:
|
380 |
}
|
381 |
|
382 |
.items-grid {
|
@@ -398,13 +430,14 @@ body {
|
|
398 |
}
|
399 |
|
400 |
.item-field, .item-description {
|
401 |
-
font-size: 0.
|
402 |
}
|
403 |
|
404 |
-
.show-button, .add-button {
|
405 |
-
font-size: 0.
|
406 |
padding: 4px;
|
407 |
min-width: 40px;
|
|
|
408 |
}
|
409 |
|
410 |
.options-container {
|
@@ -417,6 +450,7 @@ body {
|
|
417 |
font-size: 0.75rem;
|
418 |
padding: 6px 10px;
|
419 |
min-width: 100%;
|
|
|
420 |
}
|
421 |
|
422 |
.selection-box {
|
@@ -435,7 +469,7 @@ body {
|
|
435 |
}
|
436 |
|
437 |
.selected-item {
|
438 |
-
font-size: 0.
|
439 |
padding: 3px 8px;
|
440 |
}
|
441 |
|
@@ -447,24 +481,28 @@ body {
|
|
447 |
.submit-button {
|
448 |
font-size: 0.75rem;
|
449 |
padding: 6px 10px;
|
450 |
-
min-width:
|
|
|
451 |
}
|
452 |
|
453 |
.remove-button {
|
454 |
-
font-size: 0.
|
455 |
padding: 3px 6px;
|
|
|
456 |
}
|
457 |
|
458 |
.manual-input, .order-name-input {
|
459 |
width: 100px;
|
460 |
font-size: 0.75rem;
|
461 |
padding: 4px;
|
|
|
462 |
}
|
463 |
|
464 |
.quantity-input {
|
465 |
width: 50px;
|
466 |
font-size: 0.75rem;
|
467 |
padding: 4px;
|
|
|
468 |
}
|
469 |
}
|
470 |
|
@@ -488,17 +526,17 @@ body {
|
|
488 |
|
489 |
.chat-input input {
|
490 |
font-size: 0.875rem;
|
491 |
-
min-height:
|
492 |
}
|
493 |
|
494 |
.chat-input button {
|
495 |
font-size: 0.875rem;
|
496 |
-
min-height:
|
497 |
padding: 7px 11px;
|
498 |
}
|
499 |
|
500 |
.items-grid {
|
501 |
-
grid-template-columns: repeat(auto-fit, minmax(
|
502 |
gap: 10px;
|
503 |
}
|
504 |
|
@@ -514,15 +552,17 @@ body {
|
|
514 |
font-size: 0.75rem;
|
515 |
}
|
516 |
|
517 |
-
.show-button, .add-button {
|
518 |
font-size: 0.75rem;
|
519 |
padding: 5px;
|
520 |
min-width: 45px;
|
|
|
521 |
}
|
522 |
|
523 |
.option-button {
|
524 |
font-size: 0.875rem;
|
525 |
padding: 7px 11px;
|
|
|
526 |
}
|
527 |
|
528 |
.selection-box {
|
@@ -546,21 +586,25 @@ body {
|
|
546 |
.submit-button {
|
547 |
font-size: 0.875rem;
|
548 |
padding: 7px 11px;
|
|
|
549 |
}
|
550 |
|
551 |
.remove-button {
|
552 |
font-size: 0.75rem;
|
553 |
padding: 4px 7px;
|
|
|
554 |
}
|
555 |
|
556 |
.manual-input, .order-name-input {
|
557 |
width: 110px;
|
558 |
font-size: 0.875rem;
|
|
|
559 |
}
|
560 |
|
561 |
.quantity-input {
|
562 |
width: 55px;
|
563 |
font-size: 0.875rem;
|
|
|
564 |
}
|
565 |
}
|
566 |
|
|
|
68 |
flex-shrink: 0;
|
69 |
background-color: white;
|
70 |
box-sizing: border-box;
|
71 |
+
position: sticky;
|
72 |
+
bottom: env(safe-area-inset-bottom);
|
73 |
}
|
74 |
|
75 |
.chat-input input {
|
|
|
78 |
border: 1px solid #ccc;
|
79 |
border-radius: 8px;
|
80 |
font-size: 0.875rem;
|
81 |
+
min-height: 48px;
|
82 |
box-sizing: border-box;
|
83 |
}
|
84 |
|
|
|
91 |
border-radius: 8px;
|
92 |
cursor: pointer;
|
93 |
font-size: 0.875rem;
|
94 |
+
min-height: 48px;
|
95 |
+
min-width: 80px;
|
96 |
+
transition: background-color 0.2s ease;
|
97 |
}
|
98 |
|
99 |
.chat-input button:hover {
|
|
|
102 |
|
103 |
.items-grid {
|
104 |
display: grid;
|
105 |
+
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
106 |
gap: 12px;
|
107 |
padding: 12px;
|
108 |
margin: 8px 0;
|
|
|
174 |
font-size: 0.75rem;
|
175 |
flex: 1;
|
176 |
min-width: 50px;
|
177 |
+
min-height: 36px;
|
178 |
+
transition: background-color 0.2s ease;
|
179 |
}
|
180 |
|
181 |
.show-button {
|
|
|
211 |
border-radius: 8px;
|
212 |
cursor: pointer;
|
213 |
font-size: 0.875rem;
|
214 |
+
min-width: 80px;
|
215 |
+
min-height: 48px;
|
216 |
+
transition: opacity 0.2s ease;
|
217 |
}
|
218 |
|
219 |
.option-button.green { background-color: #4caf50; }
|
|
|
233 |
align-items: center;
|
234 |
gap: 8px;
|
235 |
position: relative;
|
236 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
237 |
}
|
238 |
|
239 |
.selection-box::before {
|
|
|
245 |
padding: 8px;
|
246 |
border-radius: 8px 8px 0 0;
|
247 |
font-size: 0.875rem;
|
248 |
+
font-weight: bold;
|
249 |
width: 100%;
|
250 |
box-sizing: border-box;
|
251 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
252 |
}
|
253 |
|
254 |
.selection-box span {
|
|
|
284 |
border-radius: 8px;
|
285 |
cursor: pointer;
|
286 |
font-size: 0.875rem;
|
287 |
+
min-width: 80px;
|
288 |
+
min-height: 48px;
|
289 |
+
transition: background-color 0.2s ease;
|
290 |
}
|
291 |
|
292 |
.submit-button:hover {
|
|
|
302 |
border-radius: 8px;
|
303 |
cursor: pointer;
|
304 |
font-size: 0.75rem;
|
305 |
+
min-height: 36px;
|
306 |
+
transition: background-color 0.2s ease;
|
307 |
}
|
308 |
|
309 |
.remove-button:hover {
|
|
|
312 |
|
313 |
.manual-input, .order-name-input {
|
314 |
padding: 6px;
|
315 |
+
border: 1px solid #0288d1;
|
316 |
border-radius: 8px;
|
317 |
font-size: 0.875rem;
|
318 |
width: 120px;
|
319 |
+
min-height: 48px;
|
320 |
}
|
321 |
|
322 |
.quantity-input {
|
|
|
325 |
border-radius: 8px;
|
326 |
font-size: 0.875rem;
|
327 |
width: 60px;
|
328 |
+
min-height: 48px;
|
329 |
+
}
|
330 |
+
|
331 |
+
.quantity-button {
|
332 |
+
padding: 4px 8px;
|
333 |
+
background-color: #0288d1;
|
334 |
+
color: white;
|
335 |
+
border: none;
|
336 |
+
border-radius: 8px;
|
337 |
+
cursor: pointer;
|
338 |
+
font-size: 0.75rem;
|
339 |
+
min-height: 36px;
|
340 |
+
transition: background-color 0.2s ease;
|
341 |
+
}
|
342 |
+
|
343 |
+
.quantity-button:hover {
|
344 |
+
background-color: #0277bd;
|
345 |
}
|
346 |
|
347 |
.spinner {
|
|
|
400 |
|
401 |
.chat-input input {
|
402 |
font-size: 0.75rem;
|
403 |
+
min-height: 48px;
|
404 |
padding: 6px;
|
405 |
}
|
406 |
|
407 |
.chat-input button {
|
408 |
font-size: 0.75rem;
|
409 |
+
min-height: 48px;
|
410 |
padding: 6px 10px;
|
411 |
+
min-width: 80px;
|
412 |
}
|
413 |
|
414 |
.items-grid {
|
|
|
430 |
}
|
431 |
|
432 |
.item-field, .item-description {
|
433 |
+
font-size: 0.75rem;
|
434 |
}
|
435 |
|
436 |
+
.show-button, .add-button, .quantity-button {
|
437 |
+
font-size: 0.75rem;
|
438 |
padding: 4px;
|
439 |
min-width: 40px;
|
440 |
+
min-height: 36px;
|
441 |
}
|
442 |
|
443 |
.options-container {
|
|
|
450 |
font-size: 0.75rem;
|
451 |
padding: 6px 10px;
|
452 |
min-width: 100%;
|
453 |
+
min-height: 48px;
|
454 |
}
|
455 |
|
456 |
.selection-box {
|
|
|
469 |
}
|
470 |
|
471 |
.selected-item {
|
472 |
+
font-size: 0.75rem;
|
473 |
padding: 3px 8px;
|
474 |
}
|
475 |
|
|
|
481 |
.submit-button {
|
482 |
font-size: 0.75rem;
|
483 |
padding: 6px 10px;
|
484 |
+
min-width: 80px;
|
485 |
+
min-height: 48px;
|
486 |
}
|
487 |
|
488 |
.remove-button {
|
489 |
+
font-size: 0.75rem;
|
490 |
padding: 3px 6px;
|
491 |
+
min-height: 36px;
|
492 |
}
|
493 |
|
494 |
.manual-input, .order-name-input {
|
495 |
width: 100px;
|
496 |
font-size: 0.75rem;
|
497 |
padding: 4px;
|
498 |
+
min-height: 48px;
|
499 |
}
|
500 |
|
501 |
.quantity-input {
|
502 |
width: 50px;
|
503 |
font-size: 0.75rem;
|
504 |
padding: 4px;
|
505 |
+
min-height: 48px;
|
506 |
}
|
507 |
}
|
508 |
|
|
|
526 |
|
527 |
.chat-input input {
|
528 |
font-size: 0.875rem;
|
529 |
+
min-height: 48px;
|
530 |
}
|
531 |
|
532 |
.chat-input button {
|
533 |
font-size: 0.875rem;
|
534 |
+
min-height: 48px;
|
535 |
padding: 7px 11px;
|
536 |
}
|
537 |
|
538 |
.items-grid {
|
539 |
+
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
540 |
gap: 10px;
|
541 |
}
|
542 |
|
|
|
552 |
font-size: 0.75rem;
|
553 |
}
|
554 |
|
555 |
+
.show-button, .add-button, .quantity-button {
|
556 |
font-size: 0.75rem;
|
557 |
padding: 5px;
|
558 |
min-width: 45px;
|
559 |
+
min-height: 36px;
|
560 |
}
|
561 |
|
562 |
.option-button {
|
563 |
font-size: 0.875rem;
|
564 |
padding: 7px 11px;
|
565 |
+
min-height: 48px;
|
566 |
}
|
567 |
|
568 |
.selection-box {
|
|
|
586 |
.submit-button {
|
587 |
font-size: 0.875rem;
|
588 |
padding: 7px 11px;
|
589 |
+
min-height: 48px;
|
590 |
}
|
591 |
|
592 |
.remove-button {
|
593 |
font-size: 0.75rem;
|
594 |
padding: 4px 7px;
|
595 |
+
min-height: 36px;
|
596 |
}
|
597 |
|
598 |
.manual-input, .order-name-input {
|
599 |
width: 110px;
|
600 |
font-size: 0.875rem;
|
601 |
+
min-height: 48px;
|
602 |
}
|
603 |
|
604 |
.quantity-input {
|
605 |
width: 55px;
|
606 |
font-size: 0.875rem;
|
607 |
+
min-height: 48px;
|
608 |
}
|
609 |
}
|
610 |
|