mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
update searchline
This commit is contained in:
parent
3b6144dd42
commit
3f5471b0e9
@ -1,11 +1,19 @@
|
|||||||
<form name="gcse" role="search" action="http://www.google.ru/cse">
|
<form action="http://www.google.ru/cse" id="search-block-form" name="gcse">
|
||||||
<input type="hidden" name="cx" value="000833618047197874644:rilf4jpvgyo">
|
<input type="hidden" name="cx" value="000833618047197874644:rilf4jpvgyo">
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
<input type="hidden" name="ie" value="UTF-8">
|
||||||
{% if page.category == "ru" %}
|
{% if page.category == "ru" %}
|
||||||
<input type="text" name="q" placeholder="Поиск по сайту">
|
<div class="form-item">
|
||||||
<button type="submit" name="sa">Найти</button>
|
<input type="text" name="q" value="" maxlength="128" placeholder="Найти...">
|
||||||
|
</div>
|
||||||
|
<div class="form-actions">
|
||||||
|
<input type="submit" name="sa" value="Поиск" class="form-submit">
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="text" name="q" placeholder="Site search">
|
<div class="form-item">
|
||||||
<button type="submit" name="sa">Search</button>
|
<input type="text" name="q" value="" maxlength="128" placeholder="Search...">
|
||||||
|
</div>
|
||||||
|
<div class="form-actions">
|
||||||
|
<input type="submit" name="sa" value="Search" class="form-submit">
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
@ -1,3 +1,50 @@
|
|||||||
|
/* search */
|
||||||
|
#search-block-form{
|
||||||
|
width: 200px;
|
||||||
|
height: 20px;
|
||||||
|
border-radius: 15px;
|
||||||
|
border: #c9c9c9 solid 1px;
|
||||||
|
}
|
||||||
|
.focus-active{
|
||||||
|
border-color: #aaaaaa !important;
|
||||||
|
background: #ffffff !important;
|
||||||
|
}
|
||||||
|
#search-block-form input{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
display: block;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
background: none;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
#search-block-form .form-actions{
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
float: left;
|
||||||
|
background: url(/resources/searchIconDark.png) 5px 3px no-repeat;
|
||||||
|
}
|
||||||
|
#search-block-form .form-actions input:hover{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
#search-block-form .form-actions input{
|
||||||
|
overflow: hidden;
|
||||||
|
text-indent: -9999px;
|
||||||
|
}
|
||||||
|
#search-block-form .form-item{
|
||||||
|
width: 170px;
|
||||||
|
height: 20px;
|
||||||
|
padding: 0;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
#search-block-form .form-item input{
|
||||||
|
height: auto !important;
|
||||||
|
padding: 0;
|
||||||
|
color: #222222;
|
||||||
|
font: 13px/1.5 "Liberation Serif", Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
/* in-text images */
|
/* in-text images */
|
||||||
figure.img {
|
figure.img {
|
||||||
float: right;
|
float: right;
|
||||||
|
BIN
resources/searchIconDark.png
Normal file
BIN
resources/searchIconDark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user