2020-04-22 14:25:43 +00:00
|
|
|
|
@import (reference) "./colortheme-all.less";
|
|
|
|
|
@import (reference) "./variables.less";
|
|
|
|
|
@import (reference) "./avatar.less";
|
|
|
|
|
@import (reference) "./buttons.less";
|
|
|
|
|
@import (reference) "./tools.less";
|
|
|
|
|
|
|
|
|
|
.comments_main() {
|
|
|
|
|
@data-color: #888;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
|
|
.buttons_main();
|
|
|
|
|
|
|
|
|
|
.cp-comment-reply {
|
|
|
|
|
margin-left: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cp-comment-form {
|
2020-04-23 11:52:21 +00:00
|
|
|
|
&:not(:last-child) {
|
2020-04-22 14:25:43 +00:00
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-comment-form-input {
|
|
|
|
|
.avatar_main(40px);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
textarea {
|
|
|
|
|
flex: 1;
|
|
|
|
|
height: 50px;
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
}
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
}
|
|
|
|
|
.cp-comment-form-actions {
|
|
|
|
|
text-align: right;
|
|
|
|
|
button:not(:last-child) {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-28 13:54:12 +00:00
|
|
|
|
#cp-comments-label {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2020-04-22 14:25:43 +00:00
|
|
|
|
|
|
|
|
|
.cp-comment-container {
|
|
|
|
|
outline: none;
|
|
|
|
|
&:not(:focus) {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
.tools_unselectable();
|
|
|
|
|
}
|
2020-04-23 11:47:03 +00:00
|
|
|
|
//&:not(:last-child) {
|
|
|
|
|
// margin-bottom: 10px;
|
|
|
|
|
//}
|
2020-04-22 14:25:43 +00:00
|
|
|
|
.cp-comment-form {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
}
|
2020-04-23 11:47:03 +00:00
|
|
|
|
padding: 5px;
|
2020-04-22 14:25:43 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-comment {
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-comment-header {
|
|
|
|
|
height: 40px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
display: flex;
|
|
|
|
|
background-color: white;
|
|
|
|
|
.avatar_main(40px);
|
|
|
|
|
.cp-comment-metadata {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
.cp-comment-time {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: @data-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-comment-content {
|
|
|
|
|
background-color: white;
|
|
|
|
|
padding: 10px 5px 5px;
|
2020-04-23 11:47:03 +00:00
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-break: break-all;
|
2020-04-22 14:25:43 +00:00
|
|
|
|
}
|
|
|
|
|
.cp-comment-actions {
|
|
|
|
|
display: none;
|
|
|
|
|
text-align: right;
|
|
|
|
|
margin-top: 5px;
|
2020-04-23 15:42:28 +00:00
|
|
|
|
button {
|
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
|
}
|
2020-04-22 14:25:43 +00:00
|
|
|
|
button:not(:last-child) {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.cp-comment-active {
|
2020-04-23 11:47:03 +00:00
|
|
|
|
background-color: rgba(0,0,0,0.2);
|
2020-04-22 14:25:43 +00:00
|
|
|
|
.cp-comment-actions {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|