2016-02-01 18:37:33 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016
|
|
|
|
*
|
|
|
|
* This file is licensed under the Affero General Public License version 3
|
|
|
|
* or later.
|
|
|
|
*
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-08-03 14:18:09 +03:00
|
|
|
#commentsTabView .emptycontent {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-02-01 18:37:33 +03:00
|
|
|
#commentsTabView .newCommentForm {
|
2018-01-18 23:40:26 +03:00
|
|
|
margin-left: 36px;
|
2018-07-21 19:26:09 +03:00
|
|
|
position: relative;
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .newCommentForm .message {
|
2018-07-21 19:26:09 +03:00
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
min-height: 44px;
|
|
|
|
margin: 0;
|
2018-09-06 19:09:47 +03:00
|
|
|
|
|
|
|
/* Prevent the text from overlapping with the submit button. */
|
|
|
|
padding-right: 30px;
|
2016-08-03 14:18:09 +03:00
|
|
|
}
|
|
|
|
|
2018-07-21 19:26:09 +03:00
|
|
|
#commentsTabView .newCommentForm {
|
|
|
|
.submit,
|
|
|
|
.submitLoading {
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 13px;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
opacity: .3;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
#commentsTabView .deleteLoading {
|
|
|
|
padding: 14px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-11-24 15:34:14 +03:00
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
#commentsTabView .newCommentForm .submit:not(:disabled):hover,
|
|
|
|
#commentsTabView .newCommentForm .submit:not(:disabled):focus {
|
|
|
|
opacity: 1;
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
2017-10-18 00:24:01 +03:00
|
|
|
#commentsTabView .newCommentForm div.message {
|
2016-09-14 15:20:26 +03:00
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
2017-10-18 00:24:01 +03:00
|
|
|
#commentsTabView .newCommentForm div.message:empty:before {
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
2016-02-01 18:37:33 +03:00
|
|
|
#commentsTabView .comment {
|
2016-08-03 14:18:09 +03:00
|
|
|
position: relative;
|
2018-01-18 23:40:26 +03:00
|
|
|
/** padding bottom is little more so that the top and bottom gap look uniform **/
|
2019-01-24 22:35:14 +03:00
|
|
|
padding: 10px 0 15px;
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
2018-01-19 00:02:57 +03:00
|
|
|
#commentsTabView .comments .comment {
|
2018-06-06 16:44:25 +03:00
|
|
|
border-top: 1px solid var(--color-border);
|
2018-01-19 00:02:57 +03:00
|
|
|
}
|
|
|
|
|
2017-10-27 13:34:24 +03:00
|
|
|
#commentsTabView .comment .avatar,
|
|
|
|
.atwho-view-ul * .avatar{
|
2016-08-03 14:18:09 +03:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
2017-11-23 11:49:44 +03:00
|
|
|
margin-right: 5px;
|
2016-02-04 20:20:16 +03:00
|
|
|
}
|
|
|
|
|
2017-10-27 13:34:24 +03:00
|
|
|
#commentsTabView .comment .message .avatar,
|
|
|
|
.atwho-view-ul * .avatar
|
|
|
|
{
|
2016-10-18 18:23:52 +03:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2016-04-26 13:48:22 +03:00
|
|
|
#activityTabView li.comment.collapsed .activitymessage,
|
2016-02-04 20:20:16 +03:00
|
|
|
#commentsTabView .comment.collapsed .message {
|
2016-08-18 12:18:44 +03:00
|
|
|
white-space: pre-wrap;
|
2016-02-04 20:20:16 +03:00
|
|
|
}
|
|
|
|
|
2016-04-26 13:48:22 +03:00
|
|
|
#activityTabView li.comment.collapsed .activitymessage,
|
2016-02-04 20:20:16 +03:00
|
|
|
#commentsTabView .comment.collapsed .message {
|
|
|
|
max-height: 70px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2016-04-26 13:48:22 +03:00
|
|
|
#activityTabView li.comment .message-overlay,
|
2016-02-04 20:20:16 +03:00
|
|
|
#commentsTabView .comment .message-overlay {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-04-26 13:48:22 +03:00
|
|
|
#activityTabView li.comment.collapsed .message-overlay,
|
2016-02-04 20:20:16 +03:00
|
|
|
#commentsTabView .comment.collapsed .message-overlay {
|
|
|
|
display: block;
|
2016-04-26 13:48:22 +03:00
|
|
|
position: absolute;
|
2016-02-04 20:20:16 +03:00
|
|
|
z-index: 2;
|
2016-04-26 13:48:22 +03:00
|
|
|
height: 50px;
|
|
|
|
pointer-events: none;
|
2016-02-04 20:20:16 +03:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2016-04-26 13:48:22 +03:00
|
|
|
bottom: 0;
|
2019-01-24 22:35:14 +03:00
|
|
|
background: -moz-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background));
|
|
|
|
background: -webkit-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background));
|
|
|
|
background: -o-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background));
|
|
|
|
background: -ms-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background));
|
|
|
|
background: linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background));
|
2016-04-26 13:48:22 +03:00
|
|
|
background-repeat: no-repeat;
|
2016-02-04 20:20:16 +03:00
|
|
|
}
|
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
#commentsTabView .hidden {
|
2017-04-24 20:52:45 +03:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
/** set min-height as 44px to ensure that it fits the button sizes. **/
|
|
|
|
#commentsTabView .comment .authorRow {
|
|
|
|
min-height: 44px;
|
|
|
|
}
|
|
|
|
#commentsTabView .comment .authorRow .tooltip {
|
|
|
|
/** because of the padding on the element, the tooltip appear too far up,
|
|
|
|
adding this brings them closer to the element**/
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2018-09-05 18:13:59 +03:00
|
|
|
|
2017-10-27 13:34:24 +03:00
|
|
|
.atwho-view-ul * .avatar-name-wrapper,
|
2016-02-01 18:37:33 +03:00
|
|
|
#commentsTabView .comment .authorRow {
|
|
|
|
position: relative;
|
2017-11-28 04:04:28 +03:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2017-11-23 06:53:50 +03:00
|
|
|
}
|
|
|
|
|
2017-11-27 02:10:53 +03:00
|
|
|
#commentsTabView .comment:not(.newCommentRow) .message .avatar-name-wrapper:not(.currentUser),
|
|
|
|
#commentsTabView .comment:not(.newCommentRow) .message .avatar-name-wrapper:not(.currentUser) .avatar,
|
2018-09-05 18:02:48 +03:00
|
|
|
#commentsTabView .comment:not(.newCommentRow) .message .avatar-name-wrapper:not(.currentUser) .avatar img,
|
2017-11-23 06:53:50 +03:00
|
|
|
#commentsTabView .comment .authorRow .avatar:not(.currentUser),
|
|
|
|
#commentsTabView .comment .authorRow .author:not(.currentUser) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.atwho-view-ul .avatar-name-wrapper,
|
2018-09-05 18:02:48 +03:00
|
|
|
.atwho-view-ul .avatar-name-wrapper .avatar,
|
|
|
|
.atwho-view-ul .avatar-name-wrapper .avatar img {
|
2017-04-27 16:33:16 +03:00
|
|
|
cursor: pointer;
|
2017-11-23 11:49:44 +03:00
|
|
|
}
|
|
|
|
|
2018-07-18 21:28:02 +03:00
|
|
|
#commentsTabView .comments li .message .atwho-inserted,
|
|
|
|
#commentsTabView .newCommentForm .atwho-inserted {
|
|
|
|
.avatar-name-wrapper {
|
2018-09-05 18:13:59 +03:00
|
|
|
/* Make the wrapper the positioning context of its child contacts
|
|
|
|
* menu. */
|
|
|
|
position: relative;
|
|
|
|
|
2018-07-18 21:28:02 +03:00
|
|
|
display: inline;
|
|
|
|
vertical-align: top;
|
|
|
|
background-color: var(--color-background-dark);
|
|
|
|
border-radius: 50vh;
|
|
|
|
padding: 1px 7px 1px 1px;
|
2018-09-05 18:37:50 +03:00
|
|
|
|
|
|
|
/* Ensure that the avatar and the user name will be kept together. */
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2018-07-18 21:28:02 +03:00
|
|
|
.avatar {
|
|
|
|
img {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 1px;
|
|
|
|
margin-top: -3px;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2018-09-05 11:19:57 +03:00
|
|
|
strong {
|
|
|
|
/* Ensure that the user name is shown in bold, as different browsers
|
|
|
|
* use different font weights for strong elements. */
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-07-18 21:28:02 +03:00
|
|
|
}
|
2018-09-05 11:50:32 +03:00
|
|
|
.avatar-name-wrapper.currentUser {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-primary-text);
|
|
|
|
}
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
2017-10-27 13:34:24 +03:00
|
|
|
.atwho-view-ul * .avatar-name-wrapper {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-08-03 14:18:09 +03:00
|
|
|
#commentsTabView .comment .author,
|
|
|
|
#commentsTabView .comment .date {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
2018-02-25 17:40:56 +03:00
|
|
|
#commentsTabView .comment .author {
|
|
|
|
max-width: 210px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-02-01 18:37:33 +03:00
|
|
|
#commentsTabView .comment .date {
|
2017-11-23 11:49:44 +03:00
|
|
|
margin-left: auto;
|
2018-01-18 23:40:26 +03:00
|
|
|
/** this is to fix the tooltip being too close due to the margin-top applied
|
|
|
|
to bring the tooltip closer for the action icons **/
|
|
|
|
padding: 10px 0px;
|
2016-08-03 14:18:09 +03:00
|
|
|
}
|
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
#commentsTabView .comments > li:not(.newCommentRow) .message {
|
2016-08-03 14:18:09 +03:00
|
|
|
padding-left: 40px;
|
2018-07-21 19:26:09 +03:00
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
2016-02-03 20:44:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment .action {
|
|
|
|
opacity: 0.3;
|
2018-01-18 23:40:26 +03:00
|
|
|
padding: 14px;
|
2018-02-03 22:45:53 +03:00
|
|
|
display: block;
|
2016-02-03 20:44:14 +03:00
|
|
|
}
|
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
#commentsTabView .comment .action:hover,
|
|
|
|
#commentsTabView .comment .action:focus {
|
2016-02-03 20:44:14 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2018-01-18 23:40:26 +03:00
|
|
|
#commentsTabView .newCommentRow .action-container {
|
|
|
|
margin-left: auto;
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
2016-02-03 15:00:55 +03:00
|
|
|
|
2018-03-11 14:19:54 +03:00
|
|
|
#commentsTabView .comment.disabled .message {
|
2016-02-03 20:44:14 +03:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment.disabled .action {
|
2018-01-18 23:40:26 +03:00
|
|
|
display: none;
|
2016-02-03 20:44:14 +03:00
|
|
|
}
|
|
|
|
|
2016-02-05 17:45:30 +03:00
|
|
|
#commentsTabView .message.error {
|
|
|
|
color: #e9322d;
|
|
|
|
border-color: #e9322d;
|
|
|
|
box-shadow: 0 0 6px #f8b9b7;
|
|
|
|
}
|
|
|
|
|
2016-02-25 22:48:19 +03:00
|
|
|
.app-files .action-comment {
|
|
|
|
padding: 16px 14px;
|
2018-09-05 18:40:09 +03:00
|
|
|
}
|
2018-09-15 20:53:06 +03:00
|
|
|
|
|
|
|
#commentsTabView .comment .message .contactsmenu-popover {
|
|
|
|
left: -6px;
|
|
|
|
top: 24px;
|
|
|
|
}
|