Update templates/menu.html
Browse files- templates/menu.html +70 -17
    	
        templates/menu.html
    CHANGED
    
    | @@ -8,7 +8,7 @@ | |
| 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 | 
            -
             | 
| 12 | 
             
                font-family: Arial, sans-serif;
         | 
| 13 | 
             
                background-color: #fdf4e3; /* Updated background color */
         | 
| 14 | 
             
                margin: 0;
         | 
| @@ -53,11 +53,11 @@ | |
| 53 | 
             
            }
         | 
| 54 | 
             
            .btn-primary:hover {
         | 
| 55 | 
             
                background-color: #0FAA39;
         | 
| 56 | 
            -
                border-color: # | 
| 57 | 
             
            }
         | 
| 58 | 
             
            .btn-primary:active,
         | 
| 59 | 
             
            .btn-primary:focus {
         | 
| 60 | 
            -
                background-color: # | 
| 61 | 
             
                border-color: #ffffff;
         | 
| 62 | 
             
                box-shadow: none;
         | 
| 63 | 
             
            }
         | 
| @@ -113,6 +113,16 @@ | |
| 113 | 
             
            .avatar-dropdown-container:hover .dropdown-menu {
         | 
| 114 | 
             
                display: block;
         | 
| 115 | 
             
            }
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 116 | 
             
            .dropdown-menu .dropdown-item {
         | 
| 117 | 
             
                padding: 10px 15px;
         | 
| 118 | 
             
                text-decoration: none;
         | 
| @@ -169,15 +179,6 @@ h1.text-center { | |
| 169 | 
             
                align-items: center; /* Vertically align items */
         | 
| 170 | 
             
                z-index: 1000; /* Make sure it's still above other content */
         | 
| 171 | 
             
            }
         | 
| 172 | 
            -
            .avatar-dropdown-container {
         | 
| 173 | 
            -
                position: absolute;
         | 
| 174 | 
            -
                right: 20px; /* Adjust the value as needed to position it properly */
         | 
| 175 | 
            -
                top: 50%; /* Adjust top to place it within the header */
         | 
| 176 | 
            -
                transform: translateY(-50%); /* Correct the alignment to be perfectly centered */
         | 
| 177 | 
            -
                display: flex;
         | 
| 178 | 
            -
                align-items: right;
         | 
| 179 | 
            -
                justify-content: center;
         | 
| 180 | 
            -
            }
         | 
| 181 | 
             
            .search-bar-container {
         | 
| 182 | 
             
                padding: 10px;
         | 
| 183 | 
             
                position: absolute;
         | 
| @@ -215,13 +216,65 @@ h1.text-center { | |
| 215 | 
             
                margin-bottom: 10px;
         | 
| 216 | 
             
                font-size: 1.1rem;
         | 
| 217 | 
             
                font-weight: bold;
         | 
| 218 | 
            -
                 | 
| 219 | 
             
            }
         | 
| 220 | 
             
            /* Style for add-on checkboxes */
         | 
| 221 | 
             
            .addon-section .form-check {
         | 
| 222 | 
            -
             | 
| 223 | 
            -
                 | 
| 224 | 
            -
                
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 225 | 
             
            }
         | 
| 226 | 
             
            /* Category Filter with Custom Radio Buttons */
         | 
| 227 | 
             
            form.text-center.mb-4 {
         | 
| @@ -249,7 +302,7 @@ form.text-center.mb-4 { | |
| 249 | 
             
                vertical-align: middle; /* Align label vertically */
         | 
| 250 | 
             
            }
         | 
| 251 | 
             
            form-check-input addon-option{
         | 
| 252 | 
            -
              color: # | 
| 253 | 
             
            }     
         | 
| 254 | 
             
            .custom-radio {
         | 
| 255 | 
             
                appearance: none;
         | 
|  | |
| 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 */
         | 
| 14 | 
             
                margin: 0;
         | 
|  | |
| 53 | 
             
            }
         | 
| 54 | 
             
            .btn-primary:hover {
         | 
| 55 | 
             
                background-color: #0FAA39;
         | 
| 56 | 
            +
                border-color: #0FAA39;
         | 
| 57 | 
             
            }
         | 
| 58 | 
             
            .btn-primary:active,
         | 
| 59 | 
             
            .btn-primary:focus {
         | 
| 60 | 
            +
                background-color: #0FAA39;
         | 
| 61 | 
             
                border-color: #ffffff;
         | 
| 62 | 
             
                box-shadow: none;
         | 
| 63 | 
             
            }
         | 
|  | |
| 113 | 
             
            .avatar-dropdown-container:hover .dropdown-menu {
         | 
| 114 | 
             
                display: block;
         | 
| 115 | 
             
            }
         | 
| 116 | 
            +
            .avatar-dropdown-container {
         | 
| 117 | 
            +
                position: absolute;
         | 
| 118 | 
            +
                right: 20px; /* Adjust the value as needed to position it properly */
         | 
| 119 | 
            +
                top: 50%; /* Adjust top to place it within the header */
         | 
| 120 | 
            +
                transform: translateY(-50%); /* Correct the alignment to be perfectly centered */
         | 
| 121 | 
            +
                display: flex;
         | 
| 122 | 
            +
                align-items: right;
         | 
| 123 | 
            +
                justify-content: center;
         | 
| 124 | 
            +
            }
         | 
| 125 | 
            +
                 
         | 
| 126 | 
             
            .dropdown-menu .dropdown-item {
         | 
| 127 | 
             
                padding: 10px 15px;
         | 
| 128 | 
             
                text-decoration: none;
         | 
|  | |
| 179 | 
             
                align-items: center; /* Vertically align items */
         | 
| 180 | 
             
                z-index: 1000; /* Make sure it's still above other content */
         | 
| 181 | 
             
            }
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 182 | 
             
            .search-bar-container {
         | 
| 183 | 
             
                padding: 10px;
         | 
| 184 | 
             
                position: absolute;
         | 
|  | |
| 216 | 
             
                margin-bottom: 10px;
         | 
| 217 | 
             
                font-size: 1.1rem;
         | 
| 218 | 
             
                font-weight: bold;
         | 
| 219 | 
            +
                color: #343a40; /* Darker title text */
         | 
| 220 | 
             
            }
         | 
| 221 | 
             
            /* Style for add-on checkboxes */
         | 
| 222 | 
             
            .addon-section .form-check {
         | 
| 223 | 
            +
                 display: inline-flex; /* Display checkboxes horizontally */
         | 
| 224 | 
            +
                align-items: center;  /* Align checkboxes and labels */
         | 
| 225 | 
            +
                margin-left: 10px; /* Space between checkboxes */
         | 
| 226 | 
            +
                color: #343a40; /* Darker text color */
         | 
| 227 | 
            +
            }
         | 
| 228 | 
            +
            /* Customize the default checkbox */
         | 
| 229 | 
            +
            .addon-section .form-check-input {
         | 
| 230 | 
            +
                -webkit-appearance: none;  /* Remove default checkbox styling in Webkit browsers (e.g. Chrome, Safari) */
         | 
| 231 | 
            +
                -moz-appearance: none;     /* Remove default checkbox styling in Firefox */
         | 
| 232 | 
            +
                appearance: none;          /* Remove default checkbox styling in all browsers */
         | 
| 233 | 
            +
                width: 20px;
         | 
| 234 | 
            +
                height: 20px;
         | 
| 235 | 
            +
                border: 2px solid #343a40; /* Darker border color */
         | 
| 236 | 
            +
                border-radius: 5px;        /* Rounded corners */
         | 
| 237 | 
            +
                background-color: #f0f0f0; /* Lighter gray background when unchecked */
         | 
| 238 | 
            +
                position: relative;
         | 
| 239 | 
            +
                margin-right: 10px;        /* Add space between the checkbox and label */
         | 
| 240 | 
            +
            }
         | 
| 241 | 
            +
                 
         | 
| 242 | 
            +
            /* Checked state for the custom checkbox */
         | 
| 243 | 
            +
            .addon-section .form-check-input:checked {
         | 
| 244 | 
            +
                background-color: #006400;  /* Dark green background when checked */
         | 
| 245 | 
            +
                border-color: #006400;      /* Dark green border when checked */
         | 
| 246 | 
            +
            }
         | 
| 247 | 
            +
            /* Add the check mark when checkbox is checked */
         | 
| 248 | 
            +
            .addon-section .form-check-input:checked::before {
         | 
| 249 | 
            +
                content: '';  /* Unicode check mark */
         | 
| 250 | 
            +
                font-size: 14px;
         | 
| 251 | 
            +
                position: absolute;
         | 
| 252 | 
            +
                top: 3px;
         | 
| 253 | 
            +
                left: 4px;
         | 
| 254 | 
            +
                color: white;  /* White color for the check mark */
         | 
| 255 | 
            +
            }
         | 
| 256 | 
            +
            /* Hover effect for the checkboxes */
         | 
| 257 | 
            +
            .addon-section .form-check-input:hover {
         | 
| 258 | 
            +
                /* background-color: #006400;  /* Slightly darker background on hover */
         | 
| 259 | 
            +
            }
         | 
| 260 | 
            +
            /* Focus effect on custom checkbox */
         | 
| 261 | 
            +
            .addon-section .form-check-input:focus {
         | 
| 262 | 
            +
                outline: none;
         | 
| 263 | 
            +
                box-shadow: 0 0 0 2px #006400;  /* Green focus outline */
         | 
| 264 | 
            +
            }
         | 
| 265 | 
            +
            /* Custom checkbox label styles */
         | 
| 266 | 
            +
            .addon-section .form-check-label {
         | 
| 267 | 
            +
                font-size: 16px;
         | 
| 268 | 
            +
                margin-left: 5px;
         | 
| 269 | 
            +
                cursor: pointer;
         | 
| 270 | 
            +
                display: inline-block;  /* Ensure label aligns correctly with checkbox */
         | 
| 271 | 
            +
                vertical-align: middle; /* Align text vertically with the checkbox */
         | 
| 272 | 
            +
            }
         | 
| 273 | 
            +
            /* Fix alignment of text and checkbox */
         | 
| 274 | 
            +
            .addon-section .form-check input[type="checkbox"], 
         | 
| 275 | 
            +
            .addon-section .form-check label {
         | 
| 276 | 
            +
                display: inline-block;
         | 
| 277 | 
            +
                /* vertical-align: middle; /* Align text and checkboxes vertically */
         | 
| 278 | 
             
            }
         | 
| 279 | 
             
            /* Category Filter with Custom Radio Buttons */
         | 
| 280 | 
             
            form.text-center.mb-4 {
         | 
|  | |
| 302 | 
             
                vertical-align: middle; /* Align label vertically */
         | 
| 303 | 
             
            }
         | 
| 304 | 
             
            form-check-input addon-option{
         | 
| 305 | 
            +
              color: #333d47;
         | 
| 306 | 
             
            }     
         | 
| 307 | 
             
            .custom-radio {
         | 
| 308 | 
             
                appearance: none;
         |