Newer
Older
@import url(//fonts.googleapis.com/css?family=Roboto:300,400,500,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic);
@import "global/_variables.less";
Gabriel Engel
committed
@import "utils/_lesshat.import.less";
@import "utils/_reset.import.less";
@import "utils/_keyframes.import.less";
@import "utils/_preloader.import.less";
.clearfix {
clear: both;
&::after {
content: "";
display: table;
Gabriel Engel
committed
clear: both;
}
}
Gabriel Engel
committed
.box-sizing(border-box);
}
:focus {
outline: 0 !important;
outline-color: transparent;
outline-style: none;
}
color: @primary-font-color;
text-decoration: none;
}
}
white-space: pre-wrap;
code.hljs {
overflow-y: hidden;
}
pre {
display: inline-block;
width: 100%;
}
Rodrigo Nascimento
committed
background-color: #eaeaea;
Rodrigo Nascimento
committed
width: 4px;
Rodrigo Nascimento
committed
border-radius: 10px;
.login-terms {
max-width: 400px;
color: #C2E7FF;
margin: auto;
a {
font-weight: bold !important;
text-decoration: underline;
color: #C2E7FF;
&:hover {
color: white;
}
}
}
.upload-preview {
background-color: #f5f5f5;
.upload-preview-file {
height: 200px;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
}
.upload-preview-title {
background-color: #eee;
padding: 3px;
border-radius: 0 0 5px 5px;
}
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
}
.copyonly {
float: left;
display: inline-block;
vertical-align: baseline;
width: 0;
height: 0;
font-size: 0;
-moz-box-orient: vertical;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
&.first-unread-opaque {
.body {
&::before {
background-color: #E6E6E6;
}
&::after {
color: #B3B3B3;
}
}
}
background-color: #FF8080;
display: block;
height: 1px;
position: absolute;
right: 0px;
left: 50px;
top: -3px;
.transition(background-color, .5s, linear);
}
&::after {
content: "unread messages";
display: block;
position: absolute;
right: 0px;
top: -7px;
line-height: 10px;
color: #FF0000;
.transition(color, .5s, linear);
.text-center {
text-align: center;
}
.connection-status > .alert {
padding: 2px;
position: absolute;
width: 100%;
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid rgba(0, 0, 0, 0);
border-radius: 4px;
}
.alert-warning {
color: #8A6D3B;
background-color: #FCF8E3;
border-color: #FAEBCC;
}
.alert-danger {
color: #A94442;
background-color: #F2DEDE;
border-color: #EBCCD1;
}
visibility: hidden !important;
display: none !important;
}
Gabriel Engel
committed
.small-title {
font-size: 13px;
text-transform: uppercase;
margin-bottom: 5px;
font-weight: 600;
}
.fill-all {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.custom-scroll(@background, @thumb, @width: 6px) {
Gabriel Engel
committed
&::-webkit-scrollbar {
width: @width;
background: @background;
Gabriel Engel
committed
}
&::-webkit-scrollbar-thumb {
background-color: @thumb;
-webkit-border-radius: 50px;
}
&::-webkit-scrollbar-corner {
background-color: @background;
Gabriel Engel
committed
}
}
.scrollable {
&:extend(.fill-all);
.custom-scroll(transparent, #BFBFBF);
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
max-width: 620px;
width: 90%;
padding: 25px 0;
margin-bottom: 23px;
position: relative;
width: 100%;
display: block;
content: " ";
height: 1px;
background-color: #DFDFDF;
display: block;
position: absolute;
width: 100%;
bottom: -10px;
left: 0;
}
}
display: block;
margin-bottom: 40px;
margin-top: 20px;
text-align: right;
}
}
Gabriel Engel
committed
.input-line {
Gabriel Engel
committed
&.search {
.icon-search {
position: absolute;
color: @secondary-font-color;
left: 5px;
top: 10px;
font-weight: 400;
}
.icon-spin4 {
position: absolute;
color: @secondary-font-color;
right: 5px;
top: 10px;
font-weight: 400;
-webkit-animation-name: spin;
-webkit-animation-duration: 2000ms;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-moz-animation-name: spin;
-moz-animation-duration: 2000ms;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
-ms-animation-name: spin;
-ms-animation-duration: 2000ms;
-ms-animation-iteration-count: infinite;
-ms-animation-timing-function: linear;
animation-name: spin;
animation-duration: 2000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
Gabriel Engel
committed
input {
padding-left: 25px;
}
}
display: block;
margin-bottom: 4px;
color: @primary-font-color;
}
width: 30%;
float: left;
margin-bottom: 0;
padding-right: 20px;
text-align: right;
line-height: 15px;
padding: 10px 20px 10px 0;
}
display: inline-block;
margin-right: 4px;
line-height: 35px;
margin-right: 4px;
}
}
}
}
Gabriel Engel
committed
}
@-ms-keyframes spin {
from { -ms-transform: rotate(0deg); }
to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
Gabriel Engel
committed
.rocket-h2 {
font-weight: 300;
text-transform: uppercase;
font-size: 20px;
letter-spacing: -0.5px;
margin: 18px 0;
color: #EFEFEF;
}
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
Gabriel Engel
committed
.rocket-h3 {
font-weight: 300;
text-transform: uppercase;
font-size: 16px;
letter-spacing: -0.5px;
margin: 18px 0;
color: #EAEAEA;
}
html {
overflow-y: scroll;
.custom-scroll(transparent, rgba(255, 255, 255, 0.05), 3px);
Gabriel Engel
committed
height: 100%;
&.noscroll {
overflow: hidden;
}
}
body {
font-family: "Roboto", "HelveticaNeue-Light", "sans-serif";
font-size: 14px;
Gabriel Engel
committed
height: 100%;
width: 100%;
-webkit-font-smoothing: antialiased;
line-height: 1rem;
padding: 0;
overflow: visible;
position: relative;
}
// input & form styles
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
input:focus {
outline: none;
box-shadow: 0 0 0;
Gabriel Engel
committed
}
textarea,
select,
input[type='text'],
input[type='number'],
Gabriel Engel
committed
input[type='email'],
input[type='password'] {
-webkit-appearance: none;
Gabriel Engel
committed
height: 35px;
line-height: normal;
Gabriel Engel
committed
background-color: #fff;
Gabriel Engel
committed
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
padding: 2px 8px;
position: relative;
width: 100%;
outline: none;
}
input.input-forward {
width: 0px;
visibility: hidden;
.transition(width .5s ease-in);
}
input.input-forward.show {
visibility: visible;
.calc(width, ~'100% - 48px');
}
input.search {
&:before {
content: " ";
width: 30px;
height: 30px;
display: block;
position: absolute;
top: 0;
left: 0;
background-color: #000;
}
}
Gabriel Engel
committed
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
position: relative;
}
.form-group {
.-btn {
margin-left: 2px;
&:nth-child(1) {
margin-left: 3px;
}
}
.input-group {
padding: 2px 0;
}
}
.form-horizontal .control-label {
padding-top: 12px;
font-weight: bold;
color: @primary-font-color;
}
.-autocomplete-container {
box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
border: none;
border-radius: 0;
width: 100%;
top: auto !important;
p {
font-size: 14px;
padding: 8px 8px;
color: @secondary-font-color;
}
background-image: url('/images/logo/loading.gif');
background-position: center;
background-repeat: no-repeat;
display: block;
height: 40px;
margin-bottom: 12px;
}
}
Gabriel Engel
committed
}
.-autocomplete-item {
padding: 8px 5px;
font-size: 12px;
cursor: pointer;
color: @secondary-font-color;
}
&.selected {
background-color: @tertiary-background-color;
color: @primary-font-color;
}
Gabriel Engel
committed
}
label.required:after {
content: ' *';
color: red;
}
Gabriel Engel
committed
.status-offline,
color: @status-offline;
Gabriel Engel
committed
}
.status-online,
Gabriel Engel
committed
}
.status-busy,
color: @status-busy;
Gabriel Engel
committed
}
.status-away,
Gabriel Engel
committed
}
// TODO -- Refactor favorite styles and logic;
Gabriel Engel
committed
.favorite-room {
color: #FECF09;
}
.toggle-favorite {
color: #AAA;
}
.loading {
background-image: url('/images/loading.gif');
background-repeat: no-repeat;
background-position: 50%;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
&.inline {
position: relative;
min-height: 40px;
background-size: 24px 24px;
}
}
.btn-loading {
color: #444 !important;
Gabriel Engel
committed
pointer-events: none;
cursor: not-allowed;
background-color: transparent !important;
box-shadow: none !important;
Gabriel Engel
committed
border: none;
&:hover {
background-color: transparent !important;
}
i {
display: block;
}
div {
display: none;
Gabriel Engel
committed
}
}
// new layout buttons
.button {
display: inline-block;
background-color: #FFF;
font-size: 13px;
margin: 4px;
text-transform: uppercase;
word-spacing: 0;
border: none;
line-height: 16px;
position: relative;
background-color: lighten(desaturate(@primary-background-color, 15%), 12.5%);
position: relative;
z-index: 2;
}
content: " ";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
z-index: 1;
.transition(opacity .1s ease-out);
}
&:hover {
text-decoration: none;
color: #FFF;
opacity: 1;
}
}
background-color: @tertiary-background-color;
color: @primary-font-color;
min-width: 120px;
background-color: #bc2031;
}
&.short {
min-width: 100px;
}
&.lightblue {
min-width: 100px;
background-color: #02acec;
}
background-color: rgba(0, 0, 0, 0.025);
font-size: 14px;
&.facebook {
background-color: #325c99;
}
&.twitter {
background-color: #02acec;
}
&.google {
background-color: #dd4b39;
}
&.github {
background-color: #4c4c4c;
}
&.trello {
background-color: #026aa7;
}
&.meteor-developer {
background-color: #de4f4f;
}
&.button-block {
display: block;
width: 100%;
}
Gabriel Engel
committed
.sec-header {
margin: 16px 0;
text-align: center;
> * {
display: inline-table;
width: auto;
vertical-align: middle;
line-height: 35px;
}
label {
margin-left: 20px;
}
}
.burger {
padding: 12px;
visibility: hidden;
display: none;
cursor: pointer;
margin-left: 7px;
position: absolute;
Gabriel Engel
committed
.transition(transform .2s ease-out .1s);
i {
display: block;
height: 2px;
width: 20px;
margin: 5px 0;
background-color: #333;
opacity: .8;
.transition(transform .2s ease-out,
width .2s ease-out);
Gabriel Engel
committed
&:nth-child(1) {
// .transition-delay(.06s);
}
&:nth-child(3) {
.transition-delay(.1s);
}
}
.unread-burger-alert {
background-color: #F95555;
border-radius: 20px;
position: absolute;
min-width: 18px;
height: 18px;
line-height: 18px;
text-align: center;
color: white;
font-weight: bold;
font-size: 12px;
top: 8px;
right: 4px;
z-index: 3;
padding: 0px 4px;
}
Gabriel Engel
committed
}
.arrow {
display: block;
width: 25px;
height: 25px;
z-index: 100;
.calc(top,
~"50% - 13px");
&:before,
&:after {
content: " ";
display: block;
background-color: #aaa;
width: 2px;
height: 10px;
position: absolute;
.calc(top,
~"50% - 5px");
.calc(left,
~"50% - 5px");
}
&:before {
.transform(rotate(135deg) translateX(-4px));
.transition(transform .185s ease-out .085s,
background .15s ease-out);
}
&:after {
.transform(rotate(-135deg) translateX(-4px));
.transition(transform .185s ease-out,
background .15s ease-out);
}
&.left {
&:before {
.transform(rotate(45deg) translateY(-4px));
}
&:after {
.transform(rotate(-45deg) translateY(4px));
}
}
Rodrigo Nascimento
committed
&.top {
&:before {
.transform(rotate(45deg) translateX(-2px) translateY(2px));
}
&:after {
.transform(rotate(-45deg) translateX(2px) translateY(2px));
}
}
&.bottom {
&:before {
.transform(rotate(-45deg) translateX(-2px) translateY(-2px));
}
&:after {
.transform(rotate(45deg) translateX(2px) translateY(-2px));
}
}
&.close {
&:before {
.transform(rotate(-45deg));
}
&:after {
.transform(rotate(45deg));
}
}
display: block;
width: 25px;
height: 25px;
z-index: 100;
position: relative;
content: " ";
display: block;
background-color: #aaa;
width: 2px;
height: 10px;
position: absolute;
.calc(top,
~"50% - 5px");
.calc(left,
~"50% - 1px");
.transform-origin(50%,
50%);
.transition(transform .315s ease-out .1s,
background .15s ease-out);
.transition(transform .315s ease-out .3s,
background .15s ease-out);
.transform(rotate(-90deg));
}
}
}
a.github-fork {
Gabriel Engel
committed
position: fixed;
display: block;
width: 260px;
z-index: 901;
right: -62px;
top: 50px;
background-size: 100% auto;
cursor: pointer;
background-color: #5c5c5c;
color: #f0f0f0;
padding: 1em 0 0.95em;
line-height: 1.04em;
text-decoration: none;
font-size: 1.04em;
box-shadow: -2px 3px 1px rgba(0, 0, 0, 0.23);
opacity: 1;
text-transform: uppercase;
font-weight: 400 !important;
.transform(rotate(45deg) translateY(0));
.transition(background-color .2s ease-out,
transform .45s cubic-bezier(.15,
0,
0,
1) 2.15s,
opacity .2s ease-out 2.15);
&:hover {
background-color: #4b4b4b;
color: #FFF;
}
&:before {
content: " ";
border-top: 1px dashed #f0f0f0;
position: absolute;
top: 3px;
width: 100%;
left: 0;
height: 1px;
z-index: 1;
}
&:after {
content: " ";
border-top: 1px dashed #f0f0f0;
position: absolute;
bottom: 2px;
z-index: 1;
left: 0;
width: 100%;
height: 1px;
}
}
.mac-bar {
display: block;
position: relative;
height: 24px;
background-color: #ddd;
Gabriel Engel
committed
width: 100%;
z-index: 10;
i {
height: 12px;
width: 12px;
Gabriel Engel
committed
display: inline-block;
background-color: #ff5f57;
border-radius: 50%;
position: absolute;
top: 6px;
left: 10px;
&:nth-child(2) {
left: 26px;
background-color: #ffbd2e;
Gabriel Engel
committed
}
&:nth-child(3) {
left: 42px;
background-color: #28ca41;
Gabriel Engel
committed
}
}
}
.avatar {
height: 100%;
width: 100%;
overflow: hidden;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
&[initials]:before {
content: attr(initials);
position: absolute;
position: absolute;
font-size: 22px;
text-align: center;
width: 100%;
height: 100%;
color: #FFF;
justify-content: center;
font-family: Helvetica;
text-transform: uppercase;
font-weight: bold;
}