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/css/*.css
public/themes/* public/themes/*
!/public/themes/vanilla !/public/themes/vanilla
!/public/themes/cerulean
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
plugins/* 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'); var postcount = templates.get('postcount');
function updateHeader() { function updateHeader() {
@ -624,9 +624,9 @@
}); });
} }
jQuery('.post-author-info').css('bottom', '0px'); jQuery('.mobile-author-overlay').css('bottom', '0px');
postAuthorImage = postAuthorImage || document.getElementById('post-author-image'); postAuthorImage = postAuthorImage || document.getElementById('mobile-author-image');
postAuthorInfo = postAuthorInfo || document.getElementById('post-author-info'); mobileAuthorOverlay = mobileAuthorOverlay || document.getElementById('mobile-author-overlay');
pagination = pagination || document.getElementById('pagination'); pagination = pagination || document.getElementById('pagination');
pagination.parentNode.style.display = 'block'; pagination.parentNode.style.display = 'block';
@ -637,7 +637,7 @@
if (scrollTop < 50 && postcount > 1) { if (scrollTop < 50 && postcount > 1) {
postAuthorImage.src = (jQuery('.main-avatar img').attr('src')); 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; pagination.innerHTML = '0 out of ' + postcount;
return; return;
} }
@ -662,7 +662,7 @@
if (inView) { if (inView) {
pagination.innerHTML = this.postnumber + ' out of ' + postcount; pagination.innerHTML = this.postnumber + ' out of ' + postcount;
postAuthorImage.src = (jQuery(this).find('.profile-image-block img').attr('src')); 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 --> <!-- BEGIN topics -->
<a href="../../topic/{topics.slug}"><li class="category-item {topics.deleted-class}"> <a href="../../topic/{topics.slug}"><li class="category-item {topics.deleted-class}">
<div class="row"> <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="col-md-12 topic-row">
<div class="latest-post visible-lg visible-md"> <div class="latest-post visible-lg visible-md">
<div class="pull-right"> <div class="pull-right">

@ -41,8 +41,8 @@
<div id="alert_window"></div> <div id="alert_window"></div>
<div id="footer" class="container footer-stats"> <footer id="footer" class="container footer">
<div class="row"> <div class="row footer-stats">
<div class="col-md-3 col-xs-6"> <div class="col-md-3 col-xs-6">
<div class="stats-card well"> <div class="stats-card well">
<h2><span id="stats_online"></span><br /><small>Online</small></h2> <h2><span id="stats_online"></span><br /><small>Online</small></h2>
@ -65,8 +65,8 @@
</div> </div>
</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 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>
</div> </footer>
<script> <script>
$.getScript(RELATIVE_PATH + '/src/forum/footer.js'); $.getScript(RELATIVE_PATH + '/src/forum/footer.js');

@ -31,7 +31,7 @@
</head> </head>
<body> <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="container">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <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}" /> <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} {motd}
</div> </div>
<div class="row categories"> <div class="row home">
<!-- BEGIN categories --> <!-- BEGIN categories -->
<div class="col-md-3 col-xs-6"> <div class="col-md-3 col-xs-6">
<a href="category/{categories.slug}"> <a href="category/{categories.slug}">

@ -1,3 +1,4 @@
<div class="topic">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/" itemprop="url"><span itemprop="title">Home</span></a> <a href="/" itemprop="url"><span itemprop="title">Home</span></a>
@ -8,17 +9,16 @@
<li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <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> <span itemprop="title">{topic_name} <a target="_blank" href="../{topic_id}.rss"><i class="icon-rss-sign"></i></a></span>
</li> </li>
<div id="thread_active_users" class="hidden-xs"></div> <div id="thread_active_users" class="active-users pull-right hidden-xs"></div>
</ol> </ol>
<ul id="post-container" class="topic container" data-tid="{topic_id}"> <ul id="post-container" class="container" data-tid="{topic_id}">
<!-- BEGIN main_posts --> <!-- BEGIN main_posts -->
<a id="post_anchor_{main_posts.pid}" name="{main_posts.pid}"></a> <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}"> <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="col-md-12">
<div class="post-block"> <div class="post-block">
<div class="main-post-buttons"> <a class="avatar" href="/users/{main_posts.userslug}">
<a class="main-avatar" href="/users/{main_posts.userslug}">
<img src="{main_posts.picture}" align="left" class="img-thumbnail" width=150 height=150 /><br /> <img src="{main_posts.picture}" align="left" class="img-thumbnail" width=150 height=150 /><br />
</a> </a>
<h3> <h3>
@ -54,8 +54,6 @@
<button class="btn btn-sm btn-default delete {main_posts.display_moderator_tools}" type="button" title="Delete"><i class="icon-trash"></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> </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="content_{main_posts.pid}" class="post-content">{main_posts.content}</div>
<div id="images_{main_posts.pid}" class="post-images"> <div id="images_{main_posts.pid}" class="post-images">
@ -83,15 +81,10 @@
<a href="/users/{posts.userslug}"> <a href="/users/{posts.userslug}">
<img src="{posts.picture}" align="left" class="img-thumbnail" /> <img src="{posts.picture}" align="left" class="img-thumbnail" />
</a> </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> <span class="label label-danger {posts.show_banned}">banned</span>
</div> </div>
<div class="col-md-11"> <div class="col-md-11">
<div class="post-block speech-bubble"> <div class="post-block">
<div class="post-buttons">
<div class="topic-buttons"> <div class="topic-buttons">
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="Posted by {posts.username}"> <button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="Posted by {posts.username}">
@ -121,8 +114,6 @@
<button class="btn btn-sm btn-default delete {posts.display_moderator_tools}" type="button" title="Delete"><i class="icon-trash"></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> </div>
<div style="clear:both; margin-bottom: 7px;"></div>
</div>
<div id="content_{posts.pid}" class="post-content">{posts.content}</div> <div id="content_{posts.pid}" class="post-content">{posts.content}</div>
<div id="images_{posts.pid}" class="post-images"> <div id="images_{posts.pid}" class="post-images">
@ -137,17 +128,19 @@
<span class="{posts.edited-class}">| last edited by <strong><a href="/users/{posts.editorslug}">{posts.editorname}</a></strong> {posts.relativeEditTime} 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> </span>
<div style="clear:both;"></div> <div style="clear:both;"></div>
</div> </div>
</div> </div>
</div> </div>
</li> </li>
<!-- END posts --> <!-- END posts -->
</ul> </ul>
<div id="loading-indicator" style="text-align:center;" class="hide" done="0"> <div id="loading-indicator" style="text-align:center;" class="hide" done="0">
<i class="icon-spinner icon-spin icon-large"></i> <i class="icon-spinner icon-spin icon-large"></i>
</div> </div>
<hr /> <hr />
<div class="topic-main-buttons"> <div class="topic-main-buttons">
<button id="post_reply" class="btn btn-primary btn-lg post_reply" type="button">Reply</button> <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;"> <div class="btn-group pull-right" id="thread-tools" style="visibility: hidden;">
@ -163,19 +156,17 @@
</div> </div>
</div> </div>
<div class="mobile-author-overlay">
<div class="post-author-info">
<div class="row"> <div class="row">
<div class="col-xs-3"> <div class="col-xs-3">
<img id="post-author-image" src="" width=50 height=50 /> <img id="mobile-author-image" src="" width=50 height=50 />
</div> </div>
<div class="col-xs-9"> <div class="col-xs-9">
<h4><div id="post-author-info"></div></h4> <h4><div id="mobile-author-overlay"></div></h4>
</div> </div>
</div> </div>
</div> </div>
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true"> <div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
@ -199,6 +190,8 @@
</div> </div>
</div> </div>
</div>
<input type="hidden" template-variable="expose_tools" value="{expose_tools}" /> <input type="hidden" template-variable="expose_tools" value="{expose_tools}" />
<input type="hidden" template-variable="topic_id" value="{topic_id}" /> <input type="hidden" template-variable="topic_id" value="{topic_id}" />
<input type="hidden" template-variable="locked" value="{locked}" /> <input type="hidden" template-variable="locked" value="{locked}" />

@ -1,3 +1,4 @@
<div class="unread">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li><a href="/">Home</a></li> <li><a href="/">Home</a></li>
<li class="active">{category_name}</li> <li class="active">{category_name}</li>
@ -12,9 +13,7 @@
<strong>There are no unread topics.</strong> <strong>There are no unread topics.</strong>
</div> </div>
<div>
<button id="mark-allread-btn" class="btn btn-primary {show_markallread_button}">Mark all as Read</button> <button id="mark-allread-btn" class="btn btn-primary {show_markallread_button}">Mark all as Read</button>
</div>
<div class="category row"> <div class="category row">
<div class="{topic_row_size}"> <div class="{topic_row_size}">
@ -48,5 +47,6 @@
<button id="load-more-btn" class="btn btn-primary hide">Load More</button> <button id="load-more-btn" class="btn btn-primary hide">Load More</button>
</div> </div>
</div> </div>
</div>
<script type="text/javascript" src="{relative_path}/src/forum/unread.js"></script> <script type="text/javascript" src="{relative_path}/src/forum/unread.js"></script>

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

@ -10,7 +10,6 @@
a { a {
li { li {
list-style: none; list-style: none;
//border-bottom: 1px solid #eee;
padding-bottom: 10px; padding-bottom: 10px;
&.deleted { &.deleted {
@ -28,26 +27,6 @@
margin-left: -25px; 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 { .topic-row {

@ -1,4 +1,7 @@
.footer-stats { .footer {
text-align: center;
&.footer-stats {
display: none; display: none;
.stats-card { .stats-card {
@ -9,12 +12,12 @@
line-height: 25px; line-height: 25px;
} }
.pointer; .pointer;
} }
padding-top: 15px; padding-top: 15px;
} }
.footer { .copyright {
padding-bottom: 10px; padding-bottom: 10px;
} }
}

@ -1,10 +1,16 @@
.header {
.dropdown-toggle {
i {
&.active {
color: #558;
}
}
}
#user_label { //belongs in header.less #user_label {
img { img {
border: 1px solid #454; border: 1px solid #454;
margin-right: 8px; margin: -2px 8px 0 0;
margin-top: -2px;
float: left;
width: 24px; width: 24px;
height: 24px; height: 24px;
} }
@ -16,72 +22,17 @@
} }
} }
.pagination-block { .pagination-block {
position: absolute; position: absolute;
background: rgb(34, 34, 34); background: rgb(34, 34, 34);
right: 0px; right: 0px;
top: 50px; top: 50px;
color: white; color: white;
padding: 10px; padding: 5px 10px 5px 10px;
padding-bottom: 5px;
padding-top: 5px;
font-size: 15px; font-size: 15px;
display: none; 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;
}
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; }
}
}
}
#notif-list { #notif-list {
li { li {
font-size: 12px; font-size: 12px;
@ -97,34 +48,14 @@
} }
} }
} }
.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 { .breadcrumb {
color: #558; li {
max-width: 35%;
text-shadow: 0 0 1em #aaf, 0 0 1em #aaf, 0 0 1em #aaf; white-space: nowrap;
-webkit-animation:glow 1.5s infinite linear; text-overflow:ellipsis;
animation:glow 1.5s infinite linear; overflow: hidden;
}
} }
} }

@ -1,33 +1,45 @@
.categories { .home {
padding-top: 10px; padding-top: 10px;
h4 { h4 {
font-weight: 700; font-weight: 700;
line-height: 20px;
text-align: left; 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; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
a {
text-decoration: none;
border: 0;
}
.icon { .icon {
width: 100%; width: 100%;
height: 110px; height: 110px;
text-align: center; text-align: center;
border-radius: 0px;
margin: 0; margin: 0;
padding-top:25px; padding-top:25px;
.pointer; .pointer;
margin-bottom: 20px; margin-bottom: 20px;
border-radius: 5px;
overflow:hidden; overflow:hidden;
} }
} }
// TODO EVERYTHING BELOW: Please Remove! -- colors & animations should not go here
.category-purple { .category-purple {
@color: #ab1290; @color: #ab1290;
background: @color; 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 { html {
overflow-y: scroll; overflow-y: scroll;
} }
body { 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) @media (min-width: 979px)
{ {
padding-top: 70px; padding-top: 70px;
@ -49,28 +36,16 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
} }
#alert_window { #alert_window {
position: fixed; position: fixed;
right: 20px; right: 20px;
top: 60px; top: 60px;
width: 300px; width: 300px;
height: 0px; height: 0px;
}
.toaster-alert { .toaster-alert {
.pointer; .pointer;
} }
footer.footer {
color: #555;
text-align: center;
a {
color: #222;
}
} }
.alt-logins { .alt-logins {
@ -87,55 +62,13 @@ footer.footer {
&.active { &.active {
.inline-block; .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 { .jumbotron {
// goes into theme
background: #56BCDA;
color: white;
padding: 30px;
word-wrap: break-word; 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 { #chat-content {
height:200px; height:200px;
resize:none; 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 //START: FIXES FOR BS3, may need to remove these when we get out of the RC releases
@media (max-width: 979px) { @media (max-width: 979px) {
.hidden-mobile { .hidden-mobile {
@ -281,5 +101,4 @@ footer.footer {
.modal { .modal {
overflow-y: hidden; overflow-y: hidden;
} }
//END: FIXES FOR BS3, may need to remove these when we get out of the RC releases //END: FIXES FOR BS3, may need to remove these when we get out of the RC releases

@ -1,11 +1,14 @@
.topic { .topic {
&.deleted {
-moz-opacity: 0.30;
opacity: 0.30;
}
> ul {
list-style-type: none; list-style-type: none;
padding: 0; padding: 0;
margin: 0;
clear: both;
li.row { > li {
padding-bottom: 15px; padding-bottom: 15px;
&.deleted { &.deleted {
@ -20,29 +23,31 @@
overflow-y: default; overflow-y: default;
} }
} }
}
.chat { @media (max-width: 475px) {
display: block; .post-tools {
padding: 3px 20px; display: none;
clear: both; }
.pointer;
.favourite-text {
display: none;
} }
.chat:hover, .chat:focus {
color: white;
background-color: rgb(66, 139, 202);
} }
@media (max-width: 767px) {
.topic-main-buttons {
margin-bottom: 0px;
}
}
.main-post, .sub-posts {
.profile-block, .post-block { .profile-block, .post-block {
position: relative; position: relative;
border: 1px solid rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 5px; border-radius: 5px;
padding: 10px; padding: 10px;
p {
line-height: 1.75em;
}
}
.post-signature { .post-signature {
color: #666; color: #666;
font-size: 12px; font-size: 12px;
@ -56,29 +61,10 @@
margin-left: 5px; 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;
}
.post-content {
min-height: 50px;
padding: 10px 5px 0 5px;
word-wrap: break-word;
}
.post-images{
padding: 2px 5px 0 5px;
} }
.post-block { .post-block {
.post-buttons { .topic-buttons {
background: rgba(0, 0, 0, 0.02); background: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.06);
margin: -5px 0 0 0; margin: -5px 0 0 0;
@ -92,71 +78,49 @@
padding-left: 9px; padding-left: 9px;
} }
} }
}
&.deleted { .post-content {
-moz-opacity: 0.30; padding: 10px 5px 0 5px;
opacity: 0.30; word-wrap: break-word;
} }
@media (min-width: 979px) { .post-images{
.speech-bubble:after padding: 2px 5px 0 5px;
{ }
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;
} }
} }
.sub-posts { .sub-posts {
.post-tools { .post-block {
margin-right: 9px; .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 { .post-content {
margin-left: 10px; margin-left: 10px;
} }
.post-signature {
margin-left: 15px;
} }
.img-thumbnail { .img-thumbnail {
padding: 2px; padding: 2px;
border-radius: 0; border-radius: 0;
margin-left: 16px; 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 {
.main-post-buttons {
h3 { h3 {
margin: 0; margin: 0;
.topic-title { .topic-title {
line-height: 1.5em;
width: auto; width: auto;
overflow: hidden; overflow: hidden;
margin: 0 0 -5px 0; margin: 0 0 -5px 0;
@ -164,7 +128,7 @@
} }
} }
.main-avatar { .avatar {
color: white; color: white;
position: relative; position: relative;
float: left; float: left;
@ -182,7 +146,6 @@
border-radius: 0; border-radius: 0;
} }
} }
}
.post-content { .post-content {
min-height: 80px; min-height: 80px;
@ -193,22 +156,7 @@
} }
.post-block { .post-block {
.post-buttons { .topic-buttons {
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); background: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.06);
margin: 0 -11px 0 92px; margin: 0 -11px 0 92px;
@ -224,27 +172,12 @@
display: inline-block!important; display: inline-block!important;
} }
} }
}
.topic-main-buttons {
@media (max-width: 767px) {
margin-bottom: 0px;
}
}
@media (max-width: 475px) {
.post-tools {
display: none;
}
.favourite-text {
display: none;
}
} }
} }
.post-author-info { .mobile-author-overlay {
display: none; display: none;
z-index: 9999;
@media (max-width: 767px) { @media (max-width: 767px) {
display: block; display: block;
@ -273,45 +206,16 @@
} }
} }
// styling the chat button in the dropdown to match. surely there's a better way...
.chat {
.category-list { display: block;
li { padding: 3px 20px;
.inline-block; clear: both;
.pointer; .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 { &:hover, &:focus {
.icon-circle { color: white;
font-size: 12px; background-color: rgb(66, 139, 202);
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;
} }
} }

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

@ -1,7 +1,8 @@
.users {
#users-container { .users-container {
padding: 0; padding: 0;
} }
.users-box{ .users-box{
display: inline-block; display: inline-block;
margin-top: 20px; margin-top: 20px;
@ -21,3 +22,4 @@
margin:5px; margin:5px;
} }
} }
}

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