Update style for topic and search templates

This commit is contained in:
Visman 2021-11-24 17:42:07 +07:00
parent 7d03ebfa0b
commit bd841bd347
4 changed files with 13 additions and 13 deletions

View file

@ -4,7 +4,7 @@
@yield ('crumbs')
</div>
@if ($form = $p->form)
<section class="f-search-form f-main">
<section id="fork-search" class="f-main">
<h2>{!! __('Search') !!}</h2>
<div class="f-fdiv">
@include ('layouts/form')

View file

@ -39,7 +39,7 @@
</div>
@endif
</div>
<section class="f-main f-topic">
<section id="fork-topic" class="f-main f-topic">
<h2>{{ $p->model->name }}</h2>
@foreach ($p->posts as $id => $post)
@if (empty($post->id) && $iswev = ['e' => [['Message %s was not found in the database', $id]]])
@ -50,7 +50,7 @@
<input id="checkbox-{{ $post->id }}" class="f-post-checkbox" type="checkbox" name="ids[{{ $post->id }}]" value="{{ $post->id }}" form="id-form-mod">
@endif
<header class="f-post-header">
<h3>@if ($post->postNumber > 1) {!! __('Re') !!} @endif {{ $p->model->name }}</h3>
<h3 class="f-phead-h3">@if ($post->postNumber > 1) {!! __('Re') !!} @endif {{ $p->model->name }}</h3>
@if ($p->enableMod && $post->postNumber > 1)
<label class="f-post-posted" for="checkbox-{{ $post->id }}" title="{{ __('Select for moderation') }}"><time datetime="{{ \gmdate('c', $post->posted) }}">{{ dt($post->posted) }}</time></label>
@else

View file

@ -29,7 +29,7 @@
</div>
@endif
</div>
<section class="f-main f-topic">
<section id="fork-topic-ins" class="f-main f-topic">
<h2>{{ $p->model->name }}</h2>
@foreach ($p->posts as $id => $post)
@if (empty($post->id) && $iswev = ['e' => [['Message %s was not found in the database', $id]]])
@ -37,7 +37,7 @@
@else
<article id="p{{ $post->id }}" class="f-post f-post-search @if (1 == $post->user->gender) f-user-male @elseif (2 == $post->user->gender) f-user-female @endif @if ($post->user->online) f-user-online @endif">
<header class="f-post-header">
<h3>
<h3 class="f-phead-h3">
<span class="f-psh-forum"><a href="{{ $post->parent->parent->link }}" title="{{ __('Go to forum') }}">{{ $post->parent->parent->forum_name }}</a></span>
<span class="f-psh-topic"><a href="{{ $post->parent->link }}" title="{{ __('Go to topic') }}">@if ($post->id !== $post->parent->first_post_id) {!! __('Re') !!} @endif {{ $post->parent->name }}</a></span>
<span class="f-post-posted"><a href="{{ $post->link }}" title="{{ __('Go to post') }}" rel="bookmark"><time datetime="{{ \gmdate('c', $post->posted) }}">{{ dt($post->posted) }}</time></a></span>

View file

@ -1399,7 +1399,7 @@ body,
font-size: 0.875rem;
}
#fork .f-post-header > h3 {
#fork-topic .f-phead-h3 {
display: none;
}
@ -2013,17 +2013,17 @@ body,
/*********/
/* Поиск */
/*********/
#fork .f-search-form .f-yinfo:first-child {
#fork-search .f-yinfo:first-child {
text-align: end;
padding: 0 0.3125rem;
margin-bottom: -0.3125rem;
}
#fork .f-post-search-info {
#fork-topic-ins .f-post-search-info {
display: none;
}
#fork .f-post-search .f-post-header > h3 {
#fork-topic-ins .f-phead-h3 {
font-size: 0.875rem;
font-weight: normal;
display: flex;
@ -2031,8 +2031,8 @@ body,
word-break: break-all;
}
#fork .f-psh-topic::before,
#fork .f-post-search .f-post-posted::before {
#fork-topic-ins .f-psh-topic::before,
#fork-topic-ins .f-post-posted::before {
display: inline-block;
font-family: "FontAwesomeFree";
font-weight: 900;
@ -2057,12 +2057,12 @@ body,
width: 33.33%;
}
#fork .f-search-form .f-flblr,
#fork-search .f-flblr,
#fork-usrlstform .f-flblr {
padding: 0.5rem 0;
}
#fork .f-post-search-info {
#fork-topic-ins .f-post-search-info {
display: block;
font-size: 0.875rem;
padding-top: 0.625rem;