Update templates/menu.html
Browse files- templates/menu.html +34 -71
templates/menu.html
CHANGED
@@ -157,7 +157,7 @@
|
|
157 |
width: 40px;
|
158 |
height: 40px;
|
159 |
border-radius: 50%;
|
160 |
-
background
|
161 |
cursor: pointer;
|
162 |
display: flex;
|
163 |
align-items: center;
|
@@ -170,19 +170,19 @@
|
|
170 |
position: absolute;
|
171 |
right: 0;
|
172 |
top: 100%;
|
173 |
-
background
|
174 |
-
border
|
175 |
-
|
176 |
-
box-shadow: 0px
|
177 |
display: none;
|
178 |
-
border: 1px solid #ffd8b1;
|
179 |
}
|
180 |
.dropdown-menu .dropdown-item {
|
181 |
padding: 12px 16px;
|
182 |
text-decoration: none;
|
183 |
-
color: #
|
184 |
-
border-bottom: 1px solid
|
185 |
-
display:
|
|
|
186 |
font-size: 15px;
|
187 |
transition: background-color 0.2s ease;
|
188 |
}
|
@@ -190,8 +190,26 @@
|
|
190 |
border-bottom: none;
|
191 |
}
|
192 |
.dropdown-menu .dropdown-item:hover {
|
193 |
-
background-color:
|
194 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
}
|
196 |
.fixed-top-bar {
|
197 |
position: relative;
|
@@ -261,7 +279,7 @@
|
|
261 |
}
|
262 |
.addon-section h6 {
|
263 |
margin: 0;
|
264 |
-
padding:
|
265 |
font-size: 1.1rem;
|
266 |
font-weight: 600;
|
267 |
color: #fff;
|
@@ -369,7 +387,7 @@
|
|
369 |
animation: fadeInModal 0.3s ease-out;
|
370 |
}
|
371 |
#softDrinkModal .modal-content {
|
372 |
-
border-radius:
|
373 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
374 |
background-color: #fff;
|
375 |
overflow: hidden;
|
@@ -874,12 +892,12 @@
|
|
874 |
.bottom-action-bar .btn-order-history {
|
875 |
background: linear-gradient(45deg, #FF8C00, #32CD32);
|
876 |
border-color: transparent;
|
877 |
-
color: #000000;
|
878 |
}
|
879 |
.bottom-action-bar .btn-order-history:hover {
|
880 |
background: linear-gradient(45deg, #FF4500, #228B22);
|
881 |
border-color: transparent;
|
882 |
-
color: #000000;
|
883 |
}
|
884 |
.bottom-action-bar .btn-view-cart {
|
885 |
background-color: #0FAA39;
|
@@ -1194,61 +1212,6 @@
|
|
1194 |
padding: 8px 15px;
|
1195 |
font-size: 0.9rem;
|
1196 |
}
|
1197 |
-
/* Order History Button Styling */
|
1198 |
-
.bottom-action-bar .btn-order-history {
|
1199 |
-
background: linear-gradient(45deg, #FF8C00, #32CD32);
|
1200 |
-
border-color: transparent;
|
1201 |
-
color: #000000; /* Black text color */
|
1202 |
-
}
|
1203 |
-
.bottom-action-bar .btn-order-history:hover {
|
1204 |
-
background: linear-gradient(45deg, #FF4500, #228B22);
|
1205 |
-
border-color: transparent;
|
1206 |
-
color: #000000; /* Black text color on hover */
|
1207 |
-
}
|
1208 |
-
/* Avatar Dropdown Styling */
|
1209 |
-
.dropdown-menu {
|
1210 |
-
background: linear-gradient(45deg, #FF8C00, #000000, #32CD32); /* Orange, black, green gradient */
|
1211 |
-
border: 1px solid #FFD700; /* Gold border for premium look */
|
1212 |
-
border-radius: 8px;
|
1213 |
-
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
|
1214 |
-
}
|
1215 |
-
/* Dropdown Item Styling */
|
1216 |
-
.dropdown-menu .dropdown-item {
|
1217 |
-
padding: 12px 16px;
|
1218 |
-
text-decoration: none;
|
1219 |
-
color: #FFFFFF; /* White text for contrast */
|
1220 |
-
border-bottom: 1px solid rgba(255, 215, 0, 0.3); /* Subtle gold separator */
|
1221 |
-
display: flex;
|
1222 |
-
align-items: center;
|
1223 |
-
font-size: 15px;
|
1224 |
-
transition: background-color 0.2s ease;
|
1225 |
-
}
|
1226 |
-
.dropdown-menu .dropdown-item:last-child {
|
1227 |
-
border-bottom: none;
|
1228 |
-
}
|
1229 |
-
.dropdown-menu .dropdown-item:hover {
|
1230 |
-
background-color: rgba(255, 215, 0, 0.2); /* Gold highlight on hover */
|
1231 |
-
color: #FFFFFF;
|
1232 |
-
}
|
1233 |
-
/* Icon Styling for Dropdown Items */
|
1234 |
-
.dropdown-menu .dropdown-item::before {
|
1235 |
-
font-family: 'bootstrap-icons';
|
1236 |
-
margin-right: 10px;
|
1237 |
-
font-size: 16px;
|
1238 |
-
color: #FFD700; /* Gold icons */
|
1239 |
-
}
|
1240 |
-
.dropdown-menu .dropdown-item:nth-child(1)::before {
|
1241 |
-
content: '\F4DA'; /* User icon for View Profile */
|
1242 |
-
}
|
1243 |
-
.dropdown-menu .dropdown-item:nth-child(2)::before {
|
1244 |
-
content: '\F2EA'; /* Clock icon for Order History */
|
1245 |
-
}
|
1246 |
-
.dropdown-menu .dropdown-item:nth-child(3)::before {
|
1247 |
-
content: '\F4E6'; /* Summary icon for MY Summary */
|
1248 |
-
}
|
1249 |
-
.dropdown-menu .dropdown-item:nth-child(4)::before {
|
1250 |
-
content: '\F52B'; /* Logout icon */
|
1251 |
-
}
|
1252 |
}
|
1253 |
</style>
|
1254 |
</head>
|
@@ -1959,7 +1922,7 @@
|
|
1959 |
}
|
1960 |
});
|
1961 |
card.addEventListener('touchstart', () => {
|
1962 |
-
|
1963 |
video.classList.add('active');
|
1964 |
image.classList.add('hidden');
|
1965 |
video.play().catch(err => {
|
|
|
157 |
width: 40px;
|
158 |
height: 40px;
|
159 |
border-radius: 50%;
|
160 |
+
background: linear-gradient(45deg, #FF8C00, #000000, #0000FF); /* Orange, black, blue gradient */
|
161 |
cursor: pointer;
|
162 |
display: flex;
|
163 |
align-items: center;
|
|
|
170 |
position: absolute;
|
171 |
right: 0;
|
172 |
top: 100%;
|
173 |
+
background: linear-gradient(45deg, #FF8C00, #000000, #32CD32); /* Orange, black, green gradient */
|
174 |
+
border: 1px solid #FFD700; /* Gold border for premium look */
|
175 |
+
border-radius: 8px;
|
176 |
+
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
|
177 |
display: none;
|
|
|
178 |
}
|
179 |
.dropdown-menu .dropdown-item {
|
180 |
padding: 12px 16px;
|
181 |
text-decoration: none;
|
182 |
+
color: #FFFFFF; /* White text for contrast */
|
183 |
+
border-bottom: 1px solid rgba(255, 215, 0, 0.3); /* Subtle gold separator */
|
184 |
+
display: flex;
|
185 |
+
align-items: center;
|
186 |
font-size: 15px;
|
187 |
transition: background-color 0.2s ease;
|
188 |
}
|
|
|
190 |
border-bottom: none;
|
191 |
}
|
192 |
.dropdown-menu .dropdown-item:hover {
|
193 |
+
background-color: rgba(255, 215, 0, 0.2); /* Gold highlight on hover */
|
194 |
+
color: #FFFFFF;
|
195 |
+
}
|
196 |
+
.dropdown-menu .dropdown-item::before {
|
197 |
+
font-family: 'bootstrap-icons';
|
198 |
+
margin-right: 10px;
|
199 |
+
font-size: 16px;
|
200 |
+
color: #FFD700; /* Gold icons */
|
201 |
+
}
|
202 |
+
.dropdown-menu .dropdown-item:nth-child(1)::before {
|
203 |
+
content: '\F4DA'; /* User icon for View Profile */
|
204 |
+
}
|
205 |
+
.dropdown-menu .dropdown-item:nth-child(2)::before {
|
206 |
+
content: '\F2EA'; /* Clock icon for Order History */
|
207 |
+
}
|
208 |
+
.dropdown-menu .dropdown-item:nth-child(3)::before {
|
209 |
+
content: '\F4E6'; /* Summary icon for MY Summary */
|
210 |
+
}
|
211 |
+
.dropdown-menu .dropdown-item:nth-child(4)::before {
|
212 |
+
content: '\F52B'; /* Logout icon */
|
213 |
}
|
214 |
.fixed-top-bar {
|
215 |
position: relative;
|
|
|
279 |
}
|
280 |
.addon-section h6 {
|
281 |
margin: 0;
|
282 |
+
padding: 12px 15px;
|
283 |
font-size: 1.1rem;
|
284 |
font-weight: 600;
|
285 |
color: #fff;
|
|
|
387 |
animation: fadeInModal 0.3s ease-out;
|
388 |
}
|
389 |
#softDrinkModal .modal-content {
|
390 |
+
border-radius: 12px;
|
391 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
392 |
background-color: #fff;
|
393 |
overflow: hidden;
|
|
|
892 |
.bottom-action-bar .btn-order-history {
|
893 |
background: linear-gradient(45deg, #FF8C00, #32CD32);
|
894 |
border-color: transparent;
|
895 |
+
color: #000000;
|
896 |
}
|
897 |
.bottom-action-bar .btn-order-history:hover {
|
898 |
background: linear-gradient(45deg, #FF4500, #228B22);
|
899 |
border-color: transparent;
|
900 |
+
color: #000000;
|
901 |
}
|
902 |
.bottom-action-bar .btn-view-cart {
|
903 |
background-color: #0FAA39;
|
|
|
1212 |
padding: 8px 15px;
|
1213 |
font-size: 0.9rem;
|
1214 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1215 |
}
|
1216 |
</style>
|
1217 |
</head>
|
|
|
1922 |
}
|
1923 |
});
|
1924 |
card.addEventListener('touchstart', () => {
|
1925 |
+
isTouching = true;
|
1926 |
video.classList.add('active');
|
1927 |
image.classList.add('hidden');
|
1928 |
video.play().catch(err => {
|