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

Fixed: Teile der Startseite sehen wieder normal aus

parent f23c97f5
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -7,13 +7,51 @@ ...@@ -7,13 +7,51 @@
@aufruf-winter-aufruf-action-btn-hover-border-color: @base-aufruf-winter-border-color; @aufruf-winter-aufruf-action-btn-hover-border-color: @base-aufruf-winter-border-color;
@aufruf-winter-quicktip-border-color: @base-aufruf-winter-color!important; @aufruf-winter-quicktip-border-color: @base-aufruf-winter-color!important;
@new-feature-badge-background-color: @base-new-feature-badge-background-color; @new-feature-badge-background-color: @base-new-feature-badge-background-color;
body { body {
background-color: @body-background-color; background-color: @body-background-color;
background-attachment: fixed; display: flex;
flex-direction: column;
}
header {
width: 100%;
padding: 5px;
background-color: white;
border-bottom: 1px grey solid;
}
.content {
width: 100%;
background-color: white;
flex-grow: 1;
}
a {
&,
&:link,
&:visited,
&:active,
&:focus,
&:hover {
text-decoration: none;
}
&,
&:link {
color: inherit;
}
&:visited {
color: rgb(143, 0, 172);
}
&:active,
&:focus,
&:hover {
color: rgb(136, 0, 0);
}
} }
body#resultBody { .image-box {
background-image: inherit; display: flex;
} }
summary { summary {
......
footer { footer {
margin: 10px 0px 30px 0px; padding: 5px;
width: 100%; width: 100%;
background-color: white;
border-top: 1px solid grey;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
white-space: pre-line; white-space: pre-line;
align-items: flex-end; align-items: center;
div { div {
display: flex;
text-align: center; text-align: center;
margin-left: 10px; margin-left: 10px;
&:first-child { &:first-child {
...@@ -16,8 +19,14 @@ footer { ...@@ -16,8 +19,14 @@ footer {
max-width: 100%; max-width: 100%;
} }
&.startPageFooter { &.startPageFooter {
position: absolute; #info {
bottom: 0; display: flex;
flex-direction: column;
p {
margin: 0px;
line-height: 10px;
}
}
} }
&.footer-resultpage { &.footer-resultpage {
justify-content: center; justify-content: center;
......
@search-bar-width: 1000px; .modal {
display: none;
}
.mg-panel { .mg-panel {
@media(max-width: @search-bar-width) { @media(max-width: @search-bar-width) {
...@@ -77,6 +79,7 @@ ...@@ -77,6 +79,7 @@
flex-grow: 1; flex-grow: 1;
input { input {
border: none; border: none;
width: 100%;
height: 40px; height: 40px;
&:focus { &:focus {
outline-color: rgb(255, 128, 0); outline-color: rgb(255, 128, 0);
......
...@@ -42,13 +42,6 @@ body { ...@@ -42,13 +42,6 @@ body {
} }
} }
.wrapper {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
ul.startpage { ul.startpage {
list-style-type: none; list-style-type: none;
} }
...@@ -474,14 +467,6 @@ a.content.hidden-xs { ...@@ -474,14 +467,6 @@ a.content.hidden-xs {
color: @a-content-hidden-xs-color; color: @a-content-hidden-xs-color;
} }
a.navbar-brand {
line-height: 100%!important;
padding: 0;
position: absolute;
z-index: 5;
left: 10px;
}
.logo { .logo {
height: 30px!important; height: 30px!important;
&>h1 { &>h1 {
...@@ -556,13 +541,13 @@ main ul li:not(.lslide) { ...@@ -556,13 +541,13 @@ main ul li:not(.lslide) {
margin-top: 10px; margin-top: 10px;
} }
fieldset input[type=text] { /*fieldset input[type=text] {
width: 100%; width: 100%;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
border-width: 1px; border-width: 1px;
overflow: visible; overflow: visible;
} }*/
main fieldset { main fieldset {
border: 0; border: 0;
......
...@@ -18,9 +18,7 @@ sans-serif; ...@@ -18,9 +18,7 @@ sans-serif;
//** Link hover decoration. //** Link hover decoration.
@link-hover-decoration: underline; @link-hover-decoration: underline;
@font-size-base: 14px; @font-size-base: 14px;
@screen-md: 992px;
@container-desktop: (920px + @grid-gutter-width); @container-desktop: (920px + @grid-gutter-width);
@screen-lg: 1440px;
@container-large-desktop: (1370px + @grid-gutter-width); @container-large-desktop: (1370px + @grid-gutter-width);
//** Point at which the navbar becomes uncollapsed. //** Point at which the navbar becomes uncollapsed.
@grid-float-breakpoint: 865px; @grid-float-breakpoint: 865px;
...@@ -38,4 +36,8 @@ sans-serif; ...@@ -38,4 +36,8 @@ sans-serif;
@screen-xs-max: (@screen-sm-min - 1); @screen-xs-max: (@screen-sm-min - 1);
@screen-sm-max: (@screen-md-min - 1); @screen-sm-max: (@screen-md-min - 1);
@screen-md-max: (@screen-lg-min - 1); @screen-md-max: (@screen-lg-min - 1);
@grid-gutter-width: 30px; @grid-gutter-width: 30px;
\ No newline at end of file
/* Other sizes */
@search-bar-width: 1000px;
\ No newline at end of file
@extends('layouts.indexPage') @extends('layouts.indexPage')
@section('title', $title ) @section('title', $title)
@section('content') @section('content')
<div class="modal fade" id="plugin-modal" tab-index="-1" role="dialog"> <div class="modal fade" id="plugin-modal" tab-index="-1" role="dialog">
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
</div> </div>
</div> </div>
</div> </div>
<div id="create-focus-modal" class="modal fade" tab-index="-1" role="dialog"> <div class="modal fade" id="create-focus-modal" tab-index="-1" role="dialog">
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="content modal-content"> <div class="content modal-content">
<div class="modal-header"> <div class="modal-header">
...@@ -203,7 +203,10 @@ ...@@ -203,7 +203,10 @@
</div> </div>
</div> </div>
</div> </div>
<h1 id="mglogo"><a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer</a></h1> <div>
<h1 id="mglogo"><a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer</a></h1>
</div>
<div>
<fieldset> <fieldset>
<form id="searchForm" method={{ $request }} action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3") }}" accept-charset="UTF-8"> <form id="searchForm" method={{ $request }} action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3") }}" accept-charset="UTF-8">
<div class="search-bar"> <div class="search-bar">
...@@ -251,6 +254,8 @@ ...@@ -251,6 +254,8 @@
</div> </div>
</form> </form>
</fieldset> </fieldset>
</div>
<div>
<ul class="list-inline searchform-bonus hidden"> <ul class="list-inline searchform-bonus hidden">
<li id="plug" <li id="plug"
@unless ($browser === 'Firefox' || $browser === 'Mozilla' || $browser === 'Chrome' || $browser === 'Opera' || $browser === 'IE' || $browser === 'Edge' || $browser === 'Safari' || $browser === 'Vivaldi') @unless ($browser === 'Firefox' || $browser === 'Mozilla' || $browser === 'Chrome' || $browser === 'Opera' || $browser === 'IE' || $browser === 'Edge' || $browser === 'Safari' || $browser === 'Vivaldi')
...@@ -265,6 +270,7 @@ ...@@ -265,6 +270,7 @@
</li> </li>
@endif @endif
</ul> </ul>
</div>
<script src="{{ elixir('js/scriptStartPage.js') }}"></script> <script src="{{ elixir('js/scriptStartPage.js') }}"></script>
@endsection @endsection
......
@if (isset($success))
<div class="alert alert-success" role="alert">{{ $success }}</div>
@endif
@if (isset($info))
<div class="alert alert-info" role="alert">{{ $info }}</div>
@endif
@if (isset($warning))
<div class="alert alert-warning" role="alert">{{ $warning }}</div>
@endif
@if (isset($error))
<div class="alert alert-danger" role="alert">{{ $error }}</div>
@endif
\ No newline at end of file
@if ($type === 'startpage' || $type === 'subpage') @if ($type === 'startpage' || $type === 'subpage')
<footer class="{{ $id }} noprint">
<div> <div>
<a href="https://www.suma-ev.de/" > <a class="image-box" href="https://www.suma-ev.de/">
<img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo"></a> <img src="/img/suma_ev_logo-m1-greyscale.png" alt="SUMA-EV Logo">
</a>
</div> </div>
<div id="info"> <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> <p>
{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a> <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a>
</p>
<p>
{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a>
</p>
</div> </div>
<div> <div>
<a href="https://www.uni-hannover.de/" > <a class="image-box" href="https://www.uni-hannover.de/">
<img src="/img/luh_metager.png" alt="LUH Logo"></a> <img src="/img/luh_metager.png" alt="LUH Logo">
</a>
</div> </div>
</footer>
@elseif ($type === 'resultpage') @elseif ($type === 'resultpage')
<footer class="footer-resultpage">
<div> <div>
<a class="btn btn-default" href="/">{!! trans('resultPage.startseite') !!}</a> <a class="btn btn-default" href="/">{!! trans('resultPage.startseite') !!}</a>
</div> </div>
<div> <div>
<a class="btn btn-default" href="/impressum/">{!! trans('resultPage.impressum') !!}</a> <a class="btn btn-default" href="/impressum/">{!! trans('resultPage.impressum') !!}</a>
</div> </div>
</footer>
@endif @endif
\ No newline at end of file
@yield('homeIcon')
\ No newline at end of file
...@@ -33,30 +33,25 @@ ...@@ -33,30 +33,25 @@
</head> </head>
<body> <body>
<header> <header>
@yield('homeIcon') @include('layouts.header')
</header> </header>
@include('layouts.sidebar', ['id' => 'staticPagesSideBar']) @include('layouts.sidebar', ['id' => 'staticPagesSideBar'])
<div class="wrapper"> <div class="content">
<main class="mg-panel container"> @include('layouts.alerts')
@if (isset($success)) <main>
<div class="alert alert-success" role="alert">{{ $success }}</div>
@endif
@if (isset($info))
<div class="alert alert-info" role="alert">{{ $info }}</div>
@endif
@if (isset($warning))
<div class="alert alert-warning" role="alert">{{ $warning }}</div>
@endif
@if (isset($error))
<div class="alert alert-danger" role="alert">{{ $error }}</div>
@endif
@yield('content') @yield('content')
</main> </main>
@yield('optionalContent') @yield('optionalContent')
@if (isset($page) && $page === 'startpage') @include('layouts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
@else @include('layouts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
@endif
<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" /> <img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
</div> </div>
@if (isset($page) && $page === 'startpage')
<footer class="noprint startPageFooter">
@include('layouts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
</footer>
@else
<footer class="noprint">
@include('layouts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
</footer>
@endif
</body> </body>
</html> </html>
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