Files
NodeBB/public/css/style.less

263 lines
3.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;
}
// havent really decided what makes more sense tbh
.none, .hide {
2013-05-02 20:56:18 -04:00
display: none !important;
}
.block, .show {
display: block;
}
@media (min-width: 979px) {
body {
padding-top: 60px;
}
}
#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;
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;
border: 1px solid #eee;
margin-top: 50px;
a:nth-child(odd) li.topic-row {
background-color:#fdfdfd;
}
a:nth-child(even) li.topic-row {
background-color:#fff;
}
li.topic-row {
cursor: pointer;
border-bottom: 1px solid #eee;
padding: 10px;
}
li:last-child {
border-bottom: 0;
}
li.topic-row:hover {
background-color: #eee;
}
}
.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;
}
}
#user_label {
img {
border: 1px solid #454;
margin-right: 8px;
margin-top: -2px;
2013-05-02 14:51:57 -04:00
float: left;
}
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
}