DSatishchandra commited on
Commit
314ad7f
·
verified ·
1 Parent(s): 9c50dee

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +59 -12
templates/menu.html CHANGED
@@ -128,7 +128,16 @@
128
  .avatar-dropdown-container:hover .dropdown-menu {
129
  display: block;
130
  }
131
-
 
 
 
 
 
 
 
 
 
132
  .dropdown-menu .dropdown-item {
133
  padding: 10px 15px;
134
  text-decoration: none;
@@ -192,15 +201,6 @@ h1.text-center {
192
  align-items: center; /* Vertically align items */
193
  z-index: 1000; /* Make sure it's still above other content */
194
  }
195
- .avatar-dropdown-container {
196
- position: absolute;
197
- right: 20px; /* Adjust the value as needed to position it properly */
198
- top: 50%; /* Adjust top to place it within the header */
199
- transform: translateY(-50%); /* Correct the alignment to be perfectly centered */
200
- display: flex;
201
- align-items: right;
202
- justify-content: center;
203
- }
204
 
205
  .search-bar-container {
206
  padding: 10px;
@@ -243,16 +243,63 @@ h1.text-center {
243
  margin-bottom: 10px;
244
  font-size: 1.1rem;
245
  font-weight: bold;
246
- /*color: #6c757d; */
247
  }
248
 
249
  /* Style for add-on checkboxes */
250
  .addon-section .form-check {
251
  margin-left: 10px;
252
- color: #343a40;
253
 
254
  }
255
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  /* Category Filter with Custom Radio Buttons */
257
  form.text-center.mb-4 {
258
  display: flex;
 
128
  .avatar-dropdown-container:hover .dropdown-menu {
129
  display: block;
130
  }
131
+ .avatar-dropdown-container {
132
+ position: absolute;
133
+ right: 20px; /* Adjust the value as needed to position it properly */
134
+ top: 50%; /* Adjust top to place it within the header */
135
+ transform: translateY(-50%); /* Correct the alignment to be perfectly centered */
136
+ display: flex;
137
+ align-items: right;
138
+ justify-content: center;
139
+ }
140
+
141
  .dropdown-menu .dropdown-item {
142
  padding: 10px 15px;
143
  text-decoration: none;
 
201
  align-items: center; /* Vertically align items */
202
  z-index: 1000; /* Make sure it's still above other content */
203
  }
 
 
 
 
 
 
 
 
 
204
 
205
  .search-bar-container {
206
  padding: 10px;
 
243
  margin-bottom: 10px;
244
  font-size: 1.1rem;
245
  font-weight: bold;
246
+ color: #343a40; /* Darker title text */
247
  }
248
 
249
  /* Style for add-on checkboxes */
250
  .addon-section .form-check {
251
  margin-left: 10px;
252
+ color: #343a40; /* Darker text color */
253
 
254
  }
255
 
256
+ /* Customize the default checkbox */
257
+ .addon-section .form-check-input {
258
+ -webkit-appearance: none; /* Remove default checkbox styling in Webkit browsers (e.g. Chrome, Safari) */
259
+ -moz-appearance: none; /* Remove default checkbox styling in Firefox */
260
+ appearance: none; /* Remove default checkbox styling in all browsers */
261
+ width: 20px;
262
+ height: 20px;
263
+ border: 2px solid #343a40; /* Darker border color */
264
+ border-radius: 3px; /* Rounded corners */
265
+ background-color: #f0f0f0; /* Lighter gray background when unchecked */
266
+ position: relative;
267
+ }
268
+
269
+ /* Checked state for the custom checkbox */
270
+ .addon-section .form-check-input:checked {
271
+ background-color: #006400; /* Dark green background when checked */
272
+ border-color: #006400; /* Dark green border when checked */
273
+ }
274
+
275
+ /* Add the check mark when checkbox is checked */
276
+ .addon-section .form-check-input:checked::before {
277
+ content: '\2713'; /* Unicode check mark */
278
+ font-size: 14px;
279
+ position: absolute;
280
+ top: 3px;
281
+ left: 4px;
282
+ color: white; /* White color for the check mark */
283
+ }
284
+
285
+ /* Hover effect for the checkboxes */
286
+ .addon-section .form-check-input:hover {
287
+ background-color: #d0d0d0; /* Slightly darker background on hover */
288
+ }
289
+
290
+ /* Focus effect on custom checkbox */
291
+ .addon-section .form-check-input:focus {
292
+ outline: none;
293
+ box-shadow: 0 0 0 2px #006400; /* Green focus outline */
294
+ }
295
+
296
+ /* Custom checkbox label styles */
297
+ .addon-section .form-check-label {
298
+ font-size: 16px;
299
+ margin-left: 8px;
300
+ cursor: pointer;
301
+ }
302
+
303
  /* Category Filter with Custom Radio Buttons */
304
  form.text-center.mb-4 {
305
  display: flex;