bigbluebutton-Github/bigbluebutton-html5/app/client/stylesheets/chat.less

310 lines
5.7 KiB
Plaintext
Raw Normal View History

@import "variables";
2014-12-12 03:35:10 +08:00
.active {
border: .2vh solid !important;
2015-02-27 02:41:39 +08:00
@media @mobile-portrait-with-keyboard, @mobile-portrait {
border-left: .1vh solid !important;
2015-02-27 02:41:39 +08:00
}
}
2014-12-12 03:35:10 +08:00
#chat {
@media @landscape {
-webkit-flex: 3 3 30%;
-moz-flex: 3 3 30%;
-ms-flex: 3 3 30%;
flex: 3 3 30%;
height: 100%;
}
2014-12-12 03:35:10 +08:00
}
.chat {
list-style: none;
margin: 0px;
padding: 0px;
2015-05-07 06:08:49 +08:00
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
}
}
2014-12-12 03:35:10 +08:00
}
#chatbody {
@media @landscape {
2015-05-07 13:33:13 +08:00
height: calc(~'100% - 70px');
}
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;
@media @desktop-portrait, @mobile-portrait {
max-height: 46vw; // for longer chatbody a scrollbar appears
overflow-y: scroll;
}
2014-12-12 03:35:10 +08:00
}
.chatNameSelector {
clear:right;
float:left;
margin-bottom: 0px !important;
overflow: hidden;
text-overflow: ellipsis;
2014-12-12 03:35:10 +08:00
}
.chatNameSelectorPrivate {
.chatNameSelector;
width:90%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@media @landscape {
height: 20px;
}
@media @desktop-portrait {
height: 25px;
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
font-size: 4vw;
}
}
.chatNameSelectorPublic {
.chatNameSelector;
margin-bottom: 1px !important;
width:100%;
}
.close:hover {
background-color: red;
}
.closeTab {
float:left;
width:10%;
@media @desktop-portrait, @mobile-portrait, @mobile-portrait-with-keyboard {
font-size: 4vw;
}
@media @landscape {
font-size: 1vw;
}
}
.chat-input-wrapper {
padding-top:10px;
padding-left:10px;
padding-right:10px;
}
2014-12-12 03:35:10 +08:00
#chat-user-list {
padding: 5px;
}
2015-03-31 06:48:25 +08:00
.disabledChat {
background-color: grey;
width: 100% !important;
}
.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
}
}
.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
}
#fontSizeTable {
/* Static font sizes are used everywhere in this control. This is the maximum amount of space required */
2015-05-07 06:08:49 +08:00
height: 80px;
width: 379px;
overflow: hidden;
.displayButtons {
2015-03-17 21:45:49 +08:00
text-align:center;
width:84px;
2015-05-07 06:08:49 +08:00
margin: 0px;
height: 35px;
padding:0px;
}
#displayLabel {
2015-05-07 06:08:49 +08:00
width: 169px;
text-align: center;
2015-03-17 21:45:49 +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;
2015-05-07 13:33:13 +08:00
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
border-bottom-right-radius: 0px;
border-top-right-radius: 0px;
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-03-03 00:08:08 +08:00
@media @mobile-portrait {
font-size: 4vw;
height: 8vw;
2015-03-03 00:08:08 +08:00
}
@media @mobile-portrait-with-keyboard {
font-size: 4.5vh;
height: 25vh;
}
2015-03-03 00:08:08 +08:00
@media @desktop-portrait {
font-size: 25px;
2015-03-14 04:18:50 +08:00
height: 60px; /* same height as send button */
}
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;
position: relative;
background: extract(@white, 1);
2015-05-07 13:33:13 +08:00
padding: 0;
border-top: 1px solid extract(@lightGrey, 3);
2014-12-12 03:35:10 +08:00
}
.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 {
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);
border-bottom-left-radius: 00px;
border-top-left-radius: 0px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
@media @desktop-portrait {
2015-03-14 04:18:50 +08:00
width: 20%; /* 75% for the message input, 5% margin between the two */
font-size: 30px;
height: 60px;
}
@media @mobile-portrait {
width: 15vw;
height: 8vw;
font-size: 4vw;
}
@media @mobile-portrait-with-keyboard {
width: 19vw;
height: 21vh;
font-size: 3vh;
}
@media @landscape {
2015-05-07 13:33:13 +08:00
height: 50px;
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 {
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;
}
@media @landscape {
font-size: 12px;
}
2014-12-12 03:35:10 +08:00
}
li:first-child a {
border-left: 0;
}
&:before, &:after {
content: none;
}
}
.tab {
font-size: 14px;
2015-03-18 06:12:04 +08:00
height:auto;
width: 25% !important;
&:hover {
background-color: #ddd;
border: 1px solid;
2014-12-18 00:38:37 +08:00
border-bottom: none;
}
2014-12-12 03:35:10 +08:00
}
2014-12-12 10:11:15 +08:00
.timestamp {
text-align: right;
}
#chatbar-contents {
@media @landscape {
min-width: 140px;
}
}