mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 23:16:13 +02:00
Merge pull request #3960 from hanakin/ticket/14229
[ticket/14229]Responsive topic specific paging
This commit is contained in:
commit
cbf9408e66
@ -189,6 +189,13 @@
|
||||
<!-- IF topicrow.REPLIES --><span class="responsive-show left-box" style="display: none;">{L_REPLIES}{L_COLON} <strong>{topicrow.REPLIES}</strong></span><!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="responsive-hide">
|
||||
<!-- IF topicrow.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
||||
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --> » {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<!-- IF .topicrow.pagination -->
|
||||
<div class="pagination">
|
||||
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
|
||||
@ -205,13 +212,6 @@
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="responsive-hide">
|
||||
<!-- IF topicrow.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
||||
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --> » {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<!-- EVENT topiclist_row_append -->
|
||||
</div>
|
||||
</dt>
|
||||
|
@ -807,7 +807,6 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
||||
---------------------------------------- */
|
||||
.pagination {
|
||||
float: right;
|
||||
margin-top: 3px;
|
||||
text-align: right;
|
||||
width: auto;
|
||||
}
|
||||
@ -876,7 +875,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
||||
/* Pagination in viewforum for multipage topics */
|
||||
.row .pagination {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
.row .pagination > ul {
|
||||
|
@ -149,6 +149,10 @@ dl.row-item dt, dl.row-item dd {
|
||||
min-height: 35px;
|
||||
}
|
||||
|
||||
dl.row-item dt a {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
dl a.row-item-link { /* topic row icon links */
|
||||
display: block;
|
||||
width: 30px;
|
||||
|
@ -73,6 +73,7 @@ a.topictitle {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
a.topictitle:hover {
|
||||
|
@ -280,6 +280,11 @@
|
||||
margin: 5px 0 0;
|
||||
}
|
||||
|
||||
.row .pagination {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.row .pagination .ellipsis + li {
|
||||
display: none !important;
|
||||
}
|
||||
@ -557,3 +562,22 @@
|
||||
.postbody { width: 70%; }
|
||||
}
|
||||
|
||||
@media (min-width: 701px) and (max-width: 950px) {
|
||||
.row .pagination {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
ul.topiclist dt {
|
||||
margin-right: -410px;
|
||||
}
|
||||
|
||||
ul.topiclist dt .list-inner {
|
||||
margin-right: 410px;
|
||||
}
|
||||
|
||||
dd.posts, dd.topics, dd.views {
|
||||
width: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user