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