Newer
Older
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;
background-color: transparent;
padding: 0 8px;
box-shadow: 0 0 0;
border-radius: 0;
}
}
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);
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%);
Gabriel Engel
committed
.custom-scroll(transparent, rgba(255, 255, 255, 0.05));
> .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;
&: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%;
&:hover {
text-decoration: none;
}
}
small {
font-size: 11px;
width: 100%;
display: block;
text-transform: lowercase;
Gabriel Engel
committed
margin-bottom: 1px;
font-weight: 300;
padding-right: 3px;
}
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
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
li {
white-space: nowrap;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
.remove, .erase {
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);
}
&: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);
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);
}
}
.fixed-title {
position: absolute;
display: table;
padding: 0 10px 0 20px;
Gabriel Engel
committed
background: #fff;
border-bottom: 1px solid @tertiary-background-color;
Gabriel Engel
committed
z-index: 100;
top: 0;
left: 0;
overflow: visible;
}
}
display: table-cell;
vertical-align: middle;
}
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-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 {
display: table;
position: relative;
margin-left: @rooms-box-width;
margin-top: 0;
height: 100%;
.calc(width, ~'100% - ' @rooms-box-width);
.transition(width .25s cubic-bezier(.5, 0, .1, 1));
&.flex-opened {
.calc(width, ~'100% - ' @rooms-box-width + @flex-tab-width);
margin-right: 420px;
.flex-tab {
.transform(translateX(0));
}
}
.container-fluid {
padding-top: 0;
}
.history-date {
margin-bottom: 20px;
}
}
Gabriel Engel
committed
margin-bottom: 12px;
}
Gabriel Engel
committed
font-weight: 300;
text-transform: uppercase;
}
}
Gabriel Engel
committed
display: inline-block;
Gabriel Engel
committed
margin-right: 6px;
Gabriel Engel
committed
}
Gabriel Engel
committed
margin-bottom: 20px;
max-width: 680px;
line-height: 20px;
Gabriel Engel
committed
}
Gabriel Engel
committed
margin-bottom: 8px;
}
Gabriel Engel
committed
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
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 {
.cf_;
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
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
1600
1601
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
}
}
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");
}
&:nth-last-child(1) {
&:after {
display: none;
}
}
}
.info {
display: block;
float: left;
.calc(width, ~"100% - 150px");
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
.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;
Rodrigo Nascimento
committed
.input-message-editing-container {
.calc(width, ~"100% - 16px");
}
Rodrigo Nascimento
committed
display: block;
padding-top: 9px;
padding-bottom: 9px;
overflow-y: hidden;
}
Gabriel Engel
committed
.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);
}
.footer {
position: absolute;
Gabriel Engel
committed
background: #fff;
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;
}
textarea {
display: block;
padding-top: 9px;
padding-bottom: 9px;
padding-right: 38px;
overflow-y: hidden;
resize: none;
}
Gabriel Engel
committed
position: absolute;
Gabriel Engel
committed
right: 10px;
cursor: pointer;
padding: 8px;
Gabriel Engel
committed
color: @secondary-font-color;
&:hover {
color: @primary-font-color;
}
}
> .users-typing {
Gabriel Engel
committed
height: 20px;
font-size: 12px;
Gabriel Engel
committed
}
> .formatting-tips {
float: right;
height: 20px;
overflow: hidden;
&:hover {
color: #444444;
}
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;
Gabriel Engel
committed
.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
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
.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%));
}
}
.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;
width: 100%;
font-size: 12px;
font-weight: 600;
text-align: center;
border-top: 1px solid #ddd;
color: @secondary-font-color;
}
.edit-message {
display: none;
cursor: pointer;
}
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
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
display: inline-block;
}
.user {
display: inline-block;
font-weight: 600;
color: #444444;
margin-right: 5px;
&:hover {
color: #333;
}
}
.thumb {
position: absolute;
left: 0;
top: 0;
display: block;
width: 40px;
height: 40px;
}
.info {
font-size: 12px;
color: #888888;
}
&.sequential {
margin-top: 5px;
min-height: 20px;
.user {
display: none;
}
.thumb {
display: none;
}
.info {
position: absolute;
text-align: right;
left: -15px;
width: 55px;
.time {
display: none;
}
.edited {
display: inline-block;
}
.edit-message {
float: left;
margin-left: 5px;
}
}
&:hover {
.time {
display: inline-block;
}
.edited {
display: none;
}
}
}
.system {
display: inline-block;
background-color: #EFEFEF;
border-radius: 4px;
padding: 8px 12px;
font-size: 12px;
color: @secondary-font-color;
i {
margin-right: 5px;
}
}
.avatar-initials {
line-height: 40px;
}
a {
color: @link-font-color;
font-weight: 400;
&:hover {
color: darken(@link-font-color, 10%);
text-decoration: underline;
Gabriel Engel
committed
}
}
// FLEX-TAB and FLEX-TAB views
Gabriel Engel
committed
.flex-tab {
background-color: @secondary-background-color;
border-left: 1px solid @tertiary-background-color;
overflow-x: visible;
Gabriel Engel
committed
position: fixed;
z-index: 100;
Gabriel Engel
committed
width: 90%;
bottom: 0;
right: 0;
top: 0;
Gabriel Engel
committed
.transform(translateX(100%));
.transition(transform .25s cubic-bezier(.5, 0, .1, 1));
.control {
height: 60px;
position: relative;
text-align: left;
background-color: @secondary-background-color;
Gabriel Engel
committed
> a, > form {
float: left;
}
&:before {
content: " ";
height: 1px;
left: 15px;
position: absolute;
background-color: @tertiary-background-color;
Gabriel Engel
committed
bottom: 0px;
.calc(width, ~'100% - 30px');
}
Gabriel Engel
committed
min-height: 36px;
margin: 0 1px;
}
.more {
position: absolute;
Gabriel Engel
committed
top: 0px;
background-color: @tertiary-background-color;
Gabriel Engel
committed
border: none;
height: 60px;
border-bottom: 1px solid @tertiary-background-color;
Gabriel Engel
committed
color: @secondary-font-color;
.transition(transform .25s ease-out .475s, background .075s ease-out .5s);
Gabriel Engel
committed
&:hover {
.arrow {
.arrow {
&:before, &:after {
background-color: #4a4a4a;
}
}
}
}