Commit 2b953f47 authored by Aria Givi's avatar Aria Givi
Browse files

Dropdown-menu Anzeige korrigiert, weitere Verschoenerungen

parent e8161366
......@@ -50,8 +50,6 @@
}
&>ul {
padding-top: 20%;
padding-left: 3%;
padding-right: 2%;
}
& a {
font-size: 16px;
......@@ -77,6 +75,12 @@
cursor: default;
margin: 5%
}
& .caret {
position: absolute;
left: 90%;
margin-top: 8px;
}
}
ul.metager-dropdown-menu {
......@@ -100,6 +104,7 @@ ul.metager-dropdown-menu {
overflow: hidden;
&>li>a {
display: block;
font-size: 12px;
padding: 3px 20px;
width: 100%;
clear: both;
......@@ -150,10 +155,9 @@ ul.metager-dropdown-menu {
#metager-static-nav-list>li {
width: 100%;
padding-top: 5%;
padding-bottom: 5%;
border-radius: 10px;
margin-bottom: 1%;
padding-top: 10%;
padding-bottom: 10%;
border-bottom: 1px solid LightGray;
}
@media (max-width: 979px) {
......
......@@ -12,7 +12,7 @@
<a class="metager-dropdown-toggle" role="button" aria-expanded="false" tabindex="201"><i class="fa fa-money" aria-hidden="true"></i>
&nbsp;{{ trans('staticPages.nav16') }}
<span class="caret"></span></a>
<<ul class="metager-dropdown-menu">
<ul class="metager-dropdown-menu">
<li>
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende/") }}" tabindex="202">{{ trans('staticPages.nav2') }}</a>
</li>
......@@ -32,7 +32,7 @@
<a class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationHilfe" tabindex="216"><i class="fa fa-info-circle" aria-hidden="true"></i>&nbsp;
{{ trans('staticPages.nav20') }}
<span class="caret"></span></a>
<!-- <ul class="metager-dropdown-menu">
<ul class="metager-dropdown-menu">
<li>
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/hilfe/") }}" tabindex="217">{{ trans('staticPages.nav20') }}</a>
</li>
......@@ -40,13 +40,12 @@
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/faq/") }}" tabindex="218">{{ trans('staticPages.nav21') }}</a>
</li>
</ul>
-->
</li>
<li @if (isset($navbarFocus) && $navbarFocus === 'kontakt') class="metager-dropdown active" @else class="metager-dropdown" @endif >
<a class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationKontakt" tabindex="219"><i class="fa fa-comments-o" aria-hidden="true"></i>&nbsp;
{{ trans('staticPages.nav18') }}
<span class="caret"></span></a>
<!-- <ul class="metager-dropdown-menu">
<ul class="metager-dropdown-menu">
<li>
<a href="http://forum.suma-ev.de/" tabindex="220">{{ trans('staticPages.nav4') }}</a>
</li>
......@@ -62,13 +61,13 @@
<li>
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/impressum/") }}" tabindex="224">{{ trans('staticPages.nav8') }}</a>
</li>
</ul> -->
</ul>
</li>
<li @if (isset($navbarFocus) && $navbarFocus === 'dienste') class="metager-dropdown active" @else class="metager-dropdown" @endif >
<a class="metager-dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" tabindex="225"><i class="fa fa-wrench" aria-hidden="true"></i>
&nbsp;{{ trans('staticPages.nav15') }}
<span class="caret"></span></a>
<!-- <ul class="metager-dropdown-menu">
<ul class="metager-dropdown-menu">
<li>
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/widget/") }}" tabindex="226">{{ trans('staticPages.nav10') }}</a>
</li>
......@@ -93,20 +92,19 @@
<li>
<a href="http://forum.suma-ev.de/viewtopic.php?f=3&amp;t=43" tabindex="234">{{ trans('staticPages.nav14') }}</a>
</li>
</ul> -->
</ul>
</li>
<li class="metager-dropdown">
<a class="metager-dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" id="navigationSprache" tabindex="235"><i class="fa fa-globe" aria-hidden="true"></i>&nbsp;
{{ trans('staticPages.nav19') }} ({{ LaravelLocalization::getSupportedLocales()[LaravelLocalization::getCurrentLocale()]['native'] }})
<span class="caret"></span></a>
<!-- <ul class="metager-dropdown-menu">
<ul class="metager-dropdown-menu">
@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
<li>
<a rel="alternate" hreflang="{{$localeCode}}" href="{{LaravelLocalization::getLocalizedURL($localeCode) }}" tabindex="{{235 + $loop->index}}">{{{ $properties['native'] }}}</a>
</li>
@endforeach
</ul>
-->
</li>
</ul>
</div>
Markdown is supported
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