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 {
|
2016-08-03 14:18:09 +03:00
|
|
|
position: relative;
|
2016-02-01 18:37:33 +03:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .newCommentForm .message {
|
2016-08-18 09:57:46 +03:00
|
|
|
width: calc(100% - 81px); /* 36 (left margin) + 30 (right padding) + 15 (right padding of surrounding box) */
|
|
|
|
margin-left: 36px;
|
2016-08-03 14:18:09 +03:00
|
|
|
padding-right: 30px;
|
2016-10-11 13:31:17 +03:00
|
|
|
display: block;
|
2016-08-03 14:18:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .newCommentForm .submit {
|
|
|
|
position: absolute;
|
2016-10-11 13:31:17 +03:00
|
|
|
bottom: 0px;
|
2016-08-18 09:57:46 +03:00
|
|
|
right: 8px;
|
2016-08-03 14:18:09 +03:00
|
|
|
width: 30px;
|
|
|
|
margin: 0;
|
2016-10-11 13:31:17 +03:00
|
|
|
padding: 7px 9px;
|
2016-08-03 14:18:09 +03:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
opacity: .3;
|
|
|
|
}
|
2017-11-24 15:04:59 +03:00
|
|
|
#commentsTabView .newCommentForm .submit:not(:disabled):hover,
|
|
|
|
#commentsTabView .newCommentForm .submit:not(:disabled):focus {
|
2016-08-03 14:18:09 +03:00
|
|
|
opacity: 1;
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
2016-02-02 14:06:12 +03:00
|
|
|
#commentsTabView .newCommentForm .submitLoading {
|
|
|
|
background-position: left;
|
2017-11-24 15:34:14 +03:00
|
|
|
|
|
|
|
/* Match rules for '#commentsTabView .newCommentForm .submit' to place the
|
|
|
|
loading icon at the same position as the confirm icon */
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 8px;
|
|
|
|
width: 30px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 7px 9px;
|
|
|
|
|
|
|
|
/* Match rules for 'input[type="submit"]' to place the loading icon at the
|
|
|
|
same position as the confirm icon */
|
|
|
|
min-height: 34px;
|
|
|
|
box-sizing: border-box;
|
2016-02-01 18:37:33 +03:00
|
|
|
}
|
|
|
|
|
2016-08-18 10:07:03 +03:00
|
|
|
#commentsTabView .newCommentForm .cancel {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
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;
|
2016-02-01 18:37:33 +03:00
|
|
|
margin-bottom: 30px;
|
2017-11-13 21:07:38 +03:00
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
2016-02-01 18:37:33 +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;
|
2016-02-04 20:20:16 +03: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));
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00FFFFFF', endColorstr='#FFFFFFFF');
|
2016-04-26 13:48:22 +03:00
|
|
|
background-repeat: no-repeat;
|
2016-02-04 20:20:16 +03:00
|
|
|
}
|
|
|
|
|
2017-11-23 04:12:09 +03:00
|
|
|
#commentsTabView .authorRow>div:not(.contactsmenu-popover) {
|
2016-02-01 18:37:33 +03:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-04-24 20:52:45 +03:00
|
|
|
#commentsTabView .authorRow>div.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comments li .message .avatar-name-wrapper,
|
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,
|
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,
|
|
|
|
.atwho-view-ul .avatar-name-wrapper .avatar {
|
2017-04-27 16:33:16 +03:00
|
|
|
cursor: pointer;
|
2017-11-23 11:49:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comments li .message .atwho-inserted {
|
|
|
|
margin-left: 5px;
|
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;
|
|
|
|
}
|
2016-02-01 18:37:33 +03:00
|
|
|
#commentsTabView .comment .date {
|
2017-11-23 11:49:44 +03:00
|
|
|
margin-left: auto;
|
2016-08-03 14:18:09 +03:00
|
|
|
}
|
|
|
|
|
2016-08-17 12:35:18 +03:00
|
|
|
#commentsTabView .comments li .message {
|
2016-08-03 14:18:09 +03:00
|
|
|
padding-left: 40px;
|
2017-11-23 11:49:44 +03:00
|
|
|
display: inline-flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
2016-02-03 20:44:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment .action {
|
|
|
|
opacity: 0;
|
2017-11-23 11:49:44 +03:00
|
|
|
padding: 5px;
|
2016-02-03 20:44:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment:hover .action {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment .action:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2017-11-24 16:07:39 +03:00
|
|
|
#commentsTabView .comment .action.delete,
|
|
|
|
#commentsTabView .comment .deleteLoading {
|
2016-02-01 18:37:33 +03:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
2016-02-03 15:00:55 +03:00
|
|
|
|
2016-02-03 20:44:14 +03:00
|
|
|
#commentsTabView .comment.disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsTabView .comment.disabled .action {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
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;
|
2016-02-03 15:00:55 +03:00
|
|
|
}
|