Skip to content

Commit

Permalink
Inclusão do botão submit ao formulário de busca por periódicos da hom…
Browse files Browse the repository at this point in the history
…e do org (#127)
  • Loading branch information
paratiuid authored and Cesar Augusto committed Jul 16, 2019
1 parent edd9655 commit a1cea49
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/views/partials/journals.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<li><a href="javascript:scieloLib.SetMatching('<?=lang('extact_title')?>', 'extact_title');"><?=lang('extact_title')?></a></li>
<li><a href="javascript:scieloLib.SetMatching('<?=lang('starts_with')?>', 'starts_with');"><?=lang('starts_with')?></a></li>
</ul>
<input type="submit" class="btn btn-primary" value="" alt="Buscar" title="Buscar">
</div><!-- /input-group-btn -->
</div><!-- /input-group -->

Expand Down
9 changes: 9 additions & 0 deletions static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,15 @@ section{
.btn-default{
border-color: #DAE3F4;
}

input[type="submit"] {
&.btn-primary{
background-image: svg-uri('<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><defs><style>.cls-1{fill:#fff;fill-rule:evenodd;}</style></defs><title>magnifier-white</title><path id="path-1" class="cls-1" d="M1.06,5.73A4.67,4.67,0,1,1,5.73,10.4,4.67,4.67,0,0,1,1.06,5.73m13.63,7L12,10a1,1,0,0,0-1.25-.18l-.51-.52A5.73,5.73,0,1,0,0,5.73a5.72,5.72,0,0,0,9.28,4.5l.52.51A1,1,0,0,0,10,12l2.7,2.7a1.07,1.07,0,0,0,1.5,0l.51-.51a1.07,1.07,0,0,0,0-1.5"/></svg>');
background-size: 15px 15px;
background-position:center center;
background-repeat:no-repeat;
}
}
}
}
}
Expand Down

0 comments on commit a1cea49

Please sign in to comment.