Created
July 17, 2017 18:38
-
-
Save tjchambers/1f67de791cfaf967397e52583ad64cbc to your computer and use it in GitHub Desktop.
haml for search
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= javascript_include_tag 'searcher' | |
.text-right{ style: 'padding-bottom:14px;font-size:1.2em' } | |
.fa.fa-search.ico-place | |
%input{ style: '-webkit-appearance:searchfield;font-family: FontAwesome;', | |
type: 'search', | |
placeholder: 'Search ...', | |
onKeyUp: 'ds(this.value)', | |
onClick: 'ds(this.value)', | |
size: 27, | |
id: 'search_box' } | |
%span.fa.fa-close{ id: 'searchclear', onClick: '$("#search_box").val("");ds("");' } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment