diff --git a/resources/assets/less/metager/footer.less b/resources/assets/less/metager/footer.less index 95c58d5b2125e876a4bc654b0e5a2d515f8317b0..63ebf94898201a0cd34b2813ce472d8ad2e55336 100644 --- a/resources/assets/less/metager/footer.less +++ b/resources/assets/less/metager/footer.less @@ -26,4 +26,9 @@ footer { color: @result-page-color-black; } } + @media (max-width: @screen-xs-max) { + img { + display: none; + } + } } \ No newline at end of file diff --git a/resources/assets/less/metager/searchbar.less b/resources/assets/less/metager/searchbar.less index 23c2b40ed11775c4513c86a954c92693c0339425..866265e9c0937c3d303d22b1af1039af8868758d 100644 --- a/resources/assets/less/metager/searchbar.less +++ b/resources/assets/less/metager/searchbar.less @@ -138,33 +138,44 @@ border-radius: 5px; } } + @media (max-width: @screen-xs-max) { + >* { + border: 1px solid #aaa; + border-radius: 5px; + min-height: 40px; + &:not(:first-child) { + border-left: 1px solid #aaa; + } + } + *:not(.search-submit) { + width: 100%; + } + } } .resultpage-searchbar { margin: 5px 0px 0px 5px; - :first-child { - border-left: none; - } + :first-child { + border-left: none; + } } .searchbar-tooltip { - display: none; - position:absolute; + display: none; + position: absolute; margin-top: 40px; - - & > .searchbar-tooltip-arrow { - width: 0; - height: 0; + &>.searchbar-tooltip-arrow { + width: 0; + height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #ff8000; margin-left: 5%; } - - & > .searchbar-tooltip-content { + &>.searchbar-tooltip-content { position: relative; margin-left: -45%; - & > p { + &>p { display: inline-block; background: #ff8000; border-radius: .25em; @@ -175,6 +186,6 @@ } } -div:hover > .searchbar-tooltip { +div:hover>.searchbar-tooltip { display: inline-block; } \ No newline at end of file diff --git a/resources/views/parts/footer.blade.php b/resources/views/parts/footer.blade.php index 6775079e500e36cf1e8ccb5a655aa703773f7c8a..ce85506444590a6d124310c9a2aa63fd98b0d2d9 100644 --- a/resources/views/parts/footer.blade.php +++ b/resources/views/parts/footer.blade.php @@ -5,11 +5,11 @@ <img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a> </div> <div id="info"> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a> - {{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a> + <span><a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a></span> + <span class="hidden-xs">{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a></span> </div> <div> - <a href="https://www.uni-hannover.de/" > + <a href="https://www.uni-hannover.de/"> <img src="/img/luh_metager.png" alt="LUH Logo"></a> </div> </footer>