Quickk-pagination style updates.

This commit is contained in:
flash 2019-07-03 01:54:35 +02:00
parent 1ec1400676
commit e98ed961d4
2 changed files with 11 additions and 15 deletions

View file

@ -242,16 +242,13 @@
font-size: .9em;
line-height: 1.2em;
&__title {
margin-right: 2px;
@media (max-width: @site-mobile-width) {
display: none;
}
@media (min-width: @site-mobile-width) {
position: absolute;
right: 0;
}
&__separator {
margin: 0 4px;
margin: 0 8px;
@media (max-width: @site-mobile-width) {
display: none;
@ -265,13 +262,16 @@
margin: 0 1px;
padding: 2px 4px;
border-radius: 2px;
min-width: 25px;
height: 25px;
line-height: 20px;
text-align: center;
background-color: fade(#000, 20%);
box-shadow: 0 1px 1px #111;
border-radius: 2px;
transition: background-color .2s, box-shadow .2s;
@media (max-width: @site-mobile-width) {
background-color: fade(#000, 20%);
box-shadow: 0 1px 1px #111;
line-height: 25px;
text-align: center;
min-width: 30px;
height: 30px;
font-size: 1.2em;

View file

@ -312,10 +312,6 @@
{% if topic.topic_pages|default(0) > 1 %}
<div class="forum__topic__pagination">
<div class="forum__topic__pagination__title">
Page:
</div>
{% for i in 1..topic.topic_pages|clamp(0, 3) %}
<a href="{{ url('forum-topic', {'topic': topic.topic_id, 'page': i}) }}" class="forum__topic__pagination__item">
{{ i }}