ComunicWeb/assets/css/components/conversations/windows.css

152 lines
3.0 KiB
CSS

/**
* Conversations windows
*
* @author Pierre HUBERT
*/
/**
* Main definition
*/
#conversationsElem .box {
width: 250px;
height: 350px;
max-width: 100%;
/*display: inline-block;*/
display: inline-table;
margin-left: 5px;
text-align: justify;
margin-bottom: 0px;
}
#conversationsElem .chat-window .box-title {
font-size: 15px !important;
}
/**
* 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;
}
#conversationsElem .create-message-form .btn-primary {
border-color: var(--primary-blue);
}
#conversationsElem .create-message-form .btn-primary:hover {
background-color: var(--primary-blue);
border-color: var(--primary-blue);
}
/**
* 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);
}
#conversationsElem .conversation-settings-pane .conversation-image-settings .btn {
margin: 5px;
width: 100%;
}
/**
* Conversations messages
*/
#conversationsElem .date-conversation-message {
margin-top: 2px;
text-align: center;
font-size: 70%;
font-style: italic;
}
#conversationsElem .conversation-msg-image {
height: 50px;
max-width: 50px;
}
#conversationsElem .direct-chat-text {
word-break: break-all;
}
#conversationsElem .direct-chat-text .emoji {
height: 1em;
}
#conversationsElem .direct-chat-text a, #conversationsElem .direct-chat-text .a {
color: inherit;
}
#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;
}
#conversationsElem .direct-chat-msg.open .dropdown-menu {
margin-top: -20px;
}
#conversationsElem .direct-chat-msg .server_message {
text-align: center;
font-size: 90%;
font-style: italic;
}