2016-12-20 20:26:44 +01:00
|
|
|
//
|
|
|
|
// Comments
|
|
|
|
// --------------------------------------------------
|
2020-09-15 16:57:19 +02:00
|
|
|
|
2020-10-09 14:49:01 +03:00
|
|
|
@commentLeftMargin: 35px;
|
2020-09-15 16:57:19 +02:00
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
.comment-container {
|
2017-03-13 22:50:45 +01:00
|
|
|
margin-top: 10px;
|
2020-10-09 14:49:01 +03:00
|
|
|
|
2017-03-13 22:50:45 +01:00
|
|
|
.wall-entry-controls {
|
2020-09-15 16:57:19 +02:00
|
|
|
margin-left: @commentLeftMargin;
|
2017-03-13 22:50:45 +01:00
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
2020-09-29 14:09:53 +02:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.comment {
|
|
|
|
.post-files {
|
|
|
|
img {
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-13 22:50:45 +01:00
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
2017-03-13 22:50:45 +01:00
|
|
|
.media {
|
|
|
|
position: relative !important;
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
.nav-pills.preferences {
|
|
|
|
display: none;
|
|
|
|
right: -3px;
|
|
|
|
}
|
2021-10-04 19:48:34 +03:00
|
|
|
&.comment-current {
|
|
|
|
background: fadeout(@warning, 75%);
|
|
|
|
padding: 0 5px 5px 5px;
|
|
|
|
margin: 0 -5px -5px -5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
hr {
|
|
|
|
position: relative;
|
|
|
|
top: -6px;
|
|
|
|
}
|
|
|
|
&:first-of-type {
|
|
|
|
padding-top: 5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
> .nav.preferences {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> .nav.preferences {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-13 22:50:45 +01:00
|
|
|
}
|
|
|
|
|
2021-10-07 12:16:35 +03:00
|
|
|
.comment-blocked-user {
|
|
|
|
img[data-contentcontainer-id] {
|
|
|
|
-webkit-filter: grayscale(100%);
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-13 22:50:45 +01:00
|
|
|
/*-- Since v1.2 overflow: visible */
|
2020-10-09 14:49:01 +03:00
|
|
|
|
2017-03-13 22:50:45 +01:00
|
|
|
.media-body {
|
2020-10-09 14:49:01 +03:00
|
|
|
overflow: visible;
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
2017-07-28 19:01:39 +02:00
|
|
|
|
|
|
|
.jp-progress {
|
|
|
|
background-color: #dbdcdd !important;
|
|
|
|
}
|
2020-09-29 14:09:53 +02:00
|
|
|
|
2017-07-28 19:01:39 +02:00
|
|
|
.jp-play-bar {
|
|
|
|
background: #cacaca;
|
|
|
|
}
|
|
|
|
|
2020-09-23 17:47:36 +02:00
|
|
|
.post-file-list {
|
|
|
|
background-color: @background-color-page;
|
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment.guest-mode {
|
2017-03-13 22:50:45 +01:00
|
|
|
.media:last-child {
|
|
|
|
.wall-entry-controls {
|
|
|
|
margin-bottom: 0;
|
2020-09-15 16:57:19 +02:00
|
|
|
margin-left: @commentLeftMargin;
|
2017-03-13 22:50:45 +01:00
|
|
|
}
|
2020-10-09 14:49:01 +03:00
|
|
|
|
2017-03-13 22:50:45 +01:00
|
|
|
hr {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-08 14:28:55 +01:00
|
|
|
// fileupload button
|
|
|
|
.comment_create,
|
|
|
|
.content_edit {
|
2022-02-17 14:04:51 +03:00
|
|
|
.comment-create-input-group, .post-richtext-input-group {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
.field-comment-message, .field-post-message {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: min-content;
|
2022-03-02 20:59:07 +03:00
|
|
|
[data-ui-markdown] {
|
|
|
|
word-break: break-word !important;
|
|
|
|
}
|
2022-02-17 14:04:51 +03:00
|
|
|
}
|
|
|
|
.form-group, .help-block {
|
|
|
|
margin:0;
|
2020-09-23 17:47:36 +02:00
|
|
|
}
|
2018-02-08 14:28:55 +01:00
|
|
|
}
|
2022-02-17 14:04:51 +03:00
|
|
|
.comment-buttons {
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
.btn:not(.dropdown-toggle) {
|
|
|
|
margin-left: 6px;
|
2020-09-25 12:48:18 +02:00
|
|
|
}
|
2022-02-17 14:04:51 +03:00
|
|
|
.btn.fileinput-button, .fileinput-button + .dropdown-toggle {
|
|
|
|
background-color: fade(@link, 60%);
|
|
|
|
}
|
|
|
|
.btn.dropdown-toggle {
|
|
|
|
margin-left: 0;
|
2018-02-08 14:28:55 +01:00
|
|
|
}
|
|
|
|
}
|
2022-02-17 14:04:51 +03:00
|
|
|
.has-error + .comment-buttons {
|
|
|
|
padding-bottom: 22px;
|
2018-02-08 14:28:55 +01:00
|
|
|
}
|
|
|
|
.fileinput-button:active {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2022-02-17 14:04:51 +03:00
|
|
|
@media (max-width: 414px) {
|
|
|
|
.comment-create-input-group, .post-richtext-input-group {
|
|
|
|
flex-direction: column;
|
|
|
|
.field-comment-message, .field-post-message {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.comment-buttons {
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
padding-top: 6px;
|
|
|
|
}
|
2018-02-08 14:28:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-09 15:25:01 +01:00
|
|
|
.comment-container .content_edit {
|
2020-10-15 15:12:11 +02:00
|
|
|
margin-left: @commentLeftMargin;
|
2017-02-09 15:25:01 +01:00
|
|
|
}
|
|
|
|
|
2020-05-14 17:20:48 +02:00
|
|
|
.comment-container {
|
|
|
|
.media {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2020-10-22 14:27:37 +02:00
|
|
|
|
|
|
|
[data-ui-richtext] pre, [data-ui-richtext] pre code.hljs {
|
|
|
|
background-color: darken(@background-color-secondary, 5%);
|
|
|
|
}
|
2020-05-14 17:20:48 +02:00
|
|
|
}
|
|
|
|
|
2017-02-09 15:25:01 +01:00
|
|
|
.comment_edit_content {
|
2020-09-15 16:57:19 +02:00
|
|
|
margin-left: @commentLeftMargin;
|
|
|
|
margin-top: 0;
|
2017-02-09 15:25:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment-message {
|
2020-10-09 14:49:01 +03:00
|
|
|
overflow: hidden;
|
2020-09-23 17:47:36 +02:00
|
|
|
.text-break();
|
2018-02-08 14:28:55 +01:00
|
|
|
}
|
|
|
|
|
2018-10-10 16:35:12 +02:00
|
|
|
.comment-create-input-group.scrollActive {
|
|
|
|
.comment-buttons {
|
|
|
|
right: 22px;
|
|
|
|
}
|
2020-05-14 17:20:48 +02:00
|
|
|
}
|
2020-07-16 10:59:09 +02:00
|
|
|
|
2020-10-09 14:49:01 +03:00
|
|
|
.comment .media .media-body h4.media-heading a {
|
2020-09-15 16:57:19 +02:00
|
|
|
font-size: 13px;
|
2020-09-25 12:24:10 +02:00
|
|
|
color: @text-color-highlight;
|
2020-09-15 16:57:19 +02:00
|
|
|
margin-bottom: 3px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2020-07-16 10:59:09 +02:00
|
|
|
// Hide seperator of last comment. Seperator is included in optional comment form
|
2020-07-16 15:05:29 +02:00
|
|
|
div.comment > div.media:first-of-type {
|
|
|
|
hr.comment-separator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-pills.preferences {
|
|
|
|
display: none;
|
|
|
|
top: -3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.comments-start-separator {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.nested-comments-root {
|
2020-09-15 16:57:19 +02:00
|
|
|
margin-left: 28px;
|
|
|
|
|
2020-07-29 18:17:44 +02:00
|
|
|
.ProseMirror-menubar-wrapper {
|
2020-08-04 11:12:55 +02:00
|
|
|
z-index: 210;
|
2020-07-29 18:17:44 +02:00
|
|
|
}
|
|
|
|
|
2020-07-16 15:05:29 +02:00
|
|
|
hr.comment-separator {
|
|
|
|
display: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.comments-start-separator {
|
2020-10-09 14:49:01 +03:00
|
|
|
display: none;
|
2020-07-16 15:05:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.show-all-link {
|
2020-10-09 14:49:01 +03:00
|
|
|
margin-top: 10px;
|
2020-07-16 15:05:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
div.comment {
|
|
|
|
.media {
|
|
|
|
position: relative !important;
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
.nav-pills.preferences {
|
|
|
|
display: none;
|
|
|
|
top: 8px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.comment-container {
|
2020-10-09 14:49:01 +03:00
|
|
|
margin-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-top: 0;
|
2020-07-16 15:05:29 +02:00
|
|
|
}
|
2020-07-16 10:59:09 +02:00
|
|
|
}
|