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

296 lines
5.4 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 {
-webkit-flex: 3 3 30%;
-moz-flex: 3 3 30%;
-ms-flex: 3 3 30%;
flex: 3 3 30%;
height: 100%;
margin-left: 2px;
margin-right: 2px;
margin-top: 5px;
height: 100%;
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
}
}
2014-12-12 03:35:10 +08:00
}
#chatbody {
@media @landscape {
height: calc(~'100% - 121px');
}
2014-12-12 03:35:10 +08:00
overflow-y: scroll;
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: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 */
height: 64px;
#displayButtons {
2015-03-17 21:45:49 +08:00
text-align:center;
width:84px;
}
#displayLabel {
width: 154px;
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;
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-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;
/* 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);
@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;
margin-left: 5%;
}
@media @mobile-portrait {
width: 15vw;
height: 8vw;
font-size: 4vw;
margin-left: 5%;
}
@media @mobile-portrait-with-keyboard {
width: 19vw;
height: 21vh;
font-size: 3vh;
margin-left: 1%;
margin-right: 1%;
marigin-top: 2vh;
margin-bottom: 2vh;
}
@media @landscape {
height: 40px;
padding: 0px;
margin-left: 5%;
}
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;
}
}