Update style and templates

This commit is contained in:
Visman 2021-11-24 20:57:05 +07:00
parent bd841bd347
commit 7970b2c9d6
7 changed files with 23 additions and 23 deletions

View file

@ -25,7 +25,7 @@
<div class="f-nav-links">
@yield ('crumbs')
</div>
<section class="f-subforums">
<section id="fork-subforums">
<ol class="f-ftlist">
<li id="id-subforums{{ $p->model->id }}" class="f-category">
<h2 class="f-ftch2">{{ __(['Sub forum', 2]) }}</h2>
@ -55,7 +55,7 @@
@endif
</div>
@if ($p->topics)
<section class="f-main f-forum">
<section id="fork-forum" class="f-main">
<h2>{{ $p->model->forum_name or $p->model->name }}</h2>
<div class="f-ftlist">
<ol class="f-table">
@ -79,7 +79,7 @@
<div class="f-ficon"></div>
@endif
<div class="f-finfo">
<h3><span class="f-tmoved" title="{{ __('Moved') }}"><span class="f-movedtxt">{!! __('Moved') !!}</span></span> <a class="f-ftname" href="{{ $topic->link }}">{{ $topic->name }}</a></h3>
<h3 class="f-finfo-h3"><span class="f-tmoved" title="{{ __('Moved') }}"><span class="f-movedtxt">{!! __('Moved') !!}</span></span> <a class="f-ftname" href="{{ $topic->link }}">{{ $topic->name }}</a></h3>
</div>
</div>
</li>
@ -93,7 +93,7 @@
<div class="f-ficon"></div>
@endif
<div class="f-finfo">
<h3>
<h3 class="f-finfo-h3">
@if ($topic->dot)
<span class="f-tdot"><span class="f-dottxt">·</span></span>
@endif

View file

@ -4,7 +4,7 @@
<div class="f-cell f-cmain">
<div class="f-ficon"></div>
<div class="f-finfo">
<h3>
<h3 class="f-finfo-h3">
<span class="f-frsname">
<span class="f-fredirtext">{!! __('Link to') !!}</span>
<a class="f-ftname" href="{{ $cur->redirect_url }}">{{ $cur->forum_name }}</a>
@ -21,7 +21,7 @@
<div class="f-cell f-cmain">
<div class="f-ficon"></div>
<div class="f-finfo">
<h3>
<h3 class="f-finfo-h3">
<span class="f-frsname">
<a class="f-ftname" href="{{ $cur->link }}">{{ $cur->forum_name }}</a>
</span>

View file

@ -34,7 +34,7 @@
</div>
</div>
</div>
<section class="f-pm f-topic">
<section id="fork-topic" class="f-pm f-pmtopic">
<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]]])
@ -45,7 +45,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>
<span class="f-post-posted"><time datetime="{{ \gmdate('c', $post->posted) }}">{{ dt($post->posted) }}</time></span>
@if ($post->edited)
<span class="f-post-edited" title="{{ __(['Last edit', $post->editor, dt($post->edited)]) }}">{!! __('Edited') !!}</span>

View file

@ -27,7 +27,7 @@
</div>
</div>
@endif
<section id="fork-pm-list-view" class="f-pm f-forum @empty ($p->pmList) f-pm-empty @endempty">
<section id="fork-forum" class="f-pm f-pmview @empty ($p->pmList) f-pm-empty @endempty">
<h2>{!! __($p->title) !!}</h2>
@if (empty($p->pmList) && $iswev = ['i' => ['Info zero']])
@include ('layouts/iswev')
@ -50,7 +50,7 @@
<input id="checkbox-{{ $topic->id }}" class="f-fch" type="checkbox" name="ids[{{ $topic->id }}]" value="{{ $topic->id }}" form="id-form-pmview">
<label class="f-ficon" for="checkbox-{{ $topic->id }}" title="{{ __('Select') }}"></label>
<div class="f-finfo">
<h3>
<h3 class="f-finfo-h3">
@if ($topic->closed)
<span class="f-tclosed" title="{{ __('Closed') }}"><span class="f-closedtxt">{!! __('Closed') !!}</span></span>
@endif

View file

@ -39,7 +39,7 @@
</div>
@endif
</div>
<section id="fork-topic" class="f-main f-topic">
<section id="fork-topic" class="f-main">
<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]]])

View file

@ -29,7 +29,7 @@
</div>
@endif
</div>
<section id="fork-topic-ins" class="f-main f-topic">
<section id="fork-topic-ins" class="f-main">
<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]]])

View file

@ -213,16 +213,16 @@ body,
}
#fork #id-fhth1,
#fork .f-category h2,
#fork .f-category h3 {
#fork .f-category .f-ftch2,
#fork .f-category .f-finfo-h3 {
font-family: "Segoe Print", Arial, Helvetica, sans-serif;
}
#fork .f-category h2 {
#fork .f-category .f-ftch2 {
font-size: 1.5rem
}
#fork .f-category h3 {
#fork .f-category .f-finfo-h3 {
display: flex;
flex-wrap: wrap;
gap: 0.3125rem;
@ -1072,7 +1072,7 @@ body,
border-radius: 0.1875rem;
}
#fork .f-lrdiv h2 {
#fork .f-lrdiv > h2 {
text-align: center;
}
@ -1159,11 +1159,11 @@ body,
margin-inline-start: -0.875rem;
}
#fork .f-subforums .f-fsub::before {
#fork-subforums .f-fsub::before {
margin-inline-start: 0.875rem;
}
#fork .f-subforums .f-frsname::before {
#fork-subforums .f-frsname::before {
display: inline-block;
content: "└";
}
@ -1199,7 +1199,7 @@ body,
content: "\f1d8"; /* "\f0c6"; */
}
#fork .f-forum .f-ficon::before {
#fork-forum .f-ficon::before {
font-size: 1.2rem;
}
@ -1283,15 +1283,15 @@ body,
/********************/
/* Страница раздела */
/********************/
#fork .f-subforums {
#fork #fork-subforums {
margin: 1rem 0;
}
#fork .f-subforums .f-ftch2 {
#fork-subforums .f-ftch2 {
display: none;
}
#fork .f-forum h3 {
#fork-forum .f-finfo-h3 {
display: flex;
flex-wrap: wrap;
gap: 0.3125rem;