Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
55e07128
Commit
55e07128
authored
Feb 18, 2019
by
Dominik Hebeler
Browse files
Fixed style of result options
parent
7cd974a2
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
resources/less/metager/pages/resultpage/result.less
View file @
55e07128
...
...
@@ -156,7 +156,7 @@
text-decoration: none;
}
}
@media (max-width:
499px
) {
@media (max-width:
@screen-mobile
) {
.result-open-newtab {
display: none;
}
...
...
@@ -183,9 +183,6 @@
font-size: @result-font-small;
flex-grow: 1;
text-align: right;
@media (max-width: 499px) {
display: none;
}
}
}
.result-footer * {
...
...
@@ -225,12 +222,15 @@
}
ul {
display: flex;
flex-wrap: wrap;
li {
font-size: @result-font-small;
margin: 8px;
margin: 8px
16px 8px 0
;
}
li:nth-child(1){
margin-left: 0;
@media(max-width: @screen-mobile){
li:nth-child(1){
display: none;
}
}
li>a {
color: @link-color;
...
...
resources/views/layouts/result.blade.php
View file @
55e07128
...
...
@@ -70,25 +70,25 @@
<ul
class=
"option-list list-unstyled small"
>
<li
class=
"js-only"
>
<a
href=
"javascript:resultSaver({{ $result->number }});"
class=
"saver"
>
<i
class=
"fa fa-floppy-o"
></i>
{!! trans('result.options.savetab') !!}
<nobr>
<i
class=
"fa fa-floppy-o"
></i>
{!! trans('result.options.savetab') !!}
</nobr>
</a>
</li>
@if(strlen($metager->getSite()) === 0)
<li>
<a
href=
"{{ $metager->generateSiteSearchLink($result->strippedHost) }}"
>
{!! trans('result.options.1') !!}
<nobr>
{!! trans('result.options.1') !!}
</nobr>
</a>
</li>
@endif
<li>
<a
href=
"{{ $metager->generateRemovedHostLink($result->strippedHost) }}"
>
{!! trans('result.options.2', ['host' => $result->strippedHost]) !!}
<nobr>
{!! trans('result.options.2', ['host' => $result->strippedHost]) !!}
</nobr>
</a>
</li>
@if( $result->strippedHost !== $result->strippedDomain )
<li>
<a
href=
"{{ $metager->generateRemovedDomainLink($result->strippedDomain) }}"
>
{!! trans('result.options.3', ['domain' => $result->strippedDomain]) !!}
<nobr>
{!! trans('result.options.3', ['domain' => $result->strippedDomain]) !!}
</nobr>
</a>
</li>
@endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment