DSatishchandra commited on
Commit
c5af6b0
·
verified ·
1 Parent(s): 9323ed4

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +168 -169
templates/menu.html CHANGED
@@ -6,174 +6,173 @@
6
  <title>Menu</title>
7
  <!-- Bootstrap CSS -->
8
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
9
- <style>
10
- body {
11
- font-family: Arial, sans-serif;
12
- background-color: #FF6B35;
13
- margin: 0;
14
- padding: 0;
15
- }
16
- .container {
17
- max-width: 900px;
18
- }
19
- .menu-card {
20
- max-width: 350px;
21
- border-radius: 15px;
22
- overflow: hidden;
23
- background-color: #fff;
24
- margin: auto;
25
- }
26
- .menu-image {
27
- height: 200px;
28
- width: 100%;
29
- object-fit: cover;
30
- border-radius: 15px 15px 0 0;
31
- }
32
- .card-title {
33
- font-size: 1.2rem;
34
- font-weight: bold;
35
- }
36
- .card-text {
37
- font-size: 1rem;
38
- color: #6c757d;
39
- }
40
- .btn-primary {
41
- font-size: 0.9rem;
42
- border-radius: 20px;
43
- width: 100px;
44
- background-color: #FF6B35;
45
- border-color: #28a745;
46
- }
47
- .btn-primary:hover {
48
- background-color: #4a5d68;
49
- border-color: #1e7e34;
50
- }
51
- .btn-primary:active,
52
- .btn-primary:focus {
53
- background-color: #4a5d68;
54
- border-color: #1e7e34;
55
- box-shadow: none;
56
- }
57
- .view-cart-container {
58
- position: fixed;
59
- bottom: 20px;
60
- right: 20px;
61
- z-index: 999;
62
- }
63
- .view-cart-button {
64
- background-color: #FF6B35;
65
- color: #fff;
66
- padding: 10px 20px;
67
- border-radius: 50px;
68
- font-size: 1rem;
69
- font-height: 44px;
70
- font-weight: bold;
71
- text-decoration: none;
72
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
73
- display: flex;
74
- align-items: center;
75
- justify-content: center;
76
- }
77
- .view-cart-button:hover {
78
- background-color: #4a5d68;
79
- text-decoration: none;
80
- }
81
- .avatar-dropdown-container {
82
- position: relative;
83
- }
84
- .avatar-icon {
85
- width: 40px;
86
- height: 40px;
87
- border-radius: 50%;
88
- background-color: #5bbfc1;
89
- cursor: pointer;
90
- display: flex;
91
- align-items: center;
92
- justify-content: center;
93
- color: white;
94
- font-size: 20px;
95
- font-weight: bold;
96
- }
97
- .dropdown-menu {
98
- position: absolute;
99
- right: 0;
100
- top: 100%;
101
- background-color: #fff;
102
- border-radius: 5px;
103
- width: 200px; /* Adjust width as needed */
104
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
105
- display: none;
106
- }
107
- .avatar-dropdown-container:hover .dropdown-menu {
108
- display: block;
109
- }
110
- .dropdown-menu .dropdown-item {
111
- padding: 10px 15px;
112
- text-decoration: none;
113
- color: #333;
114
- border-bottom: 1px solid #ddd;
115
- display: block; /* Make each item stack vertically */
116
- }
117
- .dropdown-menu .dropdown-item:last-child {
118
- border-bottom: none; /* Remove the bottom border from the last item */
119
- }
120
- .dropdown-menu .dropdown-item:hover {
121
- background-color: #f1f1f1;
122
- }
123
- .fixed-search-container {
124
- position: absolute;
125
- top: 90px; /* Move it slightly lower */
126
- left: 50%;
127
- transform: translateX(-50%);
128
- width: 80%;
129
- max-width: 600px;
130
- z-index: 999; /* Keep it above content */
131
- background-color: white;
132
- padding: 10px;
133
- border-radius: 25px;
134
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
135
- }
136
- /* Ensure the category filter dropdown does not overlap */
137
- form.text-center.mb-4 {
138
- margin-top: 120px !important; /* Increase spacing below search bar */
139
- }
140
- /* Ensure the container has enough margin so nothing is overlapped */
141
- .container {
142
- margin-top: 180px; /* Adjust spacing based on navbar and search bar */
143
- }
144
- .fixed-top-bar {
145
- position: fixed;
146
- top: 0;
147
- left: 0;
148
- width: 100%;
149
- z-index: 1000; /* Ensures it stays on top of other elements */
150
- background-color: #5bbfc1; /* Keep the background */
151
- color: white;
152
- padding: 15px;
153
- display: flex;
154
- justify-content: space-between;
155
- align-items: center;
156
- }
157
- /* Style for customization sections */
158
- .addon-section {
159
- background-color: #f8f9fa; /* Light gray background */
160
- border: 2px solid #5bbfc1; /* Border color */
161
- border-radius: 8px;
162
- padding: 12px;
163
- margin-bottom: 15px; /* Spacing between sections */
164
- }
165
- /* Customization section title */
166
- .addon-section h6 {
167
- margin-bottom: 10px;
168
- font-size: 1.1rem;
169
- font-weight: bold;
170
- color: #333;
171
- }
172
- /* Style for add-on checkboxes */
173
- .addon-section .form-check {
174
- margin-left: 10px;
175
- }
176
- /* Custom Radio Button Styles */
177
  .custom-radio {
178
  appearance: none;
179
  -webkit-appearance: none;
@@ -208,7 +207,7 @@
208
  .form-check-label {
209
  font-size: 16px;
210
  }
211
- </style>
212
  </head>
213
  <body>
214
 
 
6
  <title>Menu</title>
7
  <!-- Bootstrap CSS -->
8
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
9
+ <style>
10
+ body {
11
+ font-family: Arial, sans-serif;
12
+ background-color: #FF6B35; /* Updated background color */
13
+ margin: 0;
14
+ padding: 0;
15
+ }
16
+ .container {
17
+ max-width: 900px;
18
+ }
19
+ .menu-card {
20
+ max-width: 350px;
21
+ border-radius: 15px;
22
+ overflow: hidden;
23
+ background-color: #fff;
24
+ margin: auto;
25
+ }
26
+ .menu-image {
27
+ height: 200px;
28
+ width: 100%;
29
+ object-fit: cover;
30
+ border-radius: 15px 15px 0 0;
31
+ }
32
+ .card-title {
33
+ font-size: 1.2rem;
34
+ font-weight: bold;
35
+ }
36
+ .card-text {
37
+ font-size: 1rem;
38
+ color: #6c757d;
39
+ }
40
+ .btn-primary {
41
+ font-size: 0.9rem;
42
+ border-radius: 20px;
43
+ width: 100px;
44
+ background-color: #FF6B35; /* Updated button background color */
45
+ border-color: #28a745;
46
+ }
47
+ .btn-primary:hover {
48
+ background-color: #4a5d68;
49
+ border-color: #1e7e34;
50
+ }
51
+ .btn-primary:active,
52
+ .btn-primary:focus {
53
+ background-color: #4a5d68;
54
+ border-color: #1e7e34;
55
+ box-shadow: none;
56
+ }
57
+ .view-cart-container {
58
+ position: fixed;
59
+ bottom: 20px;
60
+ right: 20px;
61
+ z-index: 999;
62
+ }
63
+ .view-cart-button {
64
+ background-color: #FF6B35; /* Updated View Cart button background color */
65
+ color: #fff;
66
+ padding: 10px 20px;
67
+ border-radius: 50px;
68
+ font-size: 1rem;
69
+ font-weight: bold;
70
+ text-decoration: none;
71
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+ }
76
+ .view-cart-button:hover {
77
+ background-color: #e25a2a; /* Slightly darker shade for hover effect */
78
+ text-decoration: none;
79
+ }
80
+ .avatar-dropdown-container {
81
+ position: relative;
82
+ }
83
+ .avatar-icon {
84
+ width: 40px;
85
+ height: 40px;
86
+ border-radius: 50%;
87
+ background-color: #5bbfc1;
88
+ cursor: pointer;
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: center;
92
+ color: white;
93
+ font-size: 20px;
94
+ font-weight: bold;
95
+ }
96
+ .dropdown-menu {
97
+ position: absolute;
98
+ right: 0;
99
+ top: 100%;
100
+ background-color: #fff;
101
+ border-radius: 5px;
102
+ width: 200px; /* Adjust width as needed */
103
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
104
+ display: none;
105
+ }
106
+ .avatar-dropdown-container:hover .dropdown-menu {
107
+ display: block;
108
+ }
109
+ .dropdown-menu .dropdown-item {
110
+ padding: 10px 15px;
111
+ text-decoration: none;
112
+ color: #333;
113
+ border-bottom: 1px solid #ddd;
114
+ display: block; /* Make each item stack vertically */
115
+ }
116
+ .dropdown-menu .dropdown-item:last-child {
117
+ border-bottom: none; /* Remove the bottom border from the last item */
118
+ }
119
+ .dropdown-menu .dropdown-item:hover {
120
+ background-color: #f1f1f1;
121
+ }
122
+ .fixed-search-container {
123
+ position: absolute;
124
+ top: 90px; /* Move it slightly lower */
125
+ left: 50%;
126
+ transform: translateX(-50%);
127
+ width: 80%;
128
+ max-width: 600px;
129
+ z-index: 999; /* Keep it above content */
130
+ background-color: white;
131
+ padding: 10px;
132
+ border-radius: 25px;
133
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
134
+ }
135
+ /* Ensure the category filter dropdown does not overlap */
136
+ form.text-center.mb-4 {
137
+ margin-top: 120px !important; /* Increase spacing below search bar */
138
+ }
139
+ /* Ensure the container has enough margin so nothing is overlapped */
140
+ .container {
141
+ margin-top: 180px; /* Adjust spacing based on navbar and search bar */
142
+ }
143
+ .fixed-top-bar {
144
+ position: fixed;
145
+ top: 0;
146
+ left: 0;
147
+ width: 100%;
148
+ z-index: 1000; /* Ensures it stays on top of other elements */
149
+ background-color: #FF6B35; /* Updated header background */
150
+ color: white;
151
+ padding: 15px;
152
+ display: flex;
153
+ justify-content: space-between;
154
+ align-items: center;
155
+ }
156
+ /* Style for customization sections */
157
+ .addon-section {
158
+ background-color: #f8f9fa; /* Light gray background */
159
+ border: 2px solid #FF6B35; /* Border color */
160
+ border-radius: 8px;
161
+ padding: 12px;
162
+ margin-bottom: 15px; /* Spacing between sections */
163
+ }
164
+ /* Customization section title */
165
+ .addon-section h6 {
166
+ margin-bottom: 10px;
167
+ font-size: 1.1rem;
168
+ font-weight: bold;
169
+ color: #333;
170
+ }
171
+ /* Style for add-on checkboxes */
172
+ .addon-section .form-check {
173
+ margin-left: 10px;
174
+ }
175
+ /* Custom Radio Button Styles */
 
176
  .custom-radio {
177
  appearance: none;
178
  -webkit-appearance: none;
 
207
  .form-check-label {
208
  font-size: 16px;
209
  }
210
+ </style>
211
  </head>
212
  <body>
213