Update style

Add icons from Font Awesome.
This commit is contained in:
Visman 2020-08-15 22:14:46 +07:00
parent ea689ced3f
commit 2c4f3b71d8
5 changed files with 80 additions and 19 deletions

View file

@ -19,13 +19,13 @@ msgid "Views"
msgstr "Views"
msgid "Moved"
msgstr "Moved:"
msgstr "Moved"
msgid "Sticky"
msgstr "⇑ "
msgstr "Sticky"
msgid "Closed"
msgstr "Closed:"
msgstr "Closed"
msgid "Poll"
msgstr "Poll"

View file

@ -22,10 +22,10 @@ msgid "Moved"
msgstr "Перенесено"
msgid "Sticky"
msgstr "⇑ "
msgstr "Важно"
msgid "Closed"
msgstr "Закрыто:"
msgstr "Закрыто"
msgid "Poll"
msgstr "Опрос"

View file

@ -91,7 +91,7 @@
<div class="f-ficon"></div>
@endif
<div class="f-finfo">
<h3><span class="f-fredirtext">{!! __('Moved') !!}</span> <a class="f-ftname" href="{!! $topic->link !!}">{{ $topic->censorSubject }}</a></h3>
<h3><span class="f-tmoved" title="{!! __('Moved') !!}"><span class="f-movedtxt">{!! __('Moved') !!}</span></span> <a class="f-ftname" href="{!! $topic->link !!}">{{ $topic->censorSubject }}</a></h3>
</div>
</div>
</li>
@ -107,16 +107,16 @@
<div class="f-finfo">
<h3>
@if ($topic->dot)
<span class="f-tdot">·</span>
<span class="f-tdot"><span class="f-dottxt">·</span></span>
@endif
@if ($topic->sticky)
<span class="f-stickytxt">{!! __('Sticky') !!}</span>
<span class="f-tsticky" title="{!! __('Sticky') !!}"><span class="f-stickytxt">{!! __('Sticky') !!}</span></span>
@endif
@if ($topic->closed)
<span class="f-closedtxt">{!! __('Closed') !!}</span>
<span class="f-tclosed" title="{!! __('Closed') !!}"><span class="f-closedtxt">{!! __('Closed') !!}</span></span>
@endif
@if ($topic->poll_type)
<span class="f-polltxt">{!! __('Poll') !!}</span>
<span class="f-tpoll" title="{!! __('Poll') !!}"><span class="f-polltxt">{!! __('Poll') !!}</span></span>
@endif
<a class="f-ftname" href="{!! $topic->link !!}">{{ $topic->censorSubject }}</a>
@if ($topic->pagination)
@ -131,10 +131,10 @@
</span>
@endif
@if (false !== $topic->hasNew)
<span class="f-newtxt"><a href="{!! $topic->linkNew !!}" title="{!! __('New posts info') !!}">{!! __('New posts') !!}</a></span>
<span class="f-tnew"><a href="{!! $topic->linkNew !!}" title="{!! __('New posts info') !!}"><span class="f-newtxt">{!! __('New posts') !!}</span></a></span>
@endif
@if (false !== $topic->hasUnread)
<span class="f-unreadtxt"><a href="{!! $topic->linkUnread !!}" title="{!! __('Unread posts info') !!}">{!! __('Unread posts') !!}</a></span>
<span class="f-tunread"><a href="{!! $topic->linkUnread !!}" title="{!! __('Unread posts info') !!}"><span class="f-unreadtxt">{!! __('Unread posts') !!}</span></a></span>
@endif
</h3>
<p><!-- inline -->

View file

@ -19,7 +19,7 @@
<h3>
<a class="f-ftname" href="{!! $cur->link !!}">{{ $cur->forum_name }}</a>
@if ($cur->tree->newMessages)
<span class="f-newtxt"><a href="{!! $cur->linkNew !!}">{!! __('New posts') !!}</a></span>
<span class="f-fnew"><a href="{!! $cur->linkNew !!}" title="{!! __('New posts') !!}"><span class="f-newtxt">{!! __('New posts') !!}</span></a></span>
@endif
</h3>
@if ($cur->subforums)

View file

@ -457,6 +457,10 @@ body,
content: "\f0c0\20";
}
#fork #id-nav-rules .f-menu-a:before {
content: "\f05a\20";
}
#fork #id-nav-search > .f-menu-a:before {
content: "\f002\20";
}
@ -1340,24 +1344,46 @@ body,
font-size: 1.2rem;
}
#fork .f-newtxt,
#fork .f-unreadtxt {
#fork .f-tnew,
#fork .f-tunread {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.875rem;
font-weight: normal;
white-space: nowrap;
}
#fork .f-newtxt:before,
#fork .f-unreadtxt:before {
#fork .f-tnew:before,
#fork .f-tunread:before {
content: "[ ";
}
#fork .f-newtxt:after,
#fork .f-unreadtxt:after {
#fork .f-tnew:after,
#fork .f-tunread:after {
content: " ]";
}
#fork .f-newtxt,
#fork .f-unreadtxt {
display: none;
}
#fork .f-fnew > a:before,
#fork .f-tnew > a:before {
font-family: "FontAwesomeFree";
font-weight: 900;
font-size: 0.875rem;
content: "\f086";
padding: 0 0.25rem;
}
#fork .f-tunread > a:before {
font-family: "FontAwesomeFree";
font-weight: 900;
font-size: 0.875rem;
content: "\f070";
padding: 0 0.25rem;
}
/*
.icon-document:before {
content: "\e900";
@ -1488,6 +1514,41 @@ body,
opacity: 1;
}
#fork .f-tmoved,
#fork .f-stickytxt,
#fork .f-closedtxt,
#fork .f-polltxt {
display: none;
}
#fork .f-tsticky:before {
font-family: "FontAwesomeFree";
font-weight: 900;
font-size: 0.875rem;
content: "\f30c";
color: #D8000C;
}
#fork .f-fclosed .f-ficon:before {
color: #C8CCD1;
}
#fork .f-tclosed:before {
font-family: "FontAwesomeFree";
font-weight: 900;
font-size: 0.875rem;
content: "\f023";
color: #C8CCD1;
}
#fork .f-tpoll:before {
font-family: "FontAwesomeFree";
font-weight: 900;
font-size: 0.875rem;
content: "\f681";
}
/*****************/
/* Страница темы */
/*****************/