Merge pull request #277 from designcreateplay/theme/cerulean

theme/cerulean
v1.18.x
psychobunny 12 years ago
commit 11042858b8

1
.gitignore vendored

@ -10,6 +10,7 @@ public/config.json
public/css/*.css
public/themes/*
!/public/themes/vanilla
!/public/themes/cerulean
*.sublime-project
*.sublime-workspace
plugins/*

@ -1 +1 @@
@import "../themes/vanilla/vanilla.less";
@import "../themes/cerulean/cerulean.less";

@ -611,7 +611,7 @@
var postAuthorImage, postAuthorInfo, pagination;
var postAuthorImage, mobileAuthorOverlay, pagination;
var postcount = templates.get('postcount');
function updateHeader() {
@ -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-overlay').css('bottom', '0px');
postAuthorImage = postAuthorImage || document.getElementById('mobile-author-image');
mobileAuthorOverlay = mobileAuthorOverlay || document.getElementById('mobile-author-overlay');
pagination = pagination || document.getElementById('pagination');
pagination.parentNode.style.display = 'block';
@ -637,7 +637,7 @@
if (scrollTop < 50 && postcount > 1) {
postAuthorImage.src = (jQuery('.main-avatar img').attr('src'));
postAuthorInfo.innerHTML = 'Posted by ' + jQuery('.main-post').attr('data-username') + ', ' + jQuery('.main-post').find('.relativeTimeAgo').html();
mobileAuthorOverlay.innerHTML = 'Posted by ' + jQuery('.main-post').attr('data-username') + ', ' + jQuery('.main-post').find('.relativeTimeAgo').html();
pagination.innerHTML = '0 out of ' + postcount;
return;
}
@ -662,7 +662,7 @@
if (inView) {
pagination.innerHTML = this.postnumber + ' out of ' + postcount;
postAuthorImage.src = (jQuery(this).find('.profile-image-block img').attr('src'));
postAuthorInfo.innerHTML = 'Posted by ' + jQuery(this).attr('data-username') + ', ' + jQuery(this).find('.relativeTimeAgo').html();
mobileAuthorOverlay.innerHTML = 'Posted by ' + jQuery(this).attr('data-username') + ', ' + jQuery(this).find('.relativeTimeAgo').html();
}
});

@ -31,12 +31,6 @@
<!-- BEGIN topics -->
<a href="../../topic/{topics.slug}"><li class="category-item {topics.deleted-class}">
<div class="row">
<!-- <div class="span1 thread-rating hidden-xs hidden-sm">
<span>
<i class="icon-star icon-3x"></i><br />
38
</span>
</div> -->
<div class="col-md-12 topic-row">
<div class="latest-post visible-lg visible-md">
<div class="pull-right">

@ -41,8 +41,8 @@
<div id="alert_window"></div>
<div id="footer" class="container footer-stats">
<div class="row">
<footer id="footer" class="container footer">
<div class="row footer-stats">
<div class="col-md-3 col-xs-6">
<div class="stats-card well">
<h2><span id="stats_online"></span><br /><small>Online</small></h2>
@ -65,8 +65,8 @@
</div>
</div>
<footer class="footer">Copyright &copy; 2013 <a target="_blank" href="http://www.nodebb.org">NodeBB</a> by <a target="_blank" href="https://github.com/psychobunny">psychobunny</a>, <a href="https://github.com/julianlam" target="_blank">julianlam</a>, <a href="https://github.com/barisusakli" target="_blank">barisusakli</a> from <a target="_blank" href="http://www.designcreateplay.com">designcreateplay</a></footer>
</div>
<div class="copyright">Copyright &copy; 2013 <a target="_blank" href="http://www.nodebb.org">NodeBB</a> by <a target="_blank" href="https://github.com/psychobunny">psychobunny</a>, <a href="https://github.com/julianlam" target="_blank">julianlam</a>, <a href="https://github.com/barisusakli" target="_blank">barisusakli</a> from <a target="_blank" href="http://www.designcreateplay.com">designcreateplay</a></div>
</footer>
<script>
$.getScript(RELATIVE_PATH + '/src/forum/footer.js');

@ -31,7 +31,7 @@
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="header-menu">
<div class="navbar navbar-inverse navbar-fixed-top header" role="navigation" id="header-menu">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@ -93,6 +93,4 @@
<input id="csrf_token" type="hidden" template-variable="csrf" value="{csrf}" />
<div class="container" id="content">
<div class="container" id="content">

@ -2,7 +2,7 @@
{motd}
</div>
<div class="row categories">
<div class="row home">
<!-- BEGIN categories -->
<div class="col-md-3 col-xs-6">
<a href="category/{categories.slug}">

@ -1,31 +1,31 @@
<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}">
<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>
<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="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">
<a class="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="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}&nbsp;</span>
@ -54,44 +54,37 @@
<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 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>
</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">
</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="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}">
@ -121,82 +114,82 @@
<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 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>
</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>
<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>
</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 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>
<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>
</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">&times;</button>
<h3>Move Thread</h3>
<div class="mobile-author-overlay">
<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>
<div class="col-xs-9">
<h4><div id="mobile-author-overlay"></div></h4>
</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 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">&times;</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>
</div>
</div>
<input type="hidden" template-variable="expose_tools" value="{expose_tools}" />

@ -1,51 +1,51 @@
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li class="active">{category_name}</li>
<div id="category_active_users"></div>
</ol>
<div class="unread">
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li class="active">{category_name}</li>
<div id="category_active_users"></div>
</ol>
<a href="/unread">
<div class="alert hide" id="new-topics-alert"></div>
</a>
<a href="/unread">
<div class="alert hide" id="new-topics-alert"></div>
</a>
<div class="alert alert-warning {no_topics_message}" id="category-no-topics">
<strong>There are no unread topics.</strong>
</div>
<div class="alert alert-warning {no_topics_message}" id="category-no-topics">
<strong>There are no unread topics.</strong>
</div>
<div>
<button id="mark-allread-btn" class="btn btn-primary {show_markallread_button}">Mark all as Read</button>
</div>
<div class="category row">
<div class="{topic_row_size}">
<ul id="topics-container" data-next-start="{nextStart}">
<!-- BEGIN topics -->
<a href="../../topic/{topics.slug}" id="tid-{topics.tid}">
<li class="category-item {topics.deleted-class}">
<div class="row">
<div class="col-md-12 topic-row img-thumbnail">
<div class="latest-post visible-lg visible-md">
<div class="pull-right">
<img style="width: 48px; height: 48px; /*temporary*/" src="{topics.teaser_userpicture}" />
<p><strong>{topics.teaser_username}</strong>: {topics.teaser_text}</p>
<span>posted {topics.teaser_timestamp} ago</span>
<div class="category row">
<div class="{topic_row_size}">
<ul id="topics-container" data-next-start="{nextStart}">
<!-- BEGIN topics -->
<a href="../../topic/{topics.slug}" id="tid-{topics.tid}">
<li class="category-item {topics.deleted-class}">
<div class="row">
<div class="col-md-12 topic-row img-thumbnail">
<div class="latest-post visible-lg visible-md">
<div class="pull-right">
<img style="width: 48px; height: 48px; /*temporary*/" src="{topics.teaser_userpicture}" />
<p><strong>{topics.teaser_username}</strong>: {topics.teaser_text}</p>
<span>posted {topics.teaser_timestamp} ago</span>
</div>
</div>
<div>
<h3><span class="topic-title"><span class="badge {topics.badgeclass}">{topics.postcount}</span>{topics.title}</span></h3>
<small>
<strong><i class="{topics.pin-icon}"></i><i class="{topics.lock-icon}"></i></strong>
Posted {topics.relativeTime} ago by
<strong>{topics.username}</strong>.
</small>
</div>
</div>
<div>
<h3><span class="topic-title"><span class="badge {topics.badgeclass}">{topics.postcount}</span>{topics.title}</span></h3>
<small>
<strong><i class="{topics.pin-icon}"></i><i class="{topics.lock-icon}"></i></strong>
Posted {topics.relativeTime} ago by
<strong>{topics.username}</strong>.
</small>
</div>
</div>
</div>
</li>
</a>
<!-- END topics -->
</ul>
<button id="load-more-btn" class="btn btn-primary hide">Load More</button>
</li>
</a>
<!-- END topics -->
</ul>
<button id="load-more-btn" class="btn btn-primary hide">Load More</button>
</div>
</div>
</div>

@ -1,5 +1,4 @@
<div>
<div class="users">
<ul class="nav nav-pills">
<li class=''><a href='/users-latest'>Latest Users</a></li>
<li class=''><a href='/users-sort-posts'>Top Posters</a></li>
@ -18,7 +17,7 @@
</div>
</div>
<ul id="users-container" class="users">
<ul id="users-container" class="users-container">
<!-- BEGIN users -->
<div class="users-box">
<a href="/users/{users.userslug}">
@ -38,10 +37,10 @@
</div>
<!-- END users -->
</ul>
</div>
<div class="text-center {loadmore_display}">
<button id="load-more-users-btn" class="btn btn-primary">Load More</button>
<div class="text-center {loadmore_display}">
<button id="load-more-users-btn" class="btn btn-primary">Load More</button>
</div>
</div>
<script type="text/javascript" src="{relative_path}/src/forum/users.js"></script>

@ -0,0 +1 @@
@import "../vanilla/account";

@ -0,0 +1 @@
@import "../vanilla/admin";

@ -0,0 +1 @@
@import "../vanilla/category";

@ -0,0 +1,16 @@
@import "../vanilla/mixins";
@import "style";
@import "topic";
@import "category";
@import "noscript";
@import "home";
@import "header";
@import "account";
@import "search";
@import "unread";
@import "admin";
@import "users";
@import "footer";
@import "../vanilla/modules.less";

@ -0,0 +1,9 @@
@import "../vanilla/footer";
.footer {
color: #555;
a {
color: #222;
}
}

@ -0,0 +1,28 @@
@import "../vanilla/header";
.header {
//glowing animation for active state
.dropdown-toggle {
i {
@-webkit-keyframes glow
{
from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
}
@keyframes glow
{
from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
}
&.active {
color: #558;
text-shadow: 0 0 1em #aaf, 0 0 1em #aaf, 0 0 1em #aaf;
-webkit-animation:glow 1.5s infinite linear;
animation:glow 1.5s infinite linear;
}
}
}
}

@ -0,0 +1,12 @@
@import "../vanilla/home";
.home {
h4 {
color: #555;
}
.icon {
border-radius: 5px;
}
}

@ -0,0 +1 @@
@import "../vanilla/noscript";

@ -0,0 +1 @@
@import "../vanilla/search";

@ -0,0 +1,39 @@
@import "../vanilla/style";
body {
background: #fdfdfd;
}
.jumbotron {
background: #56BCDA;
color: white;
padding: 30px;
}
.alt-logins {
li {
i {
-webkit-transition: color 100ms linear;
-moz-transition: color 100ms linear;
-ms-transition: color 100ms linear;
-o-transition: color 100ms linear;
transition: color 100ms linear;
&.icon-twitter-sign:hover {
color: #4099FF;
}
&.icon-facebook-sign:hover {
color: #3b5999;
}
&.icon-google-plus-sign:hover {
color: #d34836;
}
}
}
}
#search-form .btn-link {
color: white;
}

@ -0,0 +1,51 @@
@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;
}
}
}
.profile-block {
background: rgba(0, 0, 0, 0.02);
margin: 15px -11px -11px -11px;
border-radius: 0 0 5px 5px;
font-size: 10px;
line-height: 15px;
padding: 5px 8px 5px 5px;
color: #777;
}
.active-users {
color: rgb(153,153,153);
}
}

@ -0,0 +1 @@
@import "../vanilla/unread";

@ -0,0 +1 @@
@import "../vanilla/users";

@ -1,3 +1,4 @@
// TODO: Needs to be cleaned up - do not child theme or you will lose your work.
.account {
.topic-row {

@ -10,7 +10,6 @@
a {
li {
list-style: none;
//border-bottom: 1px solid #eee;
padding-bottom: 10px;
&.deleted {
@ -28,26 +27,6 @@
margin-left: -25px;
}
.thread-rating {
color: #444;
text-align: center;
margin-top: 7px;
span {
display: inline-block; margin-left: 5px;
i {
padding-left: 2.4px;
}
@media (max-width: 1200px)
{
margin-left: -1px;
}
}
}
.topic-row {

@ -1,20 +1,23 @@
.footer-stats {
display: none;
.footer {
text-align: center;
.stats-card {
text-align: center;
&.footer-stats {
display: none;
h2 {
font-size: 40px;
line-height: 25px;
}
.stats-card {
text-align: center;
h2 {
font-size: 40px;
line-height: 25px;
}
.pointer;
.pointer;
}
padding-top: 15px;
}
padding-top: 15px;
}
.footer {
padding-bottom: 10px;
.copyright {
padding-bottom: 10px;
}
}

@ -1,130 +1,61 @@
#user_label { //belongs in header.less
img {
border: 1px solid #454;
margin-right: 8px;
margin-top: -2px;
float: left;
width:24px;
height:24px;
}
span {
font-size: 14px;
font-weight: 400;
color: #ded;
}
}
.pagination-block {
position: absolute;
background: rgb(34, 34, 34);
right: 0px;
top: 50px;
color: white;
padding: 10px;
padding-bottom: 5px;
padding-top: 5px;
font-size: 15px;
display: none;
}
.taskbar {
display: none;
-moz-opacity: 0.5;
opacity: 0.5;
margin-top: 0;
-webkit-transition: opacity 250ms ease-in;
-moz-transition: opacity 250ms ease-in;
-ms-transition: opacity 250ms ease-in;
-o-transition: opacity 250ms ease-in;
transition: opacity 250ms ease-in;
&[data-active="1"] {
display: block;
}
&:hover {
-moz-opacity: 1;
opacity: 1;
}
li {
float: left;
a > span {
.inline-block;
max-width: 200px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
.header {
.dropdown-toggle {
i {
&.active {
color: #558;
}
}
}
#user_label {
img {
max-width: 24px;
max-height: 24px;
margin-right: 1em;
border: 1px solid #454;
margin: -2px 8px 0 0;
width: 24px;
height: 24px;
}
&.pulse {
-webkit-animation: pulsate 2500ms linear;
-webkit-animation-iteration-count: infinite;
span {
font-size: 14px;
font-weight: 400;
color: #ded;
}
}
@-webkit-keyframes pulsate {
0% { background: none; }
50% { background: #e5e5e5; }
100% { background: none; }
}
.pagination-block {
position: absolute;
background: rgb(34, 34, 34);
right: 0px;
top: 50px;
color: white;
padding: 5px 10px 5px 10px;
font-size: 15px;
display: none;
}
}
#notif-list {
li {
font-size: 12px;
width: 300px;
text-align: left;
#notif-list {
li {
font-size: 12px;
width: 300px;
text-align: left;
a {
white-space: normal;
}
a {
white-space: normal;
}
&.unread {
background: #eceff5;
&.unread {
background: #eceff5;
}
}
}
}
.dropdown-toggle {
i {
font-size: 12px;
@-webkit-keyframes glow
{
from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
}
@keyframes glow
{
from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
}
&.active {
color: #558;
text-shadow: 0 0 1em #aaf, 0 0 1em #aaf, 0 0 1em #aaf;
-webkit-animation:glow 1.5s infinite linear;
animation:glow 1.5s infinite linear;
}
.breadcrumb {
li {
max-width: 35%;
white-space: nowrap;
text-overflow:ellipsis;
overflow: hidden;
}
}

@ -1,33 +1,45 @@
.categories {
.home {
padding-top: 10px;
h4 {
font-weight: 700;
line-height: 20px;
text-align: left;
/*color: #555;*/ // NOTE: color for cat/topic header links should be grey in the default theme when we get around to it.
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
a {
text-decoration: none;
border: 0;
}
.icon {
width: 100%;
height: 110px;
text-align: center;
border-radius: 0px;
margin: 0;
padding-top:25px;
.pointer;
margin-bottom: 20px;
border-radius: 5px;
overflow:hidden;
}
}
// TODO EVERYTHING BELOW: Please Remove! -- colors & animations should not go here
.category-purple {
@color: #ab1290;
background: @color;

@ -0,0 +1,2 @@
@import "modules/postWindow";
@import "modules/taskbar";

@ -0,0 +1,107 @@
.post-window {
position: fixed;
display: none;
height: 350px;
visibility: hidden;
width: 100%;
> div {
position: absolute;
height: 100%;
background: rgba(64, 64, 64, 0.6);
visibility: visible;
.btn-toolbar {
&.formatting-bar {
.no-select;
width: 90%;
margin: 0 auto 8px auto;
span {
color: white;
&:hover {
text-decoration: none;
}
}
span:focus {
outline: none;
}
}
&.action-bar {
width: 90%;
margin: 8px auto 0 auto;
}
}
input {
width: 98%;
text-align: center;
border: none;
padding: 0.5em 0;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
margin: 5px auto 10px auto;
display: block;
}
textarea {
background: rgba(64, 64, 64, 0.95);
border: none;
padding: 0.5em;
display: block;
width: 90%;
margin: 0em auto;
resize: none;
color: white;
height: 200px;
}
.imagedrop {
text-align: center;
color: white;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 214px;
line-height: 214px;
font-size: 20px;
vertical-align: middle;
display: none;
}
.imagelist {
position: absolute;
bottom: 50px;
left: 5%;
div {
margin-right:5px;
}
span {
line-height:20px;
float:left;
}
button {
padding-left:5px;
}
}
}
@media (max-width: 979px) {
position: relative;
bottom: 0px !important;
> div {
position: static;
width: 100% !important;
}
}
}

@ -0,0 +1,49 @@
.taskbar {
display: none;
-moz-opacity: 0.5;
opacity: 0.5;
margin-top: 0;
-webkit-transition: opacity 250ms ease-in;
-moz-transition: opacity 250ms ease-in;
-ms-transition: opacity 250ms ease-in;
-o-transition: opacity 250ms ease-in;
transition: opacity 250ms ease-in;
&[data-active="1"] {
display: block;
}
&:hover {
-moz-opacity: 1;
opacity: 1;
}
li {
float: left;
a > span {
.inline-block;
max-width: 200px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
img {
max-width: 24px;
max-height: 24px;
margin-right: 1em;
}
&.pulse {
-webkit-animation: pulsate 2500ms linear;
-webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes pulsate {
0% { background: none; }
50% { background: #e5e5e5; }
100% { background: none; }
}
}
}

@ -1,21 +1,8 @@
@import "mixins";
html {
overflow-y: scroll;
}
body {
/*background: #fdfdfd;*/ // port to default theme when it is implemented.
-webkit-transition: margin-bottom 250ms ease;
-moz-transition: margin-bottom 250ms ease;
-ms-transition: margin-bottom 250ms ease;
-o-transition: margin-bottom 250ms ease;
transition: margin-bottom 250ms ease;
&.composing {
margin-bottom: 350px;
}
@media (min-width: 979px)
{
padding-top: 70px;
@ -49,27 +36,15 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
}
#alert_window {
position: fixed;
right: 20px;
top: 60px;
width: 300px;
height: 0px;
}
.toaster-alert {
.pointer;
}
footer.footer {
color: #555;
text-align: center;
a {
color: #222;
.toaster-alert {
.pointer;
}
}
@ -87,55 +62,13 @@ footer.footer {
&.active {
.inline-block;
}
i {
-webkit-transition: color 100ms linear;
-moz-transition: color 100ms linear;
-ms-transition: color 100ms linear;
-o-transition: color 100ms linear;
transition: color 100ms linear;
&.icon-twitter-sign:hover {
color: #4099FF;
}
&.icon-facebook-sign:hover {
color: #3b5999;
}
&.icon-google-plus-sign:hover {
color: #d34836;
}
}
}
}
.jumbotron {
// goes into theme
background: #56BCDA;
color: white;
padding: 30px;
word-wrap: break-word;
}
.formatting-bar {
.no-select;
span:focus {
outline: none;
}
}
.breadcrumb {
li {
max-width: 35%;
white-space: nowrap;
text-overflow:ellipsis;
overflow: hidden;
}
}
#chat-content {
height:200px;
resize:none;
@ -146,119 +79,6 @@ footer.footer {
}
/* START: post-window needs to go in its own plugin area */
.post-window {
position: fixed;
display: none;
height: 350px;
visibility: hidden;
width: 100%;
> div {
position: absolute;
height: 100%;
background: rgba(64, 64, 64, 0.6);
visibility: visible;
.btn-toolbar {
&.formatting-bar {
width: 90%;
margin: 0 auto 8px auto;
span {
color: white;
&:hover {
text-decoration: none;
}
}
}
&.action-bar {
width: 90%;
margin: 8px auto 0 auto;
}
}
input {
width: 98%;
text-align: center;
border: none;
padding: 0.5em 0;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
margin: 5px auto 10px auto;
display: block;
}
textarea {
background: rgba(64, 64, 64, 0.95);
border: none;
padding: 0.5em;
display: block;
width: 90%;
margin: 0em auto;
resize: none;
color: white;
height: 200px;
}
.imagedrop {
text-align: center;
color: white;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 214px;
line-height: 214px;
font-size: 20px;
vertical-align: middle;
display: none;
}
.imagelist {
position: absolute;
bottom: 50px;
left: 5%;
div {
margin-right:5px;
}
span {
line-height:20px;
float:left;
}
button {
padding-left:5px;
}
}
}
}
@media (max-width: 979px) {
.post-window {
position: relative;
bottom: 0px !important;
> div {
position: static;
width: 100% !important;
}
}
}
/* END: post-window needs to go in its own plugin area */
//theme
#search-form .btn-link {
color: white;
}
//START: FIXES FOR BS3, may need to remove these when we get out of the RC releases
@media (max-width: 979px) {
.hidden-mobile {
@ -281,5 +101,4 @@ footer.footer {
.modal {
overflow-y: hidden;
}
//END: FIXES FOR BS3, may need to remove these when we get out of the RC releases

@ -1,186 +1,149 @@
.topic {
list-style-type: none;
padding: 0;
margin: 0;
clear: both;
li.row {
padding-bottom: 15px;
&.deleted {
-moz-opacity: 0.30;
opacity: 0.30;
height:30px;
overflow-y:hidden;
}
&.deleted-expanded {
height:100%;
overflow-y:default;
}
}
.chat {
display: block;
padding: 3px 20px;
clear: both;
.pointer;
}
.chat:hover, .chat:focus {
color: white;
background-color: rgb(66, 139, 202);
&.deleted {
-moz-opacity: 0.30;
opacity: 0.30;
}
.profile-block, .post-block {
position: relative;
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 5px;
padding: 10px;
> ul {
list-style-type: none;
padding: 0;
p {
line-height: 1.75em;
}
}
> li {
padding-bottom: 15px;
.post-signature {
color: #666;
font-size: 12px;
border-top: 1px solid #ddd;
display: inline-block;
&.deleted {
-moz-opacity: 0.30;
opacity: 0.30;
height: 30px;
overflow-y: hidden;
}
img {
max-width:200px;
max-height:60px;
&.deleted-expanded {
height: 100%;
overflow-y: default;
}
}
margin-left: 5px;
}
.profile-block {
background: rgba(0, 0, 0, 0.02);
margin: 15px -11px -11px -11px;
border-radius: 0 0 5px 5px;
font-size: 10px;
line-height: 15px;
padding: 5px 8px 5px 5px;
color: #777;
}
@media (max-width: 475px) {
.post-tools {
display: none;
}
.post-content {
min-height: 50px;
padding: 10px 5px 0 5px;
word-wrap: break-word;
.favourite-text {
display: none;
}
}
.post-images{
padding: 2px 5px 0 5px;
@media (max-width: 767px) {
.topic-main-buttons {
margin-bottom: 0px;
}
}
.post-block {
.post-buttons {
background: rgba(0, 0, 0, 0.02);
.main-post, .sub-posts {
.profile-block, .post-block {
position: relative;
border: 1px solid rgba(0, 0, 0, 0.06);
margin: -5px 0 0 0;
padding: 8px 0 0 23px;
border-radius: 5px;
padding: 10px;
button.show {
display: inline-block !important;
}
.post-signature {
color: #666;
font-size: 12px;
border-top: 1px solid #ddd;
display: inline-block;
@media (max-width: 767px) {
padding-left: 9px;
img {
max-width: 200px;
max-height: 60px;
}
margin-left: 5px;
}
}
}
&.deleted {
-moz-opacity: 0.30;
opacity: 0.30;
}
.post-block {
.topic-buttons {
background: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.06);
margin: -5px 0 0 0;
padding: 8px 0 0 23px;
@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;
}
button.show {
display: inline-block !important;
}
.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;
@media (max-width: 767px) {
padding-left: 9px;
}
}
.post-content {
padding: 10px 5px 0 5px;
word-wrap: break-word;
}
.post-images{
padding: 2px 5px 0 5px;
}
}
}
.sub-posts {
.post-tools {
margin-right: 9px;
}
.post-content {
margin-left: 10px;
}
.post-signature {
margin-left: 15px;
.post-block {
.post-signature {
margin-left: 15px;
}
.topic-buttons {
margin: -11px -10px 0px -10px;
border: 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
padding: 8px 9px 7px 23px;
}
.post-content {
margin-left: 10px;
}
}
.img-thumbnail {
padding: 2px;
border-radius: 0;
margin-left: 16px;
}
.post-buttons {
margin: -11px -10px 0 -10px;
border: 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
}
.main-post {
.main-post-buttons {
h3 {
margin: 0;
.topic-title {
width: auto;
overflow: hidden;
margin: 0 0 -5px 0;
padding: 0 0 5px 0
}
h3 {
margin: 0;
.topic-title {
line-height: 1.5em;
width: auto;
overflow: hidden;
margin: 0 0 -5px 0;
padding: 0 0 5px 0
}
}
.main-avatar {
color: white;
position: relative;
float: left;
margin: 0 10px 0 0;
padding-bottom: 0px;
text-align: center;
width:100px;
.avatar {
color: white;
position: relative;
float: left;
margin: 0 10px 0 0;
padding-bottom: 0px;
text-align: center;
width: 100px;
@media (max-width: 767px) {
display: none;
}
@media (max-width: 767px) {
display: none;
}
.img-thumbnail {
padding: 2px;
border-radius: 0;
}
.img-thumbnail {
padding: 2px;
border-radius: 0;
}
}
@ -193,125 +156,66 @@
}
.post-block {
.post-buttons {
.topic-buttons {
background: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.06);
margin: 0 -11px 0 92px;
padding: 10px;
border-right: 0;
@media (max-width: 767px) {
margin-left: -11px;
border-left: 0;
}
button.show {
display: inline-block!important;
}
}
}
.favourite {
.pointer;
}
.btn {
display: inline-block;
}
.topic-buttons { //main-post version is called post-buttons, needs to be consolidated.
background: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.06);
margin: 0 -11px 0 92px;
padding: 10px;
border-right: 0;
@media (max-width: 767px) {
margin-left: -11px;
border-left: 0;
}
button.show {
display: inline-block!important;
}
}
}
.topic-main-buttons {
.mobile-author-overlay {
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) {
// styling the chat button in the dropdown to match. surely there's a better way...
.chat {
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;
padding: 3px 20px;
clear: both;
.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;
&:hover, &:focus {
color: white;
background-color: rgb(66, 139, 202);
}
}
}

@ -1,4 +1,5 @@
#mark-allread-btn {
margin-bottom:15px;
.unread {
> .btn {
margin-bottom: 15px;
}
}

@ -1,23 +1,25 @@
.users {
.users-container {
padding: 0;
}
#users-container {
padding: 0;
}
.users-box{
display: inline-block;
margin-top: 20px;
text-align: center;
vertical-align: top;
max-width: 104px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.users-box{
display: inline-block;
margin-top: 20px;
text-align: center;
vertical-align: top;
max-width: 104px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
img {
width:80px;
height:80px;
}
img {
width:80px;
height:80px;
}
a {
margin:5px;
a {
margin:5px;
}
}
}
}

@ -1,4 +1,5 @@
@import "style";
@import "topic";
@import "category";
@import "noscript";
@ -9,4 +10,6 @@
@import "unread";
@import "admin";
@import "users";
@import "footer";
@import "footer";
@import "modules";
Loading…
Cancel
Save