Skip to content
Snippets Groups Projects
Commit fc9ef18f authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Redesigned Research Bar

parent ff5bc3b4
No related branches found
No related tags found
5 merge requests!1262WIP: Resolve "Spendenseite Texte anpassen",!1207WIP: Resolve "Rechtschreibfehler",!1198Meta ger redesign,!1131Meta ger redesign,!1060Resolve "Umfangreicher Designumbau Ergebnisseite"
...@@ -38,11 +38,6 @@ if (isset($_GET['r']) && isset($_GET['g']) && isset($_GET['b']) && isset($_GET[' ...@@ -38,11 +38,6 @@ if (isset($_GET['r']) && isset($_GET['g']) && isset($_GET['b']) && isset($_GET['
box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2); box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
} }
.navbar.navbar-resultpage {
border-bottom: 2px solid <?=$color?>;
box-shadow: none;
}
.lSPrev > i, .lSNext > i { .lSPrev > i, .lSNext > i {
color: <?=$color?>; color: <?=$color?>;
} }
\ No newline at end of file
...@@ -93,6 +93,8 @@ footer { ...@@ -93,6 +93,8 @@ footer {
.navbar-resultpage { .navbar-resultpage {
background-color: @navbar-resultpage-background-color; background-color: @navbar-resultpage-background-color;
position: absolute; position: absolute;
border-bottom: 2px solid #ff8000;
padding-bottom: 10px;
&>ul>li { &>ul>li {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
...@@ -295,21 +297,36 @@ a { ...@@ -295,21 +297,36 @@ a {
border: 1px dotted black; border: 1px dotted black;
} }
#logo-searchbar-container {
display: flex;
}
.mg-logo {
color: #ff8000;
font-family: Liberation Sans, sans-serif;
padding: 5px 30px 0px 0px;
}
.searchbar { .searchbar {
margin-top: 5px;
display: flex; display: flex;
border-left: #bbb solid 1px;
input { input {
border: none; border: none;
box-shadow: none; box-shadow: none !important;
border: white solid 1px;
&:focus { &:focus {
border: #999 solid 1px; border: #bbb dotted 1px;
} }
} }
button { button {
color: #999; color: #bbb;
font-size: 20px;
} }
} }
.result { .result {
margin-top: 20px;
margin-bottom: 40px; margin-bottom: 40px;
width: 100%; width: 100%;
&>.resultInformation { &>.resultInformation {
......
...@@ -12,23 +12,19 @@ ...@@ -12,23 +12,19 @@
<header id="research" class="row"> <header id="research" class="row">
<nav class="navbar navbar-default navbar-fixed-top navbar-resultpage"> <nav class="navbar navbar-default navbar-fixed-top navbar-resultpage">
<div class="container"> <div class="container">
<div class="row"> <div class="row" id="logo-searchbar-container">
<div class="col-xs-3 logo dense-col"> <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}"><h1 class="mg-logo">M<span class="hidden-xs">eta</span>G<span class="hidden-xs">er</span></h1></a>
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}"><h1>M<span class="hidden-xs">eta</span>G<span class="hidden-xs">er</span></h1></a> <form method="{{ Request::method() }}" accept-charset="UTF-8" class="form search-bar-input" id="submitForm">
</div> <div class="searchbar">
<div class="col-xs-9 dense-col"> <input autocomplete="off" class="form-control" form="submitForm" id="eingabeTop" name="eingabe" placeholder="Suchbegriffe erweitern/verändern, oder völlig neue Suche:" tabindex="1" type="text" value="{{ $eingabe }}" required />
<form method="{{ Request::method() }}" accept-charset="UTF-8" class="form search-bar-input" id="submitForm"> <button type='submit' form="submitForm" id='search'><i class="fa fa-search" aria-hidden="true"></i></button>
<div class="searchbar"> </div>
<input autocomplete="off" class="form-control" form="submitForm" id="eingabeTop" name="eingabe" placeholder="Suchbegriffe erweitern/verändern, oder völlig neue Suche:" tabindex="1" type="text" value="{{ $eingabe }}" required /> @foreach( $metager->request->all() as $key => $value)
<button type='submit' form="submitForm" id='search'><i class="fa fa-search" aria-hidden="true"></i></button> @if($key !== "eingabe" && $key !== "page" && $key !== "next")
</div> <input type='hidden' name='{{ $key }}' value='{{ $value }}' form='submitForm' />
@foreach( $metager->request->all() as $key => $value) @endif
@if($key !== "eingabe" && $key !== "page" && $key !== "next") @endforeach
<input type='hidden' name='{{ $key }}' value='{{ $value }}' form='submitForm' /> </form>
@endif
@endforeach
</form>
</div>
</div> </div>
</div> </div>
</nav> </nav>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment