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

Das label steht jetzt hinter dem Link in der selben Zeile

parent 8c2f778b
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -46,30 +46,35 @@ ...@@ -46,30 +46,35 @@
white-space: nowrap; white-space: nowrap;
} }
} }
span.partnershop-info { .result-subheadline {
background-color: #0d9c0d; width: 100%;
color: white; display: flex;
padding: 3px; .result-link {
border-radius: 4px; .overflow-ellipsis;
font-weight: bold; display: block;
font-size: 10px; font-size: @result-font-small;
margin-right: 10px; width: fit-content;
} max-width: 100%;
.result-link { &,
.overflow-ellipsis; &:active,
display: block; &:hover,
font-size: @result-font-small; &:focus,
width: fit-content; &:visited {
max-width: 100%; font-size: @result-font-url;
&, text-decoration: none;
&:active, }
&:hover, span.advertisement-mark {
&:focus, background-color: #0d9c0d;
&:visited { color: white;
font-size: @result-font-url; padding: 3px;
text-decoration: none; border-radius: 4px;
font-weight: bold;
font-size: 10px;
margin-right: 10px;
}
} }
span.advertisement-mark { span.partnershop-info {
margin-left: 20px;
background-color: #0d9c0d; background-color: #0d9c0d;
color: white; color: white;
padding: 3px; padding: 3px;
......
...@@ -10,10 +10,12 @@ ...@@ -10,10 +10,12 @@
</h2> </h2>
<a class="ad-label" href="{{ $ad->gefVonLink }}" target="_blank" rel="noopener">{!! $ad->gefVon !!}</a> <a class="ad-label" href="{{ $ad->gefVonLink }}" target="_blank" rel="noopener">{!! $ad->gefVon !!}</a>
</div> </div>
<a class="result-link" href="{{ $ad->link }}" target="{{ $metager->getNewtab() }}"> <div class="result-subheadline">
<span class="advertisement-mark">Anzeige</span> <a class="result-link" href="{{ $ad->link }}" target="{{ $metager->getNewtab() }}">
{{ $ad->anzeigeLink }} <span class="advertisement-mark">Anzeige</span>
</a> {{ $ad->anzeigeLink }}
</a>
</div>
</div> </div>
<div class="result-body"> <div class="result-body">
<div class="result-description"> <div class="result-description">
......
...@@ -14,12 +14,16 @@ ...@@ -14,12 +14,16 @@
</h2> </h2>
<a class="result-hoster" href="{{ $result->gefVonLink }}" target="{{ $metager->getNewtab() }}" rel="noopener">{{ $result->gefVon }}</a> <a class="result-hoster" href="{{ $result->gefVonLink }}" target="{{ $metager->getNewtab() }}" rel="noopener">{{ $result->gefVon }}</a>
</div> </div>
@if( isset($result->partnershop) && $result->partnershop === TRUE ) <div class="result-subheadline">
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/partnershops") }}" target="_blank" rel="noopener"><span class="partnershop-info">{!! trans('result.options.4') !!}</span></a> <a class="result-link" href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener">
@endif {{ $result->anzeigeLink }}
<a class="result-link" href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener"> </a>
{{ $result->anzeigeLink }} @if( isset($result->partnershop) && $result->partnershop === TRUE)
</a> <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/partnershops") }}" target="_blank" rel="noopener">
<span class="partnershop-info">{!! trans('result.options.4') !!}</span>
</a>
@endif
</div>
</div> </div>
<div class="result-body"> <div class="result-body">
@if( isset($result->logo) ) @if( isset($result->logo) )
......
...@@ -8,9 +8,11 @@ ...@@ -8,9 +8,11 @@
</h2> </h2>
<a class="result-hoster" href="javascript:void(0);" data-tooltip="{{ trans('fake-result.link') }}">MetaGer</a> <a class="result-hoster" href="javascript:void(0);" data-tooltip="{{ trans('fake-result.link') }}">MetaGer</a>
</div> </div>
<a class="result-link" href="javascript:void(0);" data-tooltip="{{ trans('fake-result.link') }}"> <div class="result-subheadline">
de.wikipedia.org <a class="result-link" href="javascript:void(0);" data-tooltip="{{ trans('fake-result.link') }}">
</a> de.wikipedia.org
</a>
</div>
</div> </div>
<div class="resultpage-body"> <div class="resultpage-body">
<div class="result-description" data-tooltip="{{ trans('fake-result.description') }}"> <div class="result-description" data-tooltip="{{ trans('fake-result.description') }}">
...@@ -60,4 +62,4 @@ ...@@ -60,4 +62,4 @@
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
\ No newline at end of file
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