DSatishchandra commited on
Commit
c572932
·
verified ·
1 Parent(s): 6213be8

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +12 -9
templates/menu.html CHANGED
@@ -172,29 +172,32 @@
172
 
173
  .search-bar-container {
174
  position: absolute;
175
- left: 20px; /* Move the search bar to the left */
176
- top: 50%; /* Vertically center it */
177
- transform: translateY(-50%); /* Adjust vertical position */
178
  display: flex;
179
- justify-content: flex-start; /* Align items to the left */
180
- align-items: center; /* Vertically center */
181
  width: 300px; /* Adjust width as needed */
182
- position: relative; /* Make sure container can position the icon inside */
183
  }
 
184
  .search-bar-container input {
185
  width: 100%;
186
- padding: 8px;
187
  font-size: 16px;
188
- border-radius: 10px;
189
  border: none;
190
  }
 
191
  .search-icon {
192
  position: absolute;
193
- left: 10px; /* Position the icon inside the input box */
194
  font-size: 20px;
195
  color: #888; /* Icon color */
196
  pointer-events: none; /* Disable clicking on the icon */
197
  }
 
198
  /* Style for customization sections */
199
  .addon-section {
200
  background-color: #f8f9fa; /* Light gray background */
 
172
 
173
  .search-bar-container {
174
  position: absolute;
175
+ left: 20px;
176
+ top: 50%;
177
+ transform: translateY(-50%);
178
  display: flex;
179
+ justify-content: flex-start;
180
+ align-items: center;
181
  width: 300px; /* Adjust width as needed */
182
+ position: relative; /* Make sure container can position the icon inside */
183
  }
184
+
185
  .search-bar-container input {
186
  width: 100%;
187
+ padding: 8px 30px 8px 10px; /* Add padding to the left for the icon */
188
  font-size: 16px;
189
+ border-radius: 20px;
190
  border: none;
191
  }
192
+
193
  .search-icon {
194
  position: absolute;
195
+ right: 10px; /* Position the icon on the right side inside the input */
196
  font-size: 20px;
197
  color: #888; /* Icon color */
198
  pointer-events: none; /* Disable clicking on the icon */
199
  }
200
+
201
  /* Style for customization sections */
202
  .addon-section {
203
  background-color: #f8f9fa; /* Light gray background */