[enh] search button icon added

This commit is contained in:
asciimoo 2013-11-01 18:29:16 +01:00
parent fb6b918777
commit bb9dcf6e57
3 changed files with 2 additions and 2 deletions

View File

@ -124,6 +124,6 @@ tr:hover td { background: #DDDDDD; }
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd; -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd; box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
} }
#search_submit { position: absolute; top: 3px; right: 3px; border: 0; padding: 6px; border-left: 4px solid #dddddd; } #search_submit { position: absolute; top: 6px; right: 3px; border: 0; padding: 6px; background: url('/static/img/search-icon.png'); background-size: 30px 30px; width: 30px; height: 30px; }
#results { margin-left: 10px; } #results { margin-left: 10px; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,7 +1,7 @@
<form method="post" action="/" id="search_form"> <form method="post" action="/" id="search_form">
<div id="search_wrapper"> <div id="search_wrapper">
<input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/> <input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
<input type="submit" value="search" id="search_submit" /> <input type="submit" value="" id="search_submit" />
</div> </div>
<p> <p>
{% for category in categories %} {% for category in categories %}