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

364 lines
5.4 KiB
Plaintext

@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;
}
@media (max-width: 979px)
{
padding-top: 70px;
padding-bottom: 50px;
}
}
button, a {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.none {
display: none !important;
}
.block, .show {
display: block;
}
.badge {
vertical-align: 17%;
}
.nav .badge {
vertical-align: 2%;
}
#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;
}
}
.alt-logins {
margin: 0 0 0 1em;
padding: 0;
li {
vertical-align: top;
background: transparent;
display: none;
margin: 0.25em;
.pointer;
&.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;
}
}
}
}
#thread_active_users {
float: right;
color: rgb(153,153,153);
strong {
color: rgb(100,100,100);
font-weight: 600;
.pointer;
}
}
.bold {
font-weight: bold;
}
.user-recent-posts {
div {
color: #333;
margin-bottom: 10px;
.pointer;
overflow:hidden;
p {
color: #333;
}
}
span {
padding-top: 10px;
}
}
.jumbotron {
// goes into theme
background: #56BCDA;
color: white;
padding: 30px;
word-wrap: break-word;
}
#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;
img {
width:80px;
height:80px;
}
a {
margin:5px;
}
}
a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
text-decoration:none;
}
.formatting-bar {
.no-select;
span:focus {
outline: none;
}
}
.breadcrumb {
li {
max-width: 35%;
white-space: nowrap;
text-overflow:ellipsis;
overflow: hidden;
}
}
#right-menu{
float:right;
12 years ago
}
#admin-redis-info {
span {
display:inline-block;
width:220px;
12 years ago
}
}
.post-signature {
12 years ago
color: #666;
font-size: 12px;
border-top: 1px solid #ddd;
display: inline-block;
12 years ago
img {
max-width:200px;
max-height:60px;
}
}
.username-field {
.icon-circle {
font-size: 12px;
color: green;
margin-right:3px;
}
.icon-circle-blank {
font-size: 12px;
color: red;
margin-right:3px;
}
12 years ago
}
#chat-content {
width:95%;
height:200px;
resize:none;
12 years ago
}
#chat-message-input {
width:95%;
}
12 years ago
#content{
padding-bottom:20px;
}
/* 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 */
//START: FIXES FOR BS3, may need to remove these when we get out of the RC releases
@media (max-width: 979px) {
.hidden-mobile {
// BS2/3's hidden-xs does not support inline-block, so here it is for now.
display: none !important;
}
}
.container > .navbar-header, .container > .navbar-collapse {
padding-right: 0;
margin-right: -11px;
}
//END: FIXES FOR BS3, may need to remove these when we get out of the RC releases