ComunicWeb/assets/css/components/conversations/windows.css
2018-04-28 10:17:22 +02:00

106 lines
2.1 KiB
CSS

/**
* Conversations windows
*
* @author Pierre HUBERT
*/
#conversationsElem .box {
width: 250px;
height: 350px;
max-width: 100%;
/*display: inline-block;*/
display: inline-table;
margin-left: 5px;
text-align: justify;
margin-bottom: 0px;
}
/**
* Conversations create message form
*/
#conversationsElem .box-footer {
position: absolute;
bottom: 0;
}
#conversationsElem .create-message-form .btn {
padding-left: 8px;
padding-right:8px;
}
#conversationsElem .create-message-form .btn.btn-add-emoji,
#conversationsElem .create-message-form .btn.btn-add-image {
background: none;
color: #808080;
}
#conversationsElem .create-message-form .btn.btn-add-emoji:hover,
#conversationsElem .create-message-form .btn.btn-add-image:hover{
color: black;
}
#conversationsElem .create-message-form .btn.btn-add-emoji {
padding-left: 4px;
padding-right: 2px;
}
#conversationsElem .create-message-form .btn.btn-add-image {
padding-left: 2px;
padding-right: 5px;
}
/**
* Conversation settings pane
*/
#conversationsElem .conversation-settings-pane {
-webkit-transform: translate(101%, 0);
-ms-transform: translate(101%, 0);
-o-transform: translate(101%, 0);
transform: translate(101%, 0);
position: absolute;
top: 0;
bottom: 0;
height: 250px;
width: 100%;
background: #FFFFFF;
overflow: auto;
transition: transform .5s cubic-bezier(.22,.61,.36,1);
padding: 10px;
}
#conversationsElem .conversation-settings-pane.open {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
}
/**
* Conversations messages
*/
#conversationsElem .conversation-msg-image {
height: 50px;
}
#conversationsElem .direct-chat-text {
word-break: break-all;
}
#conversationsElem .direct-chat-text .emoji {
height: 1em;
}
#conversationsElem .direct-chat-text.not-first-message::before,
#conversationsElem .direct-chat-text.not-first-message::after {
display: none;
}
#conversationsElem .direct-chat-msg.not-last-message-from-user {
margin-bottom: 0px;
}
#conversationsElem .direct-chat-msg.not-last-message-from-user .direct-chat-img {
margin-bottom: -5px;
}