mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
topic cleanup and begin cerulean port
This commit is contained in:
@@ -624,9 +624,9 @@
|
||||
});
|
||||
}
|
||||
|
||||
jQuery('.post-author-info').css('bottom', '0px');
|
||||
postAuthorImage = postAuthorImage || document.getElementById('post-author-image');
|
||||
postAuthorInfo = postAuthorInfo || document.getElementById('post-author-info');
|
||||
jQuery('.mobile-author-info').css('bottom', '0px');
|
||||
postAuthorImage = postAuthorImage || document.getElementById('mobile-author-image');
|
||||
postAuthorInfo = postAuthorInfo || document.getElementById('mobile-author-info');
|
||||
pagination = pagination || document.getElementById('pagination');
|
||||
|
||||
pagination.parentNode.style.display = 'block';
|
||||
|
||||
@@ -1,202 +1,201 @@
|
||||
<ol class="breadcrumb">
|
||||
<li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<a href="/" itemprop="url"><span itemprop="title">Home</span></a>
|
||||
</li>
|
||||
<li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<a href="/category/{category_slug}" itemprop="url"><span itemprop="title">{category_name}</span></a>
|
||||
</li>
|
||||
<li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<span itemprop="title">{topic_name} <a target="_blank" href="../{topic_id}.rss"><i class="icon-rss-sign"></i></a></span>
|
||||
</li>
|
||||
<div id="thread_active_users" class="hidden-xs"></div>
|
||||
</ol>
|
||||
|
||||
<ul id="post-container" class="topic container" data-tid="{topic_id}">
|
||||
<!-- BEGIN main_posts -->
|
||||
<a id="post_anchor_{main_posts.pid}" name="{main_posts.pid}"></a>
|
||||
<li class="row post-row main-post" data-pid="{main_posts.pid}" data-uid="{main_posts.uid}" data-username="{main_posts.username}" data-deleted="{main_posts.deleted}">
|
||||
<div class="col-md-12">
|
||||
<div class="post-block">
|
||||
<div class="main-post-buttons">
|
||||
<a class="main-avatar" href="/users/{main_posts.userslug}">
|
||||
<img src="{main_posts.picture}" align="left" class="img-thumbnail" width=150 height=150 /><br />
|
||||
</a>
|
||||
<h3>
|
||||
<p id="topic_title_{main_posts.pid}" class="topic-title">{topic_name}</p>
|
||||
</h3>
|
||||
|
||||
<div class="topic-buttons" >
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="Posted by {main_posts.username}">
|
||||
<span class="username-field" href="/users/{main_posts.userslug}">{main_posts.username} </span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/users/{main_posts.userslug}"><i class="icon-user"></i> Profile</a></li>
|
||||
<li><div class="chat"><i class="icon-comment"></i> Chat</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default follow" type="button" title="Be notified of new replies in this topic"><i class="icon-eye-open"></i></button>
|
||||
<button class="favourite btn btn-sm btn-default {main_posts.fav_button_class}" type="button">
|
||||
<span class="favourite-text">Favourite</span>
|
||||
<span class="post_rep_{main_posts.pid}">{main_posts.post_rep} </span><i class="{main_posts.fav_star_class}"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default quote" type="button" title="Quote"><i class="icon-quote-left"></i></button>
|
||||
<button class="btn btn-sm btn-primary btn post_reply" type="button">Reply <i class="icon-reply"></i></button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group pull-right post-tools">
|
||||
<button class="btn btn-sm btn-default edit {main_posts.display_moderator_tools}" type="button" title="Edit"><i class="icon-pencil"></i></button>
|
||||
<button class="btn btn-sm btn-default delete {main_posts.display_moderator_tools}" type="button" title="Delete"><i class="icon-trash"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; margin-bottom: 10px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="content_{main_posts.pid}" class="post-content">{main_posts.content}</div>
|
||||
<div id="images_{main_posts.pid}" class="post-images">
|
||||
<!-- BEGIN uploadedImages -->
|
||||
<i class="icon-picture icon-1"></i><a href="{main_posts.uploadedImages.url}"> {main_posts.uploadedImages.name}</a><br/>
|
||||
<!-- END uploadedImages -->
|
||||
</div>
|
||||
<div class="post-signature">{main_posts.signature}</div>
|
||||
<div class="profile-block">
|
||||
<span class="pull-right">
|
||||
posted <span class="relativeTimeAgo">{main_posts.relativeTime} ago</span>
|
||||
<span class="{main_posts.edited-class}">| last edited by <strong><a href="/users/{main_posts.editorslug}">{main_posts.editorname}</a></strong> {main_posts.relativeEditTime} ago</span>
|
||||
</span>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="topic">
|
||||
<ol class="breadcrumb">
|
||||
<li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<a href="/" itemprop="url"><span itemprop="title">Home</span></a>
|
||||
</li>
|
||||
<!-- END main_posts -->
|
||||
|
||||
<!-- BEGIN posts -->
|
||||
<a id="post_anchor_{posts.pid}" name="{posts.pid}"></a>
|
||||
<li class="row post-row sub-posts" data-pid="{posts.pid}" data-uid="{posts.uid}" data-username="{posts.username}" data-deleted="{posts.deleted}">
|
||||
<div class="col-md-1 profile-image-block hidden-xs hidden-sm">
|
||||
<a href="/users/{posts.userslug}">
|
||||
<img src="{posts.picture}" align="left" class="img-thumbnail" />
|
||||
</a>
|
||||
<!--<div class="stats">
|
||||
<i class="icon-star"></i><span class="user_rep_{posts.uid} formatted-number">{posts.user_rep}</span>
|
||||
<div class="chat hidden-xs" title="Chat"><i class="icon-comment"></i></div>
|
||||
</div>-->
|
||||
<span class="label label-danger {posts.show_banned}">banned</span>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<div class="post-block speech-bubble">
|
||||
<div class="post-buttons">
|
||||
<div class="topic-buttons">
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="Posted by {posts.username}">
|
||||
<span class="username-field" href="/users/{posts.userslug}">{posts.username} </span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/users/{posts.userslug}"><i class="icon-user"></i> Profile</a></li>
|
||||
<li><div class="chat"><i class="icon-comment"></i> Chat</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button class="favourite btn btn-sm btn-default {posts.fav_button_class}" type="button">
|
||||
<span class="favourite-text">Favourite</span>
|
||||
<span class="post_rep_{posts.pid}">{posts.post_rep} </span><i class="{posts.fav_star_class}"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default quote" type="button" title="Quote"><i class="icon-quote-left"></i></button>
|
||||
<button class="btn btn-sm btn-primary btn post_reply" type="button">Reply <i class="icon-reply"></i></button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group pull-right post-tools">
|
||||
<button class="btn btn-sm btn-default edit {posts.display_moderator_tools}" type="button" title="Edit"><i class="icon-pencil"></i></button>
|
||||
<button class="btn btn-sm btn-default delete {posts.display_moderator_tools}" type="button" title="Delete"><i class="icon-trash"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; margin-bottom: 7px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="content_{posts.pid}" class="post-content">{posts.content}</div>
|
||||
<div id="images_{posts.pid}" class="post-images">
|
||||
<!-- BEGIN uploadedImages -->
|
||||
<i class="icon-picture icon-1"></i><a href="{posts.uploadedImages.url}"> {posts.uploadedImages.name}</a><br/>
|
||||
<!-- END uploadedImages -->
|
||||
</div>
|
||||
<div class="post-signature">{posts.signature}</div>
|
||||
<div class="profile-block">
|
||||
<span class="pull-right">
|
||||
posted <span class="relativeTimeAgo">{posts.relativeTime} ago</span>
|
||||
<span class="{posts.edited-class}">| last edited by <strong><a href="/users/{posts.editorslug}">{posts.editorname}</a></strong> {posts.relativeEditTime} ago</span>
|
||||
</span>
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<a href="/category/{category_slug}" itemprop="url"><span itemprop="title">{category_name}</span></a>
|
||||
</li>
|
||||
<!-- END posts -->
|
||||
</ul>
|
||||
<div id="loading-indicator" style="text-align:center;" class="hide" done="0">
|
||||
<i class="icon-spinner icon-spin icon-large"></i>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="topic-main-buttons">
|
||||
<button id="post_reply" class="btn btn-primary btn-lg post_reply" type="button">Reply</button>
|
||||
<div class="btn-group pull-right" id="thread-tools" style="visibility: hidden;">
|
||||
<button class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown" type="button">Thread Tools <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#" id="pin_thread"><i class="icon-pushpin"></i> Pin Thread</a></li>
|
||||
<li><a href="#" id="lock_thread"><i class="icon-lock"></i> Lock Thread</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#" id="move_thread"><i class="icon-move"></i> Move Thread</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#" id="delete_thread"><span class="text-error"><i class="icon-trash"></i> Delete Thread</span></a></li>
|
||||
</ul>
|
||||
<li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
||||
<span itemprop="title">{topic_name} <a target="_blank" href="../{topic_id}.rss"><i class="icon-rss-sign"></i></a></span>
|
||||
</li>
|
||||
<div id="thread_active_users" class="active-users pull-right hidden-xs"></div>
|
||||
</ol>
|
||||
|
||||
<ul id="post-container" class="container" data-tid="{topic_id}">
|
||||
<!-- BEGIN main_posts -->
|
||||
<a id="post_anchor_{main_posts.pid}" name="{main_posts.pid}"></a>
|
||||
<li class="row post-row main-post" data-pid="{main_posts.pid}" data-uid="{main_posts.uid}" data-username="{main_posts.username}" data-deleted="{main_posts.deleted}">
|
||||
<div class="col-md-12">
|
||||
<div class="post-block">
|
||||
<div class="main-post-buttons">
|
||||
<a class="main-avatar" href="/users/{main_posts.userslug}">
|
||||
<img src="{main_posts.picture}" align="left" class="img-thumbnail" width=150 height=150 /><br />
|
||||
</a>
|
||||
<h3>
|
||||
<p id="topic_title_{main_posts.pid}" class="topic-title">{topic_name}</p>
|
||||
</h3>
|
||||
|
||||
<div class="topic-buttons" >
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="Posted by {main_posts.username}">
|
||||
<span class="username-field" href="/users/{main_posts.userslug}">{main_posts.username} </span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/users/{main_posts.userslug}"><i class="icon-user"></i> Profile</a></li>
|
||||
<li><div class="chat"><i class="icon-comment"></i> Chat</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default follow" type="button" title="Be notified of new replies in this topic"><i class="icon-eye-open"></i></button>
|
||||
<button class="favourite btn btn-sm btn-default {main_posts.fav_button_class}" type="button">
|
||||
<span class="favourite-text">Favourite</span>
|
||||
<span class="post_rep_{main_posts.pid}">{main_posts.post_rep} </span><i class="{main_posts.fav_star_class}"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default quote" type="button" title="Quote"><i class="icon-quote-left"></i></button>
|
||||
<button class="btn btn-sm btn-primary btn post_reply" type="button">Reply <i class="icon-reply"></i></button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group pull-right post-tools">
|
||||
<button class="btn btn-sm btn-default edit {main_posts.display_moderator_tools}" type="button" title="Edit"><i class="icon-pencil"></i></button>
|
||||
<button class="btn btn-sm btn-default delete {main_posts.display_moderator_tools}" type="button" title="Delete"><i class="icon-trash"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; margin-bottom: 10px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="content_{main_posts.pid}" class="post-content">{main_posts.content}</div>
|
||||
<div id="images_{main_posts.pid}" class="post-images">
|
||||
<!-- BEGIN uploadedImages -->
|
||||
<i class="icon-picture icon-1"></i><a href="{main_posts.uploadedImages.url}"> {main_posts.uploadedImages.name}</a><br/>
|
||||
<!-- END uploadedImages -->
|
||||
</div>
|
||||
<div class="post-signature">{main_posts.signature}</div>
|
||||
<div class="profile-block">
|
||||
<span class="pull-right">
|
||||
posted <span class="relativeTimeAgo">{main_posts.relativeTime} ago</span>
|
||||
<span class="{main_posts.edited-class}">| last edited by <strong><a href="/users/{main_posts.editorslug}">{main_posts.editorname}</a></strong> {main_posts.relativeEditTime} ago</span>
|
||||
</span>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END main_posts -->
|
||||
|
||||
<!-- BEGIN posts -->
|
||||
<a id="post_anchor_{posts.pid}" name="{posts.pid}"></a>
|
||||
<li class="row post-row sub-posts" data-pid="{posts.pid}" data-uid="{posts.uid}" data-username="{posts.username}" data-deleted="{posts.deleted}">
|
||||
<div class="col-md-1 profile-image-block hidden-xs hidden-sm">
|
||||
<a href="/users/{posts.userslug}">
|
||||
<img src="{posts.picture}" align="left" class="img-thumbnail" />
|
||||
</a>
|
||||
<span class="label label-danger {posts.show_banned}">banned</span>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<div class="post-block">
|
||||
<div class="post-buttons">
|
||||
<div class="topic-buttons">
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="Posted by {posts.username}">
|
||||
<span class="username-field" href="/users/{posts.userslug}">{posts.username} </span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/users/{posts.userslug}"><i class="icon-user"></i> Profile</a></li>
|
||||
<li><div class="chat"><i class="icon-comment"></i> Chat</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button class="favourite btn btn-sm btn-default {posts.fav_button_class}" type="button">
|
||||
<span class="favourite-text">Favourite</span>
|
||||
<span class="post_rep_{posts.pid}">{posts.post_rep} </span><i class="{posts.fav_star_class}"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-sm btn-default quote" type="button" title="Quote"><i class="icon-quote-left"></i></button>
|
||||
<button class="btn btn-sm btn-primary btn post_reply" type="button">Reply <i class="icon-reply"></i></button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group pull-right post-tools">
|
||||
<button class="btn btn-sm btn-default edit {posts.display_moderator_tools}" type="button" title="Edit"><i class="icon-pencil"></i></button>
|
||||
<button class="btn btn-sm btn-default delete {posts.display_moderator_tools}" type="button" title="Delete"><i class="icon-trash"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both; margin-bottom: 7px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="content_{posts.pid}" class="post-content">{posts.content}</div>
|
||||
<div id="images_{posts.pid}" class="post-images">
|
||||
<!-- BEGIN uploadedImages -->
|
||||
<i class="icon-picture icon-1"></i><a href="{posts.uploadedImages.url}"> {posts.uploadedImages.name}</a><br/>
|
||||
<!-- END uploadedImages -->
|
||||
</div>
|
||||
<div class="post-signature">{posts.signature}</div>
|
||||
<div class="profile-block">
|
||||
<span class="pull-right">
|
||||
posted <span class="relativeTimeAgo">{posts.relativeTime} ago</span>
|
||||
<span class="{posts.edited-class}">| last edited by <strong><a href="/users/{posts.editorslug}">{posts.editorname}</a></strong> {posts.relativeEditTime} ago</span>
|
||||
</span>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END posts -->
|
||||
</ul>
|
||||
|
||||
<div id="loading-indicator" style="text-align:center;" class="hide" done="0">
|
||||
<i class="icon-spinner icon-spin icon-large"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="post-author-info">
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<img id="post-author-image" src="" width=50 height=50 />
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
<h4><div id="post-author-info"></div></h4>
|
||||
<div class="topic-main-buttons">
|
||||
<button id="post_reply" class="btn btn-primary btn-lg post_reply" type="button">Reply</button>
|
||||
<div class="btn-group pull-right" id="thread-tools" style="visibility: hidden;">
|
||||
<button class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown" type="button">Thread Tools <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#" id="pin_thread"><i class="icon-pushpin"></i> Pin Thread</a></li>
|
||||
<li><a href="#" id="lock_thread"><i class="icon-lock"></i> Lock Thread</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#" id="move_thread"><i class="icon-move"></i> Move Thread</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#" id="delete_thread"><span class="text-error"><i class="icon-trash"></i> Delete Thread</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3>Move Thread</h3>
|
||||
<div class="mobile-author-info">
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<img id="mobile-author-image" src="" width=50 height=50 />
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="categories-loading"><i class="icon-spin icon-refresh"></i> Loading Categories</p>
|
||||
<ul class="category-list"></ul>
|
||||
<div id="move-confirm" style="display: none;">
|
||||
<hr />
|
||||
<div class="alert">This topic will be moved to the category <strong><span id="confirm-category-name"></span></strong></div>
|
||||
<div class="col-xs-9">
|
||||
<h4><div id="mobile-author-info"></div></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3>Move Thread</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="categories-loading"><i class="icon-spin icon-refresh"></i> Loading Categories</p>
|
||||
<ul class="category-list"></ul>
|
||||
<div id="move-confirm" style="display: none;">
|
||||
<hr />
|
||||
<div class="alert">This topic will be moved to the category <strong><span id="confirm-category-name"></span></strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" id="move_thread_cancel">Close</a>
|
||||
<button type="button" class="btn btn-primary" id="move_thread_commit" disabled>Move</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" id="move_thread_cancel">Close</a>
|
||||
<button type="button" class="btn btn-primary" id="move_thread_commit" disabled>Move</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<input type="hidden" template-variable="expose_tools" value="{expose_tools}" />
|
||||
|
||||
@@ -1 +1,42 @@
|
||||
@import "../vanilla/topic";
|
||||
@import "../vanilla/topic";
|
||||
|
||||
|
||||
.topic {
|
||||
.sub-posts {
|
||||
/* speech bubbles for child posts */
|
||||
@media (min-width: 979px) {
|
||||
.post-block:after
|
||||
{
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: -7px;
|
||||
border-style: solid;
|
||||
border-width: 7px 7px 7px 0;
|
||||
border-color: transparent rgb(250,250,250);
|
||||
display: block;
|
||||
width: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.post-block:before
|
||||
{
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: -8px;
|
||||
border-style: solid;
|
||||
border-width: 7px 7px 7px 0;
|
||||
border-color: transparent rgba(0, 0, 0, 0.125);
|
||||
display: block;
|
||||
width: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.active-users {
|
||||
color: rgb(153,153,153);
|
||||
}
|
||||
}
|
||||
@@ -1,45 +1,55 @@
|
||||
|
||||
.topic {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
clear: both;
|
||||
&.deleted {
|
||||
-moz-opacity: 0.30;
|
||||
opacity: 0.30;
|
||||
}
|
||||
|
||||
li.row {
|
||||
padding-bottom: 15px;
|
||||
> ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
|
||||
&.deleted {
|
||||
-moz-opacity: 0.30;
|
||||
opacity: 0.30;
|
||||
height:30px;
|
||||
overflow-y:hidden;
|
||||
}
|
||||
> li {
|
||||
padding-bottom: 15px;
|
||||
|
||||
&.deleted-expanded {
|
||||
height:100%;
|
||||
overflow-y:default;
|
||||
&.deleted {
|
||||
-moz-opacity: 0.30;
|
||||
opacity: 0.30;
|
||||
height:30px;
|
||||
overflow-y:hidden;
|
||||
}
|
||||
|
||||
&.deleted-expanded {
|
||||
height:100%;
|
||||
overflow-y:default;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.topic-main-buttons {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 475px) {
|
||||
.post-tools {
|
||||
display: none;
|
||||
}
|
||||
.favourite-text {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// styling the chat button in the dropdown to match. surely there's a better way...
|
||||
.chat {
|
||||
display: block;
|
||||
padding: 3px 20px;
|
||||
clear: both;
|
||||
.pointer;
|
||||
}
|
||||
.chat:hover, .chat:focus {
|
||||
color: white;
|
||||
background-color: rgb(66, 139, 202);
|
||||
}
|
||||
|
||||
.profile-block, .post-block {
|
||||
position: relative;
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
|
||||
p {
|
||||
line-height: 1.75em;
|
||||
&:hover, &:focus {
|
||||
color: white;
|
||||
background-color: rgb(66, 139, 202);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +67,17 @@
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.profile-block, .post-block {
|
||||
position: relative;
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
|
||||
p {
|
||||
line-height: 1.75em;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-block {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
margin: 15px -11px -11px -11px;
|
||||
@@ -67,16 +88,6 @@
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
min-height: 50px;
|
||||
padding: 10px 5px 0 5px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.post-images{
|
||||
padding: 2px 5px 0 5px;
|
||||
}
|
||||
|
||||
.post-block {
|
||||
.post-buttons {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
@@ -94,41 +105,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.deleted {
|
||||
-moz-opacity: 0.30;
|
||||
opacity: 0.30;
|
||||
.post-content {
|
||||
min-height: 50px;
|
||||
padding: 10px 5px 0 5px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@media (min-width: 979px) {
|
||||
.speech-bubble:after
|
||||
{
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: -7px;
|
||||
border-style: solid;
|
||||
border-width: 7px 7px 7px 0;
|
||||
border-color: transparent rgb(250,250,250);
|
||||
display: block;
|
||||
width: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.speech-bubble:before
|
||||
{
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: -8px;
|
||||
border-style: solid;
|
||||
border-width: 7px 7px 7px 0;
|
||||
border-color: transparent rgba(0, 0, 0, 0.125);
|
||||
display: block;
|
||||
width: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
.post-images{
|
||||
padding: 2px 5px 0 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.sub-posts {
|
||||
.post-tools {
|
||||
margin-right: 9px;
|
||||
@@ -227,91 +215,37 @@
|
||||
|
||||
}
|
||||
|
||||
.topic-main-buttons {
|
||||
|
||||
|
||||
|
||||
.mobile-author-info {
|
||||
display: none;
|
||||
z-index: 9999;
|
||||
|
||||
@media (max-width: 767px) {
|
||||
margin-bottom: 0px;
|
||||
display: block;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
margin-left: -15px;
|
||||
bottom: -50px;
|
||||
height: 50px;
|
||||
background: rgba(0,0,0,0.8);
|
||||
-webkit-transition: bottom 150ms linear;
|
||||
-moz-transition: bottom 150ms linear;
|
||||
-ms-transition: bottom 150ms linear;
|
||||
-o-transition: bottom 150ms linear;
|
||||
transition: bottom 150ms linear;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 475px) {
|
||||
.post-tools {
|
||||
display: none;
|
||||
img {
|
||||
padding: 5px;
|
||||
}
|
||||
.favourite-text {
|
||||
display: none;
|
||||
|
||||
h4 {
|
||||
color: white;
|
||||
margin: 16px 0 0 -35px;
|
||||
font-weight: 300;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-author-info {
|
||||
display: none;
|
||||
|
||||
@media (max-width: 767px) {
|
||||
display: block;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
margin-left: -15px;
|
||||
bottom: -50px;
|
||||
height: 50px;
|
||||
background: rgba(0,0,0,0.8);
|
||||
-webkit-transition: bottom 150ms linear;
|
||||
-moz-transition: bottom 150ms linear;
|
||||
-ms-transition: bottom 150ms linear;
|
||||
-o-transition: bottom 150ms linear;
|
||||
transition: bottom 150ms linear;
|
||||
}
|
||||
|
||||
img {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: white;
|
||||
margin: 16px 0 0 -35px;
|
||||
font-weight: 300;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.category-list {
|
||||
li {
|
||||
.inline-block;
|
||||
.pointer;
|
||||
padding: 0.5em 0;
|
||||
text-align: center;
|
||||
margin: 0.5em;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.username-field {
|
||||
.icon-circle {
|
||||
font-size: 12px;
|
||||
color: green;
|
||||
margin-right:3px;
|
||||
}
|
||||
.icon-circle-blank {
|
||||
font-size: 12px;
|
||||
color: red;
|
||||
margin-right:3px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
#thread_active_users {
|
||||
float: right;
|
||||
color: rgb(153,153,153);
|
||||
|
||||
strong {
|
||||
color: rgb(100,100,100);
|
||||
font-weight: 600;
|
||||
.pointer;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user