Skip to content

Commit

Permalink
use tabler for search icon
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 24, 2024
1 parent cce97f3 commit 7d1603c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/images/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/javascripts/additionals.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function formatFontawesomeText(icon) {
function observeLiveSearchField(fieldId, targetId, target_url) {
$('#'+fieldId).each(function() {
var $this = $(this);
$this.addClass('autocomplete');
$this.addClass('livesearch');
$this.attr('data-search-was', $this.val());
var check = function() {
var val = $this.val();
Expand Down
11 changes: 11 additions & 0 deletions assets/stylesheets/additionals.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,17 @@ div.macro-desc {
background-color: #759fcf;
}

input.livesearch {
background: #fff url('../images/search.svg') no-repeat 2px 50%;
padding-left: 20px !important;
stroke: var(--a-color-dark);
fill: none;
}

.icon.icon-search {
background-image: url('../images/search.svg');
}

/* Wiki icon add */
div.additionals-projects li.project a.icon {
margin-left: 3px;
Expand Down

0 comments on commit 7d1603c

Please sign in to comment.