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

263 lines
5.1 KiB
Plaintext
Executable File

@import "variables";
@media @desktop-portrait, @landscape {
.privateChatTab {
order: 1;
-webkit-order: 1;
-ms-flex-order: 1;
-ms-order: 1;
border-bottom: 1px solid #E5E5E5;
min-width: 205px;
height: 45px;
min-height: 45px;
.btn {
&:hover {
color: #3896D3;
background-color:white;
border-bottom: 1px solid #E5E5E5;
}
&:focus {
background-color:white;
border-bottom: 1px solid #E5E5E5;
}
padding: 0.625rem 0.5rem 0.6875rem 0.5rem;
background-color: inherit;
margin: 0;
height: 45px;
outline: none;
min-width: 50px;
}
span {
position: relative;
font-size: 18px;
bottom: 9px;
left: 2px;
}
i {
position: relative;
right: 2px;
font-size: 18px;
bottom: 4px;
}
}
.privateChatName {
width: calc(~'100% - 105px');
min-width: 101px;
text-align: right;
float: right;
padding: 0.65rem 1.25rem 0.6rem 0.3rem;
font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
font-size: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.toPublic .unreadChatNumber {
@media @desktop-portrait, @landscape {
padding: 2px;
position: absolute;
top: 31%;
left: 100%;
margin: 0;
}
}
#chat {
@media @landscape {
-webkit-flex: 1 1;
-moz-flex: 1 1;
-ms-flex: 1 1;
flex: 1 1;
height: 100%;
border-top: 0px;
border-right: 0px;
border-top-left-radius: 0px;
overflow: hidden;
}
order: 3;
}
.chat {
list-style: none;
margin: 0px;
padding: 0px;
height: 100%;
@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%;
}
}
}
}
.chatBodyContainer {
@media @desktop-portrait, @landscape {
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: column;
flex-flow: column;
height: calc(~'100% - 70px');
width: 100%;
}
}
#chatbody {
@media @desktop-portrait, @landscape {
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;
height: calc(~'100% - 45px');
}
overflow-y: auto;
padding-left: 0px;
padding-right: 0px;
@media @desktop-portrait, @mobile-portrait {
max-height: 46vw; // for longer chatbody a scrollbar appears
overflow-y: scroll;
}
}
.chat-input-wrapper {
padding-top:10px;
padding-left:10px;
padding-right:10px;
}
.disabledChat {
background-color: grey;
width: 100% !important;
}
#fontSizeTable {
border: 1px solid white;
height: 80px;
margin-bottom: 0px;
overflow: hidden;
/* Static font sizes are used everywhere in this control. This is the maximum amount of space required */
width: 379px;
.displayButtons {
height: 35px;
margin: 0px;
padding:0px;
text-align:center;
width:84px;
}
#displayLabel {
text-align: center;
width: 169px;
}
}
#newMessageInput {
display: block;
float: left;
width: 75%;
resize: none;
padding-top: 0px;
padding-bottom: 0px;
border:1px solid extract(@lightGrey, 3);
margin: 0px;
@media @landscape {
height: 100%; /* same height as send button */
}
@media @mobile-portrait {
font-size: 4vw;
height: 8vw;
}
@media @mobile-portrait-with-keyboard {
font-size: 4.5vh;
height: 25vh;
}
@media @desktop-portrait {
font-size: 25px;
height: 60px; /* same height as send button */
}
}
.panel-footer {
bottom: 0px;
position: relative;
background: extract(@white, 1);
padding: 0;
border-top: 1px solid extract(@lightGrey, 3);
}
#sendMessageButton {
width: 20%; /* 75% for the message input, 5% margin between the two */
color: extract(@black, 1);
background-color: #3896D3;
font-weight: bold;
height: 50px;
margin: 0px;
border: 1px solid extract(@lightGrey, 3);
@media @desktop-portrait {
width: 20%; /* 75% for the message input, 5% margin between the two */
font-size: 30px;
height: 60px;
&:hover {
background: #3A82D4;
}
}
@media @mobile-portrait {
width: 15vw;
height: 8vw;
font-size: 4vw;
}
@media @mobile-portrait-with-keyboard {
width: 19vw;
height: 21vh;
font-size: 3vh;
}
@media @landscape {
height: 50px;
padding: 0px;
position: absolute;
bottom: 10px;
&:hover {
background: #3A82D4;
}
}
}
.timestamp {
text-align: right;
}
#chatbar-contents {
@media @landscape {
min-width: 140px;
}
}
.button-group {
@media @landscape {
height: 100%;
}
}
#chatInput {
@media @landscape {
height: 100%;
padding-bottom: 10px;
}
}