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-04-21 01:50:05 +08:00
|
|
|
border: .2vh solid !important;
|
2015-02-27 02:41:39 +08:00
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
2015-04-21 01:50:05 +08:00
|
|
|
border-left: .1vh solid !important;
|
2015-02-27 02:41:39 +08:00
|
|
|
}
|
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-03-03 07:00:15 +08:00
|
|
|
height: calc(~'100% - 15px');
|
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;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2015-03-06 08:34:19 +08:00
|
|
|
|
2015-03-04 05:26:50 +08:00
|
|
|
@media @desktop-portrait, @landscape {
|
|
|
|
li {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 15px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
&:nth-child(even) {
|
|
|
|
background-color: rgb(245,245,245);
|
|
|
|
}
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-12-12 10:11:15 +08:00
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
2015-03-06 08:34:19 +08:00
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#chatbody {
|
2015-02-24 04:54:56 +08:00
|
|
|
@media @landscape {
|
2015-03-04 00:41:46 +08:00
|
|
|
height: calc(~'100% - 121px');
|
2015-02-24 04:54:56 +08:00
|
|
|
}
|
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 {
|
2015-03-05 01:27:35 +08:00
|
|
|
max-height: 46vw; // for longer chatbody a scrollbar appears
|
2015-02-21 10:07:50 +08:00
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
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-03-18 04:17:50 +08:00
|
|
|
.chatOptionsText {
|
|
|
|
@media @mobile-portrait, @mobile-portrait-with-keyboard {
|
|
|
|
font-size: 5vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2015-03-03 07:00:15 +08:00
|
|
|
padding:10px;
|
2014-12-17 02:57:42 +08:00
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
#chat-user-list {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2015-01-30 00:59:32 +08:00
|
|
|
.dropdown {
|
|
|
|
float: left;
|
2015-03-04 07:38:19 +08:00
|
|
|
@media @desktop-portrait, @mobile-portrait, @mobile-portrait-with-keyboard {
|
|
|
|
.dropdownMessage {
|
2015-03-17 21:45:49 +08:00
|
|
|
font-size: 3vw; //might be obsolete
|
|
|
|
font-style: italic; //might be obsolete
|
2015-03-04 07:38:19 +08:00
|
|
|
}
|
|
|
|
}
|
2015-01-30 00:59:32 +08:00
|
|
|
.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
|
|
|
}
|
|
|
|
|
2015-03-17 21:45:49 +08:00
|
|
|
#fontSizeControl {
|
|
|
|
@media @mobile-portrait, @mobile-portrait-with-keyboard {
|
2015-03-18 04:17:50 +08:00
|
|
|
font-size:7vw;
|
2015-03-17 21:45:49 +08:00
|
|
|
}
|
|
|
|
.fontSizeLabel {
|
|
|
|
height:30px;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
.gotUnreadMail {
|
|
|
|
background: extract(@yellow, 2) !important;
|
|
|
|
}
|
|
|
|
|
2015-03-18 04:17:50 +08:00
|
|
|
#increaseFontSize, #decreaseFontSize {
|
|
|
|
@media @mobile-portrait, @mobile-portrait-with-keyboard {
|
|
|
|
height: 100px;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
#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-03-14 04:18:50 +08:00
|
|
|
|
|
|
|
@media @landscape {
|
|
|
|
height: 40px; /* same height as send button */
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
2015-03-03 00:08:08 +08:00
|
|
|
@media @mobile-portrait {
|
2015-03-05 01:27:35 +08:00
|
|
|
font-size: 4vw;
|
|
|
|
height: 8vw;
|
2015-03-03 00:08:08 +08:00
|
|
|
}
|
|
|
|
@media @mobile-portrait-with-keyboard {
|
2015-03-04 00:36:15 +08:00
|
|
|
font-size: 4.5vh;
|
|
|
|
height: 25vh;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
2015-03-03 00:08:08 +08:00
|
|
|
@media @desktop-portrait {
|
2015-02-21 10:07:50 +08:00
|
|
|
font-size: 25px;
|
2015-03-14 04:18:50 +08:00
|
|
|
height: 60px; /* same height as send button */
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
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;
|
2015-03-03 05:25:44 +08:00
|
|
|
p {
|
2015-03-18 04:17:50 +08:00
|
|
|
@media @mobile-portrait, @mobile-portrait-with-keyboard {
|
|
|
|
font-size: 6vw;
|
2015-03-04 05:26:50 +08:00
|
|
|
font-style: italic;
|
2015-03-03 05:25:44 +08:00
|
|
|
}
|
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2015-03-18 03:34:34 +08:00
|
|
|
min-width: 50%;
|
2015-03-18 04:17:50 +08:00
|
|
|
height: 40px;
|
2014-12-12 03:35:10 +08:00
|
|
|
padding: 5px;
|
2015-03-18 03:34:34 +08:00
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
|
|
|
width: 60%;
|
2015-03-18 04:17:50 +08:00
|
|
|
height: 100px;
|
2015-03-18 03:34:34 +08:00
|
|
|
font-size: 40px;
|
|
|
|
padding-left: 25px;
|
2015-03-03 05:25:44 +08:00
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#sendMessageButton {
|
|
|
|
background-color: extract(@azure, 1);
|
2015-03-14 04:18:50 +08:00
|
|
|
width: 20%; /* 75% for the message input, 5% margin between the two */
|
2014-12-12 03:35:10 +08:00
|
|
|
color: extract(@white, 1);
|
2015-03-04 00:36:15 +08:00
|
|
|
@media @desktop-portrait {
|
2015-03-14 04:18:50 +08:00
|
|
|
width: 20%; /* 75% for the message input, 5% margin between the two */
|
2015-02-21 10:07:50 +08:00
|
|
|
font-size: 30px;
|
|
|
|
height: 60px;
|
2015-03-04 00:36:15 +08:00
|
|
|
margin-left: 5%;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
2015-03-04 00:36:15 +08:00
|
|
|
@media @mobile-portrait {
|
|
|
|
width: 15vw;
|
2015-03-05 01:27:35 +08:00
|
|
|
height: 8vw;
|
|
|
|
font-size: 4vw;
|
2015-03-04 00:36:15 +08:00
|
|
|
margin-left: 5%;
|
2015-02-24 04:54:56 +08:00
|
|
|
}
|
2015-03-04 00:36:15 +08:00
|
|
|
@media @mobile-portrait-with-keyboard {
|
|
|
|
width: 19vw;
|
|
|
|
height: 21vh;
|
|
|
|
font-size: 3vh;
|
|
|
|
margin-left: 1%;
|
|
|
|
margin-right: 1%;
|
|
|
|
marigin-top: 2vh;
|
|
|
|
margin-bottom: 2vh;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
|
|
|
@media @landscape {
|
2015-03-04 00:36:15 +08:00
|
|
|
height: 40px;
|
2015-02-21 10:07:50 +08:00
|
|
|
padding: 0px;
|
2015-03-04 00:36:15 +08:00
|
|
|
margin-left: 5%;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
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-03-18 04:17:50 +08:00
|
|
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
2015-03-03 04:30:35 +08:00
|
|
|
font-size: 35px;
|
|
|
|
}
|
|
|
|
@media @desktop-portrait {
|
|
|
|
font-size: 20px;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
|
|
|
@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-03-03 07:00:15 +08:00
|
|
|
.tab {
|
2014-12-17 02:57:42 +08:00
|
|
|
font-size: 14px;
|
2015-03-18 06:12:04 +08:00
|
|
|
height:auto;
|
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;
|
2015-04-21 01:50:05 +08:00
|
|
|
border: 1px solid;
|
2014-12-18 00:38:37 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|