jam-cloud/web/app/assets/stylesheets/client/react-components/ChatWindow.css.scss

117 lines
1.8 KiB
SCSS

@import "client/common";
div[data-react-class="ChatWindow"] {
height:100%;
.ChatWindow {
height:100%;
}
.active-tab {
height: 100%;
position: relative;
top: -24px;
box-sizing: border-box;
padding-bottom: 54px;
margin-top:24px;
}
.chat-tabs {
text-align:center;
}
.chat-tab {
margin:0 2px;
display:inline-block;
padding:2px;
color: #ED3618;
border-style:solid;
border-color:#09525b;
a {
//color:white;
text-decoration: underline;
color: #aaa;
&:hover {
color: #fc0;
}
}
&.active {
a {
text-decoration: none;
color:white;
}
background-color:transparent;
border-color:#09525b;
border-width:0;
}
}
.chat-list-scroller {
position: relative;
display: block;
overflow: auto;
margin: 0px 15px;
/*height: 210px;*/
height: 100%;
}
.chart-text-section {
}
.btn-send-chat-message {
float:right;
margin: 3px 0 0;
}
#new-chat-message {
width: calc(100% - 70px);
height: 20px;
}
.chat-status {
line-height: 20px;
text-align: center;
padding: 10px;
}
.chat-message {
margin:5px 0;
.chat-message-sender {
font-weight:bold;
margin-right:10px;
color: #ED3618;
&:after {
content:':'
}
}
.chat-message-text {
line-height:18px;
white-space:pre-line;
color: #D5E2E4;
}
.chat-message-timestamp {
margin-top:4px;
color:#AAA;
display:block;
font-size:12px;
}
}
.chat-sender {
width: 100%;
position: absolute;
bottom: 7px;
padding: 0px 7px;
/* height: 20%; */
/* min-height: 69px; */
box-sizing: border-box;
}
}