2021-03-08 18:30:42 +00:00
|
|
|
@comment-date: #6d6d72;
|
2021-11-18 14:45:51 +00:00
|
|
|
@swipe-icon: #E5E5E5;
|
2021-03-08 18:30:42 +00:00
|
|
|
|
2021-02-18 15:40:54 +00:00
|
|
|
@import './ios/comments';
|
|
|
|
@import './material/comments';
|
|
|
|
|
|
|
|
.wrap-comment {
|
|
|
|
padding: 16px 24px 0 16px;
|
2022-03-18 12:29:00 +00:00
|
|
|
background-color: @background-tertiary;
|
|
|
|
.comment-date {
|
|
|
|
color: @text-secondary;
|
|
|
|
}
|
2021-02-18 15:40:54 +00:00
|
|
|
.name {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 16px;
|
2021-11-12 22:05:39 +00:00
|
|
|
color: @text-normal;
|
2021-02-18 15:40:54 +00:00
|
|
|
}
|
|
|
|
.wrap-textarea {
|
|
|
|
margin-top: 6px;
|
2021-05-07 14:34:02 +00:00
|
|
|
.input {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2021-02-18 15:40:54 +00:00
|
|
|
textarea {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 0;
|
2021-05-07 14:34:02 +00:00
|
|
|
height: 100%;
|
2021-02-18 15:40:54 +00:00
|
|
|
padding: 5px 0;
|
2021-11-12 22:05:39 +00:00
|
|
|
color: @text-normal;
|
2021-02-18 15:40:54 +00:00
|
|
|
}
|
|
|
|
}
|
2022-02-04 15:23:50 +00:00
|
|
|
.reply-date {
|
|
|
|
color: @text-secondary;
|
|
|
|
}
|
2021-02-18 15:40:54 +00:00
|
|
|
}
|
2021-03-03 18:21:03 +00:00
|
|
|
#add-comment-dialog, #edit-comment-dialog, #add-reply-dialog, #edit-reply-dialog {
|
2021-02-18 15:40:54 +00:00
|
|
|
.dialog {
|
|
|
|
--f7-dialog-width: 400px;
|
2021-04-27 12:28:25 +00:00
|
|
|
z-index: 13700;
|
2021-02-18 15:40:54 +00:00
|
|
|
.dialog-inner {
|
|
|
|
padding: 0;
|
|
|
|
height: 400px;
|
|
|
|
.wrap-comment {
|
2021-03-03 18:21:03 +00:00
|
|
|
.name, .comment-date, .reply-date {
|
2021-02-18 15:40:54 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.wrap-textarea {
|
|
|
|
textarea {
|
2021-11-12 22:05:39 +00:00
|
|
|
color: @text-normal;
|
2021-02-18 15:40:54 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-25 16:26:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment-list {
|
2021-02-28 17:47:47 +00:00
|
|
|
.item-content .item-inner {
|
2021-02-25 16:26:42 +00:00
|
|
|
padding-right: 0;
|
|
|
|
padding-bottom: 0;
|
2021-02-28 17:47:47 +00:00
|
|
|
padding-top: 16px;
|
|
|
|
.comment-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-right: 16px;
|
|
|
|
.right {
|
|
|
|
display: flex;
|
2021-07-08 14:21:29 +00:00
|
|
|
justify-content: flex-end;
|
2021-02-28 17:47:47 +00:00
|
|
|
width: 70px;
|
2021-07-08 14:21:29 +00:00
|
|
|
.comment-resolve {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2021-02-28 17:47:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.reply-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-right: 16px;
|
|
|
|
}
|
2021-02-25 16:26:42 +00:00
|
|
|
}
|
|
|
|
.item-title {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 22px;
|
2021-11-10 21:18:55 +00:00
|
|
|
color: @text-normal;
|
2021-02-25 16:26:42 +00:00
|
|
|
margin: 0;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
.comment-date, .reply-date {
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 18px;
|
2021-11-10 21:18:55 +00:00
|
|
|
color: @text-secondary;
|
2021-02-25 16:26:42 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.comment-quote {
|
2021-11-19 19:33:38 +00:00
|
|
|
color: @text-secondary;
|
|
|
|
border-left: 1px solid @text-secondary;
|
2021-02-25 16:26:42 +00:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin: 5px 0;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
.comment-text, .reply-text {
|
2021-11-10 21:18:55 +00:00
|
|
|
color: @text-normal;
|
2021-02-25 16:26:42 +00:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 25px;
|
|
|
|
margin: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-right: 15px;
|
2021-05-25 13:46:24 +00:00
|
|
|
word-break: break-all;
|
2021-02-25 16:26:42 +00:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
2021-02-28 17:47:47 +00:00
|
|
|
overflow-wrap: break-word;
|
2021-02-25 16:26:42 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-04 17:25:50 +00:00
|
|
|
.reply-list {
|
2021-02-25 16:26:42 +00:00
|
|
|
padding-left: 26px;
|
|
|
|
}
|
2022-07-07 07:54:12 +00:00
|
|
|
.reply-item {
|
|
|
|
padding-right: 26px;
|
|
|
|
}
|
2021-02-28 17:47:47 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 18:21:03 +00:00
|
|
|
.edit-comment-popup, .add-reply-popup, .edit-reply-popup {
|
2021-02-28 17:47:47 +00:00
|
|
|
z-index: 20000;
|
2021-03-08 18:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#view-comment-sheet {
|
2021-11-21 14:50:37 +00:00
|
|
|
background-color: @fill-white;
|
2021-03-08 18:30:42 +00:00
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
height: 45%;
|
|
|
|
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2), 0 4px 5px rgba(0, 0, 0, 0.12);
|
2021-03-09 16:29:06 +00:00
|
|
|
webkit-transition: height 200ms;
|
|
|
|
transition: height 200ms;
|
2021-03-08 18:30:42 +00:00
|
|
|
.top {
|
|
|
|
height: 90%;
|
|
|
|
}
|
|
|
|
.swipe-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
height: 40px;
|
2021-11-10 21:18:55 +00:00
|
|
|
background-color: @background-primary;
|
2021-03-08 18:30:42 +00:00
|
|
|
.icon-swipe {
|
|
|
|
margin-top: 8px;
|
|
|
|
width: 40px;
|
|
|
|
height: 4px;
|
2021-11-10 21:18:55 +00:00
|
|
|
background: @background-menu-divider;
|
2021-03-08 18:30:42 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
}
|
2021-03-11 20:38:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#view-comment-popover, #view-comment-sheet {
|
2021-03-08 18:30:42 +00:00
|
|
|
.toolbar {
|
|
|
|
position: fixed;
|
2021-11-10 21:18:55 +00:00
|
|
|
background-color: @background-primary;
|
2021-03-08 18:30:42 +00:00
|
|
|
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14);
|
|
|
|
.link {
|
2021-11-04 21:11:52 +00:00
|
|
|
--f7-toolbar-link-color: @brandColor;
|
2021-03-08 18:30:42 +00:00
|
|
|
}
|
|
|
|
.toolbar-inner {
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|
|
|
|
.btn-add-reply {
|
|
|
|
padding: 0;
|
|
|
|
min-width: 80px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
.comment-navigation {
|
|
|
|
min-width: 62px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
.link {
|
|
|
|
padding: 0 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-10 18:08:59 +00:00
|
|
|
}
|
|
|
|
|
2021-03-11 20:38:53 +00:00
|
|
|
#view-comment-popover {
|
2021-11-10 21:18:55 +00:00
|
|
|
background-color: @background-primary;
|
2021-05-17 16:51:12 +00:00
|
|
|
.pages {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.page {
|
|
|
|
border-radius: var(--f7-popover-border-radius);
|
|
|
|
.page-content {
|
|
|
|
padding: 16px 16px 60px 0;
|
|
|
|
border-radius: var(--f7-popover-border-radius);
|
|
|
|
}
|
2021-03-11 20:38:53 +00:00
|
|
|
}
|
|
|
|
.comment-list {
|
|
|
|
.item-content {
|
|
|
|
.item-inner {
|
|
|
|
.comment-header, .reply-header {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-05-17 16:51:12 +00:00
|
|
|
.toolbar {
|
2021-08-04 11:59:46 +00:00
|
|
|
position: absolute;
|
2021-05-17 16:51:12 +00:00
|
|
|
border-radius: 0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius);
|
|
|
|
}
|
2021-03-11 20:38:53 +00:00
|
|
|
}
|
|
|
|
|
2021-03-10 18:08:59 +00:00
|
|
|
.page-current-comment {
|
|
|
|
position: relative;
|
|
|
|
.page-content {
|
2021-11-10 21:18:55 +00:00
|
|
|
background-color: @background-primary;
|
2021-03-10 18:08:59 +00:00
|
|
|
}
|
|
|
|
.comment-list {
|
|
|
|
ul {
|
|
|
|
&:before, &:after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.item-content .item-inner {
|
|
|
|
padding-top: 0;
|
|
|
|
.reply-list .item-content .item-inner {
|
|
|
|
padding-top: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-27 12:28:25 +00:00
|
|
|
}
|
|
|
|
|
2021-05-17 16:51:12 +00:00
|
|
|
.dialog.modal-in {
|
|
|
|
z-index: 14000;
|
2021-06-15 13:12:16 +00:00
|
|
|
max-height: 100%;
|
|
|
|
overflow: auto;
|
2022-02-07 10:06:41 +00:00
|
|
|
|
|
|
|
.item-content .item-input-wrap::after {
|
|
|
|
background-color: @text-normal;
|
|
|
|
}
|
2021-05-17 16:51:12 +00:00
|
|
|
}
|
|
|
|
|
2021-04-27 12:28:25 +00:00
|
|
|
.dialog-backdrop.backdrop-in {
|
|
|
|
z-index: 13600;
|
2021-05-12 17:00:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-comments {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 35px;
|
2021-11-10 21:18:55 +00:00
|
|
|
color: @text-normal;
|
2021-08-03 18:20:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions-modal.modal-in {
|
|
|
|
z-index: 13700;
|
2022-02-22 11:34:41 +00:00
|
|
|
.actions-group::after {
|
|
|
|
background-color: @background-menu-divider;
|
|
|
|
}
|
2021-08-03 18:20:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions-backdrop.backdrop-in {
|
|
|
|
z-index: 13600;
|
2021-02-18 15:40:54 +00:00
|
|
|
}
|