Skip to content

Commit

Permalink
ajustes na archive de afluentes
Browse files Browse the repository at this point in the history
  • Loading branch information
dioliviers committed Apr 26, 2024
1 parent 4ca7c4c commit ec4bf8f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,21 @@ main.content.col-md-12 {
height: 46px;
border-radius: 8px;
border: 2px solid var(--PRIMARY-PURE, #848484);
padding-left: 8px;

}
i{
input::placeholder{
margin-left: 8px;
}
button{
position: absolute;
right: 7px;
top: 13%;
height: 32px;
width: 32px;
background-image: url($p_theme_assets + "/images/generic.png");
background-color: white;
border: none;

}
}
}
Expand Down
11 changes: 6 additions & 5 deletions themes/midia-ninja-theme/template-parts/search-afluente.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

<form action="" class="advanced-search">
<h2>Buscar por: </h2>
<form action="" method="GET" class="advanced-search">
<h2>Buscar por:</h2>
<div class="input-search">
<input type="text" name="pesquisar" value="<?= isset($_GET['pesquisar']) ? $_GET['pesquisar'] : '' ?>">
<i class="fas fa-search"></i>
<input type="text" placeholder="Afluentes..." name="pesquisar" value="<?= isset($_GET['pesquisar']) ? $_GET['pesquisar'] : '' ?>">
<button type="submit">
<img src="<?php echo get_template_directory_uri() . '/assets/images/generic.png'; ?>" alt="Search Icon">
</button>
</div>
</form>

0 comments on commit ec4bf8f

Please sign in to comment.