You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/public/css/style.less

260 lines
3.3 KiB
Plaintext

.caret-left {
border-left: 0;
border-right: 4px solid black;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
}
.pointer {
cursor: pointer;
*cursor: hand;
}
.inline-block {
display: inline-block;
*display: inline;
zoom: 1;
}
body {
background: #fdfdfd;
}
.none {
display: none;
}
.block {
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%;
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;
clear: both;
.profile-image-block {
background: white;
}
li {
padding-bottom: 15px;
}
.profile-block, .post-block {
border: 1px solid #f0f0f0;
border-radius: 5px;
padding: 10px;
}
img {
margin: 5px;
}
.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;
padding: 5px;
padding-left: 10px;
}
.post-block {
.caret {
margin-top: -10px;
margin-left: -18px;
display: block;
border-width: 8px 8px 8px 0;
border-color: transparent #ddd transparent;
}
.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;
}
}
}
background: #fff;
}
li:last-child {
border-bottom: 0;
}
}
#user_label {
img {
border: 1px solid #999;
margin-right: 8px;
margin-top: -2px;
float: left;
}
span {
font-size: 12px;
font-weight: bold;
}
}
#reply_title {
font-size: 17px;
padding-top: 14px;
font-weight: 600;
}
.alt-logins {
margin: 0;
padding: 0;
li {
vertical-align: top;
background: transparent;
.none;
.pointer;
&.google {
width: 32px;
height: 32px;
background-image: url('../images/google_login.png');
}
&.twitter {
width: 32px;
height: 32px;
background-image: url('../images/twitter_login.png');
}
&.facebook {
width: 32px;
height: 32px;
background-image: url('../images/facebook_login.png');
}
&.active {
.inline-block;
}
}
}