Commit 5212563d authored by Kim Höfer's avatar Kim Höfer
Browse files

Fix mini search form

parent 76ac85d7
//
// Newly defined MetaGer form styles
.search-btn-mini{
border: solid 1px;
height: 34px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-color: #ccc;
vertical-align: middle;
border-left-style: none;
}
.search-input-mini{
border-top-right-radius: 0px!important;
border-bottom-right-radius: 0px!important;
}
// Forms (copied from Bootstrap)
// --------------------------------------------------
......
@import "./base.less";
@import "./cards.less";
@import "./specific.less";
@import "./forms.less";
......@@ -26,11 +26,8 @@
<div class="card-heavy">
<p>{{ trans('asso.1.1') }} <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), '/datenschutz') }}" target="_blank">{{ trans('asso.1.2') }}</a>{{ trans('asso.1.3') }}.</p>
<form method="post">
<div class="input-group">
<input type="text" class="form-control" placeholder="{{ trans('asso.search.placeholder') }}" @if(isset($keywords)) value="{{$keywords}}" @endif name="q" required autofocus/>
<div class="input-group-addon"><button type="submit"><i class="fa fa-search" aria-hidden="true"></i></button></div>
</div>
<form method="post" class="form-inline">
<input type="text" class="form-control search-input-mini" placeholder="{{ trans('asso.search.placeholder') }}" @if(isset($keywords)) value="{{$keywords}}" @endif name="q" required autofocus/><button type="submit" class="search-btn-mini"><i class="fa fa-search" aria-hidden="true"></i></button>
</form>
</div>
@if(isset($words))
......
......@@ -7,13 +7,7 @@
<div class="card-light">
<p>{{ trans('zitatsuche.subtitle') }}</p>
<form id="searchForm" class="form-inline" accept-charset="UTF-8">
<div class="form-group">
<label class="sr-only" for="q">{{ trans('zitatsuche.search-label') }}</label>
<div class="input-group">
<input type="text" class="form-control" id="q" name="q" placeholder="Suchworte" value="{{ $q }}">
<div class="input-group-addon"><button type="submit"><i class="fa fa-search" aria-hidden="true"></i></button></div>
</div>
</div>
<input type="text" class="form-control search-input-mini" id="q" name="q" placeholder="Suchworte" value="{{ $q }}"><button type="submit" class="search-btn-mini"><i class="fa fa-search" aria-hidden="true"></i></button>
</form>
@if($q !== "")
<hr />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment