Files
NodeBB/public/css/style.less

480 lines
6.5 KiB
Plaintext
Raw Normal View History

2013-05-02 19:45:22 +00:00
.caret-left {
border-left: 0;
border-right: 4px solid black;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
}
2013-05-02 11:35:15 -04:00
.pointer {
cursor: pointer;
*cursor: hand;
}
.inline-block {
display: inline-block;
*display: inline;
zoom: 1;
}
2013-05-02 19:45:22 +00:00
body {
background: #fdfdfd;
-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;
}
2013-05-02 19:45:22 +00:00
}
2013-05-08 14:09:50 -04:00
.none {
2013-05-02 20:56:18 -04:00
display: none !important;
}
.block, .show {
display: block;
}
.badge {
vertical-align: 17%;
}
.nav .badge {
vertical-align: 10%;
}
@media (min-width: 979px)
{ body {
2013-05-07 20:49:27 +00:00
padding-top: 70px;
}
}
#notification_window {
position: absolute;
right: 20px;
top: 80px;
width: 300px;
height: 0px;
}
.toaster-alert {
cursor: pointer;
}
footer.footer {
color: #555;
text-align: center;
a {
color: #222;
}
}
#post_window {
width: 100%;
2013-05-02 19:45:22 +00:00
position: fixed;
height: 350px;
left: 0px;
bottom: 0px;
background: white;
z-index: 1500;
input {
width: 100%;
height: 30px;
padding: 5px;
}
textarea {
width: 100%;
background: #222;
height: 220px;
resize: none;
border-radius: 0;
border: 1px solid #111;
font-size: 16px;
color: #bebebe;
outline: 0;
&:focus {
outline: 0;
border:none !important;
box-shadow:none !important;
}
}
.post-title-container {
opacity: 0.8;
height: 50px;
}
.post-content-container {
opacity: 0.8;
background: #000;
width: 100%;
height: 300px;
}
}
.topic-container {
list-style-type: none;
padding: 0;
margin: 0;
margin-top: 10px;
}
.topic-container a:nth-child(odd) li.topic-row {
background-color: #fdfdfd;
}
.topic-container a:nth-child(even) li.topic-row {
background-color: #fff;
}
.topic-container a {
margin-bottom: 10px;
display: block;
border: 1px solid #ddd;
border-radius: 5px;
text-decoration: none;
color: #333;
}
.topic-container li.topic-row {
cursor: pointer;
border-bottom: 1px solid #eee;
border-radius: 5px;
}
.topic-container li:last-child {
border-bottom: 0;
}
.topic-container .row {
}
.topic-row-icon, .topic-row-content {
}
.topic-row-icon {
border-radius: 5px 0 0 5px;
height: 75px;
background: #0059B2;
color: white;
line-height: 105px;
min-width: 75px;
}
@media (max-width: 767px)
{
.topic-row-icon {
border-radius: 5px 5px 0 0;
}
}
.top-posters {
float: right;
padding-top: 2px;
}
.topic-row-content {
width: 80%;
}
.topic-row-content h3 {
padding: 0;
margin: 0;
margin-top: 4px;
}
.topic-row-content h3 small {
vertical-align: 3px;
}
.post-container {
list-style-type: none;
padding: 0;
margin: 0;
2013-05-02 19:45:22 +00:00
clear: both;
.profile-image-block {
background: white;
2013-05-03 15:01:56 +00:00
display: inline-block;
text-align: center;
font-size: 12px;
2013-05-02 19:45:22 +00:00
}
li {
padding-bottom: 15px;
}
2013-05-02 19:45:22 +00:00
.profile-block, .post-block {
border: 1px solid #f0f0f0;
border-radius: 5px;
padding: 10px;
2013-05-02 19:45:22 +00:00
}
2013-05-02 19:45:22 +00:00
img {
margin: 5px;
}
2013-05-02 19:45:22 +00:00
.profile-block {
background: #fafafa;
margin-right: -11px;
margin-left: -11px;
margin-bottom: -11px;
margin-top: 15px;
border-radius: 0 0 5px 5px;
font-size: 10px;
line-height: 18px;
2013-05-02 19:45:22 +00:00
padding: 5px;
padding-left: 10px;
}
.post-content {
min-height: 50px;
padding: 2px 5px 0 5px;
word-wrap: break-word;
}
2013-05-02 19:45:22 +00:00
.post-block {
.post-buttons {
font-size: 12px;
float: right;
div {
display: inline-block;
padding-left: 15px;
padding-right: 15px;
border-left: 1px solid #f0f0f0;
cursor: pointer;
&:last-child {
padding-right: 5px;
}
}
2013-05-03 17:52:20 +00:00
.icon-star {
//theme this to make it yellow eventually
}
}
2013-05-02 19:45:22 +00:00
background: #fff;
}
&.deleted {
-moz-opacity: 0.30;
opacity: 0.30;
}
}
#user_label {
img {
border: 1px solid #454;
margin-right: 8px;
margin-top: -2px;
2013-05-02 14:51:57 -04:00
float: left;
width:24px;
height:24px;
}
span {
font-size: 14px;
font-weight: 400;
color: #ded;
}
}
#reply_title {
font-size: 17px;
padding-top: 14px;
font-weight: 600;
2013-05-02 11:35:15 -04:00
}
.alt-logins {
margin: 0;
padding: 0;
li {
2013-05-02 12:45:22 -04:00
vertical-align: top;
background: transparent;
2013-05-03 13:02:36 -04:00
display: none;
2013-05-02 11:35:15 -04:00
.pointer;
2013-05-02 12:45:22 -04:00
&.google {
2013-05-02 16:15:48 -04:00
width: 32px;
2013-05-02 12:45:22 -04:00
height: 32px;
background-image: url('../images/google_login.png');
}
&.twitter {
2013-05-02 16:15:48 -04:00
width: 32px;
height: 32px;
background-image: url('../images/twitter_login.png');
}
2013-05-02 16:15:48 -04:00
&.facebook {
width: 32px;
height: 32px;
background-image: url('../images/facebook_login.png');
}
&.active {
.inline-block;
}
2013-05-02 11:35:15 -04:00
}
2013-05-02 19:45:22 +00:00
}
#thread_active_users {
float: right;
color: rgb(153,153,153);
}
#thread_active_users strong {
color: rgb(100,100,100);
font-weight: 600;
cursor: pointer;
}
2013-05-06 16:12:04 -04:00
.account-username-box{
border-bottom:1px solid #e3e3e3;
2013-05-08 12:51:37 -04:00
margin-bottom:10px;
2013-05-06 16:12:04 -04:00
}
.account-username{
font-size:20px;
font-weight:bold;
}
2013-05-06 13:42:25 -04:00
.account-picture-block{
display:inline-block;
2013-05-06 14:12:01 -04:00
margin-right:20px;
2013-05-08 12:51:37 -04:00
vertical-align:top;
2013-05-06 13:42:25 -04:00
}
.user-profile-picture {
width:128px;
height:128px;
}
.user-header-profile-picture {
width:24px;
height:24px;
}
.user-picture-label {
font-size:20px;
}
2013-05-06 13:42:25 -04:00
.account-bio-block{
display:inline-block;
2013-05-06 13:42:25 -04:00
vertical-align:top;
}
.account-bio-label{
display:inline-block;
width:100px;
2013-05-07 15:49:24 +00:00
}
.category-icon {
width: 100%;
height: 90px;
text-align: center;
border-radius: 5px;
margin: 0;
2013-05-07 20:49:27 +00:00
padding-top:25px;
2013-05-07 15:49:24 +00:00
cursor: pointer;
2013-05-07 20:49:27 +00:00
margin-bottom: 20px;
2013-05-07 15:49:24 +00:00
}
.category-row h4 {
font-weight: 700;
text-align: center;
color: #555;
2013-05-07 20:49:27 +00:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2013-05-07 15:49:24 +00:00
}
.category-row a {
text-decoration: none;
border: 0;
}
.category-purple {
2013-05-08 14:09:50 -04:00
@color: #ab1290;
background: @color;
2013-05-07 15:49:24 +00:00
color: white;
2013-05-08 14:09:50 -04:00
&:hover {
background: lighten(@color, 10%);
}
2013-05-07 20:49:27 +00:00
}
.category-darkblue {
2013-05-08 14:09:50 -04:00
@color: #004C66;
background: @color;
2013-05-07 20:49:27 +00:00
color: white;
2013-05-08 14:09:50 -04:00
&:hover {
background: lighten(@color, 10%);
}
2013-05-07 20:49:27 +00:00
}
.category-blue {
2013-05-08 14:09:50 -04:00
@color: #0059B2;
background: @color;
2013-05-07 20:49:27 +00:00
color: white;
2013-05-08 14:09:50 -04:00
&:hover {
background: lighten(@color, 10%);
}
2013-05-07 20:49:27 +00:00
}
.category-darkgreen {
2013-05-08 14:09:50 -04:00
@color: #004000;
background: @color;
2013-05-07 20:49:27 +00:00
color: white;
2013-05-08 14:09:50 -04:00
&:hover {
background: lighten(@color, 10%);
}
2013-05-07 20:49:27 +00:00
}
.category-orange {
2013-05-08 14:09:50 -04:00
@color: #FF7A4D;
2013-05-07 20:49:27 +00:00
color: white;
2013-05-08 14:09:50 -04:00
background: @color;
&:hover {
background: lighten(@color, 10%);
}
}
.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;
}
2013-05-07 20:49:27 +00:00
}
.hero-unit {
background: #56BCDA;
color: white;
padding: 30px;
2013-05-07 19:18:13 -04:00
}
.users-box{
display:inline-block;
margin-right:20px;
margin-top: 20px;
2013-05-07 19:18:13 -04:00
text-align:center;
}
2013-05-07 19:25:28 -04:00
a:hover {
text-decoration:none;
}