Spaces:
Runtime error
Runtime error
Update templates/menu.html
Browse files- templates/menu.html +40 -4
templates/menu.html
CHANGED
@@ -8,6 +8,36 @@
|
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
9 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
|
10 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
body {
|
12 |
font-family: Arial, sans-serif;
|
13 |
background-color: #fdf4e3; /* Updated background color */
|
@@ -523,10 +553,16 @@ form-check-input addon-option{
|
|
523 |
Customize <i class="bi bi-caret-right-fill"></i>
|
524 |
</button>
|
525 |
|
526 |
-
<div class="card-body">
|
527 |
-
|
528 |
-
|
529 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
|
531 |
</div>
|
532 |
</div>
|
|
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
9 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
|
10 |
<style>
|
11 |
+
/* subbu add button modification */
|
12 |
+
|
13 |
+
.customize-btn {
|
14 |
+
position: absolute;
|
15 |
+
top: 50%;
|
16 |
+
right: 0;
|
17 |
+
transform: translateY(-50%);
|
18 |
+
z-index: 2;
|
19 |
+
background: linear-gradient(92.29deg, rgba(63, 63, 63, 0.7) 4.75%, rgba(0, 0, 0, 0.7) 93.57%);
|
20 |
+
color: #fff;
|
21 |
+
font-weight:bold;
|
22 |
+
border: none;
|
23 |
+
padding: 4px 12px; /* Reduced padding for smaller height */
|
24 |
+
border-radius: 5px 0px 0px 5px ;
|
25 |
+
display: flex;
|
26 |
+
align-items: center;
|
27 |
+
font-size: 12px; /* Slightly smaller text */
|
28 |
+
}
|
29 |
+
|
30 |
+
.customize-btn i {
|
31 |
+
margin-left: 5px; /* Icon spacing */
|
32 |
+
}
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
body {
|
42 |
font-family: Arial, sans-serif;
|
43 |
background-color: #fdf4e3; /* Updated background color */
|
|
|
553 |
Customize <i class="bi bi-caret-right-fill"></i>
|
554 |
</button>
|
555 |
|
556 |
+
<div class="card-body d-flex align-items-center justify-content-between">
|
557 |
+
<div>
|
558 |
+
<h5 class="card-title">{{ item.Name }}</h5>
|
559 |
+
<p class="card-text">${{ item.Price__c }}</p>
|
560 |
+
</div>
|
561 |
+
<div>
|
562 |
+
<button class="btn btn-primary"onclick="addToCart()">Add</button>
|
563 |
+
</div>
|
564 |
+
</div>
|
565 |
+
</div>
|
566 |
|
567 |
</div>
|
568 |
</div>
|