Newer
Older
.clearfix {
clear: both;
&::after {
content: "";
display: table;
Gabriel Engel
committed
clear: both;
}
}
Gabriel Engel
committed
.box-sizing(border-box);
Gabriel Engel
committed
*:not(input):not(textarea),
*:not(input):not(textarea):before,
*:not(input):not(textarea):after {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
Gabriel Engel
committed
}
:focus {
outline: 0 !important;
outline-color: transparent;
outline-style: none;
}
text-decoration: none;
}
}
white-space: pre-wrap;
display: inline;
padding: 0 0.5em;
margin: 0 0.1em;
code.hljs {
overflow-y: hidden;
}
pre {
display: inline-block;
width: 100%;
}
Rodrigo Nascimento
committed
width: 4px;
Rodrigo Nascimento
committed
border-radius: 10px;
.login-terms {
max-width: 400px;
margin: auto;
a {
font-weight: bold !important;
text-decoration: underline;
&:hover {
}
}
}
.upload-preview {
.upload-preview-file {
height: 200px;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
}
.upload-preview-title {
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 {
}
&::after {
}
}
}
.body {
&::before {
content: "";
display: block;
height: 1px;
position: absolute;
right: 0px;
.transition(background-color, .5s, linear);
}
&::after {
content: "unread messages";
display: block;
position: absolute;
right: 0px;
line-height: 10px;
.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-radius: 4px;
}
.alert-warning {
}
.alert-danger {
}
visibility: hidden !important;
display: none !important;
}
Gabriel Engel
committed
.small-title {
Gabriel Engel
committed
font-size: 13px;
text-transform: uppercase;
margin-bottom: 5px;
font-weight: 600;
}
.fill-all {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.scrollable {
&:extend(.fill-all);
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
margin-bottom: 23px;
position: relative;
width: 100%;
display: block;
content: " ";
height: 1px;
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 {
Gabriel Engel
committed
position: absolute;
Gabriel Engel
committed
top: 10px;
font-weight: 400;
}
.icon-spin4 {
position: absolute;
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;
}
.icon-search {
position: absolute;
left: 2px;
top: 10px;
}
Gabriel Engel
committed
input {
Gabriel Engel
committed
}
}
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;
}
-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;
}
html {
overflow-y: scroll;
Gabriel Engel
committed
height: 100%;
&.noscroll {
overflow: hidden;
}
}
body {
font-family: "Roboto", "HelveticaNeue-Light", "sans-serif";
font-size: 14px;
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
428
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
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;
}
}
Gabriel Engel
committed
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
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;
}
.-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;
}
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;
Gabriel Engel
committed
}
label.required:after {
content: ' *';
}
Gabriel Engel
committed
.status-offline,
Gabriel Engel
committed
}
.status-online,
Gabriel Engel
committed
}
.status-busy,
Gabriel Engel
committed
}
.status-away,
Gabriel Engel
committed
}
// TODO -- Refactor favorite styles and logic;
Gabriel Engel
committed
.favorite-room {
}
.toggle-favorite {
}
.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 {
pointer-events: none;
cursor: not-allowed;
box-shadow: none !important;
Gabriel Engel
committed
border: none;
&:hover {
}
i {
display: block;
}
div {
display: none;
Gabriel Engel
committed
}
}
// new layout buttons
.button {
display: inline-block;
padding: 9px 12px;
font-weight: 500;
font-size: 13px;
margin: 4px;
text-transform: uppercase;
word-spacing: 0;
border: none;
line-height: 16px;
position: relative;
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;
opacity: 1;
}
}
&.short {
min-width: 100px;
}
&.lightblue {
min-width: 100px;
}
&.facebook {
}
&.twitter {
}
&.google {
}
&.github {
}
&.trello {
}
&.meteor-developer {
}
&.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;
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 {
border-radius: 20px;
position: absolute;
min-width: 18px;
height: 18px;
line-height: 18px;
text-align: center;
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;
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));
}
}
}
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;
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 {
}
&:before {
content: " ";
position: absolute;
top: 3px;
width: 100%;
left: 0;
height: 1px;
z-index: 1;
}
&:after {
content: " ";
position: absolute;
bottom: 2px;
z-index: 1;
left: 0;
width: 100%;
height: 1px;
}
}
.mac-bar {
display: block;
position: relative;
height: 24px;
Gabriel Engel
committed
width: 100%;
z-index: 10;
i {
height: 12px;
width: 12px;
Gabriel Engel
committed
display: inline-block;
border-radius: 50%;
position: absolute;
top: 6px;
left: 10px;
&:nth-child(2) {
left: 26px;
Gabriel Engel
committed
}
&:nth-child(3) {
left: 42px;
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%;
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;
.transition(opacity .2s ease-out);
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%;
Adriano Caheté
committed
z-index: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;
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 {
}
}
&.status-online {
.thumb:after {
}
}
&.status-away {
.thumb:after {
}
}
&.status-busy {
.thumb:after {
}
}
}
.options {
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;
direction: rtl;
Rodrigo Nascimento
committed
.calc(height, ~'100% - ' @header-min-height + @footer-min-height);
.transition(transform .3s cubic-bezier(.5, 0, .1, 1));
Adriano Caheté
committed
z-index:99;
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;
Gabriel Engel
committed
border-radius: 50%;
z-index: 5;
position: absolute;
.calc(top,
~"50% - 8px");
Gabriel Engel
committed
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
}
&.offline {
&:after {
}
}
&.online {
&:after {
}
}
&.away {
&:after {
}
}
&.busy {
&:after {
}
}
}
span.soon {
// content: "em breve";
width: 100px;
position: absolute;
right: -30px;
font-size: 10px;
top: 17px;
}
i {
width: 26px;
display: inline-block;
text-align: center;
Gabriel Engel
committed
}
a {
position: relative;
display: table;
width: 100%;
height: 20px;
padding: 15px 12px;
line-height: 1;
text-decoration: none;
Gabriel Engel
committed
&:nth-child(even) {
}
&:hover {
text-decoration: none;
}
}
.icon-logout {
&:before {
.icon-camera {
&:before {
Gabriel Engel
committed
}
&.active .info,
Gabriel Engel
committed
h4 {
}
}
Gabriel Engel
committed
}
}
// rooms-box
overflow-y: auto;
overflow-x: hidden;
.transition(transform .3s cubic-bezier(.5, 0, .1, 1));
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;
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;
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;
Adriano Caheté
committed
overflow-y: auto;
display: block;
-webkit-overflow-scrolling: touch;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
padding: 35px 10px;
margin-bottom: 30px;
font-weight: 400;
text-transform: uppercase;
font-size: 13px;
}
text-transform: uppercase;
font-weight: 400;
margin-bottom: 0;
}
border-width: 0 0 1px 0;
padding: 0 8px;
box-shadow: 0 0 0;
border-radius: 0;
-webkit-appearance: none;
-webkit-border-radius: 0px;
display: inline-block;
padding: 5px;
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;
z-index: 100;
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;
}
.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;
> .wrapper {
direction: ltr;
padding-left: 8px;
padding-bottom: 1em;
display: block;
font-size: 11px;
padding: 4px 0 4px 10px;
margin-top: 2px;
&:hover {
Gabriel Engel
committed
}
}
text-align: center;
font-size: 12px;
padding: 0;
text-align: left;
margin-bottom: -20px;
margin-top: -12px;
display: block;
margin-bottom: 2px;
}
}
padding: 2px 10px;
Gabriel Engel
committed
.header {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 110;
Gabriel Engel
committed
min-height: @header-min-height;
height: @header-min-height;
Gabriel Engel
committed
}
position: absolute;
top: 18px;
right: 8px;
z-index: 1000;
cursor: pointer;
&.hover,
&:hover {
&:before,
&:after {
Gabriel Engel
committed
.footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
Gabriel Engel
committed
text-align: right;
min-height: @footer-min-height;
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;
a {
display: block;
}
&:hover {
}
Gabriel Engel
committed
}
.unread {
min-width: 15px;
padding: 0 2px;
border-radius: 2px;
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;
opacity: 0;
.transform(translateX(-10px));
.transition(opacity .15s ease .35s,
transform .12s ease-out .35s);
Gabriel Engel
committed
}
&:hover {
.opt {
opacity: 1;
.transform(translateX(0));
}
}
&.active {
a {
}
.opt {
}
}
&.has-unread {
.opt {
opacity: 0;
}
}
&.has-alert {
.name {
font-weight: bold;
}
}
Gabriel Engel
committed
&.away {
a {
}
}
}
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;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
&:hover {
text-decoration: none;
}
}
.opt {
position: absolute;
right: 0;
width: 50px;
Gabriel Engel
committed
text-align: right;
opacity: 0;
display: block;
.transition(opacity .12s ease);
Gabriel Engel
committed
i {
margin: 0 1px;
&:hover {
}
}
.icon-cancel-circled:before {
Gabriel Engel
committed
}
i {
Gabriel Engel
committed
}
input[type="text"] {
width: 100%;
font-size: 12px;
}
}
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
.unread-rooms {
background-color: #068FE4;
position: absolute;
z-index: 1000;
width: 100%;
text-align: center;
line-height: 24px;
color: white;
text-transform: uppercase;
font-weight: bold;
display: -webkit-flex;
display: flex;
align-items: center;
-webkit-align-items: center;
justify-content: center;
-webkit-justify-content: center;
&.top-unread-rooms {
top: 60px;
}
&.bottom-unread-rooms {
bottom: 70px;
}
i {
margin-left: 5px;
font-size: 12px;
}
}
.unread-rooms-mode {
max-height: 0;
opacity: 0;
overflow: hidden;
&.has-unread {
.transition(max-height 1s ease-in,opacity .5s linear);
max-height: 5000px;
opacity: 1;
}
}
Gabriel Engel
committed
}
.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);
Adriano Caheté
committed
padding: 25px 40px 0px;
Gabriel Engel
committed
overflow-y: scroll;
margin-top: 60px;
-webkit-overflow-scrolling: touch;
.calc(height,
~'100% - 60px');
Gabriel Engel
committed
}
}
.fixed-title {
position: absolute;
Gabriel Engel
committed
z-index: 100;
top: 0;
left: 0;
Adriano Caheté
committed
height: @header-min-height+1px;
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
}
.cms-page {
max-width: 800px;
margin: 40px auto;
padding: 20px;
border-radius: 5px;
box-shadow: 1px 1px 4px rgba(0,0,0,.3);
}
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
.spotlight {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1000;
display: flex;
display: -webkit-flex;
justify-content: center;
padding: 0 40px;
> .spotlight-input {
width: 100%;
max-width: 600px;
font-size: 24px;
margin-top: 6%;
> input {
box-shadow: 0px 10px 20px rgba(0,0,0,.5);
border-width: 0px;
line-height: 46px;
height: 46px;
padding: 18px;
padding-left: 46px;
}
> i {
position: absolute;
z-index: 10;
line-height: 46px;
width: 46px;
text-align: center;
font-weight: 100;
}
}
}
Rodrigo Nascimento
committed
.mobile-message-menu {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1000;
justify-content: center;
padding: 0 40px;
> .buttons {
font-size: 24px;
position: absolute;
bottom: 0;
left: 10%;
right: 10%;
Rodrigo Nascimento
committed
.button {
display: block;
text-align: center;
}
}
.mobile-menu-separator {
height: 10px;
}
}
// 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;
}
}
.page-settings {
.rocket-form {
max-width: none;
padding: 0;
}
}
margin-bottom: 0;
}
}
p {
margin-bottom: 12px;
.section {
h1 {
font-size: 20px;
margin-top: 40px;
padding: 0 0 0 10px;
font-weight: 500;
}
Adriano Caheté
committed
&:first-of-type > h1 {
margin-top: 0px;
}
.section-content {
padding: 20px;
border-radius: 5px;
.section-helper {
padding: 20px 20px 40px;
pre {
display: inline;
background-color: #eee;
}
}
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
margin-left: -4px;
}
}
}
.page-list {
.search {
margin-bottom: 12px;
}
.results {
padding: 10px 0;
Gabriel Engel
committed
margin-bottom: 10px;
font-weight: 300;
p {
font-size: 12px;
text-transform: uppercase;
}
}
Gabriel Engel
committed
.list {
a {
padding: 3px;
margin-bottom: 5px;
.info {
h3 {
margin-bottom: 5px;
}
ul {
margin-left: 3px;
Gabriel Engel
committed
}
}
}
.room-info {
padding: 3px;
margin-bottom: 5px;
cursor: pointer;
Gabriel Engel
committed
h3 {
Gabriel Engel
committed
}
}
Gabriel Engel
committed
float: right;
Gabriel Engel
committed
}
thead {
th {
text-align: left;
}
}
tbody {
td {
vertical-align: middle;
padding: 0 2px;
}
tr {
cursor: pointer;
Gabriel Engel
committed
}
}
}
}
}
.image-to-download {
border-radius: 6px;
padding: 20px 15px;
margin-bottom: 5px;
text-transform: uppercase;
text-align: center;
cursor: pointer;
Rodrigo Nascimento
committed
height: 200px;
display: flex;
display: -webkit-flex;
flex-direction: column;
-webkit-flex-direction: column;
align-items: center;
-webkit-align-items: center;
justify-content: center;
-webkit-justify-content: center;
width: 200px;
i {
font-size: 24px;
}
}
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
.room-not-found {
display: flex;
display: -webkit-flex;
flex-direction: column;
-webkit-flex-direction: column;
align-items: center;
-webkit-align-items: center;
justify-content: center;
-webkit-justify-content: center;
font-size: 30px;
div {
line-height: 40px;
text-align: center;
}
i {
font-size: 100px;
padding-bottom: 30px;
}
}
.container-bars {
position: absolute;
top: 60px;
width: 100%;
z-index: 11;
font-weight: bold;
display: flex;
flex-direction: column;
> div {
height: 24px;
line-height: 24px;
padding: 0 10px;
border-top: 1px solid;
&:last-child {
box-shadow: 0px 1px 2px rgba(0,0,0,.2);
.upload-progress {
text-shadow: 1px 1px 0px rgba(0,0,0,.2);
&.upload-error {
}
.upload-progress-progress {
position: absolute;
left: 0px;
height: 100%;
width: 0%;
z-index: 1;
.transition(width, 1s, ease-out);
}
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
.upload-progress-text {
padding: 0 10px;
position: absolute;
left: 0px;
right: 0px;
height: 100%;
z-index: 2;
> a {
float: right;
text-transform: uppercase;
&:hover {
cursor: pointer;
}
}
}
}
.unread-bar {
background-color: #E6F4FD;
// line-height: 30px;
// font-size: 12px;
// padding: 0 10px;
// box-shadow: 0px 1px 2px rgba(0,0,0,.2);
color: #068FE4;
text-transform: uppercase;
text-align: center;
> a {
float: right;
&:hover {
cursor: pointer;
}
}
}
}
// change to page-messages
Gabriel Engel
committed
.messages-container {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
Adriano Caheté
committed
Gabriel Engel
committed
.edit-room-title {
margin-left: 4px;
font-size: 16px;
&:hover {
}
}
.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;
}
.footer {
position: absolute;
Adriano Caheté
committed
padding: 8px 20px 0px 20px;
Gabriel Engel
committed
z-index: 100;
bottom: 0;
left: 0;
width: 100%;
Gabriel Engel
committed
}
Rodrigo Nascimento
committed
.message-popup-position {
position: relative;
}
.message-popup {
position: absolute;
z-index: 101;
Rodrigo Nascimento
committed
bottom: 0px;
box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
padding: 10px 20px;
font-size: 18px;
font-weight: 300;
}
.popup-item {
padding: 8px 20px;
line-height: 24px;
cursor: pointer;
user-select: none;
.popup-user-avatar {
width: 24px;
display: inline-block;
height: 24px;
background-size: contain;
border-radius: 3px;
margin: -7px 4px;
}
width: 10px;
height: 10px;
display: inline-block;
border-radius: 10px;
}
.popup-user-status-system {
}
.popup-user-status-offline {
}
.popup-user-status-online {
}
.popup-user-status-away {
}
.popup-user-status-busy {
}
.popup-slash-command-description {
float: right;
}
Gabriel Engel
committed
.message-form {
> div {
position: relative;
.input-message-container {
position: relative;
width: 100%;
}
font-size: 22px;
padding: 6px 0;
text-align: center;
border-radius: 5px 0 0 5px;
border-right: none;
cursor: pointer;
.transition(background-color 0.1s linear, color 0.1s linear);
&:hover {
}
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;
border-radius: 30px;
.transition(background-color 0.1s linear, color 0.1s linear);
&:hover {
}
Gabriel Engel
committed
}
textarea {
display: block;
Gabriel Engel
committed
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;
Gabriel Engel
committed
}
Gabriel Engel
committed
position: absolute;
right: 0px;
Gabriel Engel
committed
cursor: pointer;
padding: 8px;
Gabriel Engel
committed
&:hover {
}
}
Gabriel Engel
committed
font-size: 12px;
padding: 3px;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
Gabriel Engel
committed
}
display: -webkit-flex;
display: flex;
align-items: center;
position: absolute;
right: 20px;
opacity: .5;
.transition(opacity .2 linear);
> * {
margin: 0 3px;
}
&:before {
content: none !important;
}
}
code {
line-height: 13px;
overflow: hidden;
vertical-align: top;
font-size: 10px;
}
.hidden-br {
display: inline-block;
}
.icon-level-down:before {
transform: rotate(90deg);
Rodrigo Nascimento
committed
.editing-commands {
display: none;
text-transform: lowercase;
.editing-commands-cancel {
float: left;
height: 23px;
font-size: 11px;
padding: 3px;
}
Loading
Loading full blame...