2016-02-01 15:37:33 +00: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 11:18:09 +00:00
|
|
|
#commentsTabView .emptycontent {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-02-01 15:37:33 +00:00
|
|
|
#commentsTabView .newCommentForm {
|
2018-01-18 20:40:26 +00:00
|
|
|
margin-left: 36px;
|
2018-07-21 16:26:09 +00:00
|
|
|
position: relative;
|
2016-02-01 15:37:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .newCommentForm .message {
|
2018-07-21 16:26:09 +00:00
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
min-height: 44px;
|
|
|
|
margin: 0;
|
2016-08-03 11:18:09 +00:00
|
|
|
}
|
|
|
|
|
2018-07-21 16:26:09 +00: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 15:37:33 +00:00
|
|
|
}
|
|
|
|
|
2018-01-18 20:40:26 +00:00
|
|
|
#commentsTabView .deleteLoading {
|
|
|
|
padding: 14px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-11-24 12:34:14 +00:00
|
|
|
|
2018-01-18 20:40:26 +00:00
|
|
|
#commentsTabView .newCommentForm .submit:not(:disabled):hover,
|
|
|
|
#commentsTabView .newCommentForm .submit:not(:disabled):focus {
|
|
|
|
opacity: 1;
|
2016-02-01 15:37:33 +00:00
|
|
|
}
|
|
|
|
|
2017-10-17 21:24:01 +00:00
|
|
|
#commentsTabView .newCommentForm div.message {
|
2016-09-14 12:20:26 +00:00
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
2017-10-17 21:24:01 +00:00
|
|
|
#commentsTabView .newCommentForm div.message:empty:before {
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
2016-02-01 15:37:33 +00:00
|
|
|
#commentsTabView .comment {
|
2016-08-03 11:18:09 +00:00
|
|
|
position: relative;
|
2018-01-18 20:40:26 +00:00
|
|
|
/** padding bottom is little more so that the top and bottom gap look uniform **/
|
|
|
|
padding: 10px 0px 15px;
|
2016-02-01 15:37:33 +00:00
|
|
|
}
|
|
|
|
|
2018-01-18 21:02:57 +00:00
|
|
|
#commentsTabView .comments .comment {
|
2018-06-06 13:44:25 +00:00
|
|
|
border-top: 1px solid var(--color-border);
|
2018-01-18 21:02:57 +00:00
|
|
|
}
|
|
|
|
|
2017-10-27 10:34:24 +00:00
|
|
|
#commentsTabView .comment .avatar,
|
|
|
|
.atwho-view-ul * .avatar{
|
2016-08-03 11:18:09 +00:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
2017-11-23 08:49:44 +00:00
|
|
|
margin-right: 5px;
|
2016-02-04 17:20:16 +00:00
|
|
|
}
|
|
|
|
|
2017-10-27 10:34:24 +00:00
|
|
|
#commentsTabView .comment .message .avatar,
|
|
|
|
.atwho-view-ul * .avatar
|
|
|
|
{
|
2016-10-18 15:23:52 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2016-04-26 10:48:22 +00:00
|
|
|
#activityTabView li.comment.collapsed .activitymessage,
|
2016-02-04 17:20:16 +00:00
|
|
|
#commentsTabView .comment.collapsed .message {
|
2016-08-18 09:18:44 +00:00
|
|
|
white-space: pre-wrap;
|
2016-02-04 17:20:16 +00:00
|
|
|
}
|
|
|
|
|
2016-04-26 10:48:22 +00:00
|
|
|
#activityTabView li.comment.collapsed .activitymessage,
|
2016-02-04 17:20:16 +00:00
|
|
|
#commentsTabView .comment.collapsed .message {
|
|
|
|
max-height: 70px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2016-04-26 10:48:22 +00:00
|
|
|
#activityTabView li.comment .message-overlay,
|
2016-02-04 17:20:16 +00:00
|
|
|
#commentsTabView .comment .message-overlay {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-04-26 10:48:22 +00:00
|
|
|
#activityTabView li.comment.collapsed .message-overlay,
|
2016-02-04 17:20:16 +00:00
|
|
|
#commentsTabView .comment.collapsed .message-overlay {
|
|
|
|
display: block;
|
2016-04-26 10:48:22 +00:00
|
|
|
position: absolute;
|
2016-02-04 17:20:16 +00:00
|
|
|
z-index: 2;
|
2016-04-26 10:48:22 +00:00
|
|
|
height: 50px;
|
|
|
|
pointer-events: none;
|
2016-02-04 17:20:16 +00:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2016-04-26 10:48:22 +00:00
|
|
|
bottom: 0;
|
2016-02-04 17:20:16 +00:00
|
|
|
background: -moz-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
|
|
|
|
background: -webkit-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
|
|
|
|
background: -o-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
|
|
|
|
background: -ms-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
|
|
|
|
background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
|
2016-04-26 10:48:22 +00:00
|
|
|
background-repeat: no-repeat;
|
2016-02-04 17:20:16 +00:00
|
|
|
}
|
|
|
|
|
2018-01-18 20:40:26 +00:00
|
|
|
#commentsTabView .hidden {
|
2017-04-24 17:52:45 +00:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2018-01-18 20:40:26 +00: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;
|
|
|
|
}
|
2017-04-24 17:52:45 +00:00
|
|
|
#commentsTabView .comments li .message .avatar-name-wrapper,
|
2017-10-27 10:34:24 +00:00
|
|
|
.atwho-view-ul * .avatar-name-wrapper,
|
2016-02-01 15:37:33 +00:00
|
|
|
#commentsTabView .comment .authorRow {
|
|
|
|
position: relative;
|
2017-11-28 01:04:28 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2017-11-23 03:53:50 +00:00
|
|
|
}
|
|
|
|
|
2017-11-26 23:10:53 +00:00
|
|
|
#commentsTabView .comment:not(.newCommentRow) .message .avatar-name-wrapper:not(.currentUser),
|
|
|
|
#commentsTabView .comment:not(.newCommentRow) .message .avatar-name-wrapper:not(.currentUser) .avatar,
|
2017-11-23 03:53:50 +00:00
|
|
|
#commentsTabView .comment .authorRow .avatar:not(.currentUser),
|
|
|
|
#commentsTabView .comment .authorRow .author:not(.currentUser) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.atwho-view-ul .avatar-name-wrapper,
|
|
|
|
.atwho-view-ul .avatar-name-wrapper .avatar {
|
2017-04-27 13:33:16 +00:00
|
|
|
cursor: pointer;
|
2017-11-23 08:49:44 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 18:28:02 +00:00
|
|
|
#commentsTabView .comments li .message .atwho-inserted,
|
|
|
|
#commentsTabView .newCommentForm .atwho-inserted {
|
|
|
|
.avatar-name-wrapper {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: top;
|
|
|
|
background-color: var(--color-background-dark);
|
|
|
|
border-radius: 50vh;
|
|
|
|
padding: 1px 7px 1px 1px;
|
|
|
|
.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 08:19:57 +00: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 18:28:02 +00:00
|
|
|
}
|
2018-09-05 08:50:32 +00:00
|
|
|
.avatar-name-wrapper.currentUser {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-primary-text);
|
|
|
|
}
|
2016-02-01 15:37:33 +00:00
|
|
|
}
|
|
|
|
|
2017-10-27 10:34:24 +00:00
|
|
|
.atwho-view-ul * .avatar-name-wrapper {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-08-03 11:18:09 +00:00
|
|
|
#commentsTabView .comment .author,
|
|
|
|
#commentsTabView .comment .date {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
2018-02-25 14:40:56 +00:00
|
|
|
#commentsTabView .comment .author {
|
|
|
|
max-width: 210px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-02-01 15:37:33 +00:00
|
|
|
#commentsTabView .comment .date {
|
2017-11-23 08:49:44 +00:00
|
|
|
margin-left: auto;
|
2018-01-18 20:40:26 +00: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 11:18:09 +00:00
|
|
|
}
|
|
|
|
|
2018-01-18 20:40:26 +00:00
|
|
|
#commentsTabView .comments > li:not(.newCommentRow) .message {
|
2016-08-03 11:18:09 +00:00
|
|
|
padding-left: 40px;
|
2018-07-21 16:26:09 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
2016-02-03 17:44:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment .action {
|
|
|
|
opacity: 0.3;
|
2018-01-18 20:40:26 +00:00
|
|
|
padding: 14px;
|
2018-02-03 19:45:53 +00:00
|
|
|
display: block;
|
2016-02-03 17:44:14 +00:00
|
|
|
}
|
|
|
|
|
2018-01-18 20:40:26 +00:00
|
|
|
#commentsTabView .comment .action:hover,
|
|
|
|
#commentsTabView .comment .action:focus {
|
2016-02-03 17:44:14 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2018-01-18 20:40:26 +00:00
|
|
|
#commentsTabView .newCommentRow .action-container {
|
|
|
|
margin-left: auto;
|
2016-02-01 15:37:33 +00:00
|
|
|
}
|
2016-02-03 12:00:55 +00:00
|
|
|
|
2018-03-11 11:19:54 +00:00
|
|
|
#commentsTabView .comment.disabled .message {
|
2016-02-03 17:44:14 +00:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment.disabled .action {
|
2018-01-18 20:40:26 +00:00
|
|
|
display: none;
|
2016-02-03 17:44:14 +00:00
|
|
|
}
|
|
|
|
|
2016-02-05 14:45:30 +00:00
|
|
|
#commentsTabView .message.error {
|
|
|
|
color: #e9322d;
|
|
|
|
border-color: #e9322d;
|
|
|
|
box-shadow: 0 0 6px #f8b9b7;
|
|
|
|
}
|
|
|
|
|
2016-02-25 19:48:19 +00:00
|
|
|
.app-files .action-comment {
|
|
|
|
padding: 16px 14px;
|
2018-02-03 19:45:53 +00:00
|
|
|
}
|