Files
NodeBB/public/css/style.less

282 lines
4.3 KiB
Plaintext
Raw Normal View History

@import "mixins";
2013-05-14 19:33:50 +00:00
html {
overflow-y: scroll;
}
2013-05-14 19:33:50 +00:00
body {
/*background: #fdfdfd;*/ // port to default theme when it is implemented.
2013-05-14 19:33:50 +00:00
-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;
2013-05-14 19:33:50 +00:00
&.composing {
margin-bottom: 350px;
}
2013-08-24 03:30:34 +08:00
@media (min-width: 979px)
{
padding-top: 70px;
}
@media (max-width: 979px)
{
padding-top: 70px;
padding-bottom: 50px;
}
2013-05-14 19:33:50 +00:00
}
button, a {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
2013-05-14 19:33:50 +00:00
.none {
display: none !important;
}
.block, .show {
display: block;
}
2013-08-28 02:25:17 +08:00
.bold {
font-weight: bold;
}
a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
text-decoration:none;
2013-05-14 19:33:50 +00:00
}
2013-08-28 02:25:17 +08:00
#alert_window {
position: fixed;
2013-05-14 19:33:50 +00:00
right: 20px;
top: 60px;
2013-05-14 19:33:50 +00:00
width: 300px;
height: 0px;
}
.toaster-alert {
2013-08-28 02:05:50 +08:00
.pointer;
2013-05-14 19:33:50 +00:00
}
footer.footer {
color: #555;
text-align: center;
a {
color: #222;
}
}
.alt-logins {
margin: 0 0 0 1em;
2013-05-14 19:33:50 +00:00
padding: 0;
li {
vertical-align: top;
background: transparent;
display: none;
margin: 0.25em;
2013-05-14 19:33:50 +00:00
.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;
}
}
2013-05-14 19:33:50 +00:00
}
}
.jumbotron {
// goes into theme
2013-05-14 19:33:50 +00:00
background: #56BCDA;
color: white;
padding: 30px;
word-wrap: break-word;
2013-05-14 19:33:50 +00:00
}
.formatting-bar {
.no-select;
span:focus {
outline: none;
}
}
.breadcrumb {
li {
max-width: 35%;
white-space: nowrap;
text-overflow:ellipsis;
overflow: hidden;
}
2013-05-17 11:54:59 -04:00
}
#right-menu{
float:right;
2013-05-17 14:22:34 -04:00
}
2013-05-22 15:35:54 -04:00
#chat-content {
height:200px;
2013-05-23 12:41:16 -04:00
resize:none;
2013-05-22 15:35:54 -04:00
}
2013-06-21 13:44:42 -04:00
#content{
2013-08-28 02:25:17 +08:00
padding-bottom:20px;
2013-06-21 13:44:42 -04:00
}
/* START: post-window needs to go in its own plugin area */
2013-06-03 16:41:06 -04:00
.post-window {
position: fixed;
display: none;
height: 350px;
visibility: hidden;
width: 100%;
2013-06-03 16:41:06 -04:00
> div {
position: absolute;
2013-06-03 16:41:06 -04:00
height: 100%;
background: rgba(64, 64, 64, 0.6);
visibility: visible;
.btn-toolbar {
2013-08-15 14:04:12 -04:00
&.formatting-bar {
width: 90%;
margin: 0 auto 8px auto;
2013-08-15 14:04:12 -04:00
span {
color: white;
2013-08-15 14:04:12 -04:00
&:hover {
text-decoration: none;
}
}
}
2013-08-15 14:04:12 -04:00
&.action-bar {
width: 90%;
margin: 8px auto 0 auto;
}
}
2013-06-03 16:41:06 -04:00
input {
width: 98%;
2013-06-03 16:41:06 -04:00
text-align: center;
border: none;
padding: 0.5em 0;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
2013-08-15 14:04:12 -04:00
margin: 5px auto 10px auto;
display: block;
2013-06-03 16:41:06 -04:00
}
textarea {
background: rgba(64, 64, 64, 0.95);
border: none;
padding: 0.5em;
display: block;
width: 90%;
2013-08-15 14:04:12 -04:00
margin: 0em auto;
2013-06-03 16:41:06 -04:00
resize: none;
color: white;
height: 200px;
2013-06-03 16:41:06 -04:00
}
2013-08-24 03:30:34 +08:00
2013-08-15 16:50:00 -04:00
.imagedrop {
2013-08-15 14:04:12 -04:00
text-align: center;
color: white;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
2013-08-15 14:04:12 -04:00
height: 214px;
line-height: 214px;
font-size: 20px;
vertical-align: middle;
2013-08-15 14:04:12 -04:00
display: none;
}
2013-08-24 03:30:34 +08:00
2013-08-15 16:50:00 -04:00
.imagelist {
2013-08-15 14:04:12 -04:00
position: absolute;
bottom: 50px;
left: 5%;
div {
margin-right:5px;
}
2013-08-24 03:30:34 +08:00
span {
line-height:20px;
float:left;
}
2013-08-24 03:30:34 +08:00
button {
padding-left:5px;
}
}
2013-06-03 16:41:06 -04:00
}
}
@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;
}
.badge {
vertical-align: 17%;
2013-08-28 02:25:17 +08:00
}
.modal {
overflow-y: hidden;
}
//END: FIXES FOR BS3, may need to remove these when we get out of the RC releases