2015-02-21 10:07:50 +08:00
|
|
|
@import "variables";
|
2014-12-12 03:35:10 +08:00
|
|
|
|
2015-01-30 00:59:32 +08:00
|
|
|
.active {
|
2015-02-21 10:07:50 +08:00
|
|
|
border: .2vh solid extract(@azure, 2) !important;
|
2015-02-27 02:41:39 +08:00
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
|
|
|
border-left: .1vh solid extract(@azure, 2) !important;
|
|
|
|
}
|
2015-01-30 00:59:32 +08:00
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
#chat {
|
|
|
|
background-color: extract(@white, 2);
|
|
|
|
border: 1px solid extract(@lightGrey, 3);
|
|
|
|
float: left;
|
|
|
|
background: extract(@white, 1);
|
|
|
|
margin-left: 0.25%;
|
|
|
|
margin-right: 0.25%;
|
|
|
|
overflow: hidden;
|
2015-02-17 09:49:01 +08:00
|
|
|
-webkit-flex: 1 1 25%;
|
|
|
|
flex: 1 1 25%;
|
2015-02-10 23:17:26 +08:00
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
|
|
|
width: 100%;
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @landscape {
|
2015-02-24 04:54:56 +08:00
|
|
|
height:98%;
|
2015-02-21 10:07:50 +08:00
|
|
|
-webkit-order: 3;
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
|
|
|
|
-webkit-order: 2;
|
|
|
|
order: 2;
|
|
|
|
min-height: 40%;
|
|
|
|
max-height: 40%;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
li {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 15px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: rgb(245,245,245);
|
|
|
|
}
|
2014-12-12 10:11:15 +08:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
|
|
|
li {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#chatbody {
|
2015-02-24 04:54:56 +08:00
|
|
|
@media @landscape {
|
|
|
|
height: 80%;
|
|
|
|
}
|
|
|
|
|
2015-01-07 07:22:02 +08:00
|
|
|
height: 90%;
|
2014-12-12 03:35:10 +08:00
|
|
|
overflow-y: scroll;
|
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @desktop-portrait, @mobile-portrait {
|
|
|
|
max-height: 50vh;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chatGreeting {
|
|
|
|
color: blue;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2015-01-30 00:59:32 +08:00
|
|
|
.chatNameSelector {
|
|
|
|
clear:right;
|
|
|
|
float:left;
|
|
|
|
margin-bottom: 0px !important;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
2015-01-30 00:59:32 +08:00
|
|
|
.chatNameSelectorPrivate {
|
|
|
|
.chatNameSelector;
|
|
|
|
width:90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatNameSelectorPublic {
|
|
|
|
.chatNameSelector;
|
2015-01-30 01:53:31 +08:00
|
|
|
margin-bottom: 1px !important;
|
|
|
|
width:100%;
|
2015-01-30 00:59:32 +08:00
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
|
2015-01-30 23:06:24 +08:00
|
|
|
.close:hover {
|
|
|
|
background-color: red;
|
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
|
2015-01-30 00:59:32 +08:00
|
|
|
.closeTab {
|
|
|
|
float:left;
|
|
|
|
width:10%;
|
2015-02-27 02:38:20 +08:00
|
|
|
@media @desktop-portrait, @mobile-portrait, @mobile-portrait-with-keyboard {
|
|
|
|
font-size: 4vw;
|
|
|
|
}
|
|
|
|
@media @landscape {
|
|
|
|
font-size: 1vw;
|
|
|
|
}
|
2015-01-30 00:59:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-input-wrapper {
|
|
|
|
padding:10px;
|
2014-12-17 02:57:42 +08:00
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
#chat-options-bar {
|
|
|
|
border-bottom: 1px solid extract(@lightGrey, 3);
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-user-list {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2015-01-30 00:59:32 +08:00
|
|
|
.dropdown {
|
|
|
|
float: left;
|
|
|
|
.dropdown-menu {
|
|
|
|
height: 80px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
right: 0px;
|
2014-12-18 00:38:37 +08:00
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.gotUnreadMail {
|
|
|
|
background: extract(@yellow, 2) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#MoreChatsDrop {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#MoreChatsbutton {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
padding-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#newMessageInput {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
2015-01-16 23:59:50 +08:00
|
|
|
width: 75%;
|
2014-12-12 03:35:10 +08:00
|
|
|
resize: none;
|
|
|
|
padding:5px;
|
|
|
|
border-radius:4px;
|
|
|
|
border:1px solid extract(@lightGrey, 3);
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @landscape, @desktop-portrait {
|
2015-02-24 04:54:56 +08:00
|
|
|
height: 15%;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
@media @mobile-portrait-with-keyboard,
|
|
|
|
@desktop-portrait,
|
|
|
|
@mobile-portrait {
|
|
|
|
font-size: 25px;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.optionsBar {
|
2015-02-10 23:17:26 +08:00
|
|
|
height: 85%;
|
|
|
|
overflow-y: auto;
|
2014-12-12 03:35:10 +08:00
|
|
|
padding-left: 15px;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-footer {
|
|
|
|
bottom: 0px;
|
2015-02-21 10:07:50 +08:00
|
|
|
/* padding: 10px; TODO: investigate (causes the overflow in the chat's title) */
|
2014-12-12 03:35:10 +08:00
|
|
|
position: relative;
|
|
|
|
background: extract(@white, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.private-chat-user-box {
|
2015-02-10 23:17:26 +08:00
|
|
|
border-left: 1px solid grey;
|
|
|
|
height: 300px;
|
2014-12-12 03:35:10 +08:00
|
|
|
padding: 5px;
|
2015-02-10 23:17:26 +08:00
|
|
|
width: 90%;
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.private-chat-user-list {
|
|
|
|
font-size: 12px;
|
2015-02-10 23:17:26 +08:00
|
|
|
height: 100%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: scroll;
|
2014-12-12 03:35:10 +08:00
|
|
|
:hover {
|
|
|
|
background: extract(@azure, 2);
|
|
|
|
font-size: 14px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#sendMessageButton {
|
|
|
|
background-color: extract(@azure, 1);
|
2015-01-16 23:59:50 +08:00
|
|
|
width: 20%;
|
|
|
|
margin-left: 5%;
|
2014-12-12 03:35:10 +08:00
|
|
|
color: extract(@white, 1);
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @mobile-portrait-with-keyboard,
|
|
|
|
@desktop-portrait,
|
|
|
|
@mobile-portrait {
|
|
|
|
width: 100px;
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
|
|
|
height: 60px;
|
|
|
|
}
|
2015-02-24 04:54:56 +08:00
|
|
|
@media @desktop-portrait {
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
@media @landscape {
|
2015-02-21 10:07:50 +08:00
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
@media @landscape {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#tabsList {
|
|
|
|
display: table;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
table-layout: fixed;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
a {
|
2015-01-30 00:59:32 +08:00
|
|
|
padding:0px;
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @mobile-portrait-with-keyboard,
|
|
|
|
@desktop-portrait,
|
|
|
|
@mobile-portrait {
|
|
|
|
font-size: 25px;
|
|
|
|
}
|
|
|
|
@media @landscape {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
li:first-child a {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
&:before, &:after {
|
|
|
|
content: none;
|
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @mobile-portrait-with-keyboard,
|
|
|
|
@desktop-portrait,
|
|
|
|
@mobile-portrait {
|
|
|
|
.userlist {
|
|
|
|
font-size: 30px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab {
|
2014-12-17 02:57:42 +08:00
|
|
|
font-size: 14px;
|
2014-12-12 03:35:10 +08:00
|
|
|
height:auto !important;
|
2015-01-30 00:59:32 +08:00
|
|
|
width: 25% !important;
|
|
|
|
|
2014-12-17 02:57:42 +08:00
|
|
|
&:hover {
|
2015-01-30 00:59:32 +08:00
|
|
|
background-color: #ddd;
|
2014-12-18 00:38:37 +08:00
|
|
|
border: 1px solid extract(@azure, 2);
|
|
|
|
border-bottom: none;
|
2014-12-17 02:57:42 +08:00
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
2014-12-12 10:11:15 +08:00
|
|
|
|
|
|
|
.timestamp {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
|
|
|
|
#chatbar-contents {
|
|
|
|
@media @landscape {
|
|
|
|
min-width: 140px;
|
|
|
|
}
|
|
|
|
}
|