Turn searchbar link into submit button for whatever reason

This commit is contained in:
Björn Fromme
2020-09-02 10:21:45 +02:00
parent f50928b164
commit e93582d4ea
4 changed files with 33 additions and 6 deletions
@@ -14,9 +14,21 @@
}
.searchbar__link {
display: block;
padding-top: 8px;
background: transparent;
border: none;
margin-top: 8px;
padding: 0;
color: $typoWhite;
display: flex;
align-items: baseline;
&:after {
display: block;
padding-left: 4px;
font-size: 90%;
font-family: 'FontAwesome';
content: "\f054";
}
}
.form-control{
@@ -123,10 +123,25 @@
}
}
.btn{
padding:10px 20px;
display: block;
}
.searchbox__link {
background: transparent;
border: none;
margin-top: 8px;
padding: 0;
color: white;
display: flex;
align-items: baseline;
&:after {
display: block;
padding-left: 4px;
font-size: 90%;
font-family: 'FontAwesome';
content: "\f054";
}
}
}
@@ -66,7 +66,7 @@
<div class="form-group">
<label>&nbsp;</label>
<button type="submit" class="btn btn-warning">Suchen <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
<f:link.typolink class="searchbar__link" parameter="{settings.searchPageUid}"><small>Detailsuche <i class="fa fa-chevron-right"></i></small></f:link.typolink>
<button type="submit" class="searchbar__link">Detailsuche</button>
</div>
</div>
</div>
@@ -92,7 +92,7 @@
<div class="col-md-12">
<div class="form-group">
<button type="submit" class="btn btn-warning">Suchen <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
<f:link.typolink class="searchbar__link" parameter="{settings.searchPageUid}"><small>Detailsuche <i class="fa fa-chevron-right"></i></small></f:link.typolink>
<button type="submit" class="searchbox__link">Detailsuche</button>
</div>
</div>
</div>