Skip to content

Commit

Permalink
Added search icon in every search bar (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atharvverma1234 authored Dec 11, 2024
1 parent 62e767a commit 2ff62d3
Show file tree
Hide file tree
Showing 23 changed files with 152 additions and 44 deletions.
8 changes: 6 additions & 2 deletions assets/html_files/accordions.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Accordions</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Accordion</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Accordion Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Accordion Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
10 changes: 7 additions & 3 deletions assets/html_files/backgrounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,17 @@
</header>

<section>

<div class="heading">Backgrounds</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Background</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Background Name" oninput="filtereachComponents()">
</div>
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Background Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
<img src="../images/no-results.png" alt="" height="100px" width="100px">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Breadcrumbs</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Breadcrumb</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Breadcrumb Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Breadcrumb Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Buttons</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Button</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Button Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Button Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
7 changes: 6 additions & 1 deletion assets/html_files/cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Card</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Card Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Card Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/carousels.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Carousels</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Carousel</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Carousel Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Carousel Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/cursors.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,16 @@
</header>

<section>

<div class="heading">Cursors</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Cursor</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Cursor Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Cursor Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/dropdowns.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Dropdowns</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Dropdown</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Dropdown Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Dropdown Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/footers.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Footers</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Footer</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Footer Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Footer Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Forms</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Form</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Form Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Form Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
10 changes: 7 additions & 3 deletions assets/html_files/heroes.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Heroes</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Heroes</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Hero Name" oninput="filtereachComponents()">
<h1 class="SearchDarkMode">Search Hero</h1><br>
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Hero Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/loaders.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Loaders</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Loader</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Loader Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Loader Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/navigation-bars.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Navigation Bars</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Navigation Bar</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Navigation Bar Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Navigation Bar Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
10 changes: 7 additions & 3 deletions assets/html_files/popups.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Popups</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Popups</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Popup Name" oninput="filtereachComponents()">
<h1 class="SearchDarkMode">Search Popup</h1><br>
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Popup Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/scrollbars.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Scrollbars</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Scrollbar</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Scrollbar Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Scrollbar Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/search-bars.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Search Bars</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Search Bar</h1><br>
<input type="text" id="componentSearch" placeholder="Enter SearchBar Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Search Bar Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Tables</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Table</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Table Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Table Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/text-animations.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Text Animations</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Text Animation</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Text Animation Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Text Animation Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
8 changes: 6 additions & 2 deletions assets/html_files/toggle-switches.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@
</header>

<section>

<div class="heading">Toggle Switches</div>
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Toggle Switch</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Toggle Switch Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Toggle Switch Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
7 changes: 6 additions & 1 deletion assets/html_files/tooltips.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Tooltip</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Tooltip Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Tooltip Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
7 changes: 6 additions & 1 deletion assets/html_files/transfer-lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@
<!-- Search Bar -->
<div id="searchBar">
<h1 class="SearchDarkMode">Search Transfer List</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Transfer List Name" oninput="filtereachComponents()">
<!-- Search input container -->
<div id="search-container">
<input type="text" id="componentSearch" placeholder="Enter Transfer List Name" oninput="filtereachComponents()">
<!-- Search icon positioned inside the input field -->
<i class="fa fa-search" style="top: 35%; color: gray;"></i>
</div>
</div>

<div class="no-results">
Expand Down
Loading

0 comments on commit 2ff62d3

Please sign in to comment.