Przeglądaj źródła

[enh] search button icon added

asciimoo 11 lat temu
rodzic
commit
bb9dcf6e57

+ 1
- 1
searx/static/css/style.css Wyświetl plik

124
   -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
124
   -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
125
   box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
125
   box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
126
 }
126
 }
127
-#search_submit { position: absolute; top: 3px; right: 3px; border: 0; padding: 6px; border-left: 4px solid #dddddd; }
127
+#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; }
128
 
128
 
129
 #results { margin-left: 10px; }
129
 #results { margin-left: 10px; }

BIN
searx/static/img/search-icon.png Wyświetl plik


+ 1
- 1
searx/templates/search.html Wyświetl plik

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