{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% if CustomerKbn == "seller" %}
{% else %}
{% form_theme form 'Form/form_div_layout.twig' %}
<div class="ec-headerSearch1">
<form method="get" class="searchform" action="{{ path('product_list') }}">
<!--
<div class="ec-headerSearch__category">
<div class="ec-select ec-select_search">
{{ form_widget(form.category_id, {'id': null, 'attr': {'class': 'category_id'}}) }}
</div>
</div>
-->
<div class="ec-headerSearch__keyword">
<div class="ec-input" style="display: flex; align-items: center; height: 40px;">
{{ form_widget(form.name, {'id': null, 'attr': {'class': 'search-name', 'placeholder' : '商品名・商品ID・キーワード' }} ) }}
<button class="ec-headerSearch__keywordBtn" type="submit" style="margin: 0; padding: 0;">
<div class="ec-icon">
<img src="{{ asset('assets/icon/search-dark.svg') }}" alt="" style="height:35px;">
</div>
</button>
</div>
</div>
</form>
</div>
<style>
.ec-headerSearch__keywordBtn {
line-height: 1; /* または適切な値を設定 */
position: relative; /* 相対位置指定を有効にする */
top: -8px; /* 上方向に5px移動 */
}
.ec-icon {
line-height: 1; /* または適切な値を設定 */
position: relative; /* 相対位置指定を有効にする */
top: 1px; /* 上方向に5px移動 */
}
</style>
{% endif %}