Newer
Older
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
}
.footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
z-index: 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
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
margin-bottom: 1px;
font-weight: 300;
padding-right: 3px;
}
img {
display: inline-block;
width: 90%;
}
}
.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;
padding-left: 10px;
&.add-room {
&:hover {
background-color: rgba(0, 0, 0, 0.1);
i{
&:before{
.transform(rotate(180deg));
}
&:after{
.transform(rotate(-90deg));
}
}
position: absolute;
right: 5px;
top: 1px;
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
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
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;
}
}
&.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);
}
}
}
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: block;
padding: 15px 10px 15px 20px;
background: #fff;
border-bottom: 1px solid @tertiary-background-color;
Gabriel Engel
committed
z-index: 100;
top: 0;
left: 0;
width: 99%;
h2 {
max-width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 22px;
font-weight: 500;
line-height: 29px;
margin-right: -7px;
color: @secondary-font-color;
}
Gabriel Engel
committed
}
Gabriel Engel
committed
// input[type='text']{
// .calc(width, ~'100% - 100px');
// vertical-align: top;
// margin-top: 0;
// }
}
// 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;
}
}
.fixed-title{
h2{
overflow: visible;
}
}
Gabriel Engel
committed
display: inline-block;
Gabriel Engel
committed
margin-right: 6px;
vertical-align: text-top;
margin-top: -5px;
margin-left: 10px;
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
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
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
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
}
}
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;
display: block;
resize: none;
padding-top: 9px;
padding-bottom: 9px;
overflow-y: hidden;
.calc(width, ~"100% - 16px");
}
Gabriel Engel
committed
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
.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;
overflow-y: scroll;
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
}
bottom: @footer-min-height;
left: 0px;
right: 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 {
height: 20px;
font-size: 12px;
color: #888;
Gabriel Engel
committed
}
}
.add-user-search {
height: 100%;
overflow: hidden;
display: inline-block;
vertical-align: top;
width: 100%;
}
}
.messages-box {
position: relative;
margin: 60px 20px 0px;
overflow: hidden;
.calc(width, ~'100% - 20px');
.calc(height, ~'100% - 120px');
Gabriel Engel
committed
1539
1540
1541
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
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
padding: 21px 0 10px;
}
.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;
&.with-thumb {
margin-top: 12px;
min-height: 40px;
.time {
position: relative;
left: 4px;
opacity: 1;
}
}
&:nth-child(1) {
margin-top: 0;
}
.edit-message {
display: none;
cursor: pointer;
}
&.own:hover .edit-message {
display: inherit;
}
.avatar-initials {
line-height: 40px;
}
color: @primary-background-color;
font-weight: 500;
color: darken(@primary-background-color, 10%);
}
}
Gabriel Engel
committed
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
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
}
.pageView {
display: table;
width: 100%;
text-align: left;
}
.system {
display: inline-block;
background-color: #EFEFEF;
border-radius: 4px;
padding: 8px 12px;
font-size: 12px;
color: @secondary-font-color;
i {
margin-right: 5px;
}
}
.date {
text-align: center;
position: relative;
margin-top: 12px;
&:before {
content: " ";
height: 1px;
width: 80%;
position: absolute;
left: 10%;
top: 11px;
background-color: #DFDFDF;
}
span {
display: inline-block;
padding: 5px 10px;
background-color: #FFF;
position: relative;
z-index: 1;
font-size: 12px;
font-weight: 600;
color: @secondary-font-color;
}
}
.user {
display: inline-block;
font-weight: 600;
color: #444;
&:hover {
color: #333;
}
}
.own {
.user {
color: #4c617b;
&:hover {
color: #3c4958;
}
}
}
.time {
font-size: 12px;
position: absolute;
display: inline-block;
color: #888;
left: 6px;
opacity: 0;
}
.thumb {
position: absolute;
left: 0;
top: 0;
display: block;
width: 40px;
height: 40px;
background-color: #FFF;
border-radius: 2px;
background-image: url(/images/no_picture.png);
background-size: 100% auto;
background-position: 50% 50%;
}
}
.load-more {
text-align: center;
span {
border: 1px solid #CCC;
border-radius: 20px;
padding: 5px 14px;
background-color: #EEE;
}
Gabriel Engel
committed
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
}
.chat-begin {
text-align: center;
position: relative;
margin-top: 12px;
&:before {
content: " ";
height: 1px;
width: 80%;
position: absolute;
left: 10%;
top: 11px;
background-color: #DFDFDF;
}
span {
display: inline-block;
padding: 5px 10px;
background-color: #FFF;
position: relative;
z-index: 1;
font-size: 12px;
font-weight: 600;
color: @secondary-font-color;
}
}
// 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: @secondary-background-color;
Gabriel Engel
committed
border: none;
height: 60px;
width: 28px;
border-bottom: 1px solid @tertiary-background-color;
Gabriel Engel
committed
color: @secondary-font-color;
.transform(translateX(-27px));
.transition(transform .3s ease-out .4s);
Gabriel Engel
committed
&:hover {
color: @primary-font-color;
}
i {
.transform-origin(50%, 50%, 0);
.transition(transform .3s ease-out);
height: 12.5px;
vertical-align: top;
margin-top: 1px;
}
.flex-opened &{
.transition-delay(0s);
.transform(translateX(0));
Gabriel Engel
committed
}
}
.search-form {
padding: 0 4px 0 0;
width: 100%;
> div {
position: relative;
}
Gabriel Engel
committed
position: absolute;
top: 11px;
left: 8px;
Gabriel Engel
committed
color: @secondary-font-color;
}
}
}
.content {
&:extend(.fill-all);
.custom-scroll(transparent, #DADADA);
margin-top: 60px;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
.calc(height, ~"100% - " @footer-min-height + @header-min-height);
Gabriel Engel
committed
> div {
.transition(transform .45s cubic-bezier(.5, 0, 0, 1), opacity .125s ease-out .1s);
Gabriel Engel
committed
}
> .-hidden {
.transform(translateX(100%));
Gabriel Engel
committed
}
> .animated {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
footer{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 9px 15px 0px 15px;
z-index: 100;
text-align: right;
height: @footer-min-height;
}
.social{
text-align: center;
h4{
font-weight: 300;
position: absolute;
width: 100%;
top: -12px;
left: 0;
font-size: 13px;
}
.share {
border-radius: 50%;
min-height: 40px;
line-height: 20px;
&:before {
border-radius: 50%;
}
span {
display: none;
}
}
}
Gabriel Engel
committed
}
.list-view {
Gabriel Engel
committed
.list {
Gabriel Engel
committed
position: relative;
width: 100%;
height: 100%;
Gabriel Engel
committed
}
> .status {
margin: 5px 0 15px;
h2 {
font-size: 20px;
line-height: 25px;
font-weight: 300;
}
p {
font-size: 12px;
color: @secondary-font-color;
margin-top: 4px;
}
b {
font-weight: 600;
}
.see-all {
float: right;
color: @secondary-font-color;
Gabriel Engel
committed
border: none;
background-color: transparent;
}
}
}
.user-view {
padding: 20px;
.about {
width: 100%;
margin-bottom: 20px;
}
.thumb {
float: left;
width: 100px;
height: 100px;
box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
.avatar-initials {
line-height: 100px;
}
Gabriel Engel
committed
}
}
Gabriel Engel
committed
.info {
margin-left: 120px;
white-space: normal;
.calc(width, ~'100% - 120px');
h3 {
font-size: 24px;
margin-bottom: 8px;
Gabriel Engel
committed
1917
1918
1919
1920
1921
1922
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
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
}
p {
line-height: 18px;
font-size: 12px;
font-weight: 300;
color: @secondary-font-color;
}
}
.stats {
li {
margin-bottom: 3px;
display: inline-block;
padding: 4px 6px;
background-color: #e9e9e9;
border-right: 2px;
border-radius: 2px;
}
}
.box {
position: relative;
margin-bottom: 25px;
font-size: 13px;
h4 {
&:extend(.small-title);
margin-bottom: 6px;
}
&:after {
content: " ";
height: 1px;
width: 100%;
bottom: -10px;
left: 0;
background-color: #CDCDCD;
position: absolute;
}
}
.tags {
li {
display: inline-block;
padding: 4px;
background-color: #CDCDCD;
border-right: 2px;
}
}
.links {
i {
margin-right: 5px;
font-size: 13px;
}
a {
white-space: nowrap;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: block;
border-radius: 2px;
padding: 0 5px;
color: #6f6f6f;
line-height: 22px;
position: relative;
.transition(background .18s ease, colo .18s ease);
&:before {
content: attr(data-stats);
position: absolute;
right: 5px;
top: 0;
font-size: 11px;
opacity: 0;
}
&:hover {
padding-right: 34px;
background-color: #e9e9e9;
text-decoration: none;
color: #333;
&:before {
opacity: 1;
}
}
span {
font-weight: 300;
}
}
}
.contact-code {