2015-02-21 10:07:50 +08:00
|
|
|
@import "variables";
|
2014-12-12 03:35:10 +08:00
|
|
|
|
2015-05-25 11:24:21 +08:00
|
|
|
@media @desktop-portrait, @landscape {
|
|
|
|
.privateChatTab {
|
|
|
|
order: 1;
|
|
|
|
-webkit-order: 1;
|
|
|
|
-ms-flex-order: 1;
|
|
|
|
-ms-order: 1;
|
2015-06-09 07:29:49 +08:00
|
|
|
border-bottom: 1px solid #E5E5E5;
|
2015-05-25 11:24:21 +08:00
|
|
|
min-width: 205px;
|
2015-05-29 05:19:51 +08:00
|
|
|
height: 45px;
|
|
|
|
min-height: 45px;
|
2015-05-25 11:24:21 +08:00
|
|
|
.btn {
|
|
|
|
background-color: inherit;
|
|
|
|
margin: 0;
|
|
|
|
height: 45px;
|
2015-07-15 09:38:38 +08:00
|
|
|
outline: none;
|
|
|
|
min-width: 103px;
|
2015-05-25 11:24:21 +08:00
|
|
|
}
|
|
|
|
span {
|
|
|
|
position: relative;
|
|
|
|
font-size: 18px;
|
|
|
|
bottom: 9px;
|
|
|
|
left: 2px;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
position: relative;
|
|
|
|
right: 2px;
|
|
|
|
font-size: 18px;
|
|
|
|
bottom: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.privateChatName {
|
2015-07-15 09:38:38 +08:00
|
|
|
width: calc(~'100% - 105px');
|
|
|
|
min-width: 101px;
|
|
|
|
text-align: right;
|
2015-05-25 11:24:21 +08:00
|
|
|
float: right;
|
|
|
|
padding: 0.65rem 1.25rem 0.6rem 0.3rem;
|
|
|
|
font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
|
|
|
|
font-size: 18px;
|
2015-07-15 09:38:38 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2015-05-25 11:24:21 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
#chat {
|
2015-02-21 10:07:50 +08:00
|
|
|
@media @landscape {
|
2015-05-07 04:30:53 +08:00
|
|
|
-webkit-flex: 3 3 30%;
|
|
|
|
-moz-flex: 3 3 30%;
|
|
|
|
-ms-flex: 3 3 30%;
|
|
|
|
flex: 3 3 30%;
|
|
|
|
height: 100%;
|
2015-06-09 07:29:49 +08:00
|
|
|
border-top: 0px;
|
|
|
|
border-right: 0px;
|
|
|
|
border-top-left-radius: 0px;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
2015-05-19 23:53:17 +08:00
|
|
|
order: 3;
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2015-06-09 07:29:49 +08:00
|
|
|
height: 100%;
|
2015-03-04 05:26:50 +08:00
|
|
|
@media @desktop-portrait, @landscape {
|
|
|
|
li {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 15px;
|
|
|
|
word-wrap: break-word;
|
2015-05-07 13:33:13 +08:00
|
|
|
// &:nth-child(even) {
|
|
|
|
// background-color: rgb(245,245,245);
|
|
|
|
// }
|
2015-03-04 05:26:50 +08:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-12-12 10:11:15 +08:00
|
|
|
}
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
2015-05-25 11:24:21 +08:00
|
|
|
.chatBodyContainer {
|
2015-05-29 05:19:51 +08:00
|
|
|
@media @desktop-portrait, @landscape {
|
2015-05-25 11:24:21 +08:00
|
|
|
display: -moz-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: -ms-flex;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
-webkit-flex-flow: column;
|
|
|
|
flex-flow: column;
|
2015-05-07 13:33:13 +08:00
|
|
|
height: calc(~'100% - 70px');
|
2015-05-25 11:24:21 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#chatbody {
|
2015-05-29 05:19:51 +08:00
|
|
|
@media @desktop-portrait, @landscape {
|
2015-05-25 11:24:21 +08:00
|
|
|
order: 2;
|
|
|
|
-webkit-order: 2;
|
|
|
|
-ms-flex-order: 2;
|
|
|
|
-ms-order: 2;
|
|
|
|
shrink: 1;
|
|
|
|
-webkit-shrink: 1;
|
|
|
|
-moz-shrink: 1;
|
|
|
|
grow:1;
|
|
|
|
-webkit-grow: 1;
|
|
|
|
-moz-grow: 1;
|
2015-06-09 07:29:49 +08:00
|
|
|
height: calc(~'100% - 45px');
|
2015-02-24 04:54:56 +08:00
|
|
|
}
|
2015-05-09 01:13:21 +08:00
|
|
|
overflow-y: auto;
|
2014-12-12 03:35:10 +08:00
|
|
|
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
|
|
|
.chat-input-wrapper {
|
2015-05-07 03:15:27 +08:00
|
|
|
padding-top:10px;
|
|
|
|
padding-left:10px;
|
|
|
|
padding-right:10px;
|
2014-12-17 02:57:42 +08:00
|
|
|
}
|
|
|
|
|
2015-03-31 06:48:25 +08:00
|
|
|
.disabledChat {
|
|
|
|
background-color: grey;
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
|
2015-04-16 21:41:53 +08:00
|
|
|
#fontSizeTable {
|
2015-05-12 22:48:11 +08:00
|
|
|
border: 1px solid white;
|
2015-05-07 06:08:49 +08:00
|
|
|
height: 80px;
|
2015-05-12 22:48:11 +08:00
|
|
|
margin-bottom: 0px;
|
2015-05-07 06:08:49 +08:00
|
|
|
overflow: hidden;
|
2015-05-12 22:48:11 +08:00
|
|
|
/* Static font sizes are used everywhere in this control. This is the maximum amount of space required */
|
|
|
|
width: 379px;
|
2015-05-07 06:08:49 +08:00
|
|
|
.displayButtons {
|
|
|
|
height: 35px;
|
2015-05-12 22:48:11 +08:00
|
|
|
margin: 0px;
|
2015-05-07 06:08:49 +08:00
|
|
|
padding:0px;
|
2015-05-12 22:48:11 +08:00
|
|
|
text-align:center;
|
|
|
|
width:84px;
|
2015-04-16 21:41:53 +08:00
|
|
|
}
|
|
|
|
#displayLabel {
|
2015-05-07 06:08:49 +08:00
|
|
|
text-align: center;
|
2015-05-12 22:48:11 +08:00
|
|
|
width: 169px;
|
2015-03-17 21:45:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
#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;
|
2015-05-09 02:12:41 +08:00
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 0px;
|
2015-05-07 13:33:13 +08:00
|
|
|
|
2014-12-12 03:35:10 +08:00
|
|
|
border:1px solid extract(@lightGrey, 3);
|
2015-05-07 13:33:13 +08:00
|
|
|
margin: 0px;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.panel-footer {
|
|
|
|
bottom: 0px;
|
|
|
|
position: relative;
|
|
|
|
background: extract(@white, 1);
|
2015-05-07 13:33:13 +08:00
|
|
|
padding: 0;
|
2015-06-09 07:29:49 +08:00
|
|
|
border-top: 1px solid #E5E5E5;
|
2014-12-12 03:35:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#sendMessageButton {
|
2015-03-14 04:18:50 +08:00
|
|
|
width: 20%; /* 75% for the message input, 5% margin between the two */
|
2015-05-07 13:33:13 +08:00
|
|
|
color: extract(@black, 1);
|
|
|
|
background-color: extract(@white, 1);
|
|
|
|
font-weight: bold;
|
|
|
|
height: 50px;
|
|
|
|
margin: 0px;
|
|
|
|
border: 1px solid extract(@lightGrey, 3);
|
|
|
|
|
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
|
|
|
@media @mobile-portrait {
|
|
|
|
width: 15vw;
|
2015-03-05 01:27:35 +08:00
|
|
|
height: 8vw;
|
|
|
|
font-size: 4vw;
|
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;
|
2015-02-21 10:07:50 +08:00
|
|
|
}
|
|
|
|
@media @landscape {
|
2015-05-07 13:33:13 +08:00
|
|
|
height: 50px;
|
2015-02-21 10:07:50 +08:00
|
|
|
padding: 0px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
}
|