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;
}
}
pre {
display: inline-block;
width: 100%;
}
&:before {
content: ' ';
background-color: #ccc;
.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;
}
.text-center {
text-align: center;
}
.connection-status > .alert {
padding: 2px;
position: absolute;
width: 100%;
z-index: 1000;
border-radius: 0px;
}
.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;
}
.hidden {
display: none;
}
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='email'],
input[type='password'] {
-webkit-appearance: none;
Gabriel Engel
committed
height: 35px;
line-height: normal;
Gabriel Engel
committed
background-color: #fff;
Gabriel Engel
committed
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
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
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
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
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
.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 {
background-image: url('/images/loading.gif');
background-repeat: no-repeat;
background-position: 50%;
color: transparent !important;
pointer-events: none;
cursor: not-allowed;
background-color: transparent;
border: none;
&:hover {
background-color: transparent;
}
}
// 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;
}
}
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;
}
#rocket-chat {
display: block;
bottom: 0;
left: 0;
right: 0;
width: auto;
height: auto;
opacity: 1;
visibility: visible;
background-color: #fff;
.transition(opacity .2s ease-out);
&.-hidden {
visibility: hidden;
opacity: 0;
}
> .alert {
margin-bottom: 0;
padding: 5px;
}
}
Gabriel Engel
committed
.account-box {
position: relative;
height: 100%;
cursor: pointer;
width: 100%;
.info {
position: relative;
height: 100%;
Gabriel Engel
committed
.thumb {
float: left;
height: 100%;
position: relative;
width: 42px;
padding: 0;
height: 42px;
Gabriel Engel
committed
&:after {
content: " ";
display: block;
Gabriel Engel
committed
z-index: 10;
position: absolute;
Gabriel Engel
committed
}
.avatar-initials {
line-height: 44px;
}
Gabriel Engel
committed
}
.data {
float: left;
position: relative;
Gabriel Engel
committed
height: 100%;
.calc(width,
~"100% - 60px");
Gabriel Engel
committed
}
h4 {
display: block;
line-height: 18px;
color: rgba(255, 255, 255, 0.65);
font-size: 16px;
margin-top: 3px;
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
width: 130px;
Gabriel Engel
committed
.transition(color .15s ease-out);
}
&.status-offline {
.thumb:after {
border-color: darken(@status-offline, 5%);
background-color: @status-offline;
Gabriel Engel
committed
}
}
&.status-online {
.thumb:after {
border-color: darken(@status-online, 5%);
background-color: @status-online;
Gabriel Engel
committed
}
}
&.status-away {
.thumb:after {
border-color: darken(@status-away, 5%);
background-color: @status-away;
Gabriel Engel
committed
}
}
&.status-busy {
.thumb:after {
border-color: darken(@status-busy, 5%);
background-color: @status-busy;
Gabriel Engel
committed
}
}
}
.options {
background-color: @primary-background-color;
Gabriel Engel
committed
position: fixed;
top: @header-min-height;
left: 0;
padding-top: 15px;
width: @rooms-box-width;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
Rodrigo Nascimento
committed
.custom-scroll(transparent, rgba(255, 255, 255, 0.05));
Rodrigo Nascimento
committed
.calc(height, ~'100% - ' @header-min-height + @footer-min-height);
.transition(transform .3s cubic-bezier(.5, 0, .1, 1));
Gabriel Engel
committed
&._hidden {
Rodrigo Nascimento
committed
.transform(translateY(-100%) translateY(-50px));
Gabriel Engel
committed
}
> .wrapper {
direction: ltr;
}
Gabriel Engel
committed
.status {
Gabriel Engel
committed
position: relative;
&:after {
content: " ";
display: block;
width: 13px;
height: 13px;
border: 1px solid #6f6f6f;
border-radius: 50%;
z-index: 5;
position: absolute;
.calc(top,
~"50% - 8px");
Gabriel Engel
committed
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
}
&.offline {
&:after {
border-color: #666666;
background-color: #7b7b7b;
}
}
&.online {
&:after {
border-color: #2c9210;
background-color: #35AC19;
}
}
&.away {
&:after {
border-color: #e69200;
background-color: #fcb316;
}
}
&.busy {
&:after {
border-color: #9f0030;
background-color: #D30230;
}
}
}
span.soon {
// content: "em breve";
width: 100px;
position: absolute;
right: -30px;
color: #aaa;
font-size: 10px;
top: 17px;
}
i {
width: 26px;
display: inline-block;
text-align: center;
Gabriel Engel
committed
}
a {
position: relative;
display: table;
color: rgba(255, 255, 255, 0.5);
width: 100%;
height: 20px;
padding: 15px 12px;
line-height: 1;
text-decoration: none;
border-bottom: 1px solid darken(@primary-background-color, 2%);
Gabriel Engel
committed
&:nth-child(even) {
// background-color: #EFEFEF;
}
&:hover {
background-color: darken(@primary-background-color, 2%);
Gabriel Engel
committed
color: rgba(255, 255, 255, 0.75);
text-decoration: none;
}
}
.icon-logout {
&:before {
.icon-camera {
&:before {
Gabriel Engel
committed
}
&.active .info,
Gabriel Engel
committed
h4 {
color: rgba(255, 255, 255, 0.85);
}
}
color: rgba(255, 255, 255, 0.85);
}
Gabriel Engel
committed
}
}
// rooms-box
//background-color: @primary-background-color;
background-color: transparent;
overflow-y: auto;
overflow-x: hidden;
width: @rooms-box-width;
color: @tertiary-font-color;
.transition(transform .3s cubic-bezier(.5,
0,
.1,
1));
.custom-scroll(transparent,
rgba(255,
255,
255,
0.05));
header,
footer,
.content {
.transform(translateX(-100%));
}
}
header,
footer,
.content {
.transition(transform .425s cubic-bezier(0,
.8,
.05,
1));
header {
display: table;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 110;
min-height: @header-min-height;
height: @header-min-height;
padding-left: 15px;
.transition-delay(.05s);
background-color: @primary-background-color;
display: table-cell;
vertical-align: middle;
text-align: left;
font-size: 20px;
margin-top: 2px;
font-weight: 300;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
}
margin-top: 4px;
font-weight: 400;
font-size: 13px;
}
}
display: table;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 0 10px;
z-index: 120;
text-align: left;
background: #fff;
min-height: @footer-min-height;
background-color: @primary-background-color;
display: table-cell;
vertical-align: middle;
text-align: left;
direction: rtl;
position: absolute;
top: @header-min-height;
.calc(height,
~"100% - " @header-min-height + @footer-min-height);
width: 100%;
overflow-x: hidden;
overflow-y: scroll;
display: block;
-webkit-overflow-scrolling: touch;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
padding: 35px 10px;
.custom-scroll(transparent,
rgba(255,
255,
255,
0.05));
.transition-delay(.135s);
background-color: @primary-background-color;
margin-bottom: 30px;
font-weight: 400;
text-transform: uppercase;
font-size: 13px;
}
text-transform: uppercase;
font-weight: 400;
margin-bottom: 0;
color: inherit;
}
border-width: 0 0 1px 0;
border-color: @tertiary-font-color;
padding: 0 8px;
box-shadow: 0 0 0;
border-radius: 0;
-webkit-appearance: none;
-webkit-border-radius: 0px;
margin-right: 2px;
margin-bottom: 2px;
}
Gabriel Engel
committed
.side-nav {
position: fixed;
display: block;
top: 0;
bottom: 0;
left: 0;
width: @rooms-box-width;
height: auto;
overflow: visible;
background-color: #F4F4F4;
z-index: 100;
color: #000;
padding: 12px 0 0 0;
.transition(transform .3s ease-out);
Gabriel Engel
committed
&:before {
content: " ";
height: 1px;
width: 189px;
left: 8px;
position: absolute;
top: 59px;
background-color: #dfdfdf;
}
.rooms-list {
direction: rtl;
position: absolute;
top: @header-min-height;
.calc(height,
~"100% - " @header-min-height + @footer-min-height);
Gabriel Engel
committed
width: 100%;
overflow-x: hidden;
overflow-y: auto;
Gabriel Engel
committed
display: block;
-webkit-overflow-scrolling: touch;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
background-color: lighten(@primary-background-color, 2%);
.custom-scroll(transparent,
rgba(255,
255,
255,
0.05));
Gabriel Engel
committed
> .wrapper {
direction: ltr;
padding-left: 8px;
padding-bottom: 1em;
display: block;
color: @tertiary-font-color;
font-size: 11px;
padding: 4px 0 4px 10px;
margin-top: 2px;
&:hover {
background-color: rgba(0, 0, 0, 0.1);
Gabriel Engel
committed
}
}
text-align: center;
color: #f09286;
font-size: 12px;
padding: 0;
text-align: left;
margin-bottom: -20px;
margin-top: -12px;
display: block;
margin-bottom: 2px;
}
}
padding-left: 10px;
font-size: 11px;
padding: 2px 0 2px 10px;
color: @tertiary-font-color;
}
Gabriel Engel
committed
.header {
position: absolute;
top: 0;
left: 0;
width: 100%;
color: #fff;
z-index: 110;
Gabriel Engel
committed
min-height: @header-min-height;
height: @header-min-height;
background-color: @primary-background-color;
Gabriel Engel
committed
}
position: absolute;
top: 18px;
right: 8px;
z-index: 1000;
cursor: pointer;
&.hover,
&:hover {
&:before,
&:after {
background-color: rgba(255, 255, 255, 0.85);
}
}
}
Gabriel Engel
committed
.footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
Gabriel Engel
committed
text-align: right;
background: #fff;
min-height: @footer-min-height;
background-color: @primary-background-color;
Gabriel Engel
committed
.logo {
display: block;
width: 100%;
height: 100%;
Gabriel Engel
committed
&:hover {
text-decoration: none;
}
}
small {
font-size: 11px;
width: 100%;
display: block;
text-transform: lowercase;
Gabriel Engel
committed
}
img {
display: inline-block;
Gabriel Engel
committed
}
}
.search-form {
.search {
padding-left: 25px;
}
> div {
position: relative;
}
margin-right: 20px;
}
h3 {
&:extend(.small-title);
cursor: pointer;
position: relative;
text-transform: uppercase;
font-weight: 500;
margin: 25px 0 0 0;
color: @tertiary-font-color;
a {
color: inherit;
display: block;
}
&:hover {
background-color: rgba(0, 0, 0, 0.1);
}
Gabriel Engel
committed
}
.unread {
background-color: #1dce73;
min-width: 15px;
padding: 0 2px;
border-radius: 2px;
color: #FFF;
text-align: center;
position: absolute;
right: 6px;
font-size: 11px;
top: 6px;
line-height: 16px;
font-weight: 800;
}
ul {
position: relative;
Gabriel Engel
committed
li {
white-space: nowrap;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
Gabriel Engel
committed
position: absolute;
display: block;
right: -18px;
top: 2px;
color: #666;
opacity: 0;
.transform(translateX(-10px));
.transition(opacity .15s ease .35s,
transform .12s ease-out .35s);
Gabriel Engel
committed
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
}
&:hover {
.opt {
background-color: transparent;
opacity: 1;
.transform(translateX(0));
}
}
&.active {
a {
background-color: rgba(255, 255, 255, 0.075);
color: rgba(255, 255, 255, 0.75);
}
.opt {
background-color: transparent;
}
}
&.has-unread {
.opt {
opacity: 0;
}
}
&.has-alert {
.name {
color: #ffffff;
font-weight: bold;
}
}
Gabriel Engel
committed
&.away {
a {
color: #666;
}
}
}
a {
display: block;
border-radius: 2px 0 0 2px;
Gabriel Engel
committed
font-size: 15px;
position: relative;
line-height: 16px;
white-space: nowrap;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
text-decoration: none;
Gabriel Engel
committed
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
&:hover {
background-color: rgba(255, 255, 255, 0.05);
text-decoration: none;
}
}
.opt {
position: absolute;
right: 0;
width: 50px;
Gabriel Engel
committed
text-align: right;
opacity: 0;
background-color: transparent;
display: block;
Gabriel Engel
committed
.transform(translateX(-10px));
.transition(opacity .12s ease .25s,
transform .15s ease-out .25s);
Gabriel Engel
committed
i {
margin: 0 1px;
color: rgba(255, 255, 255, 0.5);
&:hover {
color: rgba(255, 255, 255, 0.75);
}
}
.icon-cancel-circled:before {
Gabriel Engel
committed
}
i {
color: rgba(255, 255, 255, 0.35);
Gabriel Engel
committed
}
input[type="text"] {
color: #000;
width: 100%;
font-size: 12px;
}
}
}
.new-room-highlight a {
-webkit-animation: highlight 2s infinite;
-moz-animation: highlight 2s infinite;
-o-animation: highlight 2s infinite;
animation: highlight 2s infinite;
}
Gabriel Engel
committed
.page-container {
&:extend(.fill-all);
overflow-y: hidden;
.content {
&:extend(.fill-all);
padding: 0px 40px;
overflow-y: scroll;
margin-top: 60px;
padding-top: 15px;
-webkit-overflow-scrolling: touch;
.calc(height,
~'100% - 60px');
.custom-scroll(transparent,
#EAEAEA);
Gabriel Engel
committed
}
}
.fixed-title {
position: absolute;
Gabriel Engel
committed
background: #fff;
border-bottom: 1px solid @tertiary-background-color;
Gabriel Engel
committed
z-index: 100;
top: 0;
left: 0;
overflow: visible;
}
}
Gabriel Engel
committed
h2 {
max-width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 22px;
font-weight: 500;
line-height: 29px;
.icon-at,
.icon-hash,
.icon-lock {
.icon-star,
.icon-star-empty {
margin-right: -4px;
}
Gabriel Engel
committed
}
.calc(width,
~'100% - 100px');
vertical-align: top;
margin-top: -4px;
margin-left: -3px;
font-size: 20px;
}
vertical-align: text-top;
margin-top: -7px;
display: inline-block;
font-size: 16px;
}
Gabriel Engel
committed
}
// MAIN CONTENT + MAIN PAGES //
.main-content {
position: fixed;
top: 0;
bottom: 0;
left: @rooms-box-width;
right: 0;
width: auto;
height: auto;
.transition(width .25s cubic-bezier(.5, 0, .1, 1));
&.flex-opened {
.flex-tab {
.transform(translateX(0));
}
}
.flex-tab {
max-width: @flex-tab-webrtc-width;
.transform(translateX(0));
}
}
&.layout2 {
right: @flex-tab-webrtc-2-width;
.flex-tab {
max-width: @flex-tab-webrtc-2-width;
.transform(translateX(0));
}
}
.container-fluid {
padding-top: 0;
}
.history-date {
margin-bottom: 20px;
}
}
margin-bottom: 0;
}
}
p {
margin-bottom: 12px;
margin-bottom: 0;
}
}
h1,
h2,
h3,
h4 {
font-weight: 300;
text-transform: uppercase;
margin-bottom: 12px;
}
Gabriel Engel
committed
}
}
Gabriel Engel
committed
}
Gabriel Engel
committed
max-width: 680px;
line-height: 20px;
Gabriel Engel
committed
}
Gabriel Engel
committed
margin-bottom: 8px;
}
Gabriel Engel
committed
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
margin-left: -4px;
}
}
}
.page-list {
.search {
margin-bottom: 12px;
}
.results {
padding: 10px 0;
border-bottom: 1px solid #DFDFDF;
margin-bottom: 10px;
font-weight: 300;
color: @secondary-font-color;
p {
font-size: 12px;
text-transform: uppercase;
}
}
.list {
a {
Gabriel Engel
committed
padding: 10px 16px;
width: 100%;
color: @primary-font-color;
border-bottom: 1px solid @secondary-background-color;
Gabriel Engel
committed
.transition(background .15s ease-out);
&:hover {
background-color: @secondary-background-color;
Gabriel Engel
committed
}
}
ul {
margin: 6px 0;
}
li {
display: inline-block;
margin-right: 14px;
font-size: 11px;
color: @secondary-font-color;
position: relative;
&:after {
content: " ";
width: 4px;
height: 4px;
border-radius: 50%;
background-color: @secondary-font-color;
position: absolute;
right: -12px;
.calc(top,
~"50% - 2px");
Gabriel Engel
committed
}
&:nth-last-child(1) {
&:after {
display: none;
}
}
}
.info {
display: block;
float: left;
.calc(width,
~"100% - 150px");
Gabriel Engel
committed
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
i {
margin-right: 5px;
width: 20px;
text-align: left;
}
h3 {
font-size: 18px;
font-weight: 500;
}
a {
text-decoration: none;
color: @primary-font-color;
}
}
.status {
display: block;
float: right;
width: 150px;
min-height: 30px;
color: @secondary-font-color;
text-align: right;
strong {
font-size: 12px;
font-weight: 500;
}
}
}
}
// change to page-messages
Gabriel Engel
committed
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
.messages-container {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
.edit-room-title {
color: @secondary-font-color;
margin-left: 4px;
font-size: 16px;
&:hover {
color: @primary-font-color;
}
}
.wrapper {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
Gabriel Engel
committed
overflow-x: hidden;
word-wrap: break-word;
-webkit-overflow-scrolling: touch;
.custom-scroll(transparent,
#EAEAEA);
Gabriel Engel
committed
}
.footer {
position: absolute;
border-top: 1px solid @tertiary-background-color;
Gabriel Engel
committed
z-index: 100;
bottom: 0;
left: 0;
width: 100%;
Gabriel Engel
committed
}
Rodrigo Nascimento
committed
.message-popup-position {
position: relative;
}
Rodrigo Nascimento
committed
bottom: 0px;
}
.message-popup-title {
background-color: @secondary-background-color;
border-bottom: 1px solid #EEE;
padding: 10px 20px;
font-size: 18px;
font-weight: 300;
}
.popup-item {
padding: 8px 20px;
color: @secondary-font-color;
&.selected {
background-color: @tertiary-background-color;
color: @primary-font-color;
Gabriel Engel
committed
.message-form {
> div {
position: relative;
.input-message-container {
position: relative;
width: 100%;
}
> .file {
width: 44px;
font-size: 22px;
padding: 6px 0;
text-align: center;
border: 1px solid #E7E7E7;
border-radius: 5px 0 0 5px;
border-right: none;
cursor: pointer;
color: #888;
background-color: #FCFCFC;
.transition(background-color 0.1s linear, color 0.1s linear);
&:hover {
background-color: #F1F1F1;
color: #666;
}
input {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
width: 44px;
opacity: 0;
cursor: pointer;
}
input::-webkit-file-upload-button {
width: 40px;
padding: 7px 0;
margin-left: 4px;
text-align: center;
cursor: pointer;
color: #888;
border-radius: 30px;
background-color: #FCFCFC;
.transition(background-color 0.1s linear, color 0.1s linear);
&:hover {
background-color: #F1F1F1;
color: #666;
}
Gabriel Engel
committed
}
textarea {
display: block;
padding-top: 9px;
padding-bottom: 9px;
padding-right: 38px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
Gabriel Engel
committed
overflow-y: hidden;
resize: none;
background-color: #fff7d8;
}
Gabriel Engel
committed
}
Gabriel Engel
committed
position: absolute;
right: 0px;
Gabriel Engel
committed
cursor: pointer;
padding: 8px;
Gabriel Engel
committed
color: @secondary-font-color;
&:hover {
color: @primary-font-color;
}
}
Gabriel Engel
committed
font-size: 12px;
background: #FCFCFC;
padding: 3px;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
Gabriel Engel
committed
}
position: absolute;
right: 20px;
q {
padding: 0 0 0 3px;
border-left: 3px solid #ccc;
&:before {
content: none !important;
}
}
code {
color: inherit;
line-height: 13px;
overflow: hidden;
vertical-align: top;
font-size: 10px;
}
.hidden-br {
display: inline-block;
}
.icon-level-down:before {
transform: rotate(90deg);
Gabriel Engel
committed
}
.add-user-search {
height: 100%;
overflow: hidden;
display: inline-block;
vertical-align: top;
width: 100%;
}
}
.messages-box {
position: relative;
Gabriel Engel
committed
overflow: hidden;
.calc(height,
~'100% - 120px');
Gabriel Engel
committed
padding: 21px 0 10px;
}
.load-more {
text-align: center;
span {
border: 1px solid #CCC;
border-radius: 20px;
padding: 5px 14px;
background-color: #EEE;
}
}
.start {
text-align: center;
margin-top: 12px;
color: @secondary-font-color;
}
Gabriel Engel
committed
.new-message {
margin: 0 -65px;
position: absolute;
background: #428bca;
border-radius: 20px;
width: 130px;
height: 30px;
text-align: center;
color: #FFF;
line-height: 30px;
font-size: 0.8em;
cursor: pointer;
bottom: 8px;
left: 50%;
.transition(transform 0.3s ease-out);
.transform(translateY(0));
&.not {
.transform(translateY(150%));
}
}
Gabriel Engel
committed
.message {
font-size: 14px;
padding-left: 50px;
position: relative;
line-height: 20px;
margin: 12px 20px 5px;
margin-top: 12px;
min-height: 40px;
Gabriel Engel
committed
&:nth-child(1) {
margin-top: 0;
}
&.new-day {
margin-top: 60px;
}
&.new-day {
&:before {
content: attr(data-date);
display: block;
position: absolute;
top: -30px;
left: 0;
font-size: 12px;
font-weight: 600;
text-align: center;
.calc(left,
~"50% - 70px");
color: @secondary-font-color;
z-index: 10;
}
&:after {
content: " ";
display: block;
position: absolute;
top: -20px;
left: 0;
width: 100%;
border-top: 1px solid #ddd;
}
.edit-message {
display: none;
cursor: pointer;
}
&.own:hover:not(.system) .edit-message {
Loading
Loading full blame...