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

147 lines
2.9 KiB
CSS
Raw Normal View History

2017-06-05 08:12:38 +00:00
/**
2017-06-07 17:24:48 +00:00
* Conversations windows
2017-06-05 08:12:38 +00:00
*
* @author Pierre HUBERT
*/
/**
* Main definition
*/
2017-06-07 17:24:48 +00:00
#conversationsElem .box {
2017-06-05 08:12:38 +00:00
width: 250px;
height: 350px;
max-width: 100%;
2017-06-07 12:42:19 +00:00
/*display: inline-block;*/
display: inline-table;
2017-06-05 08:12:38 +00:00
margin-left: 5px;
text-align: justify;
margin-bottom: 0px;
2017-06-17 09:20:54 +00:00
}
#conversationsElem .chat-window .box-title {
font-size: 15px !important;
}
/**
* Conversations create message form
*/
2017-06-22 07:34:27 +00:00
#conversationsElem .box-footer {
position: absolute;
bottom: 0;
}
#conversationsElem .create-message-form .btn {
2017-06-23 15:25:29 +00:00
padding-left: 8px;
padding-right:8px;
}
2017-06-17 09:20:54 +00:00
#conversationsElem .create-message-form .btn.btn-add-emoji,
2017-06-21 16:29:14 +00:00
#conversationsElem .create-message-form .btn.btn-add-image {
background: none;
color: #808080;
}
#conversationsElem .create-message-form .btn.btn-add-emoji:hover,
2017-06-21 16:29:14 +00:00
#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;
}
2021-03-06 18:20:57 +00:00
#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);
}
2017-06-17 09:20:54 +00:00
/**
* 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%;
2017-06-17 09:40:57 +00:00
background: #FFFFFF;
2017-06-17 09:20:54 +00:00
overflow: auto;
transition: transform .5s cubic-bezier(.22,.61,.36,1);
2017-06-17 09:40:57 +00:00
padding: 10px;
2017-06-17 09:20:54 +00:00
}
#conversationsElem .conversation-settings-pane.open {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
2017-06-25 17:10:26 +00:00
}
/**
* Conversations messages
*/
2018-05-02 14:16:18 +00:00
#conversationsElem .date-conversation-message {
margin-top: 2px;
text-align: center;
font-size: 70%;
font-style: italic;
}
2017-06-25 17:10:26 +00:00
#conversationsElem .conversation-msg-image {
height: 50px;
2021-03-06 14:17:57 +00:00
max-width: 50px;
}
2018-04-28 08:17:22 +00:00
#conversationsElem .direct-chat-text {
word-break: break-all;
}
#conversationsElem .direct-chat-text .emoji {
height: 1em;
2017-06-26 09:16:14 +00:00
}
2018-05-03 20:44:22 +00:00
#conversationsElem .direct-chat-text a, #conversationsElem .direct-chat-text .a {
color: inherit;
}
2017-06-26 09:16:14 +00:00
#conversationsElem .direct-chat-text.not-first-message::before,
#conversationsElem .direct-chat-text.not-first-message::after {
display: none;
2018-04-27 16:26:16 +00:00
}
#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;
2019-01-11 16:57:55 +00:00
}
#conversationsElem .direct-chat-msg.open .dropdown-menu {
margin-top: -20px;
2021-03-06 13:25:41 +00:00
}
#conversationsElem .direct-chat-msg .server_message {
text-align: center;
font-size: 90%;
font-style: italic;
2017-06-05 08:12:38 +00:00
}