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

Dropdown-menu Anzeige korrigiert, weitere Verschoenerungen

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