Newer
Older
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
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
.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
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
}
&.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;
.search {
width: 100%;
margin-bottom: 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;
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 {
&.fixed {
opacity: 1;
.transform(translateX(0));
}
Gabriel Engel
committed
}
i {
Gabriel Engel
committed
}
input[type="text"] {
width: 100%;
font-size: 12px;
}
}
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
.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 {
Gabriel Engel
committed
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);
.cms-page-close {
margin-bottom: 10px;
text-align: right;
}
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
.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));
}
}
&.main-modal {
left: 0px;
margin-right: 0px;
}
.container-fluid {
padding-top: 0;
}
.history-date {
margin-bottom: 20px;
}
}
.page-settings {
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
.content {
padding: 20px 0;
background-color: #f8f8f8;
color: #444;
> .info {
max-width: auto;
line-height: 24px;
padding-left: 20px;
font-size: 16px;
font-weight: 500;
}
}
.section {
border: 1px solid #ddd;
border-left: none;
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
&.section-collapsed {
.section-content {
display: none;
}
}
font-size: 24px;
font-weight: 600;
color: #444;
line-height: 40px;
.section-title-text {
flex-grow: 1;
}
.section-title-right {
line-height: 0px;
}
}
.section-content {
border: none !important;
border-radius: 0px !important;
.input-line {
border-bottom: 1px solid #eee;
padding: 20px 0;
margin-bottom: 0px;
&:last-child {
border-bottom: none;
padding-bottom: 0;
}
&:first-child {
padding-top: 0;
}
Rodrigo Nascimento
committed
&.setting-changed {
> label {
color: #627CFF
}
}
&[disabled] {
label {
color: #888;
}
}
input {
color: #444;
}
> label {
text-align: left;
font-weight: 500;
font-size: 16px;
line-height: 20px;
color: #444;
}
.settings-description {
color: #888;
padding: 5px;
.settings-alert {
background-color: rgb(255, 255, 230);
border: 1px solid rgb(255, 242, 196);
color: orange;
font-weight: bold;
padding: 5px;
}
.settings-description {
.allow-text-selection;
}
.rocket-form {
max-width: none;
padding: 0;
}
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
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
.settings-file-preview {
display: flex;
align-items: center;
input[type=file] {
position: absolute !important;
width: 100%;
top: 0;
left: 0;
height: 100%;
opacity: 0;
z-index: 10000;
cursor: pointer;
* {
cursor: pointer;
}
}
.preview {
height: 50px;
width: 100px;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 0 1px rgba(0,0,0,.5) inset;
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
&.no-file {
background-color: #fafafa;
display: flex;
align-items: center;
justify-content: center;
color: #ccc;
font-size: 24px;
}
}
}
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;