Update templates/menu.html
Browse files- 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 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
             | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 47 | 
            -
             | 
| 48 | 
            -
             | 
| 49 | 
            -
             | 
| 50 | 
            -
             | 
| 51 | 
            -
             | 
| 52 | 
            -
             | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 56 | 
            -
             | 
| 57 | 
            -
             | 
| 58 | 
            -
             | 
| 59 | 
            -
             | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 63 | 
            -
             | 
| 64 | 
            -
             | 
| 65 | 
            -
             | 
| 66 | 
            -
             | 
| 67 | 
            -
             | 
| 68 | 
            -
             | 
| 69 | 
            -
             | 
| 70 | 
            -
             | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
             | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 76 | 
            -
             | 
| 77 | 
            -
                     | 
| 78 | 
            -
             | 
| 79 | 
            -
             | 
| 80 | 
            -
             | 
| 81 | 
            -
                     | 
| 82 | 
            -
             | 
| 83 | 
            -
             | 
| 84 | 
            -
                     | 
| 85 | 
            -
             | 
| 86 | 
            -
             | 
| 87 | 
            -
             | 
| 88 | 
            -
             | 
| 89 | 
            -
             | 
| 90 | 
            -
             | 
| 91 | 
            -
             | 
| 92 | 
            -
             | 
| 93 | 
            -
             | 
| 94 | 
            -
             | 
| 95 | 
            -
             | 
| 96 | 
            -
             | 
| 97 | 
            -
                     | 
| 98 | 
            -
             | 
| 99 | 
            -
             | 
| 100 | 
            -
             | 
| 101 | 
            -
             | 
| 102 | 
            -
             | 
| 103 | 
            -
             | 
| 104 | 
            -
             | 
| 105 | 
            -
             | 
| 106 | 
            -
             | 
| 107 | 
            -
                     | 
| 108 | 
            -
             | 
| 109 | 
            -
             | 
| 110 | 
            -
                     | 
| 111 | 
            -
             | 
| 112 | 
            -
             | 
| 113 | 
            -
             | 
| 114 | 
            -
             | 
| 115 | 
            -
             | 
| 116 | 
            -
             | 
| 117 | 
            -
                     | 
| 118 | 
            -
             | 
| 119 | 
            -
             | 
| 120 | 
            -
                     | 
| 121 | 
            -
             | 
| 122 | 
            -
             | 
| 123 | 
            -
                     | 
| 124 | 
            -
             | 
| 125 | 
            -
             | 
| 126 | 
            -
             | 
| 127 | 
            -
             | 
| 128 | 
            -
             | 
| 129 | 
            -
             | 
| 130 | 
            -
             | 
| 131 | 
            -
             | 
| 132 | 
            -
             | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 135 | 
            -
             | 
| 136 | 
            -
             | 
| 137 | 
            -
                     | 
| 138 | 
            -
             | 
| 139 | 
            -
             | 
| 140 | 
            -
             | 
| 141 | 
            -
                     | 
| 142 | 
            -
             | 
| 143 | 
            -
             | 
| 144 | 
            -
                     | 
| 145 | 
            -
             | 
| 146 | 
            -
             | 
| 147 | 
            -
             | 
| 148 | 
            -
             | 
| 149 | 
            -
             | 
| 150 | 
            -
             | 
| 151 | 
            -
             | 
| 152 | 
            -
             | 
| 153 | 
            -
             | 
| 154 | 
            -
             | 
| 155 | 
            -
             | 
| 156 | 
            -
             | 
| 157 | 
            -
             | 
| 158 | 
            -
                     | 
| 159 | 
            -
             | 
| 160 | 
            -
             | 
| 161 | 
            -
             | 
| 162 | 
            -
             | 
| 163 | 
            -
             | 
| 164 | 
            -
             | 
| 165 | 
            -
             | 
| 166 | 
            -
                     | 
| 167 | 
            -
             | 
| 168 | 
            -
             | 
| 169 | 
            -
             | 
| 170 | 
            -
             | 
| 171 | 
            -
             | 
| 172 | 
            -
             | 
| 173 | 
            -
                     | 
| 174 | 
            -
             | 
| 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 | 
            -
             | 
| 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 |  | 
