Newer
Older
Gabriel Engel
committed
clear: both;
}
}
Gabriel Engel
committed
.box-sizing(border-box);
Gabriel Engel
committed
*: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
}
text-align: left;
cursor: pointer;
text-transform: inherit;
color: inherit;
font-style: inherit;
}
.allow-text-selection {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
Gabriel Engel
committed
.text-right {
text-align: right;
}
.no-scroll {
overflow: hidden !important;
}
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
Gabriel Engel
committed
:focus {
outline: 0 !important;
outline-color: transparent;
outline-style: none;
}
text-decoration: none;
}
}
white-space: pre-wrap;
Fahad Alduraibi
committed
unicode-bidi: embed;
direction: ltr;
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
display: inline;
padding: 0 0.5em;
margin: 0 0.1em;
code.hljs {
overflow-y: hidden;
}
pre {
display: inline-block;
width: 100%;
}
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
Rodrigo Nascimento
committed
width: 4px;
border-radius: 2px;
top: -1px;
bottom: -1px;
.login-terms {
font-size: smaller;
width: 520px;
padding: 10px;
max-width: 100%;
margin: auto;
a {
font-weight: bold !important;
text-decoration: underline;
}
}
.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,
.cozy .first-unread,
.compact .first-unread {
&.message,
&.sequential.message {
padding-top: 20px;
}
.body {
&::before {
content: "";
display: block;
position: absolute;
transition: background-color, 0.5s, linear;
&::after {
content: "unread messages";
display: block;
position: absolute;
transition: color, 0.5s, linear;
.text-center {
text-align: center;
}
.connection-status > .alert {
padding: 2px;
position: absolute;
width: 100%;
.alert {
padding: 15px;
margin-bottom: 20px;
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;
}
.scrollable {
&:extend(.fill-all);
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
&:extend(.fill-all);
overflow-y: hidden;
&:extend(.fill-all);
padding: 25px 40px;
overflow-y: scroll;
margin-top: 60px;
-webkit-overflow-scrolling: touch;
.calc(height, ~'100% - 60px');
fieldset {
margin-bottom: 1em;
}
legend {
margin: 12px 0;
position: relative;
width: 100%;
display: block;
font-weight: bold;
h3 {
margin-bottom: 5px !important;
}
}
margin-top: 20px;
label {
display: block;
margin-top: 20px;
}
}
margin-bottom: 30px;
width: 100%;
th,
td {
vertical-align: middle;
padding: 0.6rem 0.7rem;
text-align: left;
border-width: 0 0 1px;
}
th {
white-space: nowrap;
}
Gabriel Engel
committed
.input-line {
Gabriel Engel
committed
&.search {
position: absolute;
top: 10px;
.icon-spin {
right: 5px;
left: auto;
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 {
Gabriel Engel
committed
}
}
.right {
position: absolute;
right: 10px;
top: 10px;
z-index: 10;
}
}
> div.-autocomplete-container {
position: absolute;
}
width: 30%;
float: left;
margin-bottom: 0;
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 {
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%;
Gabriel Engel
committed
&.noscroll {
overflow: hidden;
}
}
body {
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'],
Gabriel Engel
committed
input[type='password'] {
-webkit-appearance: none;
Gabriel Engel
committed
height: 35px;
line-height: normal;
Gabriel Engel
committed
padding: 2px 8px;
position: relative;
width: 100%;
outline: none;
Gabriel Engel
committed
}
input.input-forward {
Gabriel Engel
committed
visibility: hidden;
transition: width 0.5s ease-in;
Gabriel Engel
committed
}
input.input-forward.show {
visibility: visible;
.calc(width, ~'100% - 48px');
}
input.search {
Gabriel Engel
committed
content: " ";
width: 30px;
height: 30px;
display: block;
position: absolute;
top: 0;
left: 0;
}
}
form.inline {
input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
select {
Gabriel Engel
committed
position: relative;
}
.form-group {
.input-group {
padding: 2px 0;
}
}
.form-horizontal .control-label {
padding-top: 12px;
font-weight: bold;
}
.-autocomplete-container {
box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
Gabriel Engel
committed
border-radius: 0;
width: 100%;
top: auto !important;
Gabriel Engel
committed
p {
font-size: 14px;
Gabriel Engel
committed
}
position: relative;
min-height: 60px;
Gabriel Engel
committed
}
.-autocomplete-item {
padding: 8px 5px;
font-size: 12px;
cursor: pointer;
}
content: ' *';
}
Gabriel Engel
committed
.btn-loading {
pointer-events: none;
cursor: not-allowed;
box-shadow: none !important;
i {
display: block;
}
div {
display: none;
Gabriel Engel
committed
}
}
// new layout buttons
display: inline-block;
text-transform: uppercase;
word-spacing: 0;
line-height: 16px;
position: relative;
position: relative;
z-index: 2;
}
&.button-block {
display: block;
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
&[disabled] {
cursor: initial;
}
&.external-login {
color: white;
&.facebook {
background-color: #325c99;
}
&.twitter {
background-color: #02acec;
}
&.google {
background-color: #dd4b39;
}
&.github {
background-color: #4c4c4c;
}
&.gitlab {
background-color: #373d47;
}
&.trello {
background-color: #026aa7;
}
&.meteor-developer {
background-color: #de4f4f;
}
&.wordpress {
background-color: #1e8cbe;
}
&.linkedin {
background-color: #1b86bc;
}
}
display: -webkit-flex;
display: -moz-flex;
display: flex;
margin-bottom: 4px;
.oauth-panel {
.buttons-group {
.button:first-child {
flex-grow: 0;
}
}
}
Gabriel Engel
committed
.sec-header {
margin: 16px 0;
text-align: center;
Gabriel Engel
committed
> * {
display: inline-table;
width: auto;
vertical-align: middle;
line-height: 35px;
}
Gabriel Engel
committed
label {
margin-left: 20px;
}
}
.burger {
padding: 12px;
visibility: hidden;
display: none;
cursor: pointer;
margin-left: 7px;
position: absolute;
will-change: transform;
transition: transform 0.2s ease-out 0.1s;
Gabriel Engel
committed
i {
display: block;
height: 2px;
width: 20px;
margin: 5px 0;
transition: transform 0.2s ease-out;
Gabriel Engel
committed
}
.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;
&.menu-opened {
i {
&:nth-child(1),
&:nth-child(3) {
opacity: 1;
.transform-origin(50%, 50%, 0);
}
&:nth-child(1) {
.transform(translate(-25%, 3px) rotate(-45deg) scale(0.5, 1));
}
&:nth-child(3) {
.transform(translate(-25%, -3px) rotate(45deg) scale(0.5, 1));
}
}
}
Gabriel Engel
committed
}
.arrow {
display: block;
width: 25px;
height: 25px;
z-index: 100;
content: " ";
display: block;
width: 2px;
height: 10px;
position: absolute;
.calc(top, ~"50% - 5px");
.calc(left, ~"50% - 5px");
.transform(rotate(135deg) translateX(-4px));
transition: transform 0.185s ease-out, background 0.15s ease-out;
.transform(rotate(-135deg) translateX(-4px));
transition: transform 0.185s ease-out, background 0.15s ease-out;
.transform(rotate(45deg) translateY(-4px));
}
.transform(rotate(-45deg) translateY(4px));
}
}
Rodrigo Nascimento
committed
&.top {
.transform(rotate(-135deg) translateX(2px) translateY(-2px));
Rodrigo Nascimento
committed
}
.transform(rotate(135deg) translateX(-2px) translateY(-2px));
Rodrigo Nascimento
committed
}
}
Rodrigo Nascimento
committed
&.bottom {
Rodrigo Nascimento
committed
.transform(rotate(-45deg) translateX(-2px) translateY(-2px));
}
Rodrigo Nascimento
committed
.transform(rotate(45deg) translateX(2px) translateY(-2px));
}
}
Rodrigo Nascimento
committed
&.close {
.transform(rotate(-135deg) translateX(0) translateY(0));
Rodrigo Nascimento
committed
}
.transform(rotate(135deg) translateX(0) translateY(0));
Rodrigo Nascimento
committed
}
}
.avatar {
height: 100%;
width: 100%;
overflow: hidden;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
content: attr(initials);
position: absolute;
font-size: 22px;
text-align: center;
width: 100%;
height: 100%;
justify-content: center;
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 0.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%;
Gabriel Engel
committed
.info {
position: relative;
height: 100%;
Gabriel Engel
committed
.thumb {
float: left;
position: relative;
width: 42px;
padding: 0;
height: 42px;
Gabriel Engel
committed
content: " ";
display: block;
Gabriel Engel
committed
z-index: 10;
position: absolute;
Gabriel Engel
committed
}
.avatar-initials {
line-height: 44px;
}
Gabriel Engel
committed
}
Gabriel Engel
committed
.data {
float: left;
position: relative;